oci-oda 2.57.0 → 2.59.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 (227) hide show
  1. package/lib/client.d.ts +325 -132
  2. package/lib/client.js +1304 -254
  3. package/lib/client.js.map +1 -1
  4. package/lib/management-waiter.d.ts +24 -0
  5. package/lib/management-waiter.js +36 -0
  6. package/lib/management-waiter.js.map +1 -1
  7. package/lib/model/authentication-provider.d.ts +2 -2
  8. package/lib/model/change-oda-private-endpoint-compartment-details.d.ts +25 -0
  9. package/lib/model/change-oda-private-endpoint-compartment-details.js +29 -0
  10. package/lib/model/change-oda-private-endpoint-compartment-details.js.map +1 -0
  11. package/lib/model/create-authentication-provider-details.d.ts +2 -2
  12. package/lib/model/create-oda-private-endpoint-attachment-details.d.ts +29 -0
  13. package/lib/model/create-oda-private-endpoint-attachment-details.js +29 -0
  14. package/lib/model/create-oda-private-endpoint-attachment-details.js.map +1 -0
  15. package/lib/model/create-oda-private-endpoint-details.d.ts +61 -0
  16. package/lib/model/create-oda-private-endpoint-details.js +29 -0
  17. package/lib/model/create-oda-private-endpoint-details.js.map +1 -0
  18. package/lib/model/create-oda-private-endpoint-scan-proxy-details.d.ts +37 -0
  19. package/lib/model/create-oda-private-endpoint-scan-proxy-details.js +61 -0
  20. package/lib/model/create-oda-private-endpoint-scan-proxy-details.js.map +1 -0
  21. package/lib/model/index.d.ts +30 -0
  22. package/lib/model/index.js +34 -4
  23. package/lib/model/index.js.map +1 -1
  24. package/lib/model/oda-private-endpoint-attachment-collection.d.ts +26 -0
  25. package/lib/model/oda-private-endpoint-attachment-collection.js +61 -0
  26. package/lib/model/oda-private-endpoint-attachment-collection.js.map +1 -0
  27. package/lib/model/oda-private-endpoint-attachment-summary.d.ts +49 -0
  28. package/lib/model/oda-private-endpoint-attachment-summary.js +29 -0
  29. package/lib/model/oda-private-endpoint-attachment-summary.js.map +1 -0
  30. package/lib/model/oda-private-endpoint-attachment.d.ts +62 -0
  31. package/lib/model/oda-private-endpoint-attachment.js +43 -0
  32. package/lib/model/oda-private-endpoint-attachment.js.map +1 -0
  33. package/lib/model/oda-private-endpoint-collection.d.ts +26 -0
  34. package/lib/model/oda-private-endpoint-collection.js +61 -0
  35. package/lib/model/oda-private-endpoint-collection.js.map +1 -0
  36. package/lib/model/oda-private-endpoint-scan-proxy-collection.d.ts +26 -0
  37. package/lib/model/oda-private-endpoint-scan-proxy-collection.js +61 -0
  38. package/lib/model/oda-private-endpoint-scan-proxy-collection.js.map +1 -0
  39. package/lib/model/oda-private-endpoint-scan-proxy-summary.d.ts +50 -0
  40. package/lib/model/oda-private-endpoint-scan-proxy-summary.js +61 -0
  41. package/lib/model/oda-private-endpoint-scan-proxy-summary.js.map +1 -0
  42. package/lib/model/oda-private-endpoint-scan-proxy.d.ts +79 -0
  43. package/lib/model/oda-private-endpoint-scan-proxy.js +93 -0
  44. package/lib/model/oda-private-endpoint-scan-proxy.js.map +1 -0
  45. package/lib/model/oda-private-endpoint-summary.d.ts +69 -0
  46. package/lib/model/oda-private-endpoint-summary.js +29 -0
  47. package/lib/model/oda-private-endpoint-summary.js.map +1 -0
  48. package/lib/model/oda-private-endpoint.d.ts +91 -0
  49. package/lib/model/oda-private-endpoint.js +43 -0
  50. package/lib/model/oda-private-endpoint.js.map +1 -0
  51. package/lib/model/parameter-definition.d.ts +1 -0
  52. package/lib/model/parameter-definition.js +1 -0
  53. package/lib/model/parameter-definition.js.map +1 -1
  54. package/lib/model/scan-listener-info.d.ts +37 -0
  55. package/lib/model/scan-listener-info.js +29 -0
  56. package/lib/model/scan-listener-info.js.map +1 -0
  57. package/lib/model/update-channel-details.d.ts +5 -0
  58. package/lib/model/update-channel-details.js.map +1 -1
  59. package/lib/model/update-oda-private-endpoint-details.d.ts +53 -0
  60. package/lib/model/update-oda-private-endpoint-details.js +29 -0
  61. package/lib/model/update-oda-private-endpoint-details.js.map +1 -0
  62. package/lib/model/work-request-resource.d.ts +3 -2
  63. package/lib/model/work-request-resource.js +1 -0
  64. package/lib/model/work-request-resource.js.map +1 -1
  65. package/lib/model/work-request-summary.d.ts +12 -0
  66. package/lib/model/work-request-summary.js +8 -0
  67. package/lib/model/work-request-summary.js.map +1 -1
  68. package/lib/model/work-request.d.ts +12 -0
  69. package/lib/model/work-request.js +8 -0
  70. package/lib/model/work-request.js.map +1 -1
  71. package/lib/request/change-oda-instance-compartment-request.d.ts +1 -1
  72. package/lib/request/change-oda-private-endpoint-compartment-request.d.ts +51 -0
  73. package/lib/request/change-oda-private-endpoint-compartment-request.js +15 -0
  74. package/lib/request/change-oda-private-endpoint-compartment-request.js.map +1 -0
  75. package/lib/request/configure-digital-assistant-parameters-request.d.ts +1 -11
  76. package/lib/request/create-authentication-provider-request.d.ts +1 -1
  77. package/lib/request/create-channel-request.d.ts +1 -1
  78. package/lib/request/create-digital-assistant-request.d.ts +1 -1
  79. package/lib/request/create-imported-package-request.d.ts +1 -1
  80. package/lib/request/create-oda-instance-attachment-request.d.ts +1 -1
  81. package/lib/request/create-oda-instance-request.d.ts +1 -1
  82. package/lib/request/create-oda-private-endpoint-attachment-request.d.ts +37 -0
  83. package/lib/request/create-oda-private-endpoint-attachment-request.js +15 -0
  84. package/lib/request/create-oda-private-endpoint-attachment-request.js.map +1 -0
  85. package/lib/request/create-oda-private-endpoint-request.d.ts +37 -0
  86. package/lib/request/create-oda-private-endpoint-request.js +15 -0
  87. package/lib/request/create-oda-private-endpoint-request.js.map +1 -0
  88. package/lib/request/create-oda-private-endpoint-scan-proxy-request.d.ts +41 -0
  89. package/lib/request/create-oda-private-endpoint-scan-proxy-request.js +15 -0
  90. package/lib/request/create-oda-private-endpoint-scan-proxy-request.js.map +1 -0
  91. package/lib/request/create-skill-parameter-request.d.ts +1 -1
  92. package/lib/request/create-skill-request.d.ts +1 -1
  93. package/lib/request/create-translator-request.d.ts +1 -1
  94. package/lib/request/delete-authentication-provider-request.d.ts +1 -1
  95. package/lib/request/delete-channel-request.d.ts +1 -1
  96. package/lib/request/delete-digital-assistant-request.d.ts +1 -1
  97. package/lib/request/delete-imported-package-request.d.ts +1 -1
  98. package/lib/request/delete-oda-instance-attachment-request.d.ts +1 -1
  99. package/lib/request/delete-oda-instance-request.d.ts +5 -1
  100. package/lib/request/delete-oda-private-endpoint-attachment-request.d.ts +36 -0
  101. package/lib/request/delete-oda-private-endpoint-attachment-request.js +15 -0
  102. package/lib/request/delete-oda-private-endpoint-attachment-request.js.map +1 -0
  103. package/lib/request/delete-oda-private-endpoint-request.d.ts +36 -0
  104. package/lib/request/delete-oda-private-endpoint-request.js +15 -0
  105. package/lib/request/delete-oda-private-endpoint-request.js.map +1 -0
  106. package/lib/request/delete-oda-private-endpoint-scan-proxy-request.d.ts +40 -0
  107. package/lib/request/delete-oda-private-endpoint-scan-proxy-request.js +15 -0
  108. package/lib/request/delete-oda-private-endpoint-scan-proxy-request.js.map +1 -0
  109. package/lib/request/delete-skill-parameter-request.d.ts +1 -1
  110. package/lib/request/delete-skill-request.d.ts +1 -1
  111. package/lib/request/delete-translator-request.d.ts +1 -1
  112. package/lib/request/export-digital-assistant-request.d.ts +1 -1
  113. package/lib/request/export-skill-request.d.ts +1 -1
  114. package/lib/request/get-authentication-provider-request.d.ts +8 -1
  115. package/lib/request/get-channel-request.d.ts +8 -1
  116. package/lib/request/get-digital-assistant-parameter-request.d.ts +8 -1
  117. package/lib/request/get-digital-assistant-request.d.ts +8 -1
  118. package/lib/request/get-imported-package-request.d.ts +1 -1
  119. package/lib/request/get-oda-instance-attachment-request.d.ts +1 -1
  120. package/lib/request/get-oda-instance-request.d.ts +1 -1
  121. package/lib/request/get-oda-private-endpoint-attachment-request.d.ts +26 -0
  122. package/lib/request/get-oda-private-endpoint-attachment-request.js +15 -0
  123. package/lib/request/get-oda-private-endpoint-attachment-request.js.map +1 -0
  124. package/lib/request/get-oda-private-endpoint-request.d.ts +26 -0
  125. package/lib/request/get-oda-private-endpoint-request.js +15 -0
  126. package/lib/request/get-oda-private-endpoint-request.js.map +1 -0
  127. package/lib/request/get-oda-private-endpoint-scan-proxy-request.d.ts +30 -0
  128. package/lib/request/get-oda-private-endpoint-scan-proxy-request.js +15 -0
  129. package/lib/request/get-oda-private-endpoint-scan-proxy-request.js.map +1 -0
  130. package/lib/request/get-package-request.d.ts +1 -1
  131. package/lib/request/get-skill-parameter-request.d.ts +8 -1
  132. package/lib/request/get-skill-request.d.ts +8 -1
  133. package/lib/request/get-translator-request.d.ts +8 -1
  134. package/lib/request/get-work-request-request.d.ts +1 -1
  135. package/lib/request/import-bot-request.d.ts +1 -1
  136. package/lib/request/index.d.ts +28 -0
  137. package/lib/request/index.js +7 -1
  138. package/lib/request/index.js.map +1 -1
  139. package/lib/request/list-authentication-providers-request.d.ts +1 -1
  140. package/lib/request/list-channels-request.d.ts +1 -1
  141. package/lib/request/list-digital-assistant-parameters-request.d.ts +1 -1
  142. package/lib/request/list-digital-assistants-request.d.ts +2 -2
  143. package/lib/request/list-imported-packages-request.d.ts +1 -1
  144. package/lib/request/list-oda-instance-attachments-request.d.ts +1 -1
  145. package/lib/request/list-oda-instances-request.d.ts +1 -1
  146. package/lib/request/list-oda-private-endpoint-attachments-request.d.ts +69 -0
  147. package/lib/request/list-oda-private-endpoint-attachments-request.js +29 -0
  148. package/lib/request/list-oda-private-endpoint-attachments-request.js.map +1 -0
  149. package/lib/request/list-oda-private-endpoint-scan-proxies-request.d.ts +65 -0
  150. package/lib/request/list-oda-private-endpoint-scan-proxies-request.js +29 -0
  151. package/lib/request/list-oda-private-endpoint-scan-proxies-request.js.map +1 -0
  152. package/lib/request/list-oda-private-endpoints-request.d.ts +72 -0
  153. package/lib/request/list-oda-private-endpoints-request.js +29 -0
  154. package/lib/request/list-oda-private-endpoints-request.js.map +1 -0
  155. package/lib/request/list-packages-request.d.ts +6 -2
  156. package/lib/request/list-packages-request.js.map +1 -1
  157. package/lib/request/list-skill-parameters-request.d.ts +1 -1
  158. package/lib/request/list-skills-request.d.ts +2 -2
  159. package/lib/request/list-translators-request.d.ts +1 -1
  160. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  161. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  162. package/lib/request/list-work-requests-request.d.ts +5 -1
  163. package/lib/request/list-work-requests-request.js.map +1 -1
  164. package/lib/request/publish-digital-assistant-request.d.ts +1 -1
  165. package/lib/request/publish-skill-request.d.ts +1 -1
  166. package/lib/request/rotate-channel-keys-request.d.ts +1 -11
  167. package/lib/request/start-channel-request.d.ts +1 -11
  168. package/lib/request/start-oda-instance-request.d.ts +1 -1
  169. package/lib/request/stop-channel-request.d.ts +1 -11
  170. package/lib/request/stop-oda-instance-request.d.ts +1 -1
  171. package/lib/request/update-authentication-provider-request.d.ts +1 -1
  172. package/lib/request/update-channel-request.d.ts +1 -1
  173. package/lib/request/update-digital-assistant-parameter-request.d.ts +1 -1
  174. package/lib/request/update-digital-assistant-request.d.ts +1 -1
  175. package/lib/request/update-imported-package-request.d.ts +1 -1
  176. package/lib/request/update-oda-instance-attachment-request.d.ts +1 -1
  177. package/lib/request/update-oda-instance-request.d.ts +1 -1
  178. package/lib/request/update-oda-private-endpoint-request.d.ts +41 -0
  179. package/lib/request/update-oda-private-endpoint-request.js +15 -0
  180. package/lib/request/update-oda-private-endpoint-request.js.map +1 -0
  181. package/lib/request/update-skill-parameter-request.d.ts +1 -1
  182. package/lib/request/update-skill-request.d.ts +1 -1
  183. package/lib/request/update-translator-request.d.ts +1 -1
  184. package/lib/response/change-oda-private-endpoint-compartment-response.d.ts +26 -0
  185. package/lib/response/change-oda-private-endpoint-compartment-response.js +15 -0
  186. package/lib/response/change-oda-private-endpoint-compartment-response.js.map +1 -0
  187. package/lib/response/create-oda-private-endpoint-attachment-response.d.ts +39 -0
  188. package/lib/response/create-oda-private-endpoint-attachment-response.js +15 -0
  189. package/lib/response/create-oda-private-endpoint-attachment-response.js.map +1 -0
  190. package/lib/response/create-oda-private-endpoint-response.d.ts +39 -0
  191. package/lib/response/create-oda-private-endpoint-response.js +15 -0
  192. package/lib/response/create-oda-private-endpoint-response.js.map +1 -0
  193. package/lib/response/create-oda-private-endpoint-scan-proxy-response.d.ts +39 -0
  194. package/lib/response/create-oda-private-endpoint-scan-proxy-response.js +15 -0
  195. package/lib/response/create-oda-private-endpoint-scan-proxy-response.js.map +1 -0
  196. package/lib/response/delete-oda-private-endpoint-attachment-response.d.ts +26 -0
  197. package/lib/response/delete-oda-private-endpoint-attachment-response.js +15 -0
  198. package/lib/response/delete-oda-private-endpoint-attachment-response.js.map +1 -0
  199. package/lib/response/delete-oda-private-endpoint-response.d.ts +26 -0
  200. package/lib/response/delete-oda-private-endpoint-response.js +15 -0
  201. package/lib/response/delete-oda-private-endpoint-response.js.map +1 -0
  202. package/lib/response/delete-oda-private-endpoint-scan-proxy-response.d.ts +26 -0
  203. package/lib/response/delete-oda-private-endpoint-scan-proxy-response.js +15 -0
  204. package/lib/response/delete-oda-private-endpoint-scan-proxy-response.js.map +1 -0
  205. package/lib/response/get-oda-private-endpoint-attachment-response.d.ts +29 -0
  206. package/lib/response/get-oda-private-endpoint-attachment-response.js +15 -0
  207. package/lib/response/get-oda-private-endpoint-attachment-response.js.map +1 -0
  208. package/lib/response/get-oda-private-endpoint-response.d.ts +29 -0
  209. package/lib/response/get-oda-private-endpoint-response.js +15 -0
  210. package/lib/response/get-oda-private-endpoint-response.js.map +1 -0
  211. package/lib/response/get-oda-private-endpoint-scan-proxy-response.d.ts +29 -0
  212. package/lib/response/get-oda-private-endpoint-scan-proxy-response.js +15 -0
  213. package/lib/response/get-oda-private-endpoint-scan-proxy-response.js.map +1 -0
  214. package/lib/response/index.d.ts +28 -0
  215. package/lib/response/list-oda-private-endpoint-attachments-response.d.ts +37 -0
  216. package/lib/response/list-oda-private-endpoint-attachments-response.js +15 -0
  217. package/lib/response/list-oda-private-endpoint-attachments-response.js.map +1 -0
  218. package/lib/response/list-oda-private-endpoint-scan-proxies-response.d.ts +37 -0
  219. package/lib/response/list-oda-private-endpoint-scan-proxies-response.js +15 -0
  220. package/lib/response/list-oda-private-endpoint-scan-proxies-response.js.map +1 -0
  221. package/lib/response/list-oda-private-endpoints-response.d.ts +37 -0
  222. package/lib/response/list-oda-private-endpoints-response.js +15 -0
  223. package/lib/response/list-oda-private-endpoints-response.js.map +1 -0
  224. package/lib/response/update-oda-private-endpoint-response.d.ts +26 -0
  225. package/lib/response/update-oda-private-endpoint-response.js +15 -0
  226. package/lib/response/update-oda-private-endpoint-response.js.map +1 -0
  227. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -58,11 +58,14 @@ var ManagementApiKeys;
58
58
  */
59
59
  class ManagementClient {
60
60
  constructor(params, clientConfiguration) {
61
+ this["_realmSpecificEndpointTemplateEnabled"] = false;
61
62
  this["_endpoint"] = "";
62
63
  this["_defaultHeaders"] = {};
63
64
  this._circuitBreaker = null;
64
65
  this._httpOptions = undefined;
65
66
  this.targetService = "Management";
67
+ this._regionId = "";
68
+ this._lastSetRegionOrRegionId = "";
66
69
  const requestSigner = params.authenticationDetailsProvider
67
70
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
68
71
  : null;
@@ -112,13 +115,31 @@ class ManagementClient {
112
115
  get logger() {
113
116
  return common.LOG.logger;
114
117
  }
118
+ /**
119
+ * Determines whether realm specific endpoint should be used or not.
120
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
121
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
122
+ */
123
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
124
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
125
+ if (this.logger)
126
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
127
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
128
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ManagementClient.serviceEndpointTemplate, this._region, ManagementClient.endpointServiceName);
129
+ }
130
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
131
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ManagementClient.serviceEndpointTemplate, this._regionId, ManagementClient.endpointServiceName);
132
+ }
133
+ }
115
134
  /**
116
135
  * Sets the region to call (ex, Region.US_PHOENIX_1).
117
136
  * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
118
137
  * @param region The region of the service.
119
138
  */
120
139
  set region(region) {
140
+ this._region = region;
121
141
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ManagementClient.serviceEndpointTemplate, region, ManagementClient.endpointServiceName);
142
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
122
143
  }
123
144
  /**
124
145
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -129,7 +150,9 @@ class ManagementClient {
129
150
  * @param regionId The public region ID.
130
151
  */
131
152
  set regionId(regionId) {
153
+ this._regionId = regionId;
132
154
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ManagementClient.serviceEndpointTemplate, regionId, ManagementClient.endpointServiceName);
155
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
133
156
  }
