oci-apiaccesscontrol 2.111.2

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 (266) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +37 -0
  6. package/index.js +60 -0
  7. package/index.js.map +1 -0
  8. package/lib/apimetadata-waiter.d.ts +35 -0
  9. package/lib/apimetadata-waiter.js +71 -0
  10. package/lib/apimetadata-waiter.js.map +1 -0
  11. package/lib/client.d.ts +551 -0
  12. package/lib/client.js +2115 -0
  13. package/lib/client.js.map +1 -0
  14. package/lib/model/action-type.d.ts +38 -0
  15. package/lib/model/action-type.js +49 -0
  16. package/lib/model/action-type.js.map +1 -0
  17. package/lib/model/api-metadata-by-entity-type-collection.d.ts +32 -0
  18. package/lib/model/api-metadata-by-entity-type-collection.js +67 -0
  19. package/lib/model/api-metadata-by-entity-type-collection.js.map +1 -0
  20. package/lib/model/api-metadata-by-entity-type-summary.d.ts +69 -0
  21. package/lib/model/api-metadata-by-entity-type-summary.js +67 -0
  22. package/lib/model/api-metadata-by-entity-type-summary.js.map +1 -0
  23. package/lib/model/api-metadata-collection.d.ts +32 -0
  24. package/lib/model/api-metadata-collection.js +67 -0
  25. package/lib/model/api-metadata-collection.js.map +1 -0
  26. package/lib/model/api-metadata-summary.d.ts +107 -0
  27. package/lib/model/api-metadata-summary.js +35 -0
  28. package/lib/model/api-metadata-summary.js.map +1 -0
  29. package/lib/model/api-metadata.d.ts +137 -0
  30. package/lib/model/api-metadata.js +49 -0
  31. package/lib/model/api-metadata.js.map +1 -0
  32. package/lib/model/approve-privileged-api-request-details.d.ts +36 -0
  33. package/lib/model/approve-privileged-api-request-details.js +35 -0
  34. package/lib/model/approve-privileged-api-request-details.js.map +1 -0
  35. package/lib/model/approver-detail.d.ts +49 -0
  36. package/lib/model/approver-detail.js +35 -0
  37. package/lib/model/approver-detail.js.map +1 -0
  38. package/lib/model/change-privileged-api-control-compartment-details.d.ts +32 -0
  39. package/lib/model/change-privileged-api-control-compartment-details.js +35 -0
  40. package/lib/model/change-privileged-api-control-compartment-details.js.map +1 -0
  41. package/lib/model/close-privileged-api-request-details.d.ts +31 -0
  42. package/lib/model/close-privileged-api-request-details.js +35 -0
  43. package/lib/model/close-privileged-api-request-details.js.map +1 -0
  44. package/lib/model/create-privileged-api-control-details.d.ts +88 -0
  45. package/lib/model/create-privileged-api-control-details.js +67 -0
  46. package/lib/model/create-privileged-api-control-details.js.map +1 -0
  47. package/lib/model/create-privileged-api-request-details.d.ts +107 -0
  48. package/lib/model/create-privileged-api-request-details.js +67 -0
  49. package/lib/model/create-privileged-api-request-details.js.map +1 -0
  50. package/lib/model/index.d.ts +90 -0
  51. package/lib/model/index.js +113 -0
  52. package/lib/model/index.js.map +1 -0
  53. package/lib/model/operation-status.d.ts +40 -0
  54. package/lib/model/operation-status.js +51 -0
  55. package/lib/model/operation-status.js.map +1 -0
  56. package/lib/model/operation-type.d.ts +55 -0
  57. package/lib/model/operation-type.js +66 -0
  58. package/lib/model/operation-type.js.map +1 -0
  59. package/lib/model/privileged-api-control-collection.d.ts +32 -0
  60. package/lib/model/privileged-api-control-collection.js +67 -0
  61. package/lib/model/privileged-api-control-collection.js.map +1 -0
  62. package/lib/model/privileged-api-control-summary.d.ts +108 -0
  63. package/lib/model/privileged-api-control-summary.js +35 -0
  64. package/lib/model/privileged-api-control-summary.js.map +1 -0
  65. package/lib/model/privileged-api-control.d.ts +162 -0
  66. package/lib/model/privileged-api-control.js +82 -0
  67. package/lib/model/privileged-api-control.js.map +1 -0
  68. package/lib/model/privileged-api-details.d.ts +39 -0
  69. package/lib/model/privileged-api-details.js +35 -0
  70. package/lib/model/privileged-api-details.js.map +1 -0
  71. package/lib/model/privileged-api-request-collection.d.ts +32 -0
  72. package/lib/model/privileged-api-request-collection.js +67 -0
  73. package/lib/model/privileged-api-request-collection.js.map +1 -0
  74. package/lib/model/privileged-api-request-operation-details.d.ts +35 -0
  75. package/lib/model/privileged-api-request-operation-details.js +35 -0
  76. package/lib/model/privileged-api-request-operation-details.js.map +1 -0
  77. package/lib/model/privileged-api-request-severity.d.ts +36 -0
  78. package/lib/model/privileged-api-request-severity.js +47 -0
  79. package/lib/model/privileged-api-request-severity.js.map +1 -0
  80. package/lib/model/privileged-api-request-summary.d.ts +139 -0
  81. package/lib/model/privileged-api-request-summary.js +67 -0
  82. package/lib/model/privileged-api-request-summary.js.map +1 -0
  83. package/lib/model/privileged-api-request.d.ts +232 -0
  84. package/lib/model/privileged-api-request.js +116 -0
  85. package/lib/model/privileged-api-request.js.map +1 -0
  86. package/lib/model/reject-privileged-api-request-details.d.ts +31 -0
  87. package/lib/model/reject-privileged-api-request-details.js +35 -0
  88. package/lib/model/reject-privileged-api-request-details.js.map +1 -0
  89. package/lib/model/revoke-privileged-api-request-details.d.ts +31 -0
  90. package/lib/model/revoke-privileged-api-request-details.js +35 -0
  91. package/lib/model/revoke-privileged-api-request-details.js.map +1 -0
  92. package/lib/model/sort-order.d.ts +36 -0
  93. package/lib/model/sort-order.js +47 -0
  94. package/lib/model/sort-order.js.map +1 -0
  95. package/lib/model/update-privileged-api-control-details.d.ts +83 -0
  96. package/lib/model/update-privileged-api-control-details.js +67 -0
  97. package/lib/model/update-privileged-api-control-details.js.map +1 -0
  98. package/lib/model/work-request-error-collection.d.ts +32 -0
  99. package/lib/model/work-request-error-collection.js +67 -0
  100. package/lib/model/work-request-error-collection.js.map +1 -0
  101. package/lib/model/work-request-error.d.ts +43 -0
  102. package/lib/model/work-request-error.js +35 -0
  103. package/lib/model/work-request-error.js.map +1 -0
  104. package/lib/model/work-request-log-entry-collection.d.ts +32 -0
  105. package/lib/model/work-request-log-entry-collection.js +67 -0
  106. package/lib/model/work-request-log-entry-collection.js.map +1 -0
  107. package/lib/model/work-request-log-entry.d.ts +37 -0
  108. package/lib/model/work-request-log-entry.js +35 -0
  109. package/lib/model/work-request-log-entry.js.map +1 -0
  110. package/lib/model/work-request-resource-metadata-key.d.ts +33 -0
  111. package/lib/model/work-request-resource-metadata-key.js +44 -0
  112. package/lib/model/work-request-resource-metadata-key.js.map +1 -0
  113. package/lib/model/work-request-resource.d.ts +54 -0
  114. package/lib/model/work-request-resource.js +35 -0
  115. package/lib/model/work-request-resource.js.map +1 -0
  116. package/lib/model/work-request-summary-collection.d.ts +32 -0
  117. package/lib/model/work-request-summary-collection.js +67 -0
  118. package/lib/model/work-request-summary-collection.js.map +1 -0
  119. package/lib/model/work-request-summary.d.ts +79 -0
  120. package/lib/model/work-request-summary.js +67 -0
  121. package/lib/model/work-request-summary.js.map +1 -0
  122. package/lib/model/work-request.d.ts +82 -0
  123. package/lib/model/work-request.js +67 -0
  124. package/lib/model/work-request.js.map +1 -0
  125. package/lib/privilegedapicontrol-waiter.d.ts +35 -0
  126. package/lib/privilegedapicontrol-waiter.js +71 -0
  127. package/lib/privilegedapicontrol-waiter.js.map +1 -0
  128. package/lib/privilegedapirequests-waiter.d.ts +35 -0
  129. package/lib/privilegedapirequests-waiter.js +51 -0
  130. package/lib/privilegedapirequests-waiter.js.map +1 -0
  131. package/lib/privilegedapiworkrequest-waiter.d.ts +33 -0
  132. package/lib/privilegedapiworkrequest-waiter.js +50 -0
  133. package/lib/privilegedapiworkrequest-waiter.js.map +1 -0
  134. package/lib/request/approve-privileged-api-request-request.d.ts +52 -0
  135. package/lib/request/approve-privileged-api-request-request.js +15 -0
  136. package/lib/request/approve-privileged-api-request-request.js.map +1 -0
  137. package/lib/request/cancel-work-request-request.d.ts +38 -0
  138. package/lib/request/cancel-work-request-request.js +15 -0
  139. package/lib/request/cancel-work-request-request.js.map +1 -0
  140. package/lib/request/change-privileged-api-control-compartment-request.d.ts +52 -0
  141. package/lib/request/change-privileged-api-control-compartment-request.js +15 -0
  142. package/lib/request/change-privileged-api-control-compartment-request.js.map +1 -0
  143. package/lib/request/close-privileged-api-request-request.d.ts +52 -0
  144. package/lib/request/close-privileged-api-request-request.js +15 -0
  145. package/lib/request/close-privileged-api-request-request.js.map +1 -0
  146. package/lib/request/create-privileged-api-control-request.d.ts +40 -0
  147. package/lib/request/create-privileged-api-control-request.js +15 -0
  148. package/lib/request/create-privileged-api-control-request.js.map +1 -0
  149. package/lib/request/create-privileged-api-request-request.d.ts +40 -0
  150. package/lib/request/create-privileged-api-request-request.js +15 -0
  151. package/lib/request/create-privileged-api-request-request.js.map +1 -0
  152. package/lib/request/delete-privileged-api-control-request.d.ts +42 -0
  153. package/lib/request/delete-privileged-api-control-request.js +15 -0
  154. package/lib/request/delete-privileged-api-control-request.js.map +1 -0
  155. package/lib/request/get-api-metadata-request.d.ts +30 -0
  156. package/lib/request/get-api-metadata-request.js +15 -0
  157. package/lib/request/get-api-metadata-request.js.map +1 -0
  158. package/lib/request/get-privileged-api-control-request.d.ts +30 -0
  159. package/lib/request/get-privileged-api-control-request.js +15 -0
  160. package/lib/request/get-privileged-api-control-request.js.map +1 -0
  161. package/lib/request/get-privileged-api-request-request.d.ts +30 -0
  162. package/lib/request/get-privileged-api-request-request.js +15 -0
  163. package/lib/request/get-privileged-api-request-request.js.map +1 -0
  164. package/lib/request/get-work-request-request.d.ts +30 -0
  165. package/lib/request/get-work-request-request.js +15 -0
  166. package/lib/request/get-work-request-request.js.map +1 -0
  167. package/lib/request/index.d.ts +60 -0
  168. package/lib/request/index.js +55 -0
  169. package/lib/request/index.js.map +1 -0
  170. package/lib/request/list-api-metadata-by-entity-types-request.d.ts +75 -0
  171. package/lib/request/list-api-metadata-by-entity-types-request.js +24 -0
  172. package/lib/request/list-api-metadata-by-entity-types-request.js.map +1 -0
  173. package/lib/request/list-api-metadata-request.d.ts +75 -0
  174. package/lib/request/list-api-metadata-request.js +24 -0
  175. package/lib/request/list-api-metadata-request.js.map +1 -0
  176. package/lib/request/list-privileged-api-controls-request.d.ts +79 -0
  177. package/lib/request/list-privileged-api-controls-request.js +24 -0
  178. package/lib/request/list-privileged-api-controls-request.js.map +1 -0
  179. package/lib/request/list-privileged-api-requests-request.d.ts +89 -0
  180. package/lib/request/list-privileged-api-requests-request.js +24 -0
  181. package/lib/request/list-privileged-api-requests-request.js.map +1 -0
  182. package/lib/request/list-work-request-errors-request.d.ts +59 -0
  183. package/lib/request/list-work-request-errors-request.js +23 -0
  184. package/lib/request/list-work-request-errors-request.js.map +1 -0
  185. package/lib/request/list-work-request-logs-request.d.ts +59 -0
  186. package/lib/request/list-work-request-logs-request.js +23 -0
  187. package/lib/request/list-work-request-logs-request.js.map +1 -0
  188. package/lib/request/list-work-requests-request.d.ts +71 -0
  189. package/lib/request/list-work-requests-request.js +23 -0
  190. package/lib/request/list-work-requests-request.js.map +1 -0
  191. package/lib/request/reject-privileged-api-request-request.d.ts +52 -0
  192. package/lib/request/reject-privileged-api-request-request.js +15 -0
  193. package/lib/request/reject-privileged-api-request-request.js.map +1 -0
  194. package/lib/request/revoke-privileged-api-request-request.d.ts +52 -0
  195. package/lib/request/revoke-privileged-api-request-request.js +15 -0
  196. package/lib/request/revoke-privileged-api-request-request.js.map +1 -0
  197. package/lib/request/update-privileged-api-control-request.d.ts +43 -0
  198. package/lib/request/update-privileged-api-control-request.js +15 -0
  199. package/lib/request/update-privileged-api-control-request.js.map +1 -0
  200. package/lib/response/approve-privileged-api-request-response.d.ts +26 -0
  201. package/lib/response/approve-privileged-api-request-response.js +15 -0
  202. package/lib/response/approve-privileged-api-request-response.js.map +1 -0
  203. package/lib/response/cancel-work-request-response.d.ts +20 -0
  204. package/lib/response/cancel-work-request-response.js +15 -0
  205. package/lib/response/cancel-work-request-response.js.map +1 -0
  206. package/lib/response/change-privileged-api-control-compartment-response.d.ts +26 -0
  207. package/lib/response/change-privileged-api-control-compartment-response.js +15 -0
  208. package/lib/response/change-privileged-api-control-compartment-response.js.map +1 -0
  209. package/lib/response/close-privileged-api-request-response.d.ts +26 -0
  210. package/lib/response/close-privileged-api-request-response.js +15 -0
  211. package/lib/response/close-privileged-api-request-response.js.map +1 -0
  212. package/lib/response/create-privileged-api-control-response.d.ts +44 -0
  213. package/lib/response/create-privileged-api-control-response.js +15 -0
  214. package/lib/response/create-privileged-api-control-response.js.map +1 -0
  215. package/lib/response/create-privileged-api-request-response.d.ts +44 -0
  216. package/lib/response/create-privileged-api-request-response.js +15 -0
  217. package/lib/response/create-privileged-api-request-response.js.map +1 -0
  218. package/lib/response/delete-privileged-api-control-response.d.ts +26 -0
  219. package/lib/response/delete-privileged-api-control-response.js +15 -0
  220. package/lib/response/delete-privileged-api-control-response.js.map +1 -0
  221. package/lib/response/get-api-metadata-response.d.ts +30 -0
  222. package/lib/response/get-api-metadata-response.js +15 -0
  223. package/lib/response/get-api-metadata-response.js.map +1 -0
  224. package/lib/response/get-privileged-api-control-response.d.ts +30 -0
  225. package/lib/response/get-privileged-api-control-response.js +15 -0
  226. package/lib/response/get-privileged-api-control-response.js.map +1 -0
  227. package/lib/response/get-privileged-api-request-response.d.ts +30 -0
  228. package/lib/response/get-privileged-api-request-response.js +15 -0
  229. package/lib/response/get-privileged-api-request-response.js.map +1 -0
  230. package/lib/response/get-work-request-response.d.ts +34 -0
  231. package/lib/response/get-work-request-response.js +15 -0
  232. package/lib/response/get-work-request-response.js.map +1 -0
  233. package/lib/response/index.d.ts +60 -0
  234. package/lib/response/index.js +21 -0
  235. package/lib/response/index.js.map +1 -0
  236. package/lib/response/list-api-metadata-by-entity-types-response.d.ts +31 -0
  237. package/lib/response/list-api-metadata-by-entity-types-response.js +15 -0
  238. package/lib/response/list-api-metadata-by-entity-types-response.js.map +1 -0
  239. package/lib/response/list-api-metadata-response.d.ts +31 -0
  240. package/lib/response/list-api-metadata-response.js +15 -0
  241. package/lib/response/list-api-metadata-response.js.map +1 -0
  242. package/lib/response/list-privileged-api-controls-response.d.ts +31 -0
  243. package/lib/response/list-privileged-api-controls-response.js +15 -0
  244. package/lib/response/list-privileged-api-controls-response.js.map +1 -0
  245. package/lib/response/list-privileged-api-requests-response.d.ts +31 -0
  246. package/lib/response/list-privileged-api-requests-response.js +15 -0
  247. package/lib/response/list-privileged-api-requests-response.js.map +1 -0
  248. package/lib/response/list-work-request-errors-response.d.ts +31 -0
  249. package/lib/response/list-work-request-errors-response.js +15 -0
  250. package/lib/response/list-work-request-errors-response.js.map +1 -0
  251. package/lib/response/list-work-request-logs-response.d.ts +31 -0
  252. package/lib/response/list-work-request-logs-response.js +15 -0
  253. package/lib/response/list-work-request-logs-response.js.map +1 -0
  254. package/lib/response/list-work-requests-response.d.ts +31 -0
  255. package/lib/response/list-work-requests-response.js +15 -0
  256. package/lib/response/list-work-requests-response.js.map +1 -0
  257. package/lib/response/reject-privileged-api-request-response.d.ts +26 -0
  258. package/lib/response/reject-privileged-api-request-response.js +15 -0
  259. package/lib/response/reject-privileged-api-request-response.js.map +1 -0
  260. package/lib/response/revoke-privileged-api-request-response.d.ts +26 -0
  261. package/lib/response/revoke-privileged-api-request-response.js +15 -0
  262. package/lib/response/revoke-privileged-api-request-response.js.map +1 -0
  263. package/lib/response/update-privileged-api-control-response.d.ts +26 -0
  264. package/lib/response/update-privileged-api-control-response.js +15 -0
  265. package/lib/response/update-privileged-api-control-response.js.map +1 -0
  266. package/package.json +29 -0
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /**
3
+ * Oracle API Access Control
4
+ * This service is used to restrict the control plane service apis; so that everybody won't be
5
+ able to access those apis.
6
+ There are two main resouces defined as a part of this service
7
+ 1. PrivilegedApiControl: This is created by the customer which defines which service apis are
8
+ controlled and who can access it.
9
+ 2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
10
+
11
+ * OpenAPI spec version: 20241130
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OracleSDKGenerator.
15
+ * Do not edit the class manually.
16
+ *
17
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
+ */
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.OperationStatus = void 0;
22
+ /**
23
+ * The status of the work request.
24
+ **/
25
+ var OperationStatus;
26
+ (function (OperationStatus) {
27
+ OperationStatus["Accepted"] = "ACCEPTED";
28
+ OperationStatus["InProgress"] = "IN_PROGRESS";
29
+ OperationStatus["Waiting"] = "WAITING";
30
+ OperationStatus["NeedsAttention"] = "NEEDS_ATTENTION";
31
+ OperationStatus["Failed"] = "FAILED";
32
+ OperationStatus["Succeeded"] = "SUCCEEDED";
33
+ OperationStatus["Canceling"] = "CANCELING";
34
+ OperationStatus["Canceled"] = "CANCELED";
35
+ /**
36
+ * This value is used if a service returns a value for this enum that is not recognized by this
37
+ * version of the SDK.
38
+ */
39
+ OperationStatus["UnknownValue"] = "UNKNOWN_VALUE";
40
+ })(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
41
+ (function (OperationStatus) {
42
+ function getJsonObj(obj) {
43
+ return obj;
44
+ }
45
+ OperationStatus.getJsonObj = getJsonObj;
46
+ function getDeserializedJsonObj(obj) {
47
+ return obj;
48
+ }
49
+ OperationStatus.getDeserializedJsonObj = getDeserializedJsonObj;
50
+ })(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
51
+ //# sourceMappingURL=operation-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-status.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/operation-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAKH;;IAEI;AACJ,IAAY,eAeX;AAfD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,6CAA0B,CAAA;IAC1B,sCAAmB,CAAA;IACnB,qDAAkC,CAAA;IAClC,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IAErB;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EAfW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAe1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Oracle API Access Control
3
+ * This service is used to restrict the control plane service apis; so that everybody won't be
4
+ able to access those apis.
5
+ There are two main resouces defined as a part of this service
6
+ 1. PrivilegedApiControl: This is created by the customer which defines which service apis are
7
+ controlled and who can access it.
8
+ 2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
9
+
10
+ * OpenAPI spec version: 20241130
11
+ *
12
+ *
13
+ * NOTE: This class is auto generated by OracleSDKGenerator.
14
+ * Do not edit the class manually.
15
+ *
16
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
18
+ */
19
+ /**
20
+ * The asynchronous operation tracked by the work request.
21
+ **/
22
+ export declare enum OperationType {
23
+ CreatePrivilegedApiControl = "CREATE_PRIVILEGED_API_CONTROL",
24
+ GetPrivilegedApiControl = "GET_PRIVILEGED_API_CONTROL",
25
+ ListPrivilegedApiControl = "LIST_PRIVILEGED_API_CONTROL",
26
+ UpdatePrivilegedApiControl = "UPDATE_PRIVILEGED_API_CONTROL",
27
+ DeletePrivilegedApiControl = "DELETE_PRIVILEGED_API_CONTROL",
28
+ MovePrivilegedApiControl = "MOVE_PRIVILEGED_API_CONTROL",
29
+ CreatePrivilegedApiRequest = "CREATE_PRIVILEGED_API_REQUEST",
30
+ GetPrivilegedApiRequest = "GET_PRIVILEGED_API_REQUEST",
31
+ ListPrivilegedApiRequest = "LIST_PRIVILEGED_API_REQUEST",
32
+ ApprovePrivilegedApiRequest = "APPROVE_PRIVILEGED_API_REQUEST",
33
+ RejectPrivilegedApiRequest = "REJECT_PRIVILEGED_API_REQUEST",
34
+ RevokePrivilegedApiRequest = "REVOKE_PRIVILEGED_API_REQUEST",
35
+ ClosePrivilegedApiRequest = "CLOSE_PRIVILEGED_API_REQUEST",
36
+ TimeoutPrivilegedApiRequest = "TIMEOUT_PRIVILEGED_API_REQUEST",
37
+ CustomerApprovalCheckPrivilegedApiRequest = "CUSTOMER_APPROVAL_CHECK_PRIVILEGED_API_REQUEST",
38
+ CheckPrivilegedApiRequestStatus = "CHECK_PRIVILEGED_API_REQUEST_STATUS",
39
+ GetPrivilegedApiWorkRequest = "GET_PRIVILEGED_API_WORK_REQUEST",
40
+ ListPrivilegedApiWorkRequest = "LIST_PRIVILEGED_API_WORK_REQUEST",
41
+ ListPrivilegedApiWorkRequestErrors = "LIST_PRIVILEGED_API_WORK_REQUEST_ERRORS",
42
+ ListPrivilegedApiWorkRequestLogs = "LIST_PRIVILEGED_API_WORK_REQUEST_LOGS",
43
+ CancelPrivilegedApiWorkRequest = "CANCEL_PRIVILEGED_API_WORK_REQUEST",
44
+ ListApiMetadata = "LIST_API_METADATA",
45
+ ListApiMetadataByEntityType = "LIST_API_METADATA_BY_ENTITY_TYPE",
46
+ /**
47
+ * This value is used if a service returns a value for this enum that is not recognized by this
48
+ * version of the SDK.
49
+ */
50
+ UnknownValue = "UNKNOWN_VALUE"
51
+ }
52
+ export declare namespace OperationType {
53
+ function getJsonObj(obj: OperationType): OperationType;
54
+ function getDeserializedJsonObj(obj: OperationType): OperationType;
55
+ }
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /**
3
+ * Oracle API Access Control
4
+ * This service is used to restrict the control plane service apis; so that everybody won't be
5
+ able to access those apis.
6
+ There are two main resouces defined as a part of this service
7
+ 1. PrivilegedApiControl: This is created by the customer which defines which service apis are
8
+ controlled and who can access it.
9
+ 2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
10
+
11
+ * OpenAPI spec version: 20241130
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OracleSDKGenerator.
15
+ * Do not edit the class manually.
16
+ *
17
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
+ */
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.OperationType = void 0;
22
+ /**
23
+ * The asynchronous operation tracked by the work request.
24
+ **/
25
+ var OperationType;
26
+ (function (OperationType) {
27
+ OperationType["CreatePrivilegedApiControl"] = "CREATE_PRIVILEGED_API_CONTROL";
28
+ OperationType["GetPrivilegedApiControl"] = "GET_PRIVILEGED_API_CONTROL";
29
+ OperationType["ListPrivilegedApiControl"] = "LIST_PRIVILEGED_API_CONTROL";
30
+ OperationType["UpdatePrivilegedApiControl"] = "UPDATE_PRIVILEGED_API_CONTROL";
31
+ OperationType["DeletePrivilegedApiControl"] = "DELETE_PRIVILEGED_API_CONTROL";
32
+ OperationType["MovePrivilegedApiControl"] = "MOVE_PRIVILEGED_API_CONTROL";
33
+ OperationType["CreatePrivilegedApiRequest"] = "CREATE_PRIVILEGED_API_REQUEST";
34
+ OperationType["GetPrivilegedApiRequest"] = "GET_PRIVILEGED_API_REQUEST";
35
+ OperationType["ListPrivilegedApiRequest"] = "LIST_PRIVILEGED_API_REQUEST";
36
+ OperationType["ApprovePrivilegedApiRequest"] = "APPROVE_PRIVILEGED_API_REQUEST";
37
+ OperationType["RejectPrivilegedApiRequest"] = "REJECT_PRIVILEGED_API_REQUEST";
38
+ OperationType["RevokePrivilegedApiRequest"] = "REVOKE_PRIVILEGED_API_REQUEST";
39
+ OperationType["ClosePrivilegedApiRequest"] = "CLOSE_PRIVILEGED_API_REQUEST";
40
+ OperationType["TimeoutPrivilegedApiRequest"] = "TIMEOUT_PRIVILEGED_API_REQUEST";
41
+ OperationType["CustomerApprovalCheckPrivilegedApiRequest"] = "CUSTOMER_APPROVAL_CHECK_PRIVILEGED_API_REQUEST";
42
+ OperationType["CheckPrivilegedApiRequestStatus"] = "CHECK_PRIVILEGED_API_REQUEST_STATUS";
43
+ OperationType["GetPrivilegedApiWorkRequest"] = "GET_PRIVILEGED_API_WORK_REQUEST";
44
+ OperationType["ListPrivilegedApiWorkRequest"] = "LIST_PRIVILEGED_API_WORK_REQUEST";
45
+ OperationType["ListPrivilegedApiWorkRequestErrors"] = "LIST_PRIVILEGED_API_WORK_REQUEST_ERRORS";
46
+ OperationType["ListPrivilegedApiWorkRequestLogs"] = "LIST_PRIVILEGED_API_WORK_REQUEST_LOGS";
47
+ OperationType["CancelPrivilegedApiWorkRequest"] = "CANCEL_PRIVILEGED_API_WORK_REQUEST";
48
+ OperationType["ListApiMetadata"] = "LIST_API_METADATA";
49
+ OperationType["ListApiMetadataByEntityType"] = "LIST_API_METADATA_BY_ENTITY_TYPE";
50
+ /**
51
+ * This value is used if a service returns a value for this enum that is not recognized by this
52
+ * version of the SDK.
53
+ */
54
+ OperationType["UnknownValue"] = "UNKNOWN_VALUE";
55
+ })(OperationType = exports.OperationType || (exports.OperationType = {}));
56
+ (function (OperationType) {
57
+ function getJsonObj(obj) {
58
+ return obj;
59
+ }
60
+ OperationType.getJsonObj = getJsonObj;
61
+ function getDeserializedJsonObj(obj) {
62
+ return obj;
63
+ }
64
+ OperationType.getDeserializedJsonObj = getDeserializedJsonObj;
65
+ })(OperationType = exports.OperationType || (exports.OperationType = {}));
66
+ //# sourceMappingURL=operation-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAKH;;IAEI;AACJ,IAAY,aA8BX;AA9BD,WAAY,aAAa;IACvB,6EAA4D,CAAA;IAC5D,uEAAsD,CAAA;IACtD,yEAAwD,CAAA;IACxD,6EAA4D,CAAA;IAC5D,6EAA4D,CAAA;IAC5D,yEAAwD,CAAA;IACxD,6EAA4D,CAAA;IAC5D,uEAAsD,CAAA;IACtD,yEAAwD,CAAA;IACxD,+EAA8D,CAAA;IAC9D,6EAA4D,CAAA;IAC5D,6EAA4D,CAAA;IAC5D,2EAA0D,CAAA;IAC1D,+EAA8D,CAAA;IAC9D,6GAA4F,CAAA;IAC5F,wFAAuE,CAAA;IACvE,gFAA+D,CAAA;IAC/D,kFAAiE,CAAA;IACjE,+FAA8E,CAAA;IAC9E,2FAA0E,CAAA;IAC1E,sFAAqE,CAAA;IACrE,sDAAqC,CAAA;IACrC,iFAAgE,CAAA;IAEhE;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EA9BW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QA8BxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Oracle API Access Control
3
+ * This service is used to restrict the control plane service apis; so that everybody won't be
4
+ able to access those apis.
5
+ There are two main resouces defined as a part of this service
6
+ 1. PrivilegedApiControl: This is created by the customer which defines which service apis are
7
+ controlled and who can access it.
8
+ 2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
9
+
10
+ * OpenAPI spec version: 20241130
11
+ *
12
+ *
13
+ * NOTE: This class is auto generated by OracleSDKGenerator.
14
+ * Do not edit the class manually.
15
+ *
16
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
18
+ */
19
+ import * as model from "../model";
20
+ /**
21
+ * Results of a privilegedApiControl search. Contains both PrivilegedApiControlSummary items and other information, such as metadata.
22
+ */
23
+ export interface PrivilegedApiControlCollection {
24
+ /**
25
+ * List of privilegedApiControls.
26
+ */
27
+ "items": Array<model.PrivilegedApiControlSummary>;
28
+ }
29
+ export declare namespace PrivilegedApiControlCollection {
30
+ function getJsonObj(obj: PrivilegedApiControlCollection): object;
31
+ function getDeserializedJsonObj(obj: PrivilegedApiControlCollection): object;
32
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /**
3
+ * Oracle API Access Control
4
+ * This service is used to restrict the control plane service apis; so that everybody won't be
5
+ able to access those apis.
6
+ There are two main resouces defined as a part of this service
7
+ 1. PrivilegedApiControl: This is created by the customer which defines which service apis are
8
+ controlled and who can access it.
9
+ 2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
10
+
11
+ * OpenAPI spec version: 20241130
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OracleSDKGenerator.
15
+ * Do not edit the class manually.
16
+ *
17
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
+ */
20
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
23
+ }) : (function(o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ o[k2] = m[k];
26
+ }));
27
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
28
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
29
+ }) : function(o, v) {
30
+ o["default"] = v;
31
+ });
32
+ var __importStar = (this && this.__importStar) || function (mod) {
33
+ if (mod && mod.__esModule) return mod;
34
+ var result = {};
35
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
36
+ __setModuleDefault(result, mod);
37
+ return result;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.PrivilegedApiControlCollection = void 0;
41
+ const model = __importStar(require("../model"));
42
+ var PrivilegedApiControlCollection;
43
+ (function (PrivilegedApiControlCollection) {
44
+ function getJsonObj(obj) {
45
+ const jsonObj = Object.assign(Object.assign({}, obj), {
46
+ "items": obj.items
47
+ ? obj.items.map(item => {
48
+ return model.PrivilegedApiControlSummary.getJsonObj(item);
49
+ })
50
+ : undefined
51
+ });
52
+ return jsonObj;
53
+ }
54
+ PrivilegedApiControlCollection.getJsonObj = getJsonObj;
55
+ function getDeserializedJsonObj(obj) {
56
+ const jsonObj = Object.assign(Object.assign({}, obj), {
57
+ "items": obj.items
58
+ ? obj.items.map(item => {
59
+ return model.PrivilegedApiControlSummary.getDeserializedJsonObj(item);
60
+ })
61
+ : undefined
62
+ });
63
+ return jsonObj;
64
+ }
65
+ PrivilegedApiControlCollection.getDeserializedJsonObj = getDeserializedJsonObj;
66
+ })(PrivilegedApiControlCollection = exports.PrivilegedApiControlCollection || (exports.PrivilegedApiControlCollection = {}));
67
+ //# sourceMappingURL=privileged-api-control-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privileged-api-control-collection.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/privileged-api-control-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,8BAA8B,CA6B9C;AA7BD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmC;QACxE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QA6B9C"}
@@ -0,0 +1,108 @@
1
+ /**
2
+ * Oracle API Access Control
3
+ * This service is used to restrict the control plane service apis; so that everybody won't be
4
+ able to access those apis.
5
+ There are two main resouces defined as a part of this service
6
+ 1. PrivilegedApiControl: This is created by the customer which defines which service apis are
7
+ controlled and who can access it.
8
+ 2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
9
+
10
+ * OpenAPI spec version: 20241130
11
+ *
12
+ *
13
+ * NOTE: This class is auto generated by OracleSDKGenerator.
14
+ * Do not edit the class manually.
15
+ *
16
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
18
+ */
19
+ /**
20
+ * Summary information about a PrivilegedApiControl.
21
+ */
22
+ export interface PrivilegedApiControlSummary {
23
+ /**
24
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivilegedApiControl.
25
+ */
26
+ "id": string;
27
+ /**
28
+ * Name of the privilegedApi control.
29
+ */
30
+ "displayName": string;
31
+ /**
32
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
33
+ */
34
+ "compartmentId": string;
35
+ /**
36
+ * resourceType for which the PrivilegedApiControl is applicable
37
+ */
38
+ "resourceType"?: string;
39
+ /**
40
+ * Number of approvers required to approve an privilegedApi request. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
41
+ */
42
+ "numberOfApprovers"?: number;
43
+ /**
44
+ * The date and time the PrivilegedApiControl was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
45
+ * Example: {@code 2016-08-25T21:10:29.600Z}
46
+ *
47
+ */
48
+ "timeCreated": Date;
49
+ /**
50
+ * The date and time the PrivilegedApiControl was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
51
+ * <p>
52
+ Example: {@code 2016-08-25T21:10:29.600Z}
53
+ *
54
+ */
55
+ "timeUpdated"?: Date;
56
+ /**
57
+ * Time when the privilegedApi control was deleted, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
58
+ *
59
+ */
60
+ "timeDeleted"?: Date;
61
+ /**
62
+ * The current state of the PrivilegedApiControl.
63
+ */
64
+ "lifecycleState": string;
65
+ /**
66
+ * A message that describes the current state of the PrivilegedApiControl in more detail. For example,
67
+ * can be used to provide actionable information for a resource in the Failed state.
68
+ *
69
+ */
70
+ "lifecycleDetails"?: string;
71
+ /**
72
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
73
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
74
+ * <p>
75
+ Example: {@code {\"Department\": \"Finance\"}}
76
+ *
77
+ */
78
+ "freeformTags": {
79
+ [key: string]: string;
80
+ };
81
+ /**
82
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
83
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
84
+ * <p>
85
+ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
86
+ *
87
+ */
88
+ "definedTags": {
89
+ [key: string]: {
90
+ [key: string]: any;
91
+ };
92
+ };
93
+ /**
94
+ * System tags for this resource. Each key is predefined and scoped to a namespace.
95
+ * <p>
96
+ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
97
+ *
98
+ */
99
+ "systemTags"?: {
100
+ [key: string]: {
101
+ [key: string]: any;
102
+ };
103
+ };
104
+ }
105
+ export declare namespace PrivilegedApiControlSummary {
106
+ function getJsonObj(obj: PrivilegedApiControlSummary): object;
107
+ function getDeserializedJsonObj(obj: PrivilegedApiControlSummary): object;
108
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * Oracle API Access Control
4
+ * This service is used to restrict the control plane service apis; so that everybody won't be
5
+ able to access those apis.
6
+ There are two main resouces defined as a part of this service
7
+ 1. PrivilegedApiControl: This is created by the customer which defines which service apis are
8
+ controlled and who can access it.
9
+ 2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
10
+
11
+ * OpenAPI spec version: 20241130
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OracleSDKGenerator.
15
+ * Do not edit the class manually.
16
+ *
17
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
+ */
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.PrivilegedApiControlSummary = void 0;
22
+ var PrivilegedApiControlSummary;
23
+ (function (PrivilegedApiControlSummary) {
24
+ function getJsonObj(obj) {
25
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
26
+ return jsonObj;
27
+ }
28
+ PrivilegedApiControlSummary.getJsonObj = getJsonObj;
29
+ function getDeserializedJsonObj(obj) {
30
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
31
+ return jsonObj;
32
+ }
33
+ PrivilegedApiControlSummary.getDeserializedJsonObj = getDeserializedJsonObj;
34
+ })(PrivilegedApiControlSummary = exports.PrivilegedApiControlSummary || (exports.PrivilegedApiControlSummary = {}));
35
+ //# sourceMappingURL=privileged-api-control-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privileged-api-control-summary.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/privileged-api-control-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAkFH,IAAiB,2BAA2B,CAW3C;AAXD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAW3C"}
@@ -0,0 +1,162 @@
1
+ /**
2
+ * Oracle API Access Control
3
+ * This service is used to restrict the control plane service apis; so that everybody won't be
4
+ able to access those apis.
5
+ There are two main resouces defined as a part of this service
6
+ 1. PrivilegedApiControl: This is created by the customer which defines which service apis are
7
+ controlled and who can access it.
8
+ 2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
9
+
10
+ * OpenAPI spec version: 20241130
11
+ *
12
+ *
13
+ * NOTE: This class is auto generated by OracleSDKGenerator.
14
+ * Do not edit the class manually.
15
+ *
16
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
18
+ */
19
+ import * as model from "../model";
20
+ /**
21
+ * A PrivilegedApiControl is a kind of Policy definition which provides details about which operations needs to be secure; who can approve a privilegedApiRequest requesting for a particular operation, whether the operations needs to be approved by customer or is it preApproved.
22
+ * <p>
23
+ To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to
24
+ * an administrator. If you're an administrator who needs to write policies to give users access, see
25
+ * [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
26
+ *
27
+ */
28
+ export interface PrivilegedApiControl {
29
+ /**
30
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivilegedApiControl.
31
+ */
32
+ "id": string;
33
+ /**
34
+ * Name of the privilegedApi control. The name must be unique.
35
+ */
36
+ "displayName": string;
37
+ /**
38
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
39
+ */
40
+ "compartmentId": string;
41
+ /**
42
+ * Description of privilegedApi control.
43
+ */
44
+ "description"?: string;
45
+ /**
46
+ * The OCID of the OCI Notification topic to publish messages related to this Privileged Api Control.
47
+ */
48
+ "notificationTopicId"?: string;
49
+ /**
50
+ * List of IAM user group ids who can approve an privilegedApi request associated with a target resource under the governance of this operator control.
51
+ */
52
+ "approverGroupIdList"?: Array<string>;
53
+ /**
54
+ * resourceType for which the PrivilegedApiControl is applicable
55
+ */
56
+ "resourceType"?: string;
57
+ /**
58
+ * contains Resource details
59
+ */
60
+ "resources"?: Array<string>;
61
+ /**
62
+ * List of privileged operations/apis. These operations/apis will be treaated as secured, once enabled by the Privileged API Managment for a resource. Any of these operations, if needs to be executed, needs to be raised as a PrivilegedApi Request which needs to be approved by customers or it can be pre-approved.
63
+ *
64
+ */
65
+ "privilegedOperationList"?: Array<model.PrivilegedApiDetails>;
66
+ /**
67
+ * Number of approvers required to approve an privilegedApi request. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
68
+ */
69
+ "numberOfApprovers"?: number;
70
+ /**
71
+ * The date and time the PrivilegedApiControl was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
72
+ * <p>
73
+ Example: {@code 2016-08-25T21:10:29.600Z}
74
+ *
75
+ */
76
+ "timeCreated": Date;
77
+ /**
78
+ * The date and time the PrivilegedApiControl was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
79
+ * <p>
80
+ Example: {@code 2016-08-25T21:10:29.600Z}
81
+ *
82
+ */
83
+ "timeUpdated"?: Date;
84
+ /**
85
+ * The date and time the PrivilegedApiControl was marked for delete, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
86
+ * <p>
87
+ Example: {@code 2016-08-25T21:10:29.600Z}
88
+ *
89
+ */
90
+ "timeDeleted"?: Date;
91
+ /**
92
+ * The current state of the PrivilegedApiControl.
93
+ */
94
+ "state": string;
95
+ /**
96
+ * A message that describes the current state of the PrivilegedApiControl in more detail. For example,
97
+ * can be used to provide actionable information for a resource in the Failed state.
98
+ *
99
+ */
100
+ "stateDetails"?: string;
101
+ /**
102
+ * The current state of the PrivilegedApiControl.
103
+ */
104
+ "lifecycleState": PrivilegedApiControl.LifecycleState;
105
+ /**
106
+ * A message that describes the current state of the PrivilegedApiControl in more detail. For example,
107
+ * can be used to provide actionable information for a resource in the Failed state.
108
+ *
109
+ */
110
+ "lifecycleDetails"?: string;
111
+ /**
112
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
113
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
114
+ * <p>
115
+ Example: {@code {\"Department\": \"Finance\"}}
116
+ *
117
+ */
118
+ "freeformTags": {
119
+ [key: string]: string;
120
+ };
121
+ /**
122
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
123
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
124
+ * <p>
125
+ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
126
+ *
127
+ */
128
+ "definedTags": {
129
+ [key: string]: {
130
+ [key: string]: any;
131
+ };
132
+ };
133
+ /**
134
+ * System tags for this resource. Each key is predefined and scoped to a namespace.
135
+ * <p>
136
+ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
137
+ *
138
+ */
139
+ "systemTags"?: {
140
+ [key: string]: {
141
+ [key: string]: any;
142
+ };
143
+ };
144
+ }
145
+ export declare namespace PrivilegedApiControl {
146
+ enum LifecycleState {
147
+ Creating = "CREATING",
148
+ Updating = "UPDATING",
149
+ Active = "ACTIVE",
150
+ Deleting = "DELETING",
151
+ Deleted = "DELETED",
152
+ Failed = "FAILED",
153
+ NeedsAttention = "NEEDS_ATTENTION",
154
+ /**
155
+ * This value is used if a service returns a value for this enum that is not recognized by this
156
+ * version of the SDK.
157
+ */
158
+ UnknownValue = "UNKNOWN_VALUE"
159
+ }
160
+ function getJsonObj(obj: PrivilegedApiControl): object;
161
+ function getDeserializedJsonObj(obj: PrivilegedApiControl): object;
162
+ }