oci-resourcescheduler 2.86.3

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 (182) 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 +215 -0
  9. package/lib/client.js +1060 -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/compartment-id-resource-filter.d.ts +32 -0
  15. package/lib/model/compartment-id-resource-filter.js +54 -0
  16. package/lib/model/compartment-id-resource-filter.js.map +1 -0
  17. package/lib/model/create-schedule-details.d.ts +100 -0
  18. package/lib/model/create-schedule-details.js +81 -0
  19. package/lib/model/create-schedule-details.js.map +1 -0
  20. package/lib/model/defined-tag-filter-value.d.ts +33 -0
  21. package/lib/model/defined-tag-filter-value.js +29 -0
  22. package/lib/model/defined-tag-filter-value.js.map +1 -0
  23. package/lib/model/defined-tags-resource-filter.d.ts +28 -0
  24. package/lib/model/defined-tags-resource-filter.js +66 -0
  25. package/lib/model/defined-tags-resource-filter.js.map +1 -0
  26. package/lib/model/index.d.ts +66 -0
  27. package/lib/model/index.js +89 -0
  28. package/lib/model/index.js.map +1 -0
  29. package/lib/model/lifecycle-state-resource-filter.d.ts +28 -0
  30. package/lib/model/lifecycle-state-resource-filter.js +54 -0
  31. package/lib/model/lifecycle-state-resource-filter.js.map +1 -0
  32. package/lib/model/operation-status.d.ts +34 -0
  33. package/lib/model/operation-status.js +45 -0
  34. package/lib/model/operation-status.js.map +1 -0
  35. package/lib/model/operation-type.d.ts +31 -0
  36. package/lib/model/operation-type.js +42 -0
  37. package/lib/model/operation-type.js.map +1 -0
  38. package/lib/model/resource-filter.d.ts +22 -0
  39. package/lib/model/resource-filter.js +84 -0
  40. package/lib/model/resource-filter.js.map +1 -0
  41. package/lib/model/resource-type-collection.d.ts +27 -0
  42. package/lib/model/resource-type-collection.js +61 -0
  43. package/lib/model/resource-type-collection.js.map +1 -0
  44. package/lib/model/resource-type-resource-filter.d.ts +28 -0
  45. package/lib/model/resource-type-resource-filter.js +54 -0
  46. package/lib/model/resource-type-resource-filter.js.map +1 -0
  47. package/lib/model/resource-type.d.ts +27 -0
  48. package/lib/model/resource-type.js +29 -0
  49. package/lib/model/resource-type.js.map +1 -0
  50. package/lib/model/resource.d.ts +42 -0
  51. package/lib/model/resource.js +29 -0
  52. package/lib/model/resource.js.map +1 -0
  53. package/lib/model/schedule-collection.d.ts +26 -0
  54. package/lib/model/schedule-collection.js +61 -0
  55. package/lib/model/schedule-collection.js.map +1 -0
  56. package/lib/model/schedule-summary.d.ts +161 -0
  57. package/lib/model/schedule-summary.js +91 -0
  58. package/lib/model/schedule-summary.js.map +1 -0
  59. package/lib/model/schedule.d.ts +177 -0
  60. package/lib/model/schedule.js +106 -0
  61. package/lib/model/schedule.js.map +1 -0
  62. package/lib/model/sort-order.d.ts +25 -0
  63. package/lib/model/sort-order.js +36 -0
  64. package/lib/model/sort-order.js.map +1 -0
  65. package/lib/model/time-created-resource-filter.d.ts +42 -0
  66. package/lib/model/time-created-resource-filter.js +65 -0
  67. package/lib/model/time-created-resource-filter.js.map +1 -0
  68. package/lib/model/update-schedule-details.d.ts +96 -0
  69. package/lib/model/update-schedule-details.js +81 -0
  70. package/lib/model/update-schedule-details.js.map +1 -0
  71. package/lib/model/work-request-error-collection.d.ts +26 -0
  72. package/lib/model/work-request-error-collection.js +61 -0
  73. package/lib/model/work-request-error-collection.js.map +1 -0
  74. package/lib/model/work-request-error.d.ts +37 -0
  75. package/lib/model/work-request-error.js +29 -0
  76. package/lib/model/work-request-error.js.map +1 -0
  77. package/lib/model/work-request-log-entry-collection.d.ts +26 -0
  78. package/lib/model/work-request-log-entry-collection.js +61 -0
  79. package/lib/model/work-request-log-entry-collection.js.map +1 -0
  80. package/lib/model/work-request-log-entry.d.ts +31 -0
  81. package/lib/model/work-request-log-entry.js +29 -0
  82. package/lib/model/work-request-log-entry.js.map +1 -0
  83. package/lib/model/work-request-resource.d.ts +42 -0
  84. package/lib/model/work-request-resource.js +29 -0
  85. package/lib/model/work-request-resource.js.map +1 -0
  86. package/lib/model/work-request-summary-collection.d.ts +26 -0
  87. package/lib/model/work-request-summary-collection.js +61 -0
  88. package/lib/model/work-request-summary-collection.js.map +1 -0
  89. package/lib/model/work-request-summary.d.ts +73 -0
  90. package/lib/model/work-request-summary.js +61 -0
  91. package/lib/model/work-request-summary.js.map +1 -0
  92. package/lib/model/work-request.d.ts +76 -0
  93. package/lib/model/work-request.js +61 -0
  94. package/lib/model/work-request.js.map +1 -0
  95. package/lib/request/activate-schedule-request.d.ts +47 -0
  96. package/lib/request/activate-schedule-request.js +15 -0
  97. package/lib/request/activate-schedule-request.js.map +1 -0
  98. package/lib/request/cancel-work-request-request.d.ts +38 -0
  99. package/lib/request/cancel-work-request-request.js +15 -0
  100. package/lib/request/cancel-work-request-request.js.map +1 -0
  101. package/lib/request/create-schedule-request.d.ts +40 -0
  102. package/lib/request/create-schedule-request.js +15 -0
  103. package/lib/request/create-schedule-request.js.map +1 -0
  104. package/lib/request/deactivate-schedule-request.d.ts +47 -0
  105. package/lib/request/deactivate-schedule-request.js +15 -0
  106. package/lib/request/deactivate-schedule-request.js.map +1 -0
  107. package/lib/request/delete-schedule-request.d.ts +38 -0
  108. package/lib/request/delete-schedule-request.js +15 -0
  109. package/lib/request/delete-schedule-request.js.map +1 -0
  110. package/lib/request/get-schedule-request.d.ts +30 -0
  111. package/lib/request/get-schedule-request.js +15 -0
  112. package/lib/request/get-schedule-request.js.map +1 -0
  113. package/lib/request/get-work-request-request.d.ts +30 -0
  114. package/lib/request/get-work-request-request.js +15 -0
  115. package/lib/request/get-work-request-request.js.map +1 -0
  116. package/lib/request/index.d.ts +38 -0
  117. package/lib/request/index.js +43 -0
  118. package/lib/request/index.js.map +1 -0
  119. package/lib/request/list-resource-types-request.d.ts +44 -0
  120. package/lib/request/list-resource-types-request.js +15 -0
  121. package/lib/request/list-resource-types-request.js.map +1 -0
  122. package/lib/request/list-schedules-request.d.ts +77 -0
  123. package/lib/request/list-schedules-request.js +26 -0
  124. package/lib/request/list-schedules-request.js.map +1 -0
  125. package/lib/request/list-work-request-errors-request.d.ts +59 -0
  126. package/lib/request/list-work-request-errors-request.js +23 -0
  127. package/lib/request/list-work-request-errors-request.js.map +1 -0
  128. package/lib/request/list-work-request-logs-request.d.ts +59 -0
  129. package/lib/request/list-work-request-logs-request.js +23 -0
  130. package/lib/request/list-work-request-logs-request.js.map +1 -0
  131. package/lib/request/list-work-requests-request.d.ts +75 -0
  132. package/lib/request/list-work-requests-request.js +23 -0
  133. package/lib/request/list-work-requests-request.js.map +1 -0
  134. package/lib/request/update-schedule-request.d.ts +43 -0
  135. package/lib/request/update-schedule-request.js +15 -0
  136. package/lib/request/update-schedule-request.js.map +1 -0
  137. package/lib/response/activate-schedule-response.d.ts +30 -0
  138. package/lib/response/activate-schedule-response.js +15 -0
  139. package/lib/response/activate-schedule-response.js.map +1 -0
  140. package/lib/response/cancel-work-request-response.d.ts +20 -0
  141. package/lib/response/cancel-work-request-response.js +15 -0
  142. package/lib/response/cancel-work-request-response.js.map +1 -0
  143. package/lib/response/create-schedule-response.d.ts +44 -0
  144. package/lib/response/create-schedule-response.js +15 -0
  145. package/lib/response/create-schedule-response.js.map +1 -0
  146. package/lib/response/deactivate-schedule-response.d.ts +30 -0
  147. package/lib/response/deactivate-schedule-response.js +15 -0
  148. package/lib/response/deactivate-schedule-response.js.map +1 -0
  149. package/lib/response/delete-schedule-response.d.ts +20 -0
  150. package/lib/response/delete-schedule-response.js +15 -0
  151. package/lib/response/delete-schedule-response.js.map +1 -0
  152. package/lib/response/get-schedule-response.d.ts +30 -0
  153. package/lib/response/get-schedule-response.js +15 -0
  154. package/lib/response/get-schedule-response.js.map +1 -0
  155. package/lib/response/get-work-request-response.d.ts +34 -0
  156. package/lib/response/get-work-request-response.js +15 -0
  157. package/lib/response/get-work-request-response.js.map +1 -0
  158. package/lib/response/index.d.ts +38 -0
  159. package/lib/response/index.js +15 -0
  160. package/lib/response/index.js.map +1 -0
  161. package/lib/response/list-resource-types-response.d.ts +31 -0
  162. package/lib/response/list-resource-types-response.js +15 -0
  163. package/lib/response/list-resource-types-response.js.map +1 -0
  164. package/lib/response/list-schedules-response.d.ts +31 -0
  165. package/lib/response/list-schedules-response.js +15 -0
  166. package/lib/response/list-schedules-response.js.map +1 -0
  167. package/lib/response/list-work-request-errors-response.d.ts +31 -0
  168. package/lib/response/list-work-request-errors-response.js +15 -0
  169. package/lib/response/list-work-request-errors-response.js.map +1 -0
  170. package/lib/response/list-work-request-logs-response.d.ts +31 -0
  171. package/lib/response/list-work-request-logs-response.js +15 -0
  172. package/lib/response/list-work-request-logs-response.js.map +1 -0
  173. package/lib/response/list-work-requests-response.d.ts +31 -0
  174. package/lib/response/list-work-requests-response.js +15 -0
  175. package/lib/response/list-work-requests-response.js.map +1 -0
  176. package/lib/response/update-schedule-response.d.ts +26 -0
  177. package/lib/response/update-schedule-response.js +15 -0
  178. package/lib/response/update-schedule-response.js.map +1 -0
  179. package/lib/schedule-waiter.d.ts +36 -0
  180. package/lib/schedule-waiter.js +76 -0
  181. package/lib/schedule-waiter.js.map +1 -0
  182. package/package.json +29 -0
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Resource Scheduler API
3
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
4
+ * OpenAPI spec version: 20240430
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
+ * This is a list of work request errors. Can contain both errors and other information, such as metadata.
16
+ */
17
+ export interface WorkRequestErrorCollection {
18
+ /**
19
+ * This is a list of work request errors.
20
+ */
21
+ "items": Array<model.WorkRequestError>;
22
+ }
23
+ export declare namespace WorkRequestErrorCollection {
24
+ function getJsonObj(obj: WorkRequestErrorCollection): object;
25
+ function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Resource Scheduler API
4
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
5
+ * OpenAPI spec version: 20240430
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.WorkRequestErrorCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var WorkRequestErrorCollection;
37
+ (function (WorkRequestErrorCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.WorkRequestError.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ WorkRequestErrorCollection.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.WorkRequestError.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ WorkRequestErrorCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(WorkRequestErrorCollection = exports.WorkRequestErrorCollection || (exports.WorkRequestErrorCollection = {}));
61
+ //# sourceMappingURL=work-request-error-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-error-collection.js","sourceRoot":"","sources":["../../../../../lib/resourcescheduler/lib/model/work-request-error-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,0BAA0B,CA6B1C;AA7BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,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,qCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,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,iDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA6B1C"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Resource Scheduler API
3
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
4
+ * OpenAPI spec version: 20240430
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
+ * This is an error encountered while performing an operation that is tracked by a work request.
15
+ */
16
+ export interface WorkRequestError {
17
+ /**
18
+ * A machine-usable code for the error that occurred. For a list of error codes, see
19
+ * [API Errors](https://docs.cloud.oracle.com/iaas/Content/API/References/apierrors.htm).
20
+ *
21
+ */
22
+ "code": string;
23
+ /**
24
+ * This is a human-readable error message.
25
+ */
26
+ "message": string;
27
+ /**
28
+ * This is the date and time the error occurred, in the format defined by
29
+ * [RFC 3339](https://tools.ietf.org/html/rfc3339).
30
+ *
31
+ */
32
+ "timestamp": Date;
33
+ }
34
+ export declare namespace WorkRequestError {
35
+ function getJsonObj(obj: WorkRequestError): object;
36
+ function getDeserializedJsonObj(obj: WorkRequestError): object;
37
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Resource Scheduler API
4
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
5
+ * OpenAPI spec version: 20240430
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.WorkRequestError = void 0;
16
+ var WorkRequestError;
17
+ (function (WorkRequestError) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ WorkRequestError.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ WorkRequestError.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(WorkRequestError = exports.WorkRequestError || (exports.WorkRequestError = {}));
29
+ //# sourceMappingURL=work-request-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-error.js","sourceRoot":"","sources":["../../../../../lib/resourcescheduler/lib/model/work-request-error.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2BH,IAAiB,gBAAgB,CAWhC;AAXD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAWhC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Resource Scheduler API
3
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
4
+ * OpenAPI spec version: 20240430
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
+ * This is a list of work request logs. Can contain both logs and other information, such as metadata.
16
+ */
17
+ export interface WorkRequestLogEntryCollection {
18
+ /**
19
+ * This is a list of work request log entries.
20
+ */
21
+ "items": Array<model.WorkRequestLogEntry>;
22
+ }
23
+ export declare namespace WorkRequestLogEntryCollection {
24
+ function getJsonObj(obj: WorkRequestLogEntryCollection): object;
25
+ function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Resource Scheduler API
4
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
5
+ * OpenAPI spec version: 20240430
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.WorkRequestLogEntryCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var WorkRequestLogEntryCollection;
37
+ (function (WorkRequestLogEntryCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.WorkRequestLogEntry.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ WorkRequestLogEntryCollection.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.WorkRequestLogEntry.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ WorkRequestLogEntryCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(WorkRequestLogEntryCollection = exports.WorkRequestLogEntryCollection || (exports.WorkRequestLogEntryCollection = {}));
61
+ //# sourceMappingURL=work-request-log-entry-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-log-entry-collection.js","sourceRoot":"","sources":["../../../../../lib/resourcescheduler/lib/model/work-request-log-entry-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,6BAA6B,CA6B7C;AA7BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,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,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,wCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,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,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,oDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA6B7C"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Resource Scheduler API
3
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
4
+ * OpenAPI spec version: 20240430
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
+ * This is a log message from performing an operation that is tracked by a work request.
15
+ */
16
+ export interface WorkRequestLogEntry {
17
+ /**
18
+ * This is a human-readable log message.
19
+ */
20
+ "message": string;
21
+ /**
22
+ * This is the date and time the log message was written, in the format defined by
23
+ * [RFC 3339](https://tools.ietf.org/html/rfc3339).
24
+ *
25
+ */
26
+ "timestamp": Date;
27
+ }
28
+ export declare namespace WorkRequestLogEntry {
29
+ function getJsonObj(obj: WorkRequestLogEntry): object;
30
+ function getDeserializedJsonObj(obj: WorkRequestLogEntry): object;
31
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Resource Scheduler API
4
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
5
+ * OpenAPI spec version: 20240430
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.WorkRequestLogEntry = void 0;
16
+ var WorkRequestLogEntry;
17
+ (function (WorkRequestLogEntry) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ WorkRequestLogEntry.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ WorkRequestLogEntry.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(WorkRequestLogEntry = exports.WorkRequestLogEntry || (exports.WorkRequestLogEntry = {}));
29
+ //# sourceMappingURL=work-request-log-entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-request-log-entry.js","sourceRoot":"","sources":["../../../../../lib/resourcescheduler/lib/model/work-request-log-entry.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAqBH,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,42 @@
1
+ /**
2
+ * Resource Scheduler API
3
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
4
+ * OpenAPI spec version: 20240430
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
+ * This is a resource created or operated on by a work request.
16
+ */
17
+ export interface WorkRequestResource {
18
+ /**
19
+ * This is 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
+ * This is 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
+ * This is the URI path that you can use for a GET request to access the resource metadata.
36
+ */
37
+ "entityUri"?: string;
38
+ }
39
+ export declare namespace WorkRequestResource {
40
+ function getJsonObj(obj: WorkRequestResource): object;
41
+ function getDeserializedJsonObj(obj: WorkRequestResource): object;
42
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Resource Scheduler API
4
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
5
+ * OpenAPI spec version: 20240430
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/resourcescheduler/lib/model/work-request-resource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA+BH,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,26 @@
1
+ /**
2
+ * Resource Scheduler API
3
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
4
+ * OpenAPI spec version: 20240430
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
+ * This is a list of work requests. Can contain both work requests and other information, such as metadata.
16
+ */
17
+ export interface WorkRequestSummaryCollection {
18
+ /**
19
+ * This is 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
+ * Resource Scheduler API
4
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
5
+ * OpenAPI spec version: 20240430
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/resourcescheduler/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
+ * Resource Scheduler API
3
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
4
+ * OpenAPI spec version: 20240430
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
+ * This is the summary information about an asynchronous work request.
16
+ */
17
+ export interface WorkRequestSummary {
18
+ /**
19
+ * This is the asynchronous operation tracked by this work request.
20
+ */
21
+ "operationType"?: model.OperationType;
22
+ /**
23
+ * This is the status of the work request.
24
+ */
25
+ "status": model.OperationStatus;
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
+ * This is 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
+ * This is 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
+ * This is 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
+ * This is 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
+ * Resource Scheduler API
4
+ * Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
5
+ * OpenAPI spec version: 20240430
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/resourcescheduler/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"}