134
157
  /**
135
158
  * Creates a new ManagementWaiter for resources for this service.
@@ -152,14 +175,81 @@ class ManagementClient {
152
175
  }
153
176
  throw Error("Waiters do not exist. Please create waiters.");
154
177
  }
178
+ /**
179
+ * Starts an asynchronous job to move the specified ODA Private Endpoint into a different compartment.
180
+ * <p>
181
+ To monitor the status of the job, take the `opc-work-request-id` response header
182
+ * value and use it to call `GET /workRequests/{workRequestID}`.
183
+ * When provided, If-Match is checked against ETag values of the resource.
184
+ *
185
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
186
+ * @param ChangeOdaPrivateEndpointCompartmentRequest
187
+ * @return ChangeOdaPrivateEndpointCompartmentResponse
188
+ * @throws OciError when an error occurs
189
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ChangeOdaPrivateEndpointCompartment.ts.html |here} to see how to use ChangeOdaPrivateEndpointCompartment API.
190
+ */
191
+ changeOdaPrivateEndpointCompartment(changeOdaPrivateEndpointCompartmentRequest) {
192
+ return __awaiter(this, void 0, void 0, function* () {
193
+ if (this.logger)
194
+ this.logger.debug("Calling operation ManagementClient#changeOdaPrivateEndpointCompartment.");
195
+ const operationName = "changeOdaPrivateEndpointCompartment";
196
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/ChangeOdaPrivateEndpointCompartment";
197
+ const pathParams = {
198
+ "{odaPrivateEndpointId}": changeOdaPrivateEndpointCompartmentRequest.odaPrivateEndpointId
199
+ };
200
+ const queryParams = {};
201
+ let headerParams = {
202
+ "Content-Type": common.Constants.APPLICATION_JSON,
203
+ "if-match": changeOdaPrivateEndpointCompartmentRequest.ifMatch,
204
+ "opc-request-id": changeOdaPrivateEndpointCompartmentRequest.opcRequestId,
205
+ "opc-retry-token": changeOdaPrivateEndpointCompartmentRequest.opcRetryToken
206
+ };
207
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
208
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOdaPrivateEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
209
+ if (this.logger)
210
+ retrier.logger = this.logger;
211
+ const request = yield oci_common_2.composeRequest({
212
+ baseEndpoint: this._endpoint,
213
+ defaultHeaders: this._defaultHeaders,
214
+ path: "/odaPrivateEndpoints/{odaPrivateEndpointId}/actions/changeCompartment",
215
+ method: "POST",
216
+ bodyContent: common.ObjectSerializer.serialize(changeOdaPrivateEndpointCompartmentRequest.changeOdaPrivateEndpointCompartmentDetails, "ChangeOdaPrivateEndpointCompartmentDetails", model.ChangeOdaPrivateEndpointCompartmentDetails.getJsonObj),
217
+ pathParams: pathParams,
218
+ headerParams: headerParams,
219
+ queryParams: queryParams
220
+ });
221
+ try {
222
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
223
+ const sdkResponse = oci_common_2.composeResponse({
224
+ responseObject: {},
225
+ responseHeaders: [
226
+ {
227
+ value: response.headers.get("opc-work-request-id"),
228
+ key: "opcWorkRequestId",
229
+ dataType: "string"
230
+ },
231
+ {
232
+ value: response.headers.get("opc-request-id"),
233
+ key: "opcRequestId",
234
+ dataType: "string"
235
+ }
236
+ ]
237
+ });
238
+ return sdkResponse;
239
+ }
240
+ catch (err) {
241
+ throw err;
242
+ }
243
+ });
244
+ }
155
245
  /**
156
246
  * This will store the provided parameters in the Digital Assistant instance and update any Digital Assistants with matching parameters.
157
247
  *
158
- * This operation does not retry by default if the user has not defined a retry configuration.
248
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
159
249
  * @param ConfigureDigitalAssistantParametersRequest
160
250
  * @return ConfigureDigitalAssistantParametersResponse
161
251
  * @throws OciError when an error occurs
162
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ConfigureDigitalAssistantParameters.ts.html |here} to see how to use ConfigureDigitalAssistantParameters API.
252
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ConfigureDigitalAssistantParameters.ts.html |here} to see how to use ConfigureDigitalAssistantParameters API.
163
253
  */
