oci-zpr 2.95.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) 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 +22 -0
  6. package/index.js +45 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +240 -0
  9. package/lib/client.js +1247 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/action-type.d.ts +32 -0
  12. package/lib/model/action-type.js +43 -0
  13. package/lib/model/action-type.js.map +1 -0
  14. package/lib/model/configuration.d.ts +113 -0
  15. package/lib/model/configuration.js +53 -0
  16. package/lib/model/configuration.js.map +1 -0
  17. package/lib/model/create-configuration-details.d.ts +52 -0
  18. package/lib/model/create-configuration-details.js +29 -0
  19. package/lib/model/create-configuration-details.js.map +1 -0
  20. package/lib/model/create-zpr-policy-details.d.ts +60 -0
  21. package/lib/model/create-zpr-policy-details.js +29 -0
  22. package/lib/model/create-zpr-policy-details.js.map +1 -0
  23. package/lib/model/index.d.ts +52 -0
  24. package/lib/model/index.js +75 -0
  25. package/lib/model/index.js.map +1 -0
  26. package/lib/model/operation-type.d.ts +32 -0
  27. package/lib/model/operation-type.js +43 -0
  28. package/lib/model/operation-type.js.map +1 -0
  29. package/lib/model/sort-order.d.ts +30 -0
  30. package/lib/model/sort-order.js +41 -0
  31. package/lib/model/sort-order.js.map +1 -0
  32. package/lib/model/update-zpr-policy-details.d.ts +51 -0
  33. package/lib/model/update-zpr-policy-details.js +29 -0
  34. package/lib/model/update-zpr-policy-details.js.map +1 -0
  35. package/lib/model/work-request-error-collection.d.ts +26 -0
  36. package/lib/model/work-request-error-collection.js +61 -0
  37. package/lib/model/work-request-error-collection.js.map +1 -0
  38. package/lib/model/work-request-error.d.ts +37 -0
  39. package/lib/model/work-request-error.js +29 -0
  40. package/lib/model/work-request-error.js.map +1 -0
  41. package/lib/model/work-request-log-entry-collection.d.ts +26 -0
  42. package/lib/model/work-request-log-entry-collection.js +61 -0
  43. package/lib/model/work-request-log-entry-collection.js.map +1 -0
  44. package/lib/model/work-request-log-entry.d.ts +31 -0
  45. package/lib/model/work-request-log-entry.js +29 -0
  46. package/lib/model/work-request-log-entry.js.map +1 -0
  47. package/lib/model/work-request-resource-metadata-key.d.ts +27 -0
  48. package/lib/model/work-request-resource-metadata-key.js +38 -0
  49. package/lib/model/work-request-resource-metadata-key.js.map +1 -0
  50. package/lib/model/work-request-resource.d.ts +48 -0
  51. package/lib/model/work-request-resource.js +29 -0
  52. package/lib/model/work-request-resource.js.map +1 -0
  53. package/lib/model/work-request-status.d.ts +34 -0
  54. package/lib/model/work-request-status.js +45 -0
  55. package/lib/model/work-request-status.js.map +1 -0
  56. package/lib/model/work-request-summary-collection.d.ts +26 -0
  57. package/lib/model/work-request-summary-collection.js +61 -0
  58. package/lib/model/work-request-summary-collection.js.map +1 -0
  59. package/lib/model/work-request-summary.d.ts +73 -0
  60. package/lib/model/work-request-summary.js +61 -0
  61. package/lib/model/work-request-summary.js.map +1 -0
  62. package/lib/model/work-request.d.ts +76 -0
  63. package/lib/model/work-request.js +61 -0
  64. package/lib/model/work-request.js.map +1 -0
  65. package/lib/model/zpr-policy-collection.d.ts +26 -0
  66. package/lib/model/zpr-policy-collection.js +61 -0
  67. package/lib/model/zpr-policy-collection.js.map +1 -0
  68. package/lib/model/zpr-policy-summary.d.ts +98 -0
  69. package/lib/model/zpr-policy-summary.js +29 -0
  70. package/lib/model/zpr-policy-summary.js.map +1 -0
  71. package/lib/model/zpr-policy.d.ts +117 -0
  72. package/lib/model/zpr-policy.js +44 -0
  73. package/lib/model/zpr-policy.js.map +1 -0
  74. package/lib/request/create-configuration-request.d.ts +46 -0
  75. package/lib/request/create-configuration-request.js +15 -0
  76. package/lib/request/create-configuration-request.js.map +1 -0
  77. package/lib/request/create-zpr-policy-request.d.ts +46 -0
  78. package/lib/request/create-zpr-policy-request.js +15 -0
  79. package/lib/request/create-zpr-policy-request.js.map +1 -0
  80. package/lib/request/delete-zpr-policy-request.d.ts +44 -0
  81. package/lib/request/delete-zpr-policy-request.js +15 -0
  82. package/lib/request/delete-zpr-policy-request.js.map +1 -0
  83. package/lib/request/get-configuration-request.d.ts +30 -0
  84. package/lib/request/get-configuration-request.js +15 -0
  85. package/lib/request/get-configuration-request.js.map +1 -0
  86. package/lib/request/get-zpr-configuration-work-request-request.d.ts +30 -0
  87. package/lib/request/get-zpr-configuration-work-request-request.js +15 -0
  88. package/lib/request/get-zpr-configuration-work-request-request.js.map +1 -0
  89. package/lib/request/get-zpr-policy-request.d.ts +30 -0
  90. package/lib/request/get-zpr-policy-request.js +15 -0
  91. package/lib/request/get-zpr-policy-request.js.map +1 -0
  92. package/lib/request/get-zpr-policy-work-request-request.d.ts +30 -0
  93. package/lib/request/get-zpr-policy-work-request-request.js +15 -0
  94. package/lib/request/get-zpr-policy-work-request-request.js.map +1 -0
  95. package/lib/request/index.d.ts +42 -0
  96. package/lib/request/index.js +49 -0
  97. package/lib/request/index.js.map +1 -0
  98. package/lib/request/list-zpr-configuration-work-request-errors-request.d.ts +59 -0
  99. package/lib/request/list-zpr-configuration-work-request-errors-request.js +23 -0
  100. package/lib/request/list-zpr-configuration-work-request-errors-request.js.map +1 -0
  101. package/lib/request/list-zpr-configuration-work-request-logs-request.d.ts +59 -0
  102. package/lib/request/list-zpr-configuration-work-request-logs-request.js +23 -0
  103. package/lib/request/list-zpr-configuration-work-request-logs-request.js.map +1 -0
  104. package/lib/request/list-zpr-configuration-work-requests-request.d.ts +71 -0
  105. package/lib/request/list-zpr-configuration-work-requests-request.js +23 -0
  106. package/lib/request/list-zpr-configuration-work-requests-request.js.map +1 -0
  107. package/lib/request/list-zpr-policies-request.d.ts +75 -0
  108. package/lib/request/list-zpr-policies-request.js +24 -0
  109. package/lib/request/list-zpr-policies-request.js.map +1 -0
  110. package/lib/request/list-zpr-policy-work-request-errors-request.d.ts +59 -0
  111. package/lib/request/list-zpr-policy-work-request-errors-request.js +23 -0
  112. package/lib/request/list-zpr-policy-work-request-errors-request.js.map +1 -0
  113. package/lib/request/list-zpr-policy-work-request-logs-request.d.ts +59 -0
  114. package/lib/request/list-zpr-policy-work-request-logs-request.js +23 -0
  115. package/lib/request/list-zpr-policy-work-request-logs-request.js.map +1 -0
  116. package/lib/request/list-zpr-policy-work-requests-request.d.ts +71 -0
  117. package/lib/request/list-zpr-policy-work-requests-request.js +23 -0
  118. package/lib/request/list-zpr-policy-work-requests-request.js.map +1 -0
  119. package/lib/request/update-zpr-policy-request.d.ts +58 -0
  120. package/lib/request/update-zpr-policy-request.js +15 -0
  121. package/lib/request/update-zpr-policy-request.js.map +1 -0
  122. package/lib/response/create-configuration-response.d.ts +25 -0
  123. package/lib/response/create-configuration-response.js +15 -0
  124. package/lib/response/create-configuration-response.js.map +1 -0
  125. package/lib/response/create-zpr-policy-response.d.ts +38 -0
  126. package/lib/response/create-zpr-policy-response.js +15 -0
  127. package/lib/response/create-zpr-policy-response.js.map +1 -0
  128. package/lib/response/delete-zpr-policy-response.d.ts +25 -0
  129. package/lib/response/delete-zpr-policy-response.js +15 -0
  130. package/lib/response/delete-zpr-policy-response.js.map +1 -0
  131. package/lib/response/get-configuration-response.d.ts +30 -0
  132. package/lib/response/get-configuration-response.js +15 -0
  133. package/lib/response/get-configuration-response.js.map +1 -0
  134. package/lib/response/get-zpr-configuration-work-request-response.d.ts +34 -0
  135. package/lib/response/get-zpr-configuration-work-request-response.js +15 -0
  136. package/lib/response/get-zpr-configuration-work-request-response.js.map +1 -0
  137. package/lib/response/get-zpr-policy-response.d.ts +30 -0
  138. package/lib/response/get-zpr-policy-response.js +15 -0
  139. package/lib/response/get-zpr-policy-response.js.map +1 -0
  140. package/lib/response/get-zpr-policy-work-request-response.d.ts +34 -0
  141. package/lib/response/get-zpr-policy-work-request-response.js +15 -0
  142. package/lib/response/get-zpr-policy-work-request-response.js.map +1 -0
  143. package/lib/response/index.d.ts +42 -0
  144. package/lib/response/index.js +15 -0
  145. package/lib/response/index.js.map +1 -0
  146. package/lib/response/list-zpr-configuration-work-request-errors-response.d.ts +31 -0
  147. package/lib/response/list-zpr-configuration-work-request-errors-response.js +15 -0
  148. package/lib/response/list-zpr-configuration-work-request-errors-response.js.map +1 -0
  149. package/lib/response/list-zpr-configuration-work-request-logs-response.d.ts +31 -0
  150. package/lib/response/list-zpr-configuration-work-request-logs-response.js +15 -0
  151. package/lib/response/list-zpr-configuration-work-request-logs-response.js.map +1 -0
  152. package/lib/response/list-zpr-configuration-work-requests-response.d.ts +31 -0
  153. package/lib/response/list-zpr-configuration-work-requests-response.js +15 -0
  154. package/lib/response/list-zpr-configuration-work-requests-response.js.map +1 -0
  155. package/lib/response/list-zpr-policies-response.d.ts +31 -0
  156. package/lib/response/list-zpr-policies-response.js +15 -0
  157. package/lib/response/list-zpr-policies-response.js.map +1 -0
  158. package/lib/response/list-zpr-policy-work-request-errors-response.d.ts +31 -0
  159. package/lib/response/list-zpr-policy-work-request-errors-response.js +15 -0
  160. package/lib/response/list-zpr-policy-work-request-errors-response.js.map +1 -0
  161. package/lib/response/list-zpr-policy-work-request-logs-response.d.ts +31 -0
  162. package/lib/response/list-zpr-policy-work-request-logs-response.js +15 -0
  163. package/lib/response/list-zpr-policy-work-request-logs-response.js.map +1 -0
  164. package/lib/response/list-zpr-policy-work-requests-response.d.ts +31 -0
  165. package/lib/response/list-zpr-policy-work-requests-response.js +15 -0
  166. package/lib/response/list-zpr-policy-work-requests-response.js.map +1 -0
  167. package/lib/response/update-zpr-policy-response.d.ts +25 -0
  168. package/lib/response/update-zpr-policy-response.js +15 -0
  169. package/lib/response/update-zpr-policy-response.js.map +1 -0
  170. package/lib/zpr-waiter.d.ts +37 -0
  171. package/lib/zpr-waiter.js +77 -0
  172. package/lib/zpr-waiter.js.map +1 -0
  173. package/package.json +29 -0
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Zero Trust Packet Routing Control Plane API
3
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
4
+ * OpenAPI spec version: 20240301
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * A resource created or operated on by a work request.
16
+ */
17
+ export interface WorkRequestResource {
18
+ /**
19
+ * The resource type that the work request affects.
20
+ */
21
+ "entityType": string;
22
+ /**
23
+ * The way in which this resource is affected by the operation tracked in the work request.
24
+ * A resource being created, updated, or deleted remains in the IN_PROGRESS state until
25
+ * work is complete for that resource, at which point it transitions to CREATED, UPDATED,
26
+ * or DELETED, respectively.
27
+ *
28
+ */
29
+ "actionType": model.ActionType;
30
+ /**
31
+ * An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource.
32
+ */
33
+ "identifier": string;
34
+ /**
35
+ * The URI path that you can use for a GET request to access the resource metadata.
36
+ */
37
+ "entityUri"?: string;
38
+ /**
39
+ * Additional information that helps to explain the resource.
40
+ */
41
+ "metadata"?: {
42
+ [key: string]: string;
43
+ };
44
+ }
45
+ export declare namespace WorkRequestResource {
46
+ function getJsonObj(obj: WorkRequestResource): object;
47
+ function getDeserializedJsonObj(obj: WorkRequestResource): object;
48
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Zero Trust Packet Routing Control Plane API
4
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
5
+ * OpenAPI spec version: 20240301
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.WorkRequestResource = void 0;
16
+ var WorkRequestResource;
17
+ (function (WorkRequestResource) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ WorkRequestResource.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ WorkRequestResource.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(WorkRequestResource = exports.WorkRequestResource || (exports.WorkRequestResource = {}));
29
+ //# sourceMappingURL=work-request-resource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-resource.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/model/work-request-resource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmCH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Zero Trust Packet Routing Control Plane API
3
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
4
+ * OpenAPI spec version: 20240301
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ /**
14
+ * The status of the work request.
15
+ **/
16
+ export declare enum WorkRequestStatus {
17
+ Accepted = "ACCEPTED",
18
+ InProgress = "IN_PROGRESS",
19
+ Waiting = "WAITING",
20
+ NeedsAttention = "NEEDS_ATTENTION",
21
+ Failed = "FAILED",
22
+ Succeeded = "SUCCEEDED",
23
+ Canceling = "CANCELING",
24
+ Canceled = "CANCELED",
25
+ /**
26
+ * This value is used if a service returns a value for this enum that is not recognized by this
27
+ * version of the SDK.
28
+ */
29
+ UnknownValue = "UNKNOWN_VALUE"
30
+ }
31
+ export declare namespace WorkRequestStatus {
32
+ function getJsonObj(obj: WorkRequestStatus): WorkRequestStatus;
33
+ function getDeserializedJsonObj(obj: WorkRequestStatus): WorkRequestStatus;
34
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * Zero Trust Packet Routing Control Plane API
4
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
5
+ * OpenAPI spec version: 20240301
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.WorkRequestStatus = void 0;
16
+ /**
17
+ * The status of the work request.
18
+ **/
19
+ var WorkRequestStatus;
20
+ (function (WorkRequestStatus) {
21
+ WorkRequestStatus["Accepted"] = "ACCEPTED";
22
+ WorkRequestStatus["InProgress"] = "IN_PROGRESS";
23
+ WorkRequestStatus["Waiting"] = "WAITING";
24
+ WorkRequestStatus["NeedsAttention"] = "NEEDS_ATTENTION";
25
+ WorkRequestStatus["Failed"] = "FAILED";
26
+ WorkRequestStatus["Succeeded"] = "SUCCEEDED";
27
+ WorkRequestStatus["Canceling"] = "CANCELING";
28
+ WorkRequestStatus["Canceled"] = "CANCELED";
29
+ /**
30
+ * This value is used if a service returns a value for this enum that is not recognized by this
31
+ * version of the SDK.
32
+ */
33
+ WorkRequestStatus["UnknownValue"] = "UNKNOWN_VALUE";
34
+ })(WorkRequestStatus = exports.WorkRequestStatus || (exports.WorkRequestStatus = {}));
35
+ (function (WorkRequestStatus) {
36
+ function getJsonObj(obj) {
37
+ return obj;
38
+ }
39
+ WorkRequestStatus.getJsonObj = getJsonObj;
40
+ function getDeserializedJsonObj(obj) {
41
+ return obj;
42
+ }
43
+ WorkRequestStatus.getDeserializedJsonObj = getDeserializedJsonObj;
44
+ })(WorkRequestStatus = exports.WorkRequestStatus || (exports.WorkRequestStatus = {}));
45
+ //# sourceMappingURL=work-request-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-status.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/model/work-request-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,iBAeX;AAfD,WAAY,iBAAiB;IAC3B,0CAAqB,CAAA;IACrB,+CAA0B,CAAA;IAC1B,wCAAmB,CAAA;IACnB,uDAAkC,CAAA;IAClC,sCAAiB,CAAA;IACjB,4CAAuB,CAAA;IACvB,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;IAErB;;;OAGG;IACH,mDAA8B,CAAA;AAChC,CAAC,EAfW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAe5B;AAED,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,4BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAOjC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Zero Trust Packet Routing Control Plane API
3
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
4
+ * OpenAPI spec version: 20240301
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * A list of work requests. Can contain both work requests and other information, such as metadata.
16
+ */
17
+ export interface WorkRequestSummaryCollection {
18
+ /**
19
+ * A list of work requests.
20
+ */
21
+ "items": Array<model.WorkRequestSummary>;
22
+ }
23
+ export declare namespace WorkRequestSummaryCollection {
24
+ function getJsonObj(obj: WorkRequestSummaryCollection): object;
25
+ function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Zero Trust Packet Routing Control Plane API
4
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
5
+ * OpenAPI spec version: 20240301
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.WorkRequestSummaryCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var WorkRequestSummaryCollection;
37
+ (function (WorkRequestSummaryCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.WorkRequestSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ WorkRequestSummaryCollection.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.WorkRequestSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ WorkRequestSummaryCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(WorkRequestSummaryCollection = exports.WorkRequestSummaryCollection || (exports.WorkRequestSummaryCollection = {}));
61
+ //# sourceMappingURL=work-request-summary-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-summary-collection.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/model/work-request-summary-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,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,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,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,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Zero Trust Packet Routing Control Plane API
3
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
4
+ * OpenAPI spec version: 20240301
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Summary information about an asynchronous work request.
16
+ */
17
+ export interface WorkRequestSummary {
18
+ /**
19
+ * The asynchronous operation tracked by this work request.
20
+ */
21
+ "operationType": model.OperationType;
22
+ /**
23
+ * The status of the work request.
24
+ */
25
+ "status": model.WorkRequestStatus;
26
+ /**
27
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
28
+ */
29
+ "id": string;
30
+ /**
31
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
32
+ *
33
+ */
34
+ "compartmentId": string;
35
+ /**
36
+ * The resources that are affected by this work request.
37
+ */
38
+ "resources": Array<model.WorkRequestResource>;
39
+ /**
40
+ * Shows the progress of the operation tracked by the work request, as a percentage of the total work
41
+ * that must be performed.
42
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
43
+ */
44
+ "percentComplete": number;
45
+ /**
46
+ * The date and time the work request was created, in the format defined by
47
+ * [RFC 3339](https://tools.ietf.org/html/rfc3339).
48
+ *
49
+ */
50
+ "timeAccepted": Date;
51
+ /**
52
+ * The date and time the work request was started, in the format defined by
53
+ * [RFC 3339](https://tools.ietf.org/html/rfc3339).
54
+ *
55
+ */
56
+ "timeStarted"?: Date;
57
+ /**
58
+ * The date and time the work request was finished, in the format defined by
59
+ * [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
60
+ *
61
+ */
62
+ "timeFinished"?: Date;
63
+ /**
64
+ * The date and time the work request was updated, in the format defined by
65
+ * [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
66
+ *
67
+ */
68
+ "timeUpdated"?: Date;
69
+ }
70
+ export declare namespace WorkRequestSummary {
71
+ function getJsonObj(obj: WorkRequestSummary): object;
72
+ function getDeserializedJsonObj(obj: WorkRequestSummary): object;
73
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Zero Trust Packet Routing Control Plane API
4
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
5
+ * OpenAPI spec version: 20240301
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.WorkRequestSummary = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var WorkRequestSummary;
37
+ (function (WorkRequestSummary) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "resources": obj.resources
41
+ ? obj.resources.map(item => {
42
+ return model.WorkRequestResource.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ WorkRequestSummary.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "resources": obj.resources
52
+ ? obj.resources.map(item => {
53
+ return model.WorkRequestResource.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ WorkRequestSummary.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(WorkRequestSummary = exports.WorkRequestSummary || (exports.WorkRequestSummary = {}));
61
+ //# sourceMappingURL=work-request-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-summary.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/model/work-request-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4DlC,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"}
@@ -0,0 +1,76 @@
1
+ /**
2
+ * Zero Trust Packet Routing Control Plane API
3
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
4
+ * OpenAPI spec version: 20240301
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation,
16
+ * the service creates a work request. A work request is an activity log that lets you track each step in the operation's
17
+ * progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.
18
+ *
19
+ */
20
+ export interface WorkRequest {
21
+ /**
22
+ * The asynchronous operation tracked by this work request.
23
+ */
24
+ "operationType": model.OperationType;
25
+ /**
26
+ * The status of the work request.
27
+ */
28
+ "status": model.WorkRequestStatus;
29
+ /**
30
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
31
+ */
32
+ "id": string;
33
+ /**
34
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
35
+ *
36
+ */
37
+ "compartmentId": string;
38
+ /**
39
+ * The resources that are affected by the work request.
40
+ */
41
+ "resources": Array<model.WorkRequestResource>;
42
+ /**
43
+ * Shows the progress of the operation tracked by the work request, as a percentage of the total work
44
+ * that must be performed.
45
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
46
+ */
47
+ "percentComplete": number;
48
+ /**
49
+ * The date and time the work request was created, in the format defined by
50
+ * [RFC 3339](https://tools.ietf.org/html/rfc3339).
51
+ *
52
+ */
53
+ "timeAccepted": Date;
54
+ /**
55
+ * The date and time the work request was started, in the format defined by
56
+ * [RFC 3339](https://tools.ietf.org/html/rfc3339).
57
+ *
58
+ */
59
+ "timeStarted"?: Date;
60
+ /**
61
+ * The date and time the work request was finished, in the format defined by
62
+ * [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
63
+ *
64
+ */
65
+ "timeFinished"?: Date;
66
+ /**
67
+ * The date and time the work request was updated, in the format defined by
68
+ * [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
69
+ *
70
+ */
71
+ "timeUpdated": Date;
72
+ }
73
+ export declare namespace WorkRequest {
74
+ function getJsonObj(obj: WorkRequest): object;
75
+ function getDeserializedJsonObj(obj: WorkRequest): object;
76
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Zero Trust Packet Routing Control Plane API
4
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
5
+ * OpenAPI spec version: 20240301
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.WorkRequest = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var WorkRequest;
37
+ (function (WorkRequest) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "resources": obj.resources
41
+ ? obj.resources.map(item => {
42
+ return model.WorkRequestResource.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ WorkRequest.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "resources": obj.resources
52
+ ? obj.resources.map(item => {
53
+ return model.WorkRequestResource.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ WorkRequest.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(WorkRequest = exports.WorkRequest || (exports.WorkRequest = {}));
61
+ //# sourceMappingURL=work-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/model/work-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+DlC,IAAiB,WAAW,CA6B3B;AA7BD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QA6B3B"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Zero Trust Packet Routing Control Plane API
3
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
4
+ * OpenAPI spec version: 20240301
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Results of a zprPolicy search. Contains both ZprPolicySummary items and other information, such as metadata.
16
+ */
17
+ export interface ZprPolicyCollection {
18
+ /**
19
+ * List of zprPolicies.
20
+ */
21
+ "items": Array<model.ZprPolicySummary>;
22
+ }
23
+ export declare namespace ZprPolicyCollection {
24
+ function getJsonObj(obj: ZprPolicyCollection): object;
25
+ function getDeserializedJsonObj(obj: ZprPolicyCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Zero Trust Packet Routing Control Plane API
4
+ * Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
5
+ * OpenAPI spec version: 20240301
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.ZprPolicyCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ZprPolicyCollection;
37
+ (function (ZprPolicyCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.ZprPolicySummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ ZprPolicyCollection.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.ZprPolicySummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ ZprPolicyCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(ZprPolicyCollection = exports.ZprPolicyCollection || (exports.ZprPolicyCollection = {}));
61
+ //# sourceMappingURL=zpr-policy-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zpr-policy-collection.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/model/zpr-policy-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,mBAAmB,CA6BnC;AA7BD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,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,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,8BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,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,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA6BnC"}