164
254
  configureDigitalAssistantParameters(configureDigitalAssistantParametersRequest) {
165
255
  return __awaiter(this, void 0, void 0, function* () {
@@ -173,10 +263,9 @@ class ManagementClient {
173
263
  const queryParams = {};
174
264
  let headerParams = {
175
265
  "Content-Type": common.Constants.APPLICATION_JSON,
176
- "opc-request-id": configureDigitalAssistantParametersRequest.opcRequestId,
177
- "opc-retry-token": configureDigitalAssistantParametersRequest.opcRetryToken
266
+ "opc-request-id": configureDigitalAssistantParametersRequest.opcRequestId
178
267
  };
179
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
268
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
180
269
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureDigitalAssistantParametersRequest.retryConfiguration, specRetryConfiguration);
181
270
  if (this.logger)
182
271
  retrier.logger = this.logger;
@@ -212,11 +301,11 @@ class ManagementClient {
212
301
  /**
213
302
  * Creates a new Authentication Provider
214
303
  *
215
- * This operation does not retry by default if the user has not defined a retry configuration.
304
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
216
305
  * @param CreateAuthenticationProviderRequest
217
306
  * @return CreateAuthenticationProviderResponse
218
307
  * @throws OciError when an error occurs
219
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/CreateAuthenticationProvider.ts.html |here} to see how to use CreateAuthenticationProvider API.
308
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateAuthenticationProvider.ts.html |here} to see how to use CreateAuthenticationProvider API.
220
309
  */
221
310
  createAuthenticationProvider(createAuthenticationProviderRequest) {
222
311
  return __awaiter(this, void 0, void 0, function* () {
@@ -233,7 +322,7 @@ class ManagementClient {
233
322
  "opc-request-id": createAuthenticationProviderRequest.opcRequestId,
234
323
  "opc-retry-token": createAuthenticationProviderRequest.opcRetryToken
235
324
  };
236
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
325
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
237
326
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
238
327
  if (this.logger)
239
328
  retrier.logger = this.logger;
@@ -283,11 +372,11 @@ class ManagementClient {
283
372
  /**
284
373
  * Creates a new Channel.
285
374
  *
286
- * This operation does not retry by default if the user has not defined a retry configuration.
375
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
287
376
  * @param CreateChannelRequest
288
377
  * @return CreateChannelResponse
289
378
  * @throws OciError when an error occurs
290
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/CreateChannel.ts.html |here} to see how to use CreateChannel API.
379
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateChannel.ts.html |here} to see how to use CreateChannel API.
291
380
  */
292
381
  createChannel(createChannelRequest) {
293
382
  return __awaiter(this, void 0, void 0, function* () {
@@ -304,7 +393,7 @@ class ManagementClient {
304
393
  "opc-request-id": createChannelRequest.opcRequestId,
305
394
  "opc-retry-token": createChannelRequest.opcRetryToken
306
395
  };
307
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
396
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
308
397
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createChannelRequest.retryConfiguration, specRetryConfiguration);
309
398
  if (this.logger)
310
399
  retrier.logger = this.logger;
@@ -354,11 +443,11 @@ class ManagementClient {
354
443
  /**
355
444
  * Creates a new Digital Assistant.
356
445
  *
357
- * This operation does not retry by default if the user has not defined a retry configuration.
446
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
358
447
  * @param CreateDigitalAssistantRequest
359
448
  * @return CreateDigitalAssistantResponse
360
449
  * @throws OciError when an error occurs
361
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/CreateDigitalAssistant.ts.html |here} to see how to use CreateDigitalAssistant API.
450
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateDigitalAssistant.ts.html |here} to see how to use CreateDigitalAssistant API.
362
451
  */
363
452
  createDigitalAssistant(createDigitalAssistantRequest) {
364
453
  return __awaiter(this, void 0, void 0, function* () {
@@ -375,7 +464,7 @@ class ManagementClient {
375
464
  "opc-request-id": createDigitalAssistantRequest.opcRequestId,
376
465
  "opc-retry-token": createDigitalAssistantRequest.opcRetryToken
377
466
  };
378
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
467
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
379
468
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
380
469
  if (this.logger)
381
470
  retrier.logger = this.logger;
@@ -413,14 +502,247 @@ class ManagementClient {
413
502
  }
414
503
  });
415
504
  }
505
+ /**
506
+ * Starts an asynchronous job to create an ODA Private Endpoint.
507
+ * <p>
508
+ To monitor the status of the job, take the `opc-work-request-id` response
509
+ * header value and use it to call `GET /workRequests/{workRequestID}`.
510
+ *
511
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
512
+ * @param CreateOdaPrivateEndpointRequest
513
+ * @return CreateOdaPrivateEndpointResponse
514
+ * @throws OciError when an error occurs
515
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateOdaPrivateEndpoint.ts.html |here} to see how to use CreateOdaPrivateEndpoint API.
516
+ */
517
+ createOdaPrivateEndpoint(createOdaPrivateEndpointRequest) {
518
+ return __awaiter(this, void 0, void 0, function* () {
519
+ if (this.logger)
520
+ this.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpoint.");
521
+ const operationName = "createOdaPrivateEndpoint";
522
+ const apiReferenceLink = "";
523
+ const pathParams = {};
524
+ const queryParams = {};
525
+ let headerParams = {
526
+ "Content-Type": common.Constants.APPLICATION_JSON,
527
+ "opc-request-id": createOdaPrivateEndpointRequest.opcRequestId,
528
+ "opc-retry-token": createOdaPrivateEndpointRequest.opcRetryToken
529
+ };
530
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
531
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
532
+ if (this.logger)
533
+ retrier.logger = this.logger;
534
+ const request = yield oci_common_2.composeRequest({
535
+ baseEndpoint: this._endpoint,
536
+ defaultHeaders: this._defaultHeaders,
537
+ path: "/odaPrivateEndpoints",
538
+ method: "POST",
539
+ bodyContent: common.ObjectSerializer.serialize(createOdaPrivateEndpointRequest.createOdaPrivateEndpointDetails, "CreateOdaPrivateEndpointDetails", model.CreateOdaPrivateEndpointDetails.getJsonObj),
540
+ pathParams: pathParams,
541
+ headerParams: headerParams,
542
+ queryParams: queryParams
543
+ });
544
+ try {
545
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
546
+ const sdkResponse = oci_common_2.composeResponse({
547
+ responseObject: {},
548
+ body: yield response.json(),
549
+ bodyKey: "odaPrivateEndpoint",
550
+ bodyModel: model.OdaPrivateEndpoint,
551
+ type: "model.OdaPrivateEndpoint",
552
+ responseHeaders: [
553
+ {
554
+ value: response.headers.get("Location"),
555
+ key: "location",
556
+ dataType: "string"
557
+ },
558
+ {
559
+ value: response.headers.get("etag"),
560
+ key: "etag",
561
+ dataType: "string"
562
+ },
563
+ {
564
+ value: response.headers.get("opc-request-id"),
565
+ key: "opcRequestId",
566
+ dataType: "string"
567
+ },
568
+ {
569
+ value: response.headers.get("opc-work-request-id"),
570
+ key: "opcWorkRequestId",
571
+ dataType: "string"
572
+ }
573
+ ]
574
+ });
575
+ return sdkResponse;
576
+ }
577
+ catch (err) {
578
+ throw err;
579
+ }
580
+ });
581
+ }
582
+ /**
583
+ * Starts an asynchronous job to create an ODA Private Endpoint Attachment.
584
+ * <p>
585
+ To monitor the status of the job, take the `opc-work-request-id` response
586
+ * header value and use it to call `GET /workRequests/{workRequestID}`.
587
+ *
588
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
589
+ * @param CreateOdaPrivateEndpointAttachmentRequest
590
+ * @return CreateOdaPrivateEndpointAttachmentResponse
591
+ * @throws OciError when an error occurs
592
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateOdaPrivateEndpointAttachment.ts.html |here} to see how to use CreateOdaPrivateEndpointAttachment API.
593
+ */
594
+ createOdaPrivateEndpointAttachment(createOdaPrivateEndpointAttachmentRequest) {
595
+ return __awaiter(this, void 0, void 0, function* () {
596
+ if (this.logger)
597
+ this.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpointAttachment.");
598
+ const operationName = "createOdaPrivateEndpointAttachment";
599
+ const apiReferenceLink = "";
600
+ const pathParams = {};
601
+ const queryParams = {};
602
+ let headerParams = {
603
+ "Content-Type": common.Constants.APPLICATION_JSON,
604
+ "opc-request-id": createOdaPrivateEndpointAttachmentRequest.opcRequestId,
605
+ "opc-retry-token": createOdaPrivateEndpointAttachmentRequest.opcRetryToken
606
+ };
607
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
608
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaPrivateEndpointAttachmentRequest.retryConfiguration, specRetryConfiguration);
609
+ if (this.logger)
610
+ retrier.logger = this.logger;
611
+ const request = yield oci_common_2.composeRequest({
612
+ baseEndpoint: this._endpoint,
613
+ defaultHeaders: this._defaultHeaders,
614
+ path: "/odaPrivateEndpointAttachments",
615
+ method: "POST",
616
+ bodyContent: common.ObjectSerializer.serialize(createOdaPrivateEndpointAttachmentRequest.createOdaPrivateEndpointAttachmentDetails, "CreateOdaPrivateEndpointAttachmentDetails", model.CreateOdaPrivateEndpointAttachmentDetails.getJsonObj),
617
+ pathParams: pathParams,
618
+ headerParams: headerParams,
619
+ queryParams: queryParams
620
+ });
621
+ try {
622
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
623
+ const sdkResponse = oci_common_2.composeResponse({
624
+ responseObject: {},
625
+ body: yield response.json(),
626
+ bodyKey: "odaPrivateEndpointAttachment",
627
+ bodyModel: model.OdaPrivateEndpointAttachment,
628
+ type: "model.OdaPrivateEndpointAttachment",
629
+ responseHeaders: [
630
+ {
631
+ value: response.headers.get("Location"),
632
+ key: "location",
633
+ dataType: "string"
634
+ },
635
+ {
636
+ value: response.headers.get("etag"),
637
+ key: "etag",
638
+ dataType: "string"
639
+ },
640
+ {
641
+ value: response.headers.get("opc-request-id"),
642
+ key: "opcRequestId",
643
+ dataType: "string"
644
+ },
645
+ {
646
+ value: response.headers.get("opc-work-request-id"),
647
+ key: "opcWorkRequestId",
648
+ dataType: "string"
649
+ }
650
+ ]
651
+ });
652
+ return sdkResponse;
653
+ }
654
+ catch (err) {
655
+ throw err;
656
+ }
657
+ });
658
+ }
659
+ /**
660
+ * Starts an asynchronous job to create an ODA Private Endpoint Scan Proxy.
661
+ * <p>
662
+ To monitor the status of the job, take the `opc-work-request-id` response
663
+ * header value and use it to call `GET /workRequests/{workRequestID}`.
664
+ *
665
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
666
+ * @param CreateOdaPrivateEndpointScanProxyRequest
667
+ * @return CreateOdaPrivateEndpointScanProxyResponse
668
+ * @throws OciError when an error occurs
669
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateOdaPrivateEndpointScanProxy.ts.html |here} to see how to use CreateOdaPrivateEndpointScanProxy API.
670
+ */
671
+ createOdaPrivateEndpointScanProxy(createOdaPrivateEndpointScanProxyRequest) {
672
+ return __awaiter(this, void 0, void 0, function* () {
673
+ if (this.logger)
674
+ this.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpointScanProxy.");
675
+ const operationName = "createOdaPrivateEndpointScanProxy";
676
+ const apiReferenceLink = "";
677
+ const pathParams = {
678
+ "{odaPrivateEndpointId}": createOdaPrivateEndpointScanProxyRequest.odaPrivateEndpointId
679
+ };
680
+ const queryParams = {};
681
+ let headerParams = {
682
+ "Content-Type": common.Constants.APPLICATION_JSON,
683
+ "opc-request-id": createOdaPrivateEndpointScanProxyRequest.opcRequestId,
684
+ "opc-retry-token": createOdaPrivateEndpointScanProxyRequest.opcRetryToken
685
+ };
686
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
687
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaPrivateEndpointScanProxyRequest.retryConfiguration, specRetryConfiguration);
688
+ if (this.logger)
689
+ retrier.logger = this.logger;
690
+ const request = yield oci_common_2.composeRequest({
691
+ baseEndpoint: this._endpoint,
692
+ defaultHeaders: this._defaultHeaders,
693
+ path: "/odaPrivateEndpoints/{odaPrivateEndpointId}/odaPrivateEndpointScanProxies",
694
+ method: "POST",
695
+ bodyContent: common.ObjectSerializer.serialize(createOdaPrivateEndpointScanProxyRequest.createOdaPrivateEndpointScanProxyDetails, "CreateOdaPrivateEndpointScanProxyDetails", model.CreateOdaPrivateEndpointScanProxyDetails.getJsonObj),
696
+ pathParams: pathParams,
697
+ headerParams: headerParams,
698
+ queryParams: queryParams
699
+ });
700
+ try {
701
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
702
+ const sdkResponse = oci_common_2.composeResponse({
703
+ responseObject: {},
704
+ body: yield response.json(),
705
+ bodyKey: "odaPrivateEndpointScanProxy",
706
+ bodyModel: model.OdaPrivateEndpointScanProxy,
707
+ type: "model.OdaPrivateEndpointScanProxy",
708
+ responseHeaders: [
709
+ {
710
+ value: response.headers.get("Location"),
711
+ key: "location",
712
+ dataType: "string"
713
+ },
714
+ {
715
+ value: response.headers.get("etag"),
716
+ key: "etag",
717
+ dataType: "string"
718
+ },
719
+ {
720
+ value: response.headers.get("opc-work-request-id"),
721
+ key: "opcWorkRequestId",
722
+ dataType: "string"
723
+ },
724
+ {
725
+ value: response.headers.get("opc-request-id"),
726
+ key: "opcRequestId",
727
+ dataType: "string"
728
+ }
729
+ ]
730
+ });
731
+ return sdkResponse;
732
+ }
733
+ catch (err) {
734
+ throw err;
735
+ }
736
+ });
737
+ }
416
738
  /**
417
739
  * Creates a new Skill from scratch.
418
740
  *
419
- * This operation does not retry by default if the user has not defined a retry configuration.
741
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
420
742
  * @param CreateSkillRequest
421
743
  * @return CreateSkillResponse
422
744
  * @throws OciError when an error occurs
423
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/CreateSkill.ts.html |here} to see how to use CreateSkill API.
745
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateSkill.ts.html |here} to see how to use CreateSkill API.
424
746
  */
425
747
  createSkill(createSkillRequest) {
426
748
  return __awaiter(this, void 0, void 0, function* () {
@@ -437,7 +759,7 @@ class ManagementClient {
437
759
  "opc-request-id": createSkillRequest.opcRequestId,
438
760
  "opc-retry-token": createSkillRequest.opcRetryToken
439
761
  };
440
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
762
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
441
763
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSkillRequest.retryConfiguration, specRetryConfiguration);
442
764
  if (this.logger)
443
765
  retrier.logger = this.logger;
@@ -478,11 +800,11 @@ class ManagementClient {
478
800
  /**
479
801
  * Creates a new Skill Parameter.
480
802
  *
481
- * This operation does not retry by default if the user has not defined a retry configuration.
803
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
482
804
  * @param CreateSkillParameterRequest
483
805
  * @return CreateSkillParameterResponse
484
806
  * @throws OciError when an error occurs
485
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/CreateSkillParameter.ts.html |here} to see how to use CreateSkillParameter API.
807
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateSkillParameter.ts.html |here} to see how to use CreateSkillParameter API.
486
808
  */
487
809
  createSkillParameter(createSkillParameterRequest) {
488
810
  return __awaiter(this, void 0, void 0, function* () {
@@ -500,7 +822,7 @@ class ManagementClient {
500
822
  "opc-request-id": createSkillParameterRequest.opcRequestId,
501
823
  "opc-retry-token": createSkillParameterRequest.opcRetryToken
502
824
  };
503
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
825
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
504
826
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSkillParameterRequest.retryConfiguration, specRetryConfiguration);
505
827
  if (this.logger)
506
828
  retrier.logger = this.logger;
@@ -550,11 +872,11 @@ class ManagementClient {
550
872
  /**
551
873
  * Creates a new Translator
552
874
  *
553
- * This operation does not retry by default if the user has not defined a retry configuration.
875
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
554
876
  * @param CreateTranslatorRequest
555
877
  * @return CreateTranslatorResponse
556
878
  * @throws OciError when an error occurs
557
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/CreateTranslator.ts.html |here} to see how to use CreateTranslator API.
879
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateTranslator.ts.html |here} to see how to use CreateTranslator API.
558
880
  */
559
881
  createTranslator(createTranslatorRequest) {
560
882
  return __awaiter(this, void 0, void 0, function* () {
@@ -571,7 +893,7 @@ class ManagementClient {
571
893
  "opc-request-id": createTranslatorRequest.opcRequestId,
572
894
  "opc-retry-token": createTranslatorRequest.opcRetryToken
573
895
  };
574
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
896
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
575
897
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTranslatorRequest.retryConfiguration, specRetryConfiguration);
576
898
  if (this.logger)
577
899
  retrier.logger = this.logger;
@@ -620,11 +942,11 @@ class ManagementClient {
620
942
  }
621
943
  /**
622
944
  * Delete the specified Authentication Provider.
623
- * This operation does not retry by default if the user has not defined a retry configuration.
945
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
624
946
  * @param DeleteAuthenticationProviderRequest
625
947
  * @return DeleteAuthenticationProviderResponse
626
948
  * @throws OciError when an error occurs
627
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/DeleteAuthenticationProvider.ts.html |here} to see how to use DeleteAuthenticationProvider API.
949
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteAuthenticationProvider.ts.html |here} to see how to use DeleteAuthenticationProvider API.
628
950
  */
629
951
  deleteAuthenticationProvider(deleteAuthenticationProviderRequest) {
630
952
  return __awaiter(this, void 0, void 0, function* () {
@@ -642,7 +964,7 @@ class ManagementClient {
642
964
  "if-match": deleteAuthenticationProviderRequest.ifMatch,
643
965
  "opc-request-id": deleteAuthenticationProviderRequest.opcRequestId
644
966
  };
645
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
967
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
646
968
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
647
969
  if (this.logger)
648
970
  retrier.logger = this.logger;
@@ -676,11 +998,11 @@ class ManagementClient {
676
998
  }
677
999
  /**
678
1000
  * Delete the specified Channel.
679
- * This operation does not retry by default if the user has not defined a retry configuration.
1001
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
680
1002
  * @param DeleteChannelRequest
681
1003
  * @return DeleteChannelResponse
682
1004
  * @throws OciError when an error occurs
683
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
1005
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
684
1006
  */
685
1007
  deleteChannel(deleteChannelRequest) {
686
1008
  return __awaiter(this, void 0, void 0, function* () {
@@ -698,7 +1020,7 @@ class ManagementClient {
698
1020
  "if-match": deleteChannelRequest.ifMatch,
699
1021
  "opc-request-id": deleteChannelRequest.opcRequestId
700
1022
  };
701
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1023
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
702
1024
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteChannelRequest.retryConfiguration, specRetryConfiguration);
703
1025
  if (this.logger)
704
1026
  retrier.logger = this.logger;
@@ -733,11 +1055,11 @@ class ManagementClient {
733
1055
  /**
734
1056
  * Delete the specified Digital Assistant.
735
1057
  *
736
- * This operation does not retry by default if the user has not defined a retry configuration.
1058
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
737
1059
  * @param DeleteDigitalAssistantRequest
738
1060
  * @return DeleteDigitalAssistantResponse
739
1061
  * @throws OciError when an error occurs
740
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/DeleteDigitalAssistant.ts.html |here} to see how to use DeleteDigitalAssistant API.
1062
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteDigitalAssistant.ts.html |here} to see how to use DeleteDigitalAssistant API.
741
1063
  */
742
1064
  deleteDigitalAssistant(deleteDigitalAssistantRequest) {
743
1065
  return __awaiter(this, void 0, void 0, function* () {
@@ -755,7 +1077,7 @@ class ManagementClient {
755
1077
  "if-match": deleteDigitalAssistantRequest.ifMatch,
756
1078
  "opc-request-id": deleteDigitalAssistantRequest.opcRequestId
757
1079
  };
758
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1080
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
759
1081
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
760
1082
  if (this.logger)
761
1083
  retrier.logger = this.logger;
@@ -788,38 +1110,37 @@ class ManagementClient {
788
1110
  });
789
1111
  }
790
1112
  /**
791
- * Delete the specified Skill.
792
- *
793
- * This operation does not retry by default if the user has not defined a retry configuration.
794
- * @param DeleteSkillRequest
795
- * @return DeleteSkillResponse
1113
+ * Starts an asynchronous job to delete the specified ODA Private Endpoint.
1114
+ * To monitor the status of the job, take the `opc-work-request-id` response header value and use it to call `GET /workRequests/{workRequestID}`.
1115
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1116
+ * @param DeleteOdaPrivateEndpointRequest
1117
+ * @return DeleteOdaPrivateEndpointResponse
796
1118
  * @throws OciError when an error occurs
797
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/DeleteSkill.ts.html |here} to see how to use DeleteSkill API.
1119
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteOdaPrivateEndpoint.ts.html |here} to see how to use DeleteOdaPrivateEndpoint API.
798
1120
  */
799
- deleteSkill(deleteSkillRequest) {
1121
+ deleteOdaPrivateEndpoint(deleteOdaPrivateEndpointRequest) {
800
1122
  return __awaiter(this, void 0, void 0, function* () {
801
1123
  if (this.logger)
802
- this.logger.debug("Calling operation ManagementClient#deleteSkill.");
803
- const operationName = "deleteSkill";
804
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/DeleteSkill";
1124
+ this.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpoint.");
1125
+ const operationName = "deleteOdaPrivateEndpoint";
1126
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/DeleteOdaPrivateEndpoint";
805
1127
  const pathParams = {
806
- "{odaInstanceId}": deleteSkillRequest.odaInstanceId,
807
- "{skillId}": deleteSkillRequest.skillId
1128
+ "{odaPrivateEndpointId}": deleteOdaPrivateEndpointRequest.odaPrivateEndpointId
808
1129
  };
809
1130
  const queryParams = {};
810
1131
  let headerParams = {
811
1132
  "Content-Type": common.Constants.APPLICATION_JSON,
812
- "if-match": deleteSkillRequest.ifMatch,
813
- "opc-request-id": deleteSkillRequest.opcRequestId
1133
+ "if-match": deleteOdaPrivateEndpointRequest.ifMatch,
1134
+ "opc-request-id": deleteOdaPrivateEndpointRequest.opcRequestId
814
1135
  };
815
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
816
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSkillRequest.retryConfiguration, specRetryConfiguration);
1136
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1137
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
817
1138
  if (this.logger)
818
1139
  retrier.logger = this.logger;
819
1140
  const request = yield oci_common_2.composeRequest({
820
1141
  baseEndpoint: this._endpoint,
821
1142
  defaultHeaders: this._defaultHeaders,
822
- path: "/odaInstances/{odaInstanceId}/skills/{skillId}",
1143
+ path: "/odaPrivateEndpoints/{odaPrivateEndpointId}",
823
1144
  method: "DELETE",
824
1145
  pathParams: pathParams,
825
1146
  headerParams: headerParams,
@@ -830,6 +1151,11 @@ class ManagementClient {
830
1151
  const sdkResponse = oci_common_2.composeResponse({
831
1152
  responseObject: {},
832
1153
  responseHeaders: [
1154
+ {
1155
+ value: response.headers.get("opc-work-request-id"),
1156
+ key: "opcWorkRequestId",
1157
+ dataType: "string"
1158
+ },
833
1159
  {
834
1160
  value: response.headers.get("opc-request-id"),
835
1161
  key: "opcRequestId",
@@ -845,18 +1171,198 @@ class ManagementClient {
845
1171
  });
846
1172
  }
847
1173
  /**
848
- * Delete the specified Skill Parameter.
849
- *
850
- * This operation does not retry by default if the user has not defined a retry configuration.
851
- * @param DeleteSkillParameterRequest
852
- * @return DeleteSkillParameterResponse
1174
+ * Starts an asynchronous job to delete the specified ODA Private Endpoint Attachment.
1175
+ * To monitor the status of the job, take the `opc-work-request-id` response header value and use it to call `GET /workRequests/{workRequestID}`.
1176
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1177
+ * @param DeleteOdaPrivateEndpointAttachmentRequest
1178
+ * @return DeleteOdaPrivateEndpointAttachmentResponse
853
1179
  * @throws OciError when an error occurs
854
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/DeleteSkillParameter.ts.html |here} to see how to use DeleteSkillParameter API.
1180
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteOdaPrivateEndpointAttachment.ts.html |here} to see how to use DeleteOdaPrivateEndpointAttachment API.
855
1181
  */
856
- deleteSkillParameter(deleteSkillParameterRequest) {
1182
+ deleteOdaPrivateEndpointAttachment(deleteOdaPrivateEndpointAttachmentRequest) {
857
1183
  return __awaiter(this, void 0, void 0, function* () {
858
1184
  if (this.logger)
859
- this.logger.debug("Calling operation ManagementClient#deleteSkillParameter.");
1185
+ this.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpointAttachment.");
1186
+ const operationName = "deleteOdaPrivateEndpointAttachment";
1187
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointAttachment/DeleteOdaPrivateEndpointAttachment";
1188
+ const pathParams = {
1189
+ "{odaPrivateEndpointAttachmentId}": deleteOdaPrivateEndpointAttachmentRequest.odaPrivateEndpointAttachmentId
1190
+ };
1191
+ const queryParams = {};
1192
+ let headerParams = {
1193
+ "Content-Type": common.Constants.APPLICATION_JSON,
1194
+ "if-match": deleteOdaPrivateEndpointAttachmentRequest.ifMatch,
1195
+ "opc-request-id": deleteOdaPrivateEndpointAttachmentRequest.opcRequestId
1196
+ };
1197
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1198
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaPrivateEndpointAttachmentRequest.retryConfiguration, specRetryConfiguration);
1199
+ if (this.logger)
1200
+ retrier.logger = this.logger;
1201
+ const request = yield oci_common_2.composeRequest({
1202
+ baseEndpoint: this._endpoint,
1203
+ defaultHeaders: this._defaultHeaders,
1204
+ path: "/odaPrivateEndpointAttachments/{odaPrivateEndpointAttachmentId}",
1205
+ method: "DELETE",
1206
+ pathParams: pathParams,
1207
+ headerParams: headerParams,
1208
+ queryParams: queryParams
1209
+ });
1210
+ try {
1211
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1212
+ const sdkResponse = oci_common_2.composeResponse({
1213
+ responseObject: {},
1214
+ responseHeaders: [
1215
+ {
1216
+ value: response.headers.get("opc-work-request-id"),
1217
+ key: "opcWorkRequestId",
1218
+ dataType: "string"
1219
+ },
1220
+ {
1221
+ value: response.headers.get("opc-request-id"),
1222
+ key: "opcRequestId",
1223
+ dataType: "string"
1224
+ }
1225
+ ]
1226
+ });
1227
+ return sdkResponse;
1228
+ }
1229
+ catch (err) {
1230
+ throw err;
1231
+ }
1232
+ });
1233
+ }
1234
+ /**
1235
+ * Starts an asynchronous job to delete the specified ODA Private Endpoint Scan Proxy.
1236
+ * To monitor the status of the job, take the `opc-work-request-id` response header value and use it to call `GET /workRequests/{workRequestID}`.
1237
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1238
+ * @param DeleteOdaPrivateEndpointScanProxyRequest
1239
+ * @return DeleteOdaPrivateEndpointScanProxyResponse
1240
+ * @throws OciError when an error occurs
1241
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteOdaPrivateEndpointScanProxy.ts.html |here} to see how to use DeleteOdaPrivateEndpointScanProxy API.
1242
+ */
1243
+ deleteOdaPrivateEndpointScanProxy(deleteOdaPrivateEndpointScanProxyRequest) {
1244
+ return __awaiter(this, void 0, void 0, function* () {
1245
+ if (this.logger)
1246
+ this.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpointScanProxy.");
1247
+ const operationName = "deleteOdaPrivateEndpointScanProxy";
1248
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointScanProxy/DeleteOdaPrivateEndpointScanProxy";
1249
+ const pathParams = {
1250
+ "{odaPrivateEndpointScanProxyId}": deleteOdaPrivateEndpointScanProxyRequest.odaPrivateEndpointScanProxyId,
1251
+ "{odaPrivateEndpointId}": deleteOdaPrivateEndpointScanProxyRequest.odaPrivateEndpointId
1252
+ };
1253
+ const queryParams = {};
1254
+ let headerParams = {
1255
+ "Content-Type": common.Constants.APPLICATION_JSON,
1256
+ "if-match": deleteOdaPrivateEndpointScanProxyRequest.ifMatch,
1257
+ "opc-request-id": deleteOdaPrivateEndpointScanProxyRequest.opcRequestId
1258
+ };
1259
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1260
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaPrivateEndpointScanProxyRequest.retryConfiguration, specRetryConfiguration);
1261
+ if (this.logger)
1262
+ retrier.logger = this.logger;
1263
+ const request = yield oci_common_2.composeRequest({
1264
+ baseEndpoint: this._endpoint,
1265
+ defaultHeaders: this._defaultHeaders,
1266
+ path: "/odaPrivateEndpoints/{odaPrivateEndpointId}/odaPrivateEndpointScanProxies/{odaPrivateEndpointScanProxyId}",
1267
+ method: "DELETE",
1268
+ pathParams: pathParams,
1269
+ headerParams: headerParams,
1270
+ queryParams: queryParams
1271
+ });
1272
+ try {
1273
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1274
+ const sdkResponse = oci_common_2.composeResponse({
1275
+ responseObject: {},
1276
+ responseHeaders: [
1277
+ {
1278
+ value: response.headers.get("opc-work-request-id"),
1279
+ key: "opcWorkRequestId",
1280
+ dataType: "string"
1281
+ },
1282
+ {
1283
+ value: response.headers.get("opc-request-id"),
1284
+ key: "opcRequestId",
1285
+ dataType: "string"
1286
+ }
1287
+ ]
1288
+ });
1289
+ return sdkResponse;
1290
+ }
1291
+ catch (err) {
1292
+ throw err;
1293
+ }
1294
+ });
1295
+ }
1296
+ /**
1297
+ * Delete the specified Skill.
1298
+ *
1299
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1300
+ * @param DeleteSkillRequest
1301
+ * @return DeleteSkillResponse
1302
+ * @throws OciError when an error occurs
1303
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteSkill.ts.html |here} to see how to use DeleteSkill API.
1304
+ */
1305
+ deleteSkill(deleteSkillRequest) {
1306
+ return __awaiter(this, void 0, void 0, function* () {
1307
+ if (this.logger)
1308
+ this.logger.debug("Calling operation ManagementClient#deleteSkill.");
1309
+ const operationName = "deleteSkill";
1310
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/DeleteSkill";
1311
+ const pathParams = {
1312
+ "{odaInstanceId}": deleteSkillRequest.odaInstanceId,
1313
+ "{skillId}": deleteSkillRequest.skillId
1314
+ };
1315
+ const queryParams = {};
1316
+ let headerParams = {
1317
+ "Content-Type": common.Constants.APPLICATION_JSON,
1318
+ "if-match": deleteSkillRequest.ifMatch,
1319
+ "opc-request-id": deleteSkillRequest.opcRequestId
1320
+ };
1321
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1322
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSkillRequest.retryConfiguration, specRetryConfiguration);
1323
+ if (this.logger)
1324
+ retrier.logger = this.logger;
1325
+ const request = yield oci_common_2.composeRequest({
1326
+ baseEndpoint: this._endpoint,
1327
+ defaultHeaders: this._defaultHeaders,
1328
+ path: "/odaInstances/{odaInstanceId}/skills/{skillId}",
1329
+ method: "DELETE",
1330
+ pathParams: pathParams,
1331
+ headerParams: headerParams,
1332
+ queryParams: queryParams
1333
+ });
1334
+ try {
1335
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1336
+ const sdkResponse = oci_common_2.composeResponse({
1337
+ responseObject: {},
1338
+ responseHeaders: [
1339
+ {
1340
+ value: response.headers.get("opc-request-id"),
1341
+ key: "opcRequestId",
1342
+ dataType: "string"
1343
+ }
1344
+ ]
1345
+ });
1346
+ return sdkResponse;
1347
+ }
1348
+ catch (err) {
1349
+ throw err;
1350
+ }
1351
+ });
1352
+ }
1353
+ /**
1354
+ * Delete the specified Skill Parameter.
1355
+ *
1356
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1357
+ * @param DeleteSkillParameterRequest
1358
+ * @return DeleteSkillParameterResponse
1359
+ * @throws OciError when an error occurs
1360
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteSkillParameter.ts.html |here} to see how to use DeleteSkillParameter API.
1361
+ */
1362
+ deleteSkillParameter(deleteSkillParameterRequest) {
1363
+ return __awaiter(this, void 0, void 0, function* () {
1364
+ if (this.logger)
1365
+ this.logger.debug("Calling operation ManagementClient#deleteSkillParameter.");
860
1366
  const operationName = "deleteSkillParameter";
861
1367
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/SkillParameter/DeleteSkillParameter";
862
1368
  const pathParams = {
@@ -870,7 +1376,7 @@ class ManagementClient {
870
1376
  "if-match": deleteSkillParameterRequest.ifMatch,
871
1377
  "opc-request-id": deleteSkillParameterRequest.opcRequestId
872
1378
  };
873
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1379
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
874
1380
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSkillParameterRequest.retryConfiguration, specRetryConfiguration);
875
1381
  if (this.logger)
876
1382
  retrier.logger = this.logger;
@@ -904,11 +1410,11 @@ class ManagementClient {
904
1410
  }
905
1411
  /**
906
1412
  * Delete the specified Translator.
907
- * This operation does not retry by default if the user has not defined a retry configuration.
1413
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
908
1414
  * @param DeleteTranslatorRequest
909
1415
  * @return DeleteTranslatorResponse
910
1416
  * @throws OciError when an error occurs
911
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/DeleteTranslator.ts.html |here} to see how to use DeleteTranslator API.
1417
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteTranslator.ts.html |here} to see how to use DeleteTranslator API.
912
1418
  */
913
1419
  deleteTranslator(deleteTranslatorRequest) {
914
1420
  return __awaiter(this, void 0, void 0, function* () {
@@ -926,7 +1432,7 @@ class ManagementClient {
926
1432
  "if-match": deleteTranslatorRequest.ifMatch,
927
1433
  "opc-request-id": deleteTranslatorRequest.opcRequestId
928
1434
  };
929
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1435
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
930
1436
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTranslatorRequest.retryConfiguration, specRetryConfiguration);
931
1437
  if (this.logger)
932
1438
  retrier.logger = this.logger;
@@ -960,11 +1466,11 @@ class ManagementClient {
960
1466
  }
961
1467
  /**
962
1468
  * Exports the specified Digital Assistant as an archive to Object Storage.
963
- * This operation does not retry by default if the user has not defined a retry configuration.
1469
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
964
1470
  * @param ExportDigitalAssistantRequest
965
1471
  * @return ExportDigitalAssistantResponse
966
1472
  * @throws OciError when an error occurs
967
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ExportDigitalAssistant.ts.html |here} to see how to use ExportDigitalAssistant API.
1473
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ExportDigitalAssistant.ts.html |here} to see how to use ExportDigitalAssistant API.
968
1474
  */
969
1475
  exportDigitalAssistant(exportDigitalAssistantRequest) {
970
1476
  return __awaiter(this, void 0, void 0, function* () {
@@ -981,7 +1487,7 @@ class ManagementClient {
981
1487
  "Content-Type": common.Constants.APPLICATION_JSON,
982
1488
  "opc-request-id": exportDigitalAssistantRequest.opcRequestId
983
1489
  };
984
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1490
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
985
1491
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
986
1492
  if (this.logger)
987
1493
  retrier.logger = this.logger;
@@ -1021,11 +1527,11 @@ class ManagementClient {
1021
1527
  }
1022
1528
  /**
1023
1529
  * Exports the specified Skill as an archive to Object Storage.
1024
- * This operation does not retry by default if the user has not defined a retry configuration.
1530
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1025
1531
  * @param ExportSkillRequest
1026
1532
  * @return ExportSkillResponse
1027
1533
  * @throws OciError when an error occurs
1028
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ExportSkill.ts.html |here} to see how to use ExportSkill API.
1534
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ExportSkill.ts.html |here} to see how to use ExportSkill API.
1029
1535
  */
1030
1536
  exportSkill(exportSkillRequest) {
1031
1537
  return __awaiter(this, void 0, void 0, function* () {
@@ -1042,7 +1548,7 @@ class ManagementClient {
1042
1548
  "Content-Type": common.Constants.APPLICATION_JSON,
1043
1549
  "opc-request-id": exportSkillRequest.opcRequestId
1044
1550
  };
1045
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1551
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1046
1552
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportSkillRequest.retryConfiguration, specRetryConfiguration);
1047
1553
  if (this.logger)
1048
1554
  retrier.logger = this.logger;
@@ -1082,11 +1588,11 @@ class ManagementClient {
1082
1588
  }
1083
1589
  /**
1084
1590
  * Gets the specified Authentication Provider.
1085
- * This operation does not retry by default if the user has not defined a retry configuration.
1591
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1086
1592
  * @param GetAuthenticationProviderRequest
1087
1593
  * @return GetAuthenticationProviderResponse
1088
1594
  * @throws OciError when an error occurs
1089
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetAuthenticationProvider.ts.html |here} to see how to use GetAuthenticationProvider API.
1595
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetAuthenticationProvider.ts.html |here} to see how to use GetAuthenticationProvider API.
1090
1596
  */
1091
1597
  getAuthenticationProvider(getAuthenticationProviderRequest) {
1092
1598
  return __awaiter(this, void 0, void 0, function* () {
@@ -1101,9 +1607,10 @@ class ManagementClient {
1101
1607
  const queryParams = {};
1102
1608
  let headerParams = {
1103
1609
  "Content-Type": common.Constants.APPLICATION_JSON,
1610
+ "if-none-match": getAuthenticationProviderRequest.ifNoneMatch,
1104
1611
  "opc-request-id": getAuthenticationProviderRequest.opcRequestId
1105
1612
  };
1106
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1613
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1107
1614
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
1108
1615
  if (this.logger)
1109
1616
  retrier.logger = this.logger;
@@ -1146,11 +1653,11 @@ class ManagementClient {
1146
1653
  }
1147
1654
  /**
1148
1655
  * Gets the specified Channel.
1149
- * This operation does not retry by default if the user has not defined a retry configuration.
1656
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1150
1657
  * @param GetChannelRequest
1151
1658
  * @return GetChannelResponse
1152
1659
  * @throws OciError when an error occurs
1153
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetChannel.ts.html |here} to see how to use GetChannel API.
1660
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetChannel.ts.html |here} to see how to use GetChannel API.
1154
1661
  */
1155
1662
  getChannel(getChannelRequest) {
1156
1663
  return __awaiter(this, void 0, void 0, function* () {
@@ -1165,9 +1672,10 @@ class ManagementClient {
1165
1672
  const queryParams = {};
1166
1673
  let headerParams = {
1167
1674
  "Content-Type": common.Constants.APPLICATION_JSON,
1675
+ "if-none-match": getChannelRequest.ifNoneMatch,
1168
1676
  "opc-request-id": getChannelRequest.opcRequestId
1169
1677
  };
1170
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1678
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1171
1679
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getChannelRequest.retryConfiguration, specRetryConfiguration);
1172
1680
  if (this.logger)
1173
1681
  retrier.logger = this.logger;
@@ -1210,11 +1718,11 @@ class ManagementClient {
1210
1718
  }
1211
1719
  /**
1212
1720
  * Gets the specified Digital Assistant.
1213
- * This operation does not retry by default if the user has not defined a retry configuration.
1721
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1214
1722
  * @param GetDigitalAssistantRequest
1215
1723
  * @return GetDigitalAssistantResponse
1216
1724
  * @throws OciError when an error occurs
1217
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetDigitalAssistant.ts.html |here} to see how to use GetDigitalAssistant API.
1725
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetDigitalAssistant.ts.html |here} to see how to use GetDigitalAssistant API.
1218
1726
  */
1219
1727
  getDigitalAssistant(getDigitalAssistantRequest) {
1220
1728
  return __awaiter(this, void 0, void 0, function* () {
@@ -1223,22 +1731,215 @@ class ManagementClient {
1223
1731
  const operationName = "getDigitalAssistant";
1224
1732
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/GetDigitalAssistant";
1225
1733
  const pathParams = {
1226
- "{odaInstanceId}": getDigitalAssistantRequest.odaInstanceId,
1227
- "{digitalAssistantId}": getDigitalAssistantRequest.digitalAssistantId
1734
+ "{odaInstanceId}": getDigitalAssistantRequest.odaInstanceId,
1735
+ "{digitalAssistantId}": getDigitalAssistantRequest.digitalAssistantId
1736
+ };
1737
+ const queryParams = {};
1738
+ let headerParams = {
1739
+ "Content-Type": common.Constants.APPLICATION_JSON,
1740
+ "if-none-match": getDigitalAssistantRequest.ifNoneMatch,
1741
+ "opc-request-id": getDigitalAssistantRequest.opcRequestId
1742
+ };
1743
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1744
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
1745
+ if (this.logger)
1746
+ retrier.logger = this.logger;
1747
+ const request = yield oci_common_2.composeRequest({
1748
+ baseEndpoint: this._endpoint,
1749
+ defaultHeaders: this._defaultHeaders,
1750
+ path: "/odaInstances/{odaInstanceId}/digitalAssistants/{digitalAssistantId}",
1751
+ method: "GET",
1752
+ pathParams: pathParams,
1753
+ headerParams: headerParams,
1754
+ queryParams: queryParams
1755
+ });
1756
+ try {
1757
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1758
+ const sdkResponse = oci_common_2.composeResponse({
1759
+ responseObject: {},
1760
+ body: yield response.json(),
1761
+ bodyKey: "digitalAssistant",
1762
+ bodyModel: model.DigitalAssistant,
1763
+ type: "model.DigitalAssistant",
1764
+ responseHeaders: [
1765
+ {
1766
+ value: response.headers.get("etag"),
1767
+ key: "etag",
1768
+ dataType: "string"
1769
+ },
1770
+ {
1771
+ value: response.headers.get("opc-request-id"),
1772
+ key: "opcRequestId",
1773
+ dataType: "string"
1774
+ }
1775
+ ]
1776
+ });
1777
+ return sdkResponse;
1778
+ }
1779
+ catch (err) {
1780
+ throw err;
1781
+ }
1782
+ });
1783
+ }
1784
+ /**
1785
+ * Gets the specified Digital Assistant Parameter.
1786
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1787
+ * @param GetDigitalAssistantParameterRequest
1788
+ * @return GetDigitalAssistantParameterResponse
1789
+ * @throws OciError when an error occurs
1790
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetDigitalAssistantParameter.ts.html |here} to see how to use GetDigitalAssistantParameter API.
1791
+ */
1792
+ getDigitalAssistantParameter(getDigitalAssistantParameterRequest) {
1793
+ return __awaiter(this, void 0, void 0, function* () {
1794
+ if (this.logger)
1795
+ this.logger.debug("Calling operation ManagementClient#getDigitalAssistantParameter.");
1796
+ const operationName = "getDigitalAssistantParameter";
1797
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistantParameter/GetDigitalAssistantParameter";
1798
+ const pathParams = {
1799
+ "{odaInstanceId}": getDigitalAssistantParameterRequest.odaInstanceId,
1800
+ "{digitalAssistantId}": getDigitalAssistantParameterRequest.digitalAssistantId,
1801
+ "{parameterName}": getDigitalAssistantParameterRequest.parameterName
1802
+ };
1803
+ const queryParams = {};
1804
+ let headerParams = {
1805
+ "Content-Type": common.Constants.APPLICATION_JSON,
1806
+ "if-none-match": getDigitalAssistantParameterRequest.ifNoneMatch,
1807
+ "opc-request-id": getDigitalAssistantParameterRequest.opcRequestId
1808
+ };
1809
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1810
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDigitalAssistantParameterRequest.retryConfiguration, specRetryConfiguration);
1811
+ if (this.logger)
1812
+ retrier.logger = this.logger;
1813
+ const request = yield oci_common_2.composeRequest({
1814
+ baseEndpoint: this._endpoint,
1815
+ defaultHeaders: this._defaultHeaders,
1816
+ path: "/odaInstances/{odaInstanceId}/digitalAssistants/{digitalAssistantId}/parameters/{parameterName}",
1817
+ method: "GET",
1818
+ pathParams: pathParams,
1819
+ headerParams: headerParams,
1820
+ queryParams: queryParams
1821
+ });
1822
+ try {
1823
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1824
+ const sdkResponse = oci_common_2.composeResponse({
1825
+ responseObject: {},
1826
+ body: yield response.json(),
1827
+ bodyKey: "digitalAssistantParameter",
1828
+ bodyModel: model.DigitalAssistantParameter,
1829
+ type: "model.DigitalAssistantParameter",
1830
+ responseHeaders: [
1831
+ {
1832
+ value: response.headers.get("etag"),
1833
+ key: "etag",
1834
+ dataType: "string"
1835
+ },
1836
+ {
1837
+ value: response.headers.get("opc-request-id"),
1838
+ key: "opcRequestId",
1839
+ dataType: "string"
1840
+ }
1841
+ ]
1842
+ });
1843
+ return sdkResponse;
1844
+ }
1845
+ catch (err) {
1846
+ throw err;
1847
+ }
1848
+ });
1849
+ }
1850
+ /**
1851
+ * Gets the specified ODA Private Endpoint.
1852
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1853
+ * @param GetOdaPrivateEndpointRequest
1854
+ * @return GetOdaPrivateEndpointResponse
1855
+ * @throws OciError when an error occurs
1856
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetOdaPrivateEndpoint.ts.html |here} to see how to use GetOdaPrivateEndpoint API.
1857
+ */
1858
+ getOdaPrivateEndpoint(getOdaPrivateEndpointRequest) {
1859
+ return __awaiter(this, void 0, void 0, function* () {
1860
+ if (this.logger)
1861
+ this.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpoint.");
1862
+ const operationName = "getOdaPrivateEndpoint";
1863
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/GetOdaPrivateEndpoint";
1864
+ const pathParams = {
1865
+ "{odaPrivateEndpointId}": getOdaPrivateEndpointRequest.odaPrivateEndpointId
1866
+ };
1867
+ const queryParams = {};
1868
+ let headerParams = {
1869
+ "Content-Type": common.Constants.APPLICATION_JSON,
1870
+ "opc-request-id": getOdaPrivateEndpointRequest.opcRequestId
1871
+ };
1872
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1873
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
1874
+ if (this.logger)
1875
+ retrier.logger = this.logger;
1876
+ const request = yield oci_common_2.composeRequest({
1877
+ baseEndpoint: this._endpoint,
1878
+ defaultHeaders: this._defaultHeaders,
1879
+ path: "/odaPrivateEndpoints/{odaPrivateEndpointId}",
1880
+ method: "GET",
1881
+ pathParams: pathParams,
1882
+ headerParams: headerParams,
1883
+ queryParams: queryParams
1884
+ });
1885
+ try {
1886
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1887
+ const sdkResponse = oci_common_2.composeResponse({
1888
+ responseObject: {},
1889
+ body: yield response.json(),
1890
+ bodyKey: "odaPrivateEndpoint",
1891
+ bodyModel: model.OdaPrivateEndpoint,
1892
+ type: "model.OdaPrivateEndpoint",
1893
+ responseHeaders: [
1894
+ {
1895
+ value: response.headers.get("etag"),
1896
+ key: "etag",
1897
+ dataType: "string"
1898
+ },
1899
+ {
1900
+ value: response.headers.get("opc-request-id"),
1901
+ key: "opcRequestId",
1902
+ dataType: "string"
1903
+ }
1904
+ ]
1905
+ });
1906
+ return sdkResponse;
1907
+ }
1908
+ catch (err) {
1909
+ throw err;
1910
+ }
1911
+ });
1912
+ }
1913
+ /**
1914
+ * Gets the specified ODA Private Endpoint Attachment.
1915
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1916
+ * @param GetOdaPrivateEndpointAttachmentRequest
1917
+ * @return GetOdaPrivateEndpointAttachmentResponse
1918
+ * @throws OciError when an error occurs
1919
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetOdaPrivateEndpointAttachment.ts.html |here} to see how to use GetOdaPrivateEndpointAttachment API.
1920
+ */
1921
+ getOdaPrivateEndpointAttachment(getOdaPrivateEndpointAttachmentRequest) {
1922
+ return __awaiter(this, void 0, void 0, function* () {
1923
+ if (this.logger)
1924
+ this.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpointAttachment.");
1925
+ const operationName = "getOdaPrivateEndpointAttachment";
1926
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointAttachment/GetOdaPrivateEndpointAttachment";
1927
+ const pathParams = {
1928
+ "{odaPrivateEndpointAttachmentId}": getOdaPrivateEndpointAttachmentRequest.odaPrivateEndpointAttachmentId
1228
1929
  };
1229
1930
  const queryParams = {};
1230
1931
  let headerParams = {
1231
1932
  "Content-Type": common.Constants.APPLICATION_JSON,
1232
- "opc-request-id": getDigitalAssistantRequest.opcRequestId
1933
+ "opc-request-id": getOdaPrivateEndpointAttachmentRequest.opcRequestId
1233
1934
  };
1234
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1235
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
1935
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1936
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaPrivateEndpointAttachmentRequest.retryConfiguration, specRetryConfiguration);
1236
1937
  if (this.logger)
1237
1938
  retrier.logger = this.logger;
1238
1939
  const request = yield oci_common_2.composeRequest({
1239
1940
  baseEndpoint: this._endpoint,
1240
1941
  defaultHeaders: this._defaultHeaders,
1241
- path: "/odaInstances/{odaInstanceId}/digitalAssistants/{digitalAssistantId}",
1942
+ path: "/odaPrivateEndpointAttachments/{odaPrivateEndpointAttachmentId}",
1242
1943
  method: "GET",
1243
1944
  pathParams: pathParams,
1244
1945
  headerParams: headerParams,
@@ -1249,9 +1950,9 @@ class ManagementClient {
1249
1950
  const sdkResponse = oci_common_2.composeResponse({
1250
1951
  responseObject: {},
1251
1952
  body: yield response.json(),
1252
- bodyKey: "digitalAssistant",
1253
- bodyModel: model.DigitalAssistant,
1254
- type: "model.DigitalAssistant",
1953
+ bodyKey: "odaPrivateEndpointAttachment",
1954
+ bodyModel: model.OdaPrivateEndpointAttachment,
1955
+ type: "model.OdaPrivateEndpointAttachment",
1255
1956
  responseHeaders: [
1256
1957
  {
1257
1958
  value: response.headers.get("etag"),
@@ -1273,37 +1974,36 @@ class ManagementClient {
1273
1974
  });
1274
1975
  }
1275
1976
  /**
1276
- * Gets the specified Digital Assistant Parameter.
1277
- * This operation does not retry by default if the user has not defined a retry configuration.
1278
- * @param GetDigitalAssistantParameterRequest
1279
- * @return GetDigitalAssistantParameterResponse
1977
+ * Gets the specified ODA Private Endpoint Scan Proxy.
1978
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1979
+ * @param GetOdaPrivateEndpointScanProxyRequest
1980
+ * @return GetOdaPrivateEndpointScanProxyResponse
1280
1981
  * @throws OciError when an error occurs
1281
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetDigitalAssistantParameter.ts.html |here} to see how to use GetDigitalAssistantParameter API.
1982
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetOdaPrivateEndpointScanProxy.ts.html |here} to see how to use GetOdaPrivateEndpointScanProxy API.
1282
1983
  */
1283
- getDigitalAssistantParameter(getDigitalAssistantParameterRequest) {
1984
+ getOdaPrivateEndpointScanProxy(getOdaPrivateEndpointScanProxyRequest) {
1284
1985
  return __awaiter(this, void 0, void 0, function* () {
1285
1986
  if (this.logger)
1286
- this.logger.debug("Calling operation ManagementClient#getDigitalAssistantParameter.");
1287
- const operationName = "getDigitalAssistantParameter";
1288
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistantParameter/GetDigitalAssistantParameter";
1987
+ this.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpointScanProxy.");
1988
+ const operationName = "getOdaPrivateEndpointScanProxy";
1989
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointScanProxy/GetOdaPrivateEndpointScanProxy";
1289
1990
  const pathParams = {
1290
- "{odaInstanceId}": getDigitalAssistantParameterRequest.odaInstanceId,
1291
- "{digitalAssistantId}": getDigitalAssistantParameterRequest.digitalAssistantId,
1292
- "{parameterName}": getDigitalAssistantParameterRequest.parameterName
1991
+ "{odaPrivateEndpointScanProxyId}": getOdaPrivateEndpointScanProxyRequest.odaPrivateEndpointScanProxyId,
1992
+ "{odaPrivateEndpointId}": getOdaPrivateEndpointScanProxyRequest.odaPrivateEndpointId
1293
1993
  };
1294
1994
  const queryParams = {};
1295
1995
  let headerParams = {
1296
1996
  "Content-Type": common.Constants.APPLICATION_JSON,
1297
- "opc-request-id": getDigitalAssistantParameterRequest.opcRequestId
1997
+ "opc-request-id": getOdaPrivateEndpointScanProxyRequest.opcRequestId
1298
1998
  };
1299
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1300
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDigitalAssistantParameterRequest.retryConfiguration, specRetryConfiguration);
1999
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2000
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaPrivateEndpointScanProxyRequest.retryConfiguration, specRetryConfiguration);
1301
2001
  if (this.logger)
1302
2002
  retrier.logger = this.logger;
1303
2003
  const request = yield oci_common_2.composeRequest({
1304
2004
  baseEndpoint: this._endpoint,
1305
2005
  defaultHeaders: this._defaultHeaders,
1306
- path: "/odaInstances/{odaInstanceId}/digitalAssistants/{digitalAssistantId}/parameters/{parameterName}",
2006
+ path: "/odaPrivateEndpoints/{odaPrivateEndpointId}/odaPrivateEndpointScanProxies/{odaPrivateEndpointScanProxyId}",
1307
2007
  method: "GET",
1308
2008
  pathParams: pathParams,
1309
2009
  headerParams: headerParams,
@@ -1314,9 +2014,9 @@ class ManagementClient {
1314
2014
  const sdkResponse = oci_common_2.composeResponse({
1315
2015
  responseObject: {},
1316
2016
  body: yield response.json(),
1317
- bodyKey: "digitalAssistantParameter",
1318
- bodyModel: model.DigitalAssistantParameter,
1319
- type: "model.DigitalAssistantParameter",
2017
+ bodyKey: "odaPrivateEndpointScanProxy",
2018
+ bodyModel: model.OdaPrivateEndpointScanProxy,
2019
+ type: "model.OdaPrivateEndpointScanProxy",
1320
2020
  responseHeaders: [
1321
2021
  {
1322
2022
  value: response.headers.get("etag"),
@@ -1339,11 +2039,11 @@ class ManagementClient {
1339
2039
  }
1340
2040
  /**
1341
2041
  * Gets the specified Skill.
1342
- * This operation does not retry by default if the user has not defined a retry configuration.
2042
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1343
2043
  * @param GetSkillRequest
1344
2044
  * @return GetSkillResponse
1345
2045
  * @throws OciError when an error occurs
1346
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetSkill.ts.html |here} to see how to use GetSkill API.
2046
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetSkill.ts.html |here} to see how to use GetSkill API.
1347
2047
  */
1348
2048
  getSkill(getSkillRequest) {
1349
2049
  return __awaiter(this, void 0, void 0, function* () {
@@ -1358,9 +2058,10 @@ class ManagementClient {
1358
2058
  const queryParams = {};
1359
2059
  let headerParams = {
1360
2060
  "Content-Type": common.Constants.APPLICATION_JSON,
2061
+ "if-none-match": getSkillRequest.ifNoneMatch,
1361
2062
  "opc-request-id": getSkillRequest.opcRequestId
1362
2063
  };
1363
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
2064
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1364
2065
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSkillRequest.retryConfiguration, specRetryConfiguration);
1365
2066
  if (this.logger)
1366
2067
  retrier.logger = this.logger;
@@ -1403,11 +2104,11 @@ class ManagementClient {
1403
2104
  }
1404
2105
  /**
1405
2106
  * Gets the specified Skill Parameter.
1406
- * This operation does not retry by default if the user has not defined a retry configuration.
2107
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1407
2108
  * @param GetSkillParameterRequest
1408
2109
  * @return GetSkillParameterResponse
1409
2110
  * @throws OciError when an error occurs
1410
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetSkillParameter.ts.html |here} to see how to use GetSkillParameter API.
2111
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetSkillParameter.ts.html |here} to see how to use GetSkillParameter API.
1411
2112
  */
1412
2113
  getSkillParameter(getSkillParameterRequest) {
1413
2114
  return __awaiter(this, void 0, void 0, function* () {
@@ -1423,9 +2124,10 @@ class ManagementClient {
1423
2124
  const queryParams = {};
1424
2125
  let headerParams = {
1425
2126
  "Content-Type": common.Constants.APPLICATION_JSON,
2127
+ "if-none-match": getSkillParameterRequest.ifNoneMatch,
1426
2128
  "opc-request-id": getSkillParameterRequest.opcRequestId
1427
2129
  };
1428
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
2130
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1429
2131
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSkillParameterRequest.retryConfiguration, specRetryConfiguration);
1430
2132
  if (this.logger)
1431
2133
  retrier.logger = this.logger;
@@ -1468,11 +2170,11 @@ class ManagementClient {
1468
2170
  }
1469
2171
  /**
1470
2172
  * Gets the specified Translator.
1471
- * This operation does not retry by default if the user has not defined a retry configuration.
2173
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1472
2174
  * @param GetTranslatorRequest
1473
2175
  * @return GetTranslatorResponse
1474
2176
  * @throws OciError when an error occurs
1475
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetTranslator.ts.html |here} to see how to use GetTranslator API.
2177
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetTranslator.ts.html |here} to see how to use GetTranslator API.
1476
2178
  */
1477
2179
  getTranslator(getTranslatorRequest) {
1478
2180
  return __awaiter(this, void 0, void 0, function* () {
@@ -1487,9 +2189,10 @@ class ManagementClient {
1487
2189
  const queryParams = {};
1488
2190
  let headerParams = {
1489
2191
  "Content-Type": common.Constants.APPLICATION_JSON,
2192
+ "if-none-match": getTranslatorRequest.ifNoneMatch,
1490
2193
  "opc-request-id": getTranslatorRequest.opcRequestId
1491
2194
  };
1492
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
2195
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1493
2196
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTranslatorRequest.retryConfiguration, specRetryConfiguration);
1494
2197
  if (this.logger)
1495
2198
  retrier.logger = this.logger;
@@ -1532,11 +2235,11 @@ class ManagementClient {
1532
2235
  }
1533
2236
  /**
1534
2237
  * Import a Bot archive from Object Storage.
1535
- * This operation does not retry by default if the user has not defined a retry configuration.
2238
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1536
2239
  * @param ImportBotRequest
1537
2240
  * @return ImportBotResponse
1538
2241
  * @throws OciError when an error occurs
1539
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ImportBot.ts.html |here} to see how to use ImportBot API.
2242
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ImportBot.ts.html |here} to see how to use ImportBot API.
1540
2243
  */
1541
2244
  importBot(importBotRequest) {
1542
2245
  return __awaiter(this, void 0, void 0, function* () {
@@ -1553,7 +2256,7 @@ class ManagementClient {
1553
2256
  "opc-request-id": importBotRequest.opcRequestId,
1554
2257
  "opc-retry-token": importBotRequest.opcRetryToken
1555
2258
  };
1556
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
2259
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1557
2260
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, importBotRequest.retryConfiguration, specRetryConfiguration);
1558
2261
  if (this.logger)
1559
2262
  retrier.logger = this.logger;
@@ -1598,11 +2301,11 @@ class ManagementClient {
1598
2301
  * there are more items to retrieve. To get the next page in the subsequent
1599
2302
  * GET request, include the header's value as the `page` query parameter.
1600
2303
  *
1601
- * This operation does not retry by default if the user has not defined a retry configuration.
2304
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1602
2305
  * @param ListAuthenticationProvidersRequest
1603
2306
  * @return ListAuthenticationProvidersResponse
1604
2307
  * @throws OciError when an error occurs
1605
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListAuthenticationProviders.ts.html |here} to see how to use ListAuthenticationProviders API.
2308
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListAuthenticationProviders.ts.html |here} to see how to use ListAuthenticationProviders API.
1606
2309
  */
1607
2310
  listAuthenticationProviders(listAuthenticationProvidersRequest) {
1608
2311
  return __awaiter(this, void 0, void 0, function* () {
@@ -1627,7 +2330,7 @@ class ManagementClient {
1627
2330
  "Content-Type": common.Constants.APPLICATION_JSON,
1628
2331
  "opc-request-id": listAuthenticationProvidersRequest.opcRequestId
1629
2332
  };
1630
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
2333
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1631
2334
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAuthenticationProvidersRequest.retryConfiguration, specRetryConfiguration);
1632
2335
  if (this.logger)
1633
2336
  retrier.logger = this.logger;
@@ -1680,11 +2383,11 @@ class ManagementClient {
1680
2383
  * there are more items to retrieve. To get the next page in the subsequent
1681
2384
  * GET request, include the header's value as the `page` query parameter.
1682
2385
  *
1683
- * This operation does not retry by default if the user has not defined a retry configuration.
2386
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1684
2387
  * @param ListChannelsRequest
1685
2388
  * @return ListChannelsResponse
1686
2389
  * @throws OciError when an error occurs
1687
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListChannels.ts.html |here} to see how to use ListChannels API.
2390
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListChannels.ts.html |here} to see how to use ListChannels API.
1688
2391
  */
1689
2392
  listChannels(listChannelsRequest) {
1690
2393
  return __awaiter(this, void 0, void 0, function* () {
@@ -1710,7 +2413,7 @@ class ManagementClient {
1710
2413
  "Content-Type": common.Constants.APPLICATION_JSON,
1711
2414
  "opc-request-id": listChannelsRequest.opcRequestId
1712
2415
  };
1713
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
2416
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1714
2417
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listChannelsRequest.retryConfiguration, specRetryConfiguration);
1715
2418
  if (this.logger)
1716
2419
  retrier.logger = this.logger;
@@ -1763,11 +2466,11 @@ class ManagementClient {
1763
2466
  * there are more items to retrieve. To get the next page in the subsequent
1764
2467
  * GET request, include the header's value as the `page` query parameter.
1765
2468
  *
1766
- * This operation does not retry by default if the user has not defined a retry configuration.
2469
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1767
2470
  * @param ListDigitalAssistantParametersRequest
1768
2471
  * @return ListDigitalAssistantParametersResponse
1769
2472
  * @throws OciError when an error occurs
1770
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListDigitalAssistantParameters.ts.html |here} to see how to use ListDigitalAssistantParameters API.
2473
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListDigitalAssistantParameters.ts.html |here} to see how to use ListDigitalAssistantParameters API.
1771
2474
  */
1772
2475
  listDigitalAssistantParameters(listDigitalAssistantParametersRequest) {
1773
2476
  return __awaiter(this, void 0, void 0, function* () {
@@ -1791,7 +2494,7 @@ class ManagementClient {
1791
2494
  "Content-Type": common.Constants.APPLICATION_JSON,
1792
2495
  "opc-request-id": listDigitalAssistantParametersRequest.opcRequestId
1793
2496
  };
1794
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
2497
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1795
2498
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDigitalAssistantParametersRequest.retryConfiguration, specRetryConfiguration);
1796
2499
  if (this.logger)
1797
2500
  retrier.logger = this.logger;
@@ -1844,11 +2547,11 @@ class ManagementClient {
1844
2547
  * there are more items to retrieve. To get the next page in the subsequent
1845
2548
  * GET request, include the header's value as the `page` query parameter.
1846
2549
  *
1847
- * This operation does not retry by default if the user has not defined a retry configuration.
2550
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1848
2551
  * @param ListDigitalAssistantsRequest
1849
2552
  * @return ListDigitalAssistantsResponse
1850
2553
  * @throws OciError when an error occurs
1851
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListDigitalAssistants.ts.html |here} to see how to use ListDigitalAssistants API.
2554
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListDigitalAssistants.ts.html |here} to see how to use ListDigitalAssistants API.
1852
2555
  */
1853
2556
  listDigitalAssistants(listDigitalAssistantsRequest) {
1854
2557
  return __awaiter(this, void 0, void 0, function* () {
@@ -1860,7 +2563,7 @@ class ManagementClient {
1860
2563
  "{odaInstanceId}": listDigitalAssistantsRequest.odaInstanceId
1861
2564
  };
1862
2565
  const queryParams = {
1863
- "digitalAssistantId": listDigitalAssistantsRequest.digitalAssistantId,
2566
+ "id": listDigitalAssistantsRequest.id,
1864
2567
  "category": listDigitalAssistantsRequest.category,
1865
2568
  "name": listDigitalAssistantsRequest.name,
1866
2569
  "version": listDigitalAssistantsRequest.version,
@@ -1877,7 +2580,7 @@ class ManagementClient {
1877
2580
  "Content-Type": common.Constants.APPLICATION_JSON,
1878
2581
  "opc-request-id": listDigitalAssistantsRequest.opcRequestId
1879
2582
  };
1880
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
2583
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1881
2584
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDigitalAssistantsRequest.retryConfiguration, specRetryConfiguration);
1882
2585
  if (this.logger)
1883
2586
  retrier.logger = this.logger;
@@ -1923,6 +2626,245 @@ class ManagementClient {
1923
2626
  }
1924
2627
  });
1925
2628
  }
2629
+ /**
2630
+ * Returns a page of ODA Instances attached to this ODA Private Endpoint.
2631
+ * <p>
2632
+ If the `opc-next-page` header appears in the response, then
2633
+ * there are more items to retrieve. To get the next page in the subsequent
2634
+ * GET request, include the header's value as the `page` query parameter.
2635
+ *
2636
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2637
+ * @param ListOdaPrivateEndpointAttachmentsRequest
2638
+ * @return ListOdaPrivateEndpointAttachmentsResponse
2639
+ * @throws OciError when an error occurs
2640
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListOdaPrivateEndpointAttachments.ts.html |here} to see how to use ListOdaPrivateEndpointAttachments API.
2641
+ */
2642
+ listOdaPrivateEndpointAttachments(listOdaPrivateEndpointAttachmentsRequest) {
2643
+ return __awaiter(this, void 0, void 0, function* () {
2644
+ if (this.logger)
2645
+ this.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpointAttachments.");
2646
+ const operationName = "listOdaPrivateEndpointAttachments";
2647
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointAttachment/ListOdaPrivateEndpointAttachments";
2648
+ const pathParams = {};
2649
+ const queryParams = {
2650
+ "odaPrivateEndpointId": listOdaPrivateEndpointAttachmentsRequest.odaPrivateEndpointId,
2651
+ "compartmentId": listOdaPrivateEndpointAttachmentsRequest.compartmentId,
2652
+ "limit": listOdaPrivateEndpointAttachmentsRequest.limit,
2653
+ "page": listOdaPrivateEndpointAttachmentsRequest.page,
2654
+ "lifecycleState": listOdaPrivateEndpointAttachmentsRequest.lifecycleState,
2655
+ "sortOrder": listOdaPrivateEndpointAttachmentsRequest.sortOrder,
2656
+ "sortBy": listOdaPrivateEndpointAttachmentsRequest.sortBy
2657
+ };
2658
+ let headerParams = {
2659
+ "Content-Type": common.Constants.APPLICATION_JSON,
2660
+ "opc-request-id": listOdaPrivateEndpointAttachmentsRequest.opcRequestId
2661
+ };
2662
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2663
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaPrivateEndpointAttachmentsRequest.retryConfiguration, specRetryConfiguration);
2664
+ if (this.logger)
2665
+ retrier.logger = this.logger;
2666
+ const request = yield oci_common_2.composeRequest({
2667
+ baseEndpoint: this._endpoint,
2668
+ defaultHeaders: this._defaultHeaders,
2669
+ path: "/odaPrivateEndpointAttachments",
2670
+ method: "GET",
2671
+ pathParams: pathParams,
2672
+ headerParams: headerParams,
2673
+ queryParams: queryParams
2674
+ });
2675
+ try {
2676
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2677
+ const sdkResponse = oci_common_2.composeResponse({
2678
+ responseObject: {},
2679
+ body: yield response.json(),
2680
+ bodyKey: "odaPrivateEndpointAttachmentCollection",
2681
+ bodyModel: model.OdaPrivateEndpointAttachmentCollection,
2682
+ type: "model.OdaPrivateEndpointAttachmentCollection",
2683
+ responseHeaders: [
2684
+ {
2685
+ value: response.headers.get("opc-request-id"),
2686
+ key: "opcRequestId",
2687
+ dataType: "string"
2688
+ },
2689
+ {
2690
+ value: response.headers.get("opc-next-page"),
2691
+ key: "opcNextPage",
2692
+ dataType: "string"
2693
+ },
2694
+ {
2695
+ value: response.headers.get("opc-total-items"),
2696
+ key: "opcTotalItems",
2697
+ dataType: "number"
2698
+ }
2699
+ ]
2700
+ });
2701
+ return sdkResponse;
2702
+ }
2703
+ catch (err) {
2704
+ throw err;
2705
+ }
2706
+ });
2707
+ }
2708
+ /**
2709
+ * Returns a page of ODA Private Endpoint Scan Proxies that belong to the specified
2710
+ * ODA Private Endpoint.
2711
+ * <p>
2712
+ If the `opc-next-page` header appears in the response, then
2713
+ * there are more items to retrieve. To get the next page in the subsequent
2714
+ * GET request, include the header's value as the `page` query parameter.
2715
+ *
2716
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2717
+ * @param ListOdaPrivateEndpointScanProxiesRequest
2718
+ * @return ListOdaPrivateEndpointScanProxiesResponse
2719
+ * @throws OciError when an error occurs
2720
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListOdaPrivateEndpointScanProxies.ts.html |here} to see how to use ListOdaPrivateEndpointScanProxies API.
2721
+ */
2722
+ listOdaPrivateEndpointScanProxies(listOdaPrivateEndpointScanProxiesRequest) {
2723
+ return __awaiter(this, void 0, void 0, function* () {
2724
+ if (this.logger)
2725
+ this.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpointScanProxies.");
2726
+ const operationName = "listOdaPrivateEndpointScanProxies";
2727
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointScanProxy/ListOdaPrivateEndpointScanProxies";
2728
+ const pathParams = {
2729
+ "{odaPrivateEndpointId}": listOdaPrivateEndpointScanProxiesRequest.odaPrivateEndpointId
2730
+ };
2731
+ const queryParams = {
2732
+ "lifecycleState": listOdaPrivateEndpointScanProxiesRequest.lifecycleState,
2733
+ "limit": listOdaPrivateEndpointScanProxiesRequest.limit,
2734
+ "page": listOdaPrivateEndpointScanProxiesRequest.page,
2735
+ "sortOrder": listOdaPrivateEndpointScanProxiesRequest.sortOrder,
2736
+ "sortBy": listOdaPrivateEndpointScanProxiesRequest.sortBy
2737
+ };
2738
+ let headerParams = {
2739
+ "Content-Type": common.Constants.APPLICATION_JSON,
2740
+ "opc-request-id": listOdaPrivateEndpointScanProxiesRequest.opcRequestId
2741
+ };
2742
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2743
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaPrivateEndpointScanProxiesRequest.retryConfiguration, specRetryConfiguration);
2744
+ if (this.logger)
2745
+ retrier.logger = this.logger;
2746
+ const request = yield oci_common_2.composeRequest({
2747
+ baseEndpoint: this._endpoint,
2748
+ defaultHeaders: this._defaultHeaders,
2749
+ path: "/odaPrivateEndpoints/{odaPrivateEndpointId}/odaPrivateEndpointScanProxies",
2750
+ method: "GET",
2751
+ pathParams: pathParams,
2752
+ headerParams: headerParams,
2753
+ queryParams: queryParams
2754
+ });
2755
+ try {
2756
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2757
+ const sdkResponse = oci_common_2.composeResponse({
2758
+ responseObject: {},
2759
+ body: yield response.json(),
2760
+ bodyKey: "odaPrivateEndpointScanProxyCollection",
2761
+ bodyModel: model.OdaPrivateEndpointScanProxyCollection,
2762
+ type: "model.OdaPrivateEndpointScanProxyCollection",
2763
+ responseHeaders: [
2764
+ {
2765
+ value: response.headers.get("opc-request-id"),
2766
+ key: "opcRequestId",
2767
+ dataType: "string"
2768
+ },
2769
+ {
2770
+ value: response.headers.get("opc-next-page"),
2771
+ key: "opcNextPage",
2772
+ dataType: "string"
2773
+ },
2774
+ {
2775
+ value: response.headers.get("opc-total-items"),
2776
+ key: "opcTotalItems",
2777
+ dataType: "number"
2778
+ }
2779
+ ]
2780
+ });
2781
+ return sdkResponse;
2782
+ }
2783
+ catch (err) {
2784
+ throw err;
2785
+ }
2786
+ });
2787
+ }
2788
+ /**
2789
+ * Returns a page of ODA Private Endpoints that belong to the specified
2790
+ * compartment.
2791
+ * <p>
2792
+ If the `opc-next-page` header appears in the response, then
2793
+ * there are more items to retrieve. To get the next page in the subsequent
2794
+ * GET request, include the header's value as the `page` query parameter.
2795
+ *
2796
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2797
+ * @param ListOdaPrivateEndpointsRequest
2798
+ * @return ListOdaPrivateEndpointsResponse
2799
+ * @throws OciError when an error occurs
2800
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListOdaPrivateEndpoints.ts.html |here} to see how to use ListOdaPrivateEndpoints API.
2801
+ */
2802
+ listOdaPrivateEndpoints(listOdaPrivateEndpointsRequest) {
2803
+ return __awaiter(this, void 0, void 0, function* () {
2804
+ if (this.logger)
2805
+ this.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpoints.");
2806
+ const operationName = "listOdaPrivateEndpoints";
2807
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/ListOdaPrivateEndpoints";
2808
+ const pathParams = {};
2809
+ const queryParams = {
2810
+ "compartmentId": listOdaPrivateEndpointsRequest.compartmentId,
2811
+ "displayName": listOdaPrivateEndpointsRequest.displayName,
2812
+ "lifecycleState": listOdaPrivateEndpointsRequest.lifecycleState,
2813
+ "limit": listOdaPrivateEndpointsRequest.limit,
2814
+ "page": listOdaPrivateEndpointsRequest.page,
2815
+ "sortOrder": listOdaPrivateEndpointsRequest.sortOrder,
2816
+ "sortBy": listOdaPrivateEndpointsRequest.sortBy
2817
+ };
2818
+ let headerParams = {
2819
+ "Content-Type": common.Constants.APPLICATION_JSON,
2820
+ "opc-request-id": listOdaPrivateEndpointsRequest.opcRequestId
2821
+ };
2822
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2823
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaPrivateEndpointsRequest.retryConfiguration, specRetryConfiguration);
2824
+ if (this.logger)
2825
+ retrier.logger = this.logger;
2826
+ const request = yield oci_common_2.composeRequest({
2827
+ baseEndpoint: this._endpoint,
2828
+ defaultHeaders: this._defaultHeaders,
2829
+ path: "/odaPrivateEndpoints",
2830
+ method: "GET",
2831
+ pathParams: pathParams,
2832
+ headerParams: headerParams,
2833
+ queryParams: queryParams
2834
+ });
2835
+ try {
2836
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2837
+ const sdkResponse = oci_common_2.composeResponse({
2838
+ responseObject: {},
2839
+ body: yield response.json(),
2840
+ bodyKey: "odaPrivateEndpointCollection",
2841
+ bodyModel: model.OdaPrivateEndpointCollection,
2842
+ type: "model.OdaPrivateEndpointCollection",
2843
+ responseHeaders: [
2844
+ {
2845
+ value: response.headers.get("opc-request-id"),
2846
+ key: "opcRequestId",
2847
+ dataType: "string"
2848
+ },
2849
+ {
2850
+ value: response.headers.get("opc-next-page"),
2851
+ key: "opcNextPage",
2852
+ dataType: "string"
2853
+ },
2854
+ {
2855
+ value: response.headers.get("opc-total-items"),
2856
+ key: "opcTotalItems",
2857
+ dataType: "number"
2858
+ }
2859
+ ]
2860
+ });
2861
+ return sdkResponse;
2862
+ }
2863
+ catch (err) {
2864
+ throw err;
2865
+ }
2866
+ });
2867
+ }
1926
2868
  /**
1927
2869
  * Returns a page of Skill Parameters that belong to the specified Skill.
1928
2870
  * <p>
@@ -1930,11 +2872,11 @@ class ManagementClient {
1930
2872
  * there are more items to retrieve. To get the next page in the subsequent
1931
2873
  * GET request, include the header's value as the `page` query parameter.
1932
2874
  *
1933
- * This operation does not retry by default if the user has not defined a retry configuration.
2875
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1934
2876
  * @param ListSkillParametersRequest
1935
2877
  * @return ListSkillParametersResponse
1936
2878
  * @throws OciError when an error occurs
1937
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListSkillParameters.ts.html |here} to see how to use ListSkillParameters API.
2879
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListSkillParameters.ts.html |here} to see how to use ListSkillParameters API.
1938
2880
  */
1939
2881
  listSkillParameters(listSkillParametersRequest) {
1940
2882
  return __awaiter(this, void 0, void 0, function* () {
@@ -1958,7 +2900,7 @@ class ManagementClient {
1958
2900
  "Content-Type": common.Constants.APPLICATION_JSON,
1959
2901
  "opc-request-id": listSkillParametersRequest.opcRequestId
1960
2902
  };
1961
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
2903
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1962
2904
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSkillParametersRequest.retryConfiguration, specRetryConfiguration);
1963
2905
  if (this.logger)
1964
2906
  retrier.logger = this.logger;
@@ -2011,11 +2953,11 @@ class ManagementClient {
2011
2953
  * there are more items to retrieve. To get the next page in the subsequent
2012
2954
  * GET request, include the header's value as the `page` query parameter.
2013
2955
  *
2014
- * This operation does not retry by default if the user has not defined a retry configuration.
2956
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2015
2957
  * @param ListSkillsRequest
2016
2958
  * @return ListSkillsResponse
2017
2959
  * @throws OciError when an error occurs
2018
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListSkills.ts.html |here} to see how to use ListSkills API.
2960
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListSkills.ts.html |here} to see how to use ListSkills API.
2019
2961
  */
2020
2962
  listSkills(listSkillsRequest) {
2021
2963
  return __awaiter(this, void 0, void 0, function* () {
@@ -2027,7 +2969,7 @@ class ManagementClient {
2027
2969
  "{odaInstanceId}": listSkillsRequest.odaInstanceId
2028
2970
  };
2029
2971
  const queryParams = {
2030
- "skillId": listSkillsRequest.skillId,
2972
+ "id": listSkillsRequest.id,
2031
2973
  "category": listSkillsRequest.category,
2032
2974
  "name": listSkillsRequest.name,
2033
2975
  "version": listSkillsRequest.version,
@@ -2044,7 +2986,7 @@ class ManagementClient {
2044
2986
  "Content-Type": common.Constants.APPLICATION_JSON,
2045
2987
  "opc-request-id": listSkillsRequest.opcRequestId
2046
2988
  };
2047
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
2989
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2048
2990
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSkillsRequest.retryConfiguration, specRetryConfiguration);
2049
2991
  if (this.logger)
2050
2992
  retrier.logger = this.logger;
@@ -2097,11 +3039,11 @@ class ManagementClient {
2097
3039
  * there are more items to retrieve. To get the next page in the subsequent
2098
3040
  * GET request, include the header's value as the `page` query parameter.
2099
3041
  *
2100
- * This operation does not retry by default if the user has not defined a retry configuration.
3042
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2101
3043
  * @param ListTranslatorsRequest
2102
3044
  * @return ListTranslatorsResponse
2103
3045
  * @throws OciError when an error occurs
2104
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListTranslators.ts.html |here} to see how to use ListTranslators API.
3046
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListTranslators.ts.html |here} to see how to use ListTranslators API.
2105
3047
  */
2106
3048
  listTranslators(listTranslatorsRequest) {
2107
3049
  return __awaiter(this, void 0, void 0, function* () {
@@ -2126,7 +3068,7 @@ class ManagementClient {
2126
3068
  "Content-Type": common.Constants.APPLICATION_JSON,
2127
3069
  "opc-request-id": listTranslatorsRequest.opcRequestId
2128
3070
  };
2129
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3071
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2130
3072
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTranslatorsRequest.retryConfiguration, specRetryConfiguration);
2131
3073
  if (this.logger)
2132
3074
  retrier.logger = this.logger;
@@ -2176,11 +3118,11 @@ class ManagementClient {
2176
3118
  * Publish a draft Digital Assistant.
2177
3119
  * Once published the Digital Assistant cannot be modified.
2178
3120
  *
2179
- * This operation does not retry by default if the user has not defined a retry configuration.
3121
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2180
3122
  * @param PublishDigitalAssistantRequest
2181
3123
  * @return PublishDigitalAssistantResponse
2182
3124
  * @throws OciError when an error occurs
2183
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/PublishDigitalAssistant.ts.html |here} to see how to use PublishDigitalAssistant API.
3125
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/PublishDigitalAssistant.ts.html |here} to see how to use PublishDigitalAssistant API.
2184
3126
  */
2185
3127
  publishDigitalAssistant(publishDigitalAssistantRequest) {
2186
3128
  return __awaiter(this, void 0, void 0, function* () {
@@ -2198,7 +3140,7 @@ class ManagementClient {
2198
3140
  "if-match": publishDigitalAssistantRequest.ifMatch,
2199
3141
  "opc-request-id": publishDigitalAssistantRequest.opcRequestId
2200
3142
  };
2201
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3143
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2202
3144
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, publishDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
2203
3145
  if (this.logger)
2204
3146
  retrier.logger = this.logger;
@@ -2243,11 +3185,11 @@ class ManagementClient {
2243
3185
  * Publish a draft Skill.
2244
3186
  * Once published it cannot be modified.
2245
3187
  *
2246
- * This operation does not retry by default if the user has not defined a retry configuration.
3188
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2247
3189
  * @param PublishSkillRequest
2248
3190
  * @return PublishSkillResponse
2249
3191
  * @throws OciError when an error occurs
2250
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/PublishSkill.ts.html |here} to see how to use PublishSkill API.
3192
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/PublishSkill.ts.html |here} to see how to use PublishSkill API.
2251
3193
  */
2252
3194
  publishSkill(publishSkillRequest) {
2253
3195
  return __awaiter(this, void 0, void 0, function* () {
@@ -2265,7 +3207,7 @@ class ManagementClient {
2265
3207
  "if-match": publishSkillRequest.ifMatch,
2266
3208
  "opc-request-id": publishSkillRequest.opcRequestId
2267
3209
  };
2268
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3210
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2269
3211
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, publishSkillRequest.retryConfiguration, specRetryConfiguration);
2270
3212
  if (this.logger)
2271
3213
  retrier.logger = this.logger;
@@ -2311,11 +3253,11 @@ class ManagementClient {
2311
3253
  * If a Channel has no generated keys then no changes will be made.
2312
3254
  * Ensure that you take note of the newly generated keys in the response as they will not be returned again.
2313
3255
  *
2314
- * This operation does not retry by default if the user has not defined a retry configuration.
3256
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2315
3257
  * @param RotateChannelKeysRequest
2316
3258
  * @return RotateChannelKeysResponse
2317
3259
  * @throws OciError when an error occurs
2318
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/RotateChannelKeys.ts.html |here} to see how to use RotateChannelKeys API.
3260
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/RotateChannelKeys.ts.html |here} to see how to use RotateChannelKeys API.
2319
3261
  */
2320
3262
  rotateChannelKeys(rotateChannelKeysRequest) {
2321
3263
  return __awaiter(this, void 0, void 0, function* () {
@@ -2331,10 +3273,9 @@ class ManagementClient {
2331
3273
  let headerParams = {
2332
3274
  "Content-Type": common.Constants.APPLICATION_JSON,
2333
3275
  "opc-request-id": rotateChannelKeysRequest.opcRequestId,
2334
- "if-match": rotateChannelKeysRequest.ifMatch,
2335
- "opc-retry-token": rotateChannelKeysRequest.opcRetryToken
3276
+ "if-match": rotateChannelKeysRequest.ifMatch
2336
3277
  };
2337
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3278
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2338
3279
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, rotateChannelKeysRequest.retryConfiguration, specRetryConfiguration);
2339
3280
  if (this.logger)
2340
3281
  retrier.logger = this.logger;
@@ -2378,11 +3319,11 @@ class ManagementClient {
2378
3319
  /**
2379
3320
  * Starts a Channel so that it will begin accepting messages.
2380
3321
  *
2381
- * This operation does not retry by default if the user has not defined a retry configuration.
3322
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2382
3323
  * @param StartChannelRequest
2383
3324
  * @return StartChannelResponse
2384
3325
  * @throws OciError when an error occurs
2385
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/StartChannel.ts.html |here} to see how to use StartChannel API.
3326
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/StartChannel.ts.html |here} to see how to use StartChannel API.
2386
3327
  */
2387
3328
  startChannel(startChannelRequest) {
2388
3329
  return __awaiter(this, void 0, void 0, function* () {
@@ -2398,10 +3339,9 @@ class ManagementClient {
2398
3339
  let headerParams = {
2399
3340
  "Content-Type": common.Constants.APPLICATION_JSON,
2400
3341
  "opc-request-id": startChannelRequest.opcRequestId,
2401
- "if-match": startChannelRequest.ifMatch,
2402
- "opc-retry-token": startChannelRequest.opcRetryToken
3342
+ "if-match": startChannelRequest.ifMatch
2403
3343
  };
2404
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3344
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2405
3345
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startChannelRequest.retryConfiguration, specRetryConfiguration);
2406
3346
  if (this.logger)
2407
3347
  retrier.logger = this.logger;
@@ -2445,11 +3385,11 @@ class ManagementClient {
2445
3385
  /**
2446
3386
  * Stops a Channel so that it will no longer accept messages.
2447
3387
  *
2448
- * This operation does not retry by default if the user has not defined a retry configuration.
3388
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2449
3389
  * @param StopChannelRequest
2450
3390
  * @return StopChannelResponse
2451
3391
  * @throws OciError when an error occurs
2452
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/StopChannel.ts.html |here} to see how to use StopChannel API.
3392
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/StopChannel.ts.html |here} to see how to use StopChannel API.
2453
3393
  */
2454
3394
  stopChannel(stopChannelRequest) {
2455
3395
  return __awaiter(this, void 0, void 0, function* () {
@@ -2465,10 +3405,9 @@ class ManagementClient {
2465
3405
  let headerParams = {
2466
3406
  "Content-Type": common.Constants.APPLICATION_JSON,
2467
3407
  "opc-request-id": stopChannelRequest.opcRequestId,
2468
- "if-match": stopChannelRequest.ifMatch,
2469
- "opc-retry-token": stopChannelRequest.opcRetryToken
3408
+ "if-match": stopChannelRequest.ifMatch
2470
3409
  };
2471
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3410
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2472
3411
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopChannelRequest.retryConfiguration, specRetryConfiguration);
2473
3412
  if (this.logger)
2474
3413
  retrier.logger = this.logger;
@@ -2511,11 +3450,11 @@ class ManagementClient {
2511
3450
  }
2512
3451
  /**
2513
3452
  * Updates the specified Authentication Provider with the information in the request body.
2514
- * This operation does not retry by default if the user has not defined a retry configuration.
3453
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2515
3454
  * @param UpdateAuthenticationProviderRequest
2516
3455
  * @return UpdateAuthenticationProviderResponse
2517
3456
  * @throws OciError when an error occurs
2518
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/UpdateAuthenticationProvider.ts.html |here} to see how to use UpdateAuthenticationProvider API.
3457
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/UpdateAuthenticationProvider.ts.html |here} to see how to use UpdateAuthenticationProvider API.
2519
3458
  */
2520
3459
  updateAuthenticationProvider(updateAuthenticationProviderRequest) {
2521
3460
  return __awaiter(this, void 0, void 0, function* () {
@@ -2533,7 +3472,7 @@ class ManagementClient {
2533
3472
  "if-match": updateAuthenticationProviderRequest.ifMatch,
2534
3473
  "opc-request-id": updateAuthenticationProviderRequest.opcRequestId
2535
3474
  };
2536
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3475
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2537
3476
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
2538
3477
  if (this.logger)
2539
3478
  retrier.logger = this.logger;
@@ -2577,11 +3516,11 @@ class ManagementClient {
2577
3516
  }
2578
3517
  /**
2579
3518
  * Updates the specified Channel with the information in the request body.
2580
- * This operation does not retry by default if the user has not defined a retry configuration.
3519
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2581
3520
  * @param UpdateChannelRequest
2582
3521
  * @return UpdateChannelResponse
2583
3522
  * @throws OciError when an error occurs
2584
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
3523
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
2585
3524
  */
2586
3525
  updateChannel(updateChannelRequest) {
2587
3526
  return __awaiter(this, void 0, void 0, function* () {
@@ -2599,7 +3538,7 @@ class ManagementClient {
2599
3538
  "if-match": updateChannelRequest.ifMatch,
2600
3539
  "opc-request-id": updateChannelRequest.opcRequestId
2601
3540
  };
2602
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3541
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2603
3542
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateChannelRequest.retryConfiguration, specRetryConfiguration);
2604
3543
  if (this.logger)
2605
3544
  retrier.logger = this.logger;
@@ -2643,11 +3582,11 @@ class ManagementClient {
2643
3582
  }
2644
3583
  /**
2645
3584
  * Updates the specified Digital Assistant with the information in the request body.
2646
- * This operation does not retry by default if the user has not defined a retry configuration.
3585
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2647
3586
  * @param UpdateDigitalAssistantRequest
2648
3587
  * @return UpdateDigitalAssistantResponse
2649
3588
  * @throws OciError when an error occurs
2650
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/UpdateDigitalAssistant.ts.html |here} to see how to use UpdateDigitalAssistant API.
3589
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/UpdateDigitalAssistant.ts.html |here} to see how to use UpdateDigitalAssistant API.
2651
3590
  */
2652
3591
  updateDigitalAssistant(updateDigitalAssistantRequest) {
2653
3592
  return __awaiter(this, void 0, void 0, function* () {
@@ -2665,7 +3604,7 @@ class ManagementClient {
2665
3604
  "if-match": updateDigitalAssistantRequest.ifMatch,
2666
3605
  "opc-request-id": updateDigitalAssistantRequest.opcRequestId
2667
3606
  };
2668
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3607
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2669
3608
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
2670
3609
  if (this.logger)
2671
3610
  retrier.logger = this.logger;
@@ -2709,11 +3648,11 @@ class ManagementClient {
2709
3648
  }
2710
3649
  /**
2711
3650
  * Updates the specified Digital Assistant Parameter with the information in the request body.
2712
- * This operation does not retry by default if the user has not defined a retry configuration.
3651
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2713
3652
  * @param UpdateDigitalAssistantParameterRequest
2714
3653
  * @return UpdateDigitalAssistantParameterResponse
2715
3654
  * @throws OciError when an error occurs
2716
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/UpdateDigitalAssistantParameter.ts.html |here} to see how to use UpdateDigitalAssistantParameter API.
3655
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/UpdateDigitalAssistantParameter.ts.html |here} to see how to use UpdateDigitalAssistantParameter API.
2717
3656
  */
2718
3657
  updateDigitalAssistantParameter(updateDigitalAssistantParameterRequest) {
2719
3658
  return __awaiter(this, void 0, void 0, function* () {
@@ -2732,7 +3671,7 @@ class ManagementClient {
2732
3671
  "if-match": updateDigitalAssistantParameterRequest.ifMatch,
2733
3672
  "opc-request-id": updateDigitalAssistantParameterRequest.opcRequestId
2734
3673
  };
2735
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3674
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2736
3675
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDigitalAssistantParameterRequest.retryConfiguration, specRetryConfiguration);
2737
3676
  if (this.logger)
2738
3677
  retrier.logger = this.logger;
@@ -2774,13 +3713,74 @@ class ManagementClient {
2774
3713
  }
2775
3714
  });
2776
3715
  }
3716
+ /**
3717
+ * Starts an asynchronous job to update the specified ODA Private Endpoint with the information in the request body.
3718
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3719
+ * @param UpdateOdaPrivateEndpointRequest
3720
+ * @return UpdateOdaPrivateEndpointResponse
3721
+ * @throws OciError when an error occurs
3722
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/UpdateOdaPrivateEndpoint.ts.html |here} to see how to use UpdateOdaPrivateEndpoint API.
3723
+ */
3724
+ updateOdaPrivateEndpoint(updateOdaPrivateEndpointRequest) {
3725
+ return __awaiter(this, void 0, void 0, function* () {
3726
+ if (this.logger)
3727
+ this.logger.debug("Calling operation ManagementClient#updateOdaPrivateEndpoint.");
3728
+ const operationName = "updateOdaPrivateEndpoint";
3729
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/UpdateOdaPrivateEndpoint";
3730
+ const pathParams = {
3731
+ "{odaPrivateEndpointId}": updateOdaPrivateEndpointRequest.odaPrivateEndpointId
3732
+ };
3733
+ const queryParams = {};
3734
+ let headerParams = {
3735
+ "Content-Type": common.Constants.APPLICATION_JSON,
3736
+ "if-match": updateOdaPrivateEndpointRequest.ifMatch,
3737
+ "opc-request-id": updateOdaPrivateEndpointRequest.opcRequestId
3738
+ };
3739
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3740
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
3741
+ if (this.logger)
3742
+ retrier.logger = this.logger;
3743
+ const request = yield oci_common_2.composeRequest({
3744
+ baseEndpoint: this._endpoint,
3745
+ defaultHeaders: this._defaultHeaders,
3746
+ path: "/odaPrivateEndpoints/{odaPrivateEndpointId}",
3747
+ method: "PUT",
3748
+ bodyContent: common.ObjectSerializer.serialize(updateOdaPrivateEndpointRequest.updateOdaPrivateEndpointDetails, "UpdateOdaPrivateEndpointDetails", model.UpdateOdaPrivateEndpointDetails.getJsonObj),
3749
+ pathParams: pathParams,
3750
+ headerParams: headerParams,
3751
+ queryParams: queryParams
3752
+ });
3753
+ try {
3754
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3755
+ const sdkResponse = oci_common_2.composeResponse({
3756
+ responseObject: {},
3757
+ responseHeaders: [
3758
+ {
3759
+ value: response.headers.get("opc-request-id"),
3760
+ key: "opcRequestId",
3761
+ dataType: "string"
3762
+ },
3763
+ {
3764
+ value: response.headers.get("opc-work-request-id"),
3765
+ key: "opcWorkRequestId",
3766
+ dataType: "string"
3767
+ }
3768
+ ]
3769
+ });
3770
+ return sdkResponse;
3771
+ }
3772
+ catch (err) {
3773
+ throw err;
3774
+ }
3775
+ });
3776
+ }
2777
3777
  /**
2778
3778
  * Updates the specified Skill with the information in the request body.
2779
- * This operation does not retry by default if the user has not defined a retry configuration.
3779
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2780
3780
  * @param UpdateSkillRequest
2781
3781
  * @return UpdateSkillResponse
2782
3782
  * @throws OciError when an error occurs
2783
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/UpdateSkill.ts.html |here} to see how to use UpdateSkill API.
3783
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/UpdateSkill.ts.html |here} to see how to use UpdateSkill API.
2784
3784
  */
2785
3785
  updateSkill(updateSkillRequest) {
2786
3786
  return __awaiter(this, void 0, void 0, function* () {
@@ -2798,7 +3798,7 @@ class ManagementClient {
2798
3798
  "if-match": updateSkillRequest.ifMatch,
2799
3799
  "opc-request-id": updateSkillRequest.opcRequestId
2800
3800
  };
2801
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3801
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2802
3802
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSkillRequest.retryConfiguration, specRetryConfiguration);
2803
3803
  if (this.logger)
2804
3804
  retrier.logger = this.logger;
@@ -2842,11 +3842,11 @@ class ManagementClient {
2842
3842
  }
2843
3843
  /**
2844
3844
  * Updates the specified Skill Parameter with the information in the request body.
2845
- * This operation does not retry by default if the user has not defined a retry configuration.
3845
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2846
3846
  * @param UpdateSkillParameterRequest
2847
3847
  * @return UpdateSkillParameterResponse
2848
3848
  * @throws OciError when an error occurs
2849
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/UpdateSkillParameter.ts.html |here} to see how to use UpdateSkillParameter API.
3849
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/UpdateSkillParameter.ts.html |here} to see how to use UpdateSkillParameter API.
2850
3850
  */
2851
3851
  updateSkillParameter(updateSkillParameterRequest) {
2852
3852
  return __awaiter(this, void 0, void 0, function* () {
@@ -2865,7 +3865,7 @@ class ManagementClient {
2865
3865
  "if-match": updateSkillParameterRequest.ifMatch,
2866
3866
  "opc-request-id": updateSkillParameterRequest.opcRequestId
2867
3867
  };
2868
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3868
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2869
3869
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSkillParameterRequest.retryConfiguration, specRetryConfiguration);
2870
3870
  if (this.logger)
2871
3871
  retrier.logger = this.logger;
@@ -2909,11 +3909,11 @@ class ManagementClient {
2909
3909
  }
2910
3910
  /**
2911
3911
  * Updates the specified Translator with the information in the request body.
2912
- * This operation does not retry by default if the user has not defined a retry configuration.
3912
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2913
3913
  * @param UpdateTranslatorRequest
2914
3914
  * @return UpdateTranslatorResponse
2915
3915
  * @throws OciError when an error occurs
2916
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/UpdateTranslator.ts.html |here} to see how to use UpdateTranslator API.
3916
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/UpdateTranslator.ts.html |here} to see how to use UpdateTranslator API.
2917
3917
  */
2918
3918
  updateTranslator(updateTranslatorRequest) {
2919
3919
  return __awaiter(this, void 0, void 0, function* () {
@@ -2931,7 +3931,7 @@ class ManagementClient {
2931
3931
  "if-match": updateTranslatorRequest.ifMatch,
2932
3932
  "opc-request-id": updateTranslatorRequest.opcRequestId
2933
3933
  };
2934
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
3934
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2935
3935
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTranslatorRequest.retryConfiguration, specRetryConfiguration);
2936
3936
  if (this.logger)
2937
3937
  retrier.logger = this.logger;
@@ -2985,11 +3985,14 @@ var OdaApiKeys;
2985
3985
  */
2986
3986
  class OdaClient {
2987
3987
  constructor(params, clientConfiguration) {
3988
+ this["_realmSpecificEndpointTemplateEnabled"] = false;
2988
3989
  this["_endpoint"] = "";
2989
3990
  this["_defaultHeaders"] = {};
2990
3991
  this._circuitBreaker = null;
2991
3992
  this._httpOptions = undefined;
2992
3993
  this.targetService = "Oda";
3994
+ this._regionId = "";
3995
+ this._lastSetRegionOrRegionId = "";
2993
3996
  const requestSigner = params.authenticationDetailsProvider
2994
3997
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
2995
3998
  : null;
@@ -3039,13 +4042,31 @@ class OdaClient {
3039
4042
  get logger() {
3040
4043
  return common.LOG.logger;
3041
4044
  }
4045
+ /**
4046
+ * Determines whether realm specific endpoint should be used or not.
4047
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
4048
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
4049
+ */
4050
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
4051
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
4052
+ if (this.logger)
4053
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
4054
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
4055
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OdaClient.serviceEndpointTemplate, this._region, OdaClient.endpointServiceName);
4056
+ }
4057
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
4058
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(OdaClient.serviceEndpointTemplate, this._regionId, OdaClient.endpointServiceName);
4059
+ }
4060
+ }
3042
4061
  /**
3043
4062
  * Sets the region to call (ex, Region.US_PHOENIX_1).
3044
4063
  * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
3045
4064
  * @param region The region of the service.
3046
4065
  */
3047
4066
  set region(region) {
4067
+ this._region = region;
3048
4068
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OdaClient.serviceEndpointTemplate, region, OdaClient.endpointServiceName);
4069
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
3049
4070
  }
3050
4071
  /**
3051
4072
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -3056,7 +4077,9 @@ class OdaClient {
3056
4077
  * @param regionId The public region ID.
3057
4078
  */
3058
4079
  set regionId(regionId) {
4080
+ this._regionId = regionId;
3059
4081
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(OdaClient.serviceEndpointTemplate, regionId, OdaClient.endpointServiceName);
4082
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
3060
4083
  }
3061
4084
  /**
3062
4085
  * Creates a new OdaWaiter for resources for this service.
@@ -3083,11 +4106,11 @@ class OdaClient {
3083
4106
  * Moves an Digital Assistant instance into a different compartment. When provided, If-Match is checked against
3084
4107
  * ETag values of the resource.
3085
4108
  *
3086
- * This operation does not retry by default if the user has not defined a retry configuration.
4109
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3087
4110
  * @param ChangeOdaInstanceCompartmentRequest
3088
4111
  * @return ChangeOdaInstanceCompartmentResponse
3089
4112
  * @throws OciError when an error occurs
3090
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ChangeOdaInstanceCompartment.ts.html |here} to see how to use ChangeOdaInstanceCompartment API.
4113
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ChangeOdaInstanceCompartment.ts.html |here} to see how to use ChangeOdaInstanceCompartment API.
3091
4114
  */
3092
4115
  changeOdaInstanceCompartment(changeOdaInstanceCompartmentRequest) {
3093
4116
  return __awaiter(this, void 0, void 0, function* () {
@@ -3105,7 +4128,7 @@ class OdaClient {
3105
4128
  "opc-request-id": changeOdaInstanceCompartmentRequest.opcRequestId,
3106
4129
  "opc-retry-token": changeOdaInstanceCompartmentRequest.opcRetryToken
3107
4130
  };
3108
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4131
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3109
4132
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOdaInstanceCompartmentRequest.retryConfiguration, specRetryConfiguration);
3110
4133
  if (this.logger)
3111
4134
  retrier.logger = this.logger;
@@ -3149,11 +4172,11 @@ class OdaClient {
3149
4172
  To monitor the status of the job, take the `opc-work-request-id` response
3150
4173
  * header value and use it to call `GET /workRequests/{workRequestId}`.
3151
4174
  *
3152
- * This operation does not retry by default if the user has not defined a retry configuration.
4175
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3153
4176
  * @param CreateOdaInstanceRequest
3154
4177
  * @return CreateOdaInstanceResponse
3155
4178
  * @throws OciError when an error occurs
3156
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/CreateOdaInstance.ts.html |here} to see how to use CreateOdaInstance API.
4179
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateOdaInstance.ts.html |here} to see how to use CreateOdaInstance API.
3157
4180
  */
3158
4181
  createOdaInstance(createOdaInstanceRequest) {
3159
4182
  return __awaiter(this, void 0, void 0, function* () {
@@ -3168,7 +4191,7 @@ class OdaClient {
3168
4191
  "opc-request-id": createOdaInstanceRequest.opcRequestId,
3169
4192
  "opc-retry-token": createOdaInstanceRequest.opcRetryToken
3170
4193
  };
3171
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4194
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3172
4195
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
3173
4196
  if (this.logger)
3174
4197
  retrier.logger = this.logger;
@@ -3226,11 +4249,11 @@ class OdaClient {
3226
4249
  To monitor the status of the job, take the `opc-work-request-id` response
3227
4250
  * header value and use it to call `GET /workRequests/{workRequestId}`.
3228
4251
  *
3229
- * This operation does not retry by default if the user has not defined a retry configuration.
4252
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3230
4253
  * @param CreateOdaInstanceAttachmentRequest
3231
4254
  * @return CreateOdaInstanceAttachmentResponse
3232
4255
  * @throws OciError when an error occurs
3233
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/CreateOdaInstanceAttachment.ts.html |here} to see how to use CreateOdaInstanceAttachment API.
4256
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateOdaInstanceAttachment.ts.html |here} to see how to use CreateOdaInstanceAttachment API.
3234
4257
  */
3235
4258
  createOdaInstanceAttachment(createOdaInstanceAttachmentRequest) {
3236
4259
  return __awaiter(this, void 0, void 0, function* () {
@@ -3247,7 +4270,7 @@ class OdaClient {
3247
4270
  "opc-request-id": createOdaInstanceAttachmentRequest.opcRequestId,
3248
4271
  "opc-retry-token": createOdaInstanceAttachmentRequest.opcRetryToken
3249
4272
  };
3250
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4273
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3251
4274
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
3252
4275
  if (this.logger)
3253
4276
  retrier.logger = this.logger;
@@ -3288,11 +4311,11 @@ class OdaClient {
3288
4311
  /**
3289
4312
  * Starts an asynchronous job to delete the specified Digital Assistant instance.
3290
4313
  * To monitor the status of the job, take the `opc-work-request-id` response header value and use it to call `GET /workRequests/{workRequestId}`.
3291
- * This operation does not retry by default if the user has not defined a retry configuration.
4314
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3292
4315
  * @param DeleteOdaInstanceRequest
3293
4316
  * @return DeleteOdaInstanceResponse
3294
4317
  * @throws OciError when an error occurs
3295
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/DeleteOdaInstance.ts.html |here} to see how to use DeleteOdaInstance API.
4318
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteOdaInstance.ts.html |here} to see how to use DeleteOdaInstance API.
3296
4319
  */
3297
4320
  deleteOdaInstance(deleteOdaInstanceRequest) {
3298
4321
  return __awaiter(this, void 0, void 0, function* () {
@@ -3303,13 +4326,15 @@ class OdaClient {
3303
4326
  const pathParams = {
3304
4327
  "{odaInstanceId}": deleteOdaInstanceRequest.odaInstanceId
3305
4328
  };
3306
- const queryParams = {};
4329
+ const queryParams = {
4330
+ "retentionTime": deleteOdaInstanceRequest.retentionTime
4331
+ };
3307
4332
  let headerParams = {
3308
4333
  "Content-Type": common.Constants.APPLICATION_JSON,
3309
4334
  "if-match": deleteOdaInstanceRequest.ifMatch,
3310
4335
  "opc-request-id": deleteOdaInstanceRequest.opcRequestId
3311
4336
  };
3312
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4337
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3313
4338
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
3314
4339
  if (this.logger)
3315
4340
  retrier.logger = this.logger;
@@ -3348,11 +4373,11 @@ class OdaClient {
3348
4373
  }
3349
4374
  /**
3350
4375
  * Starts an asynchronous job to delete the specified Digital Assistant instance attachment.
3351
- * This operation does not retry by default if the user has not defined a retry configuration.
4376
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3352
4377
  * @param DeleteOdaInstanceAttachmentRequest
3353
4378
  * @return DeleteOdaInstanceAttachmentResponse
3354
4379
  * @throws OciError when an error occurs
3355
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/DeleteOdaInstanceAttachment.ts.html |here} to see how to use DeleteOdaInstanceAttachment API.
4380
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteOdaInstanceAttachment.ts.html |here} to see how to use DeleteOdaInstanceAttachment API.
3356
4381
  */
3357
4382
  deleteOdaInstanceAttachment(deleteOdaInstanceAttachmentRequest) {
3358
4383
  return __awaiter(this, void 0, void 0, function* () {
@@ -3370,7 +4395,7 @@ class OdaClient {
3370
4395
  "if-match": deleteOdaInstanceAttachmentRequest.ifMatch,
3371
4396
  "opc-request-id": deleteOdaInstanceAttachmentRequest.opcRequestId
3372
4397
  };
3373
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4398
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3374
4399
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
3375
4400
  if (this.logger)
3376
4401
  retrier.logger = this.logger;
@@ -3409,11 +4434,11 @@ class OdaClient {
3409
4434
  }
3410
4435
  /**
3411
4436
  * Gets the specified Digital Assistant instance.
3412
- * This operation does not retry by default if the user has not defined a retry configuration.
4437
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3413
4438
  * @param GetOdaInstanceRequest
3414
4439
  * @return GetOdaInstanceResponse
3415
4440
  * @throws OciError when an error occurs
3416
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetOdaInstance.ts.html |here} to see how to use GetOdaInstance API.
4441
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetOdaInstance.ts.html |here} to see how to use GetOdaInstance API.
3417
4442
  */
3418
4443
  getOdaInstance(getOdaInstanceRequest) {
3419
4444
  return __awaiter(this, void 0, void 0, function* () {
@@ -3429,7 +4454,7 @@ class OdaClient {
3429
4454
  "Content-Type": common.Constants.APPLICATION_JSON,
3430
4455
  "opc-request-id": getOdaInstanceRequest.opcRequestId
3431
4456
  };
3432
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4457
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3433
4458
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
3434
4459
  if (this.logger)
3435
4460
  retrier.logger = this.logger;
@@ -3472,11 +4497,11 @@ class OdaClient {
3472
4497
  }
3473
4498
  /**
3474
4499
  * Gets an ODA instance attachment by identifier
3475
- * This operation does not retry by default if the user has not defined a retry configuration.
4500
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3476
4501
  * @param GetOdaInstanceAttachmentRequest
3477
4502
  * @return GetOdaInstanceAttachmentResponse
3478
4503
  * @throws OciError when an error occurs
3479
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetOdaInstanceAttachment.ts.html |here} to see how to use GetOdaInstanceAttachment API.
4504
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetOdaInstanceAttachment.ts.html |here} to see how to use GetOdaInstanceAttachment API.
3480
4505
  */
3481
4506
  getOdaInstanceAttachment(getOdaInstanceAttachmentRequest) {
3482
4507
  return __awaiter(this, void 0, void 0, function* () {
@@ -3495,7 +4520,7 @@ class OdaClient {
3495
4520
  "Content-Type": common.Constants.APPLICATION_JSON,
3496
4521
  "opc-request-id": getOdaInstanceAttachmentRequest.opcRequestId
3497
4522
  };
3498
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4523
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3499
4524
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
3500
4525
  if (this.logger)
3501
4526
  retrier.logger = this.logger;
@@ -3542,11 +4567,11 @@ class OdaClient {
3542
4567
  You can use this operation to monitor the status of jobs that you
3543
4568
  * requested to create, delete, and update instances.
3544
4569
  *
3545
- * This operation does not retry by default if the user has not defined a retry configuration.
4570
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3546
4571
  * @param GetWorkRequestRequest
3547
4572
  * @return GetWorkRequestResponse
3548
4573
  * @throws OciError when an error occurs
3549
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
4574
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
3550
4575
  */
3551
4576
  getWorkRequest(getWorkRequestRequest) {
3552
4577
  return __awaiter(this, void 0, void 0, function* () {
@@ -3562,7 +4587,7 @@ class OdaClient {
3562
4587
  "Content-Type": common.Constants.APPLICATION_JSON,
3563
4588
  "opc-request-id": getWorkRequestRequest.opcRequestId
3564
4589
  };
3565
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4590
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3566
4591
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
3567
4592
  if (this.logger)
3568
4593
  retrier.logger = this.logger;
@@ -3606,11 +4631,11 @@ class OdaClient {
3606
4631
  /**
3607
4632
  * Returns a list of ODA instance attachments
3608
4633
  *
3609
- * This operation does not retry by default if the user has not defined a retry configuration.
4634
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3610
4635
  * @param ListOdaInstanceAttachmentsRequest
3611
4636
  * @return ListOdaInstanceAttachmentsResponse
3612
4637
  * @throws OciError when an error occurs
3613
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListOdaInstanceAttachments.ts.html |here} to see how to use ListOdaInstanceAttachments API.
4638
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListOdaInstanceAttachments.ts.html |here} to see how to use ListOdaInstanceAttachments API.
3614
4639
  */
3615
4640
  listOdaInstanceAttachments(listOdaInstanceAttachmentsRequest) {
3616
4641
  return __awaiter(this, void 0, void 0, function* () {
@@ -3633,7 +4658,7 @@ class OdaClient {
3633
4658
  "Content-Type": common.Constants.APPLICATION_JSON,
3634
4659
  "opc-request-id": listOdaInstanceAttachmentsRequest.opcRequestId
3635
4660
  };
3636
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4661
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3637
4662
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaInstanceAttachmentsRequest.retryConfiguration, specRetryConfiguration);
3638
4663
  if (this.logger)
3639
4664
  retrier.logger = this.logger;
@@ -3687,11 +4712,11 @@ class OdaClient {
3687
4712
  * there are more items to retrieve. To get the next page in the subsequent
3688
4713
  * GET request, include the header's value as the `page` query parameter.
3689
4714
  *
3690
- * This operation does not retry by default if the user has not defined a retry configuration.
4715
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3691
4716
  * @param ListOdaInstancesRequest
3692
4717
  * @return ListOdaInstancesResponse
3693
4718
  * @throws OciError when an error occurs
3694
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListOdaInstances.ts.html |here} to see how to use ListOdaInstances API.
4719
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListOdaInstances.ts.html |here} to see how to use ListOdaInstances API.
3695
4720
  */
3696
4721
  listOdaInstances(listOdaInstancesRequest) {
3697
4722
  return __awaiter(this, void 0, void 0, function* () {
@@ -3713,7 +4738,7 @@ class OdaClient {
3713
4738
  "Content-Type": common.Constants.APPLICATION_JSON,
3714
4739
  "opc-request-id": listOdaInstancesRequest.opcRequestId
3715
4740
  };
3716
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4741
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3717
4742
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaInstancesRequest.retryConfiguration, specRetryConfiguration);
3718
4743
  if (this.logger)
3719
4744
  retrier.logger = this.logger;
@@ -3806,11 +4831,11 @@ class OdaClient {
3806
4831
  * there are more items to retrieve. To get the next page in the subsequent
3807
4832
  * GET request, include the header's value as the `page` query parameter.
3808
4833
  *
3809
- * This operation does not retry by default if the user has not defined a retry configuration.
4834
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3810
4835
  * @param ListWorkRequestErrorsRequest
3811
4836
  * @return ListWorkRequestErrorsResponse
3812
4837
  * @throws OciError when an error occurs
3813
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
4838
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
3814
4839
  */
3815
4840
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
3816
4841
  return __awaiter(this, void 0, void 0, function* () {
@@ -3831,7 +4856,7 @@ class OdaClient {
3831
4856
  "Content-Type": common.Constants.APPLICATION_JSON,
3832
4857
  "opc-request-id": listWorkRequestErrorsRequest.opcRequestId
3833
4858
  };
3834
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4859
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3835
4860
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
3836
4861
  if (this.logger)
3837
4862
  retrier.logger = this.logger;
@@ -3924,11 +4949,11 @@ class OdaClient {
3924
4949
  * there are more items to retrieve. To get the next page in the subsequent
3925
4950
  * GET request, include the header's value as the `page` query parameter.
3926
4951
  *
3927
- * This operation does not retry by default if the user has not defined a retry configuration.
4952
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3928
4953
  * @param ListWorkRequestLogsRequest
3929
4954
  * @return ListWorkRequestLogsResponse
3930
4955
  * @throws OciError when an error occurs
3931
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
4956
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
3932
4957
  */
3933
4958
  listWorkRequestLogs(listWorkRequestLogsRequest) {
3934
4959
  return __awaiter(this, void 0, void 0, function* () {
@@ -3949,7 +4974,7 @@ class OdaClient {
3949
4974
  "Content-Type": common.Constants.APPLICATION_JSON,
3950
4975
  "opc-request-id": listWorkRequestLogsRequest.opcRequestId
3951
4976
  };
3952
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
4977
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3953
4978
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
3954
4979
  if (this.logger)
3955
4980
  retrier.logger = this.logger;
@@ -4042,11 +5067,11 @@ class OdaClient {
4042
5067
  * there are more items to retrieve. To get the next page in the subsequent
4043
5068
  * GET request, include the header's value as the `page` query parameter.
4044
5069
  *
4045
- * This operation does not retry by default if the user has not defined a retry configuration.
5070
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4046
5071
  * @param ListWorkRequestsRequest
4047
5072
  * @return ListWorkRequestsResponse
4048
5073
  * @throws OciError when an error occurs
4049
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
5074
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
4050
5075
  */
4051
5076
  listWorkRequests(listWorkRequestsRequest) {
4052
5077
  return __awaiter(this, void 0, void 0, function* () {
@@ -4058,6 +5083,7 @@ class OdaClient {
4058
5083
  const queryParams = {
4059
5084
  "compartmentId": listWorkRequestsRequest.compartmentId,
4060
5085
  "odaInstanceId": listWorkRequestsRequest.odaInstanceId,
5086
+ "resourceId": listWorkRequestsRequest.resourceId,
4061
5087
  "page": listWorkRequestsRequest.page,
4062
5088
  "limit": listWorkRequestsRequest.limit,
4063
5089
  "sortBy": listWorkRequestsRequest.sortBy,
@@ -4067,7 +5093,7 @@ class OdaClient {
4067
5093
  "Content-Type": common.Constants.APPLICATION_JSON,
4068
5094
  "opc-request-id": listWorkRequestsRequest.opcRequestId
4069
5095
  };
4070
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
5096
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4071
5097
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
4072
5098
  if (this.logger)
4073
5099
  retrier.logger = this.logger;
@@ -4157,11 +5183,11 @@ class OdaClient {
4157
5183
  * Starts an inactive Digital Assistant instance. Once active, the instance will be accessible and metering
4158
5184
  * of requests will be started again.
4159
5185
  *
4160
- * This operation does not retry by default if the user has not defined a retry configuration.
5186
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4161
5187
  * @param StartOdaInstanceRequest
4162
5188
  * @return StartOdaInstanceResponse
4163
5189
  * @throws OciError when an error occurs
4164
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/StartOdaInstance.ts.html |here} to see how to use StartOdaInstance API.
5190
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/StartOdaInstance.ts.html |here} to see how to use StartOdaInstance API.
4165
5191
  */
4166
5192
  startOdaInstance(startOdaInstanceRequest) {
4167
5193
  return __awaiter(this, void 0, void 0, function* () {
@@ -4179,7 +5205,7 @@ class OdaClient {
4179
5205
  "if-match": startOdaInstanceRequest.ifMatch,
4180
5206
  "opc-retry-token": startOdaInstanceRequest.opcRetryToken
4181
5207
  };
4182
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
5208
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4183
5209
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
4184
5210
  if (this.logger)
4185
5211
  retrier.logger = this.logger;
@@ -4221,11 +5247,11 @@ class OdaClient {
4221
5247
  * of requests will be stopped until the instance is started again. Data associated with the instance
4222
5248
  * is not affected.
4223
5249
  *
4224
- * This operation does not retry by default if the user has not defined a retry configuration.
5250
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4225
5251
  * @param StopOdaInstanceRequest
4226
5252
  * @return StopOdaInstanceResponse
4227
5253
  * @throws OciError when an error occurs
4228
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/StopOdaInstance.ts.html |here} to see how to use StopOdaInstance API.
5254
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/StopOdaInstance.ts.html |here} to see how to use StopOdaInstance API.
4229
5255
  */
4230
5256
  stopOdaInstance(stopOdaInstanceRequest) {
4231
5257
  return __awaiter(this, void 0, void 0, function* () {
@@ -4243,7 +5269,7 @@ class OdaClient {
4243
5269
  "if-match": stopOdaInstanceRequest.ifMatch,
4244
5270
  "opc-retry-token": stopOdaInstanceRequest.opcRetryToken
4245
5271
  };
4246
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
5272
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4247
5273
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
4248
5274
  if (this.logger)
4249
5275
  retrier.logger = this.logger;
@@ -4282,11 +5308,11 @@ class OdaClient {
4282
5308
  }
4283
5309
  /**
4284
5310
  * Updates the specified Digital Assistant instance with the information in the request body.
4285
- * This operation does not retry by default if the user has not defined a retry configuration.
5311
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4286
5312
  * @param UpdateOdaInstanceRequest
4287
5313
  * @return UpdateOdaInstanceResponse
4288
5314
  * @throws OciError when an error occurs
4289
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/UpdateOdaInstance.ts.html |here} to see how to use UpdateOdaInstance API.
5315
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/UpdateOdaInstance.ts.html |here} to see how to use UpdateOdaInstance API.
4290
5316
  */
4291
5317
  updateOdaInstance(updateOdaInstanceRequest) {
4292
5318
  return __awaiter(this, void 0, void 0, function* () {
@@ -4303,7 +5329,7 @@ class OdaClient {
4303
5329
  "if-match": updateOdaInstanceRequest.ifMatch,
4304
5330
  "opc-request-id": updateOdaInstanceRequest.opcRequestId
4305
5331
  };
4306
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
5332
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4307
5333
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
4308
5334
  if (this.logger)
4309
5335
  retrier.logger = this.logger;
@@ -4347,11 +5373,11 @@ class OdaClient {
4347
5373
  }
4348
5374
  /**
4349
5375
  * Updates the ODA instance attachment
4350
- * This operation does not retry by default if the user has not defined a retry configuration.
5376
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4351
5377
  * @param UpdateOdaInstanceAttachmentRequest
4352
5378
  * @return UpdateOdaInstanceAttachmentResponse
4353
5379
  * @throws OciError when an error occurs
4354
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/UpdateOdaInstanceAttachment.ts.html |here} to see how to use UpdateOdaInstanceAttachment API.
5380
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/UpdateOdaInstanceAttachment.ts.html |here} to see how to use UpdateOdaInstanceAttachment API.
4355
5381
  */
4356
5382
  updateOdaInstanceAttachment(updateOdaInstanceAttachmentRequest) {
4357
5383
  return __awaiter(this, void 0, void 0, function* () {
@@ -4369,7 +5395,7 @@ class OdaClient {
4369
5395
  "if-match": updateOdaInstanceAttachmentRequest.ifMatch,
4370
5396
  "opc-request-id": updateOdaInstanceAttachmentRequest.opcRequestId
4371
5397
  };
4372
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
5398
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4373
5399
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
4374
5400
  if (this.logger)
4375
5401
  retrier.logger = this.logger;
@@ -4419,11 +5445,14 @@ var OdapackageApiKeys;
4419
5445
  */
4420
5446
  class OdapackageClient {
4421
5447
  constructor(params, clientConfiguration) {
5448
+ this["_realmSpecificEndpointTemplateEnabled"] = false;
4422
5449
  this["_endpoint"] = "";
4423
5450
  this["_defaultHeaders"] = {};
4424
5451
  this._circuitBreaker = null;
4425
5452
  this._httpOptions = undefined;
4426
5453
  this.targetService = "Odapackage";
5454
+ this._regionId = "";
5455
+ this._lastSetRegionOrRegionId = "";
4427
5456
  const requestSigner = params.authenticationDetailsProvider
4428
5457
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
4429
5458
  : null;
@@ -4473,13 +5502,31 @@ class OdapackageClient {
4473
5502
  get logger() {
4474
5503
  return common.LOG.logger;
4475
5504
  }
5505
+ /**
5506
+ * Determines whether realm specific endpoint should be used or not.
5507
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
5508
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
5509
+ */
5510
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
5511
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
5512
+ if (this.logger)
5513
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
5514
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
5515
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OdapackageClient.serviceEndpointTemplate, this._region, OdapackageClient.endpointServiceName);
5516
+ }
5517
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
5518
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(OdapackageClient.serviceEndpointTemplate, this._regionId, OdapackageClient.endpointServiceName);
5519
+ }
5520
+ }
4476
5521
  /**
4477
5522
  * Sets the region to call (ex, Region.US_PHOENIX_1).
4478
5523
  * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
4479
5524
  * @param region The region of the service.
4480
5525
  */
4481
5526
  set region(region) {
5527
+ this._region = region;
4482
5528
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OdapackageClient.serviceEndpointTemplate, region, OdapackageClient.endpointServiceName);
5529
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
4483
5530
  }
4484
5531
  /**
4485
5532
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -4490,7 +5537,9 @@ class OdapackageClient {
4490
5537
  * @param regionId The public region ID.
4491
5538
  */
4492
5539
  set regionId(regionId) {
5540
+ this._regionId = regionId;
4493
5541
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(OdapackageClient.serviceEndpointTemplate, regionId, OdapackageClient.endpointServiceName);
5542
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
4494
5543
  }
4495
5544
  /**
4496
5545
  * Starts an asynchronous job to import a package into a Digital Assistant instance.
@@ -4498,11 +5547,11 @@ class OdapackageClient {
4498
5547
  To monitor the status of the job, take the `opc-work-request-id` response
4499
5548
  * header value and use it to call `GET /workRequests/{workRequestId}`.
4500
5549
  *
4501
- * This operation does not retry by default if the user has not defined a retry configuration.
5550
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4502
5551
  * @param CreateImportedPackageRequest
4503
5552
  * @return CreateImportedPackageResponse
4504
5553
  * @throws OciError when an error occurs
4505
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/CreateImportedPackage.ts.html |here} to see how to use CreateImportedPackage API.
5554
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/CreateImportedPackage.ts.html |here} to see how to use CreateImportedPackage API.
4506
5555
  */
4507
5556
  createImportedPackage(createImportedPackageRequest) {
4508
5557
  return __awaiter(this, void 0, void 0, function* () {
@@ -4519,7 +5568,7 @@ class OdapackageClient {
4519
5568
  "opc-retry-token": createImportedPackageRequest.opcRetryToken,
4520
5569
  "opc-request-id": createImportedPackageRequest.opcRequestId
4521
5570
  };
4522
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
5571
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4523
5572
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createImportedPackageRequest.retryConfiguration, specRetryConfiguration);
4524
5573
  if (this.logger)
4525
5574
  retrier.logger = this.logger;
@@ -4577,11 +5626,11 @@ class OdapackageClient {
4577
5626
  To monitor the status of the job, take the `opc-work-request-id` response
4578
5627
  * header value and use it to call `GET /workRequests/{workRequestId}`.
4579
5628
  *
4580
- * This operation does not retry by default if the user has not defined a retry configuration.
5629
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4581
5630
  * @param DeleteImportedPackageRequest
4582
5631
  * @return DeleteImportedPackageResponse
4583
5632
  * @throws OciError when an error occurs
4584
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/DeleteImportedPackage.ts.html |here} to see how to use DeleteImportedPackage API.
5633
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/DeleteImportedPackage.ts.html |here} to see how to use DeleteImportedPackage API.
4585
5634
  */
4586
5635
  deleteImportedPackage(deleteImportedPackageRequest) {
4587
5636
  return __awaiter(this, void 0, void 0, function* () {
@@ -4600,7 +5649,7 @@ class OdapackageClient {
4600
5649
  "if-match": deleteImportedPackageRequest.ifMatch,
4601
5650
  "opc-request-id": deleteImportedPackageRequest.opcRequestId
4602
5651
  };
4603
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
5652
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4604
5653
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteImportedPackageRequest.retryConfiguration, specRetryConfiguration);
4605
5654
  if (this.logger)
4606
5655
  retrier.logger = this.logger;
@@ -4640,11 +5689,11 @@ class OdapackageClient {
4640
5689
  /**
4641
5690
  * Returns a list of summaries for imported packages in the instance.
4642
5691
  *
4643
- * This operation does not retry by default if the user has not defined a retry configuration.
5692
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4644
5693
  * @param GetImportedPackageRequest
4645
5694
  * @return GetImportedPackageResponse
4646
5695
  * @throws OciError when an error occurs
4647
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetImportedPackage.ts.html |here} to see how to use GetImportedPackage API.
5696
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetImportedPackage.ts.html |here} to see how to use GetImportedPackage API.
4648
5697
  */
4649
5698
  getImportedPackage(getImportedPackageRequest) {
4650
5699
  return __awaiter(this, void 0, void 0, function* () {
@@ -4661,7 +5710,7 @@ class OdapackageClient {
4661
5710
  "Content-Type": common.Constants.APPLICATION_JSON,
4662
5711
  "opc-request-id": getImportedPackageRequest.opcRequestId
4663
5712
  };
4664
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
5713
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4665
5714
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getImportedPackageRequest.retryConfiguration, specRetryConfiguration);
4666
5715
  if (this.logger)
4667
5716
  retrier.logger = this.logger;
@@ -4705,11 +5754,11 @@ class OdapackageClient {
4705
5754
  /**
4706
5755
  * Returns details about a package, and how to import it.
4707
5756
  *
4708
- * This operation does not retry by default if the user has not defined a retry configuration.
5757
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4709
5758
  * @param GetPackageRequest
4710
5759
  * @return GetPackageResponse
4711
5760
  * @throws OciError when an error occurs
4712
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/GetPackage.ts.html |here} to see how to use GetPackage API.
5761
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/GetPackage.ts.html |here} to see how to use GetPackage API.
4713
5762
  */
4714
5763
  getPackage(getPackageRequest) {
4715
5764
  return __awaiter(this, void 0, void 0, function* () {
@@ -4726,7 +5775,7 @@ class OdapackageClient {
4726
5775
  "Content-Type": common.Constants.APPLICATION_JSON,
4727
5776
  "opc-request-id": getPackageRequest.opcRequestId
4728
5777
  };
4729
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
5778
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4730
5779
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPackageRequest.retryConfiguration, specRetryConfiguration);
4731
5780
  if (this.logger)
4732
5781
  retrier.logger = this.logger;
@@ -4765,11 +5814,11 @@ class OdapackageClient {
4765
5814
  /**
4766
5815
  * Returns a list of summaries for imported packages in the instance.
4767
5816
  *
4768
- * This operation does not retry by default if the user has not defined a retry configuration.
5817
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4769
5818
  * @param ListImportedPackagesRequest
4770
5819
  * @return ListImportedPackagesResponse
4771
5820
  * @throws OciError when an error occurs
4772
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListImportedPackages.ts.html |here} to see how to use ListImportedPackages API.
5821
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListImportedPackages.ts.html |here} to see how to use ListImportedPackages API.
4773
5822
  */
4774
5823
  listImportedPackages(listImportedPackagesRequest) {
4775
5824
  return __awaiter(this, void 0, void 0, function* () {
@@ -4791,7 +5840,7 @@ class OdapackageClient {
4791
5840
  "Content-Type": common.Constants.APPLICATION_JSON,
4792
5841
  "opc-request-id": listImportedPackagesRequest.opcRequestId
4793
5842
  };
4794
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
5843
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4795
5844
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listImportedPackagesRequest.retryConfiguration, specRetryConfiguration);
4796
5845
  if (this.logger)
4797
5846
  retrier.logger = this.logger;
@@ -4888,11 +5937,11 @@ class OdapackageClient {
4888
5937
  * there are more items to retrieve. To get the next page in the subsequent
4889
5938
  * GET request, include the header's value as the `page` query parameter.
4890
5939
  *
4891
- * This operation does not retry by default if the user has not defined a retry configuration.
5940
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4892
5941
  * @param ListPackagesRequest
4893
5942
  * @return ListPackagesResponse
4894
5943
  * @throws OciError when an error occurs
4895
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/ListPackages.ts.html |here} to see how to use ListPackages API.
5944
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/ListPackages.ts.html |here} to see how to use ListPackages API.
4896
5945
  */
4897
5946
  listPackages(listPackagesRequest) {
4898
5947
  return __awaiter(this, void 0, void 0, function* () {
@@ -4904,9 +5953,10 @@ class OdapackageClient {
4904
5953
  const queryParams = {
4905
5954
  "odaInstanceId": listPackagesRequest.odaInstanceId,
4906
5955
  "resourceType": listPackagesRequest.resourceType,
5956
+ "compartmentId": listPackagesRequest.compartmentId,
4907
5957
  "name": listPackagesRequest.name,
4908
5958
  "displayName": listPackagesRequest.displayName,
4909
- "isLatestSkillOnly": listPackagesRequest.isLatestSkillOnly,
5959
+ "isLatestVersionOnly": listPackagesRequest.isLatestVersionOnly,
4910
5960
  "limit": listPackagesRequest.limit,
4911
5961
  "page": listPackagesRequest.page,
4912
5962
  "sortOrder": listPackagesRequest.sortOrder,
@@ -4916,7 +5966,7 @@ class OdapackageClient {
4916
5966
  "Content-Type": common.Constants.APPLICATION_JSON,
4917
5967
  "opc-request-id": listPackagesRequest.opcRequestId
4918
5968
  };
4919
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
5969
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4920
5970
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPackagesRequest.retryConfiguration, specRetryConfiguration);
4921
5971
  if (this.logger)
4922
5972
  retrier.logger = this.logger;
@@ -5008,11 +6058,11 @@ class OdapackageClient {
5008
6058
  To monitor the status of the job, take the `opc-work-request-id` response
5009
6059
  * header value and use it to call `GET /workRequests/{workRequestId}`.
5010
6060
  *
5011
- * This operation does not retry by default if the user has not defined a retry configuration.
6061
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5012
6062
  * @param UpdateImportedPackageRequest
5013
6063
  * @return UpdateImportedPackageResponse
5014
6064
  * @throws OciError when an error occurs
5015
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/oda/UpdateImportedPackage.ts.html |here} to see how to use UpdateImportedPackage API.
6065
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/oda/UpdateImportedPackage.ts.html |here} to see how to use UpdateImportedPackage API.
5016
6066
  */
5017
6067
  updateImportedPackage(updateImportedPackageRequest) {
5018
6068
  return __awaiter(this, void 0, void 0, function* () {
@@ -5033,7 +6083,7 @@ class OdapackageClient {
5033
6083
  "if-match": updateImportedPackageRequest.ifMatch,
5034
6084
  "opc-request-id": updateImportedPackageRequest.opcRequestId
5035
6085
  };
5036
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
6086
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5037
6087
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateImportedPackageRequest.retryConfiguration, specRetryConfiguration);
5038
6088
  if (this.logger)
5039
6089
  retrier.logger = this.logger;