oci-demandsignal 2.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) 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 +160 -0
  9. package/lib/client.js +669 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/change-occ-demand-signal-compartment-details.d.ts +26 -0
  12. package/lib/model/change-occ-demand-signal-compartment-details.js +29 -0
  13. package/lib/model/change-occ-demand-signal-compartment-details.js.map +1 -0
  14. package/lib/model/create-occ-demand-signal-details.d.ts +61 -0
  15. package/lib/model/create-occ-demand-signal-details.js +61 -0
  16. package/lib/model/create-occ-demand-signal-details.js.map +1 -0
  17. package/lib/model/index.d.ts +50 -0
  18. package/lib/model/index.js +73 -0
  19. package/lib/model/index.js.map +1 -0
  20. package/lib/model/occ-demand-signal-collection.d.ts +26 -0
  21. package/lib/model/occ-demand-signal-collection.js +61 -0
  22. package/lib/model/occ-demand-signal-collection.js.map +1 -0
  23. package/lib/model/occ-demand-signal-data.d.ts +34 -0
  24. package/lib/model/occ-demand-signal-data.js +61 -0
  25. package/lib/model/occ-demand-signal-data.js.map +1 -0
  26. package/lib/model/occ-demand-signal-summary.d.ts +93 -0
  27. package/lib/model/occ-demand-signal-summary.js +29 -0
  28. package/lib/model/occ-demand-signal-summary.js.map +1 -0
  29. package/lib/model/occ-demand-signal-value.d.ts +33 -0
  30. package/lib/model/occ-demand-signal-value.js +29 -0
  31. package/lib/model/occ-demand-signal-value.js.map +1 -0
  32. package/lib/model/occ-demand-signal.d.ts +117 -0
  33. package/lib/model/occ-demand-signal.js +75 -0
  34. package/lib/model/occ-demand-signal.js.map +1 -0
  35. package/lib/model/patch-insert-instruction.d.ts +44 -0
  36. package/lib/model/patch-insert-instruction.js +59 -0
  37. package/lib/model/patch-insert-instruction.js.map +1 -0
  38. package/lib/model/patch-insert-multiple-instruction.d.ts +44 -0
  39. package/lib/model/patch-insert-multiple-instruction.js +59 -0
  40. package/lib/model/patch-insert-multiple-instruction.js.map +1 -0
  41. package/lib/model/patch-instruction.d.ts +29 -0
  42. package/lib/model/patch-instruction.js +96 -0
  43. package/lib/model/patch-instruction.js.map +1 -0
  44. package/lib/model/patch-merge-instruction.d.ts +35 -0
  45. package/lib/model/patch-merge-instruction.js +54 -0
  46. package/lib/model/patch-merge-instruction.js.map +1 -0
  47. package/lib/model/patch-move-instruction.d.ts +44 -0
  48. package/lib/model/patch-move-instruction.js +58 -0
  49. package/lib/model/patch-move-instruction.js.map +1 -0
  50. package/lib/model/patch-occ-demand-signal-details.d.ts +26 -0
  51. package/lib/model/patch-occ-demand-signal-details.js +61 -0
  52. package/lib/model/patch-occ-demand-signal-details.js.map +1 -0
  53. package/lib/model/patch-prohibit-instruction.d.ts +35 -0
  54. package/lib/model/patch-prohibit-instruction.js +54 -0
  55. package/lib/model/patch-prohibit-instruction.js.map +1 -0
  56. package/lib/model/patch-remove-instruction.d.ts +26 -0
  57. package/lib/model/patch-remove-instruction.js +54 -0
  58. package/lib/model/patch-remove-instruction.js.map +1 -0
  59. package/lib/model/patch-replace-instruction.d.ts +32 -0
  60. package/lib/model/patch-replace-instruction.js +54 -0
  61. package/lib/model/patch-replace-instruction.js.map +1 -0
  62. package/lib/model/patch-require-instruction.d.ts +34 -0
  63. package/lib/model/patch-require-instruction.js +54 -0
  64. package/lib/model/patch-require-instruction.js.map +1 -0
  65. package/lib/model/sort-order.d.ts +30 -0
  66. package/lib/model/sort-order.js +41 -0
  67. package/lib/model/sort-order.js.map +1 -0
  68. package/lib/model/update-occ-demand-signal-details.d.ts +51 -0
  69. package/lib/model/update-occ-demand-signal-details.js +29 -0
  70. package/lib/model/update-occ-demand-signal-details.js.map +1 -0
  71. package/lib/occdemandsignal-waiter.d.ts +29 -0
  72. package/lib/occdemandsignal-waiter.js +65 -0
  73. package/lib/occdemandsignal-waiter.js.map +1 -0
  74. package/lib/request/change-occ-demand-signal-compartment-request.d.ts +43 -0
  75. package/lib/request/change-occ-demand-signal-compartment-request.js +15 -0
  76. package/lib/request/change-occ-demand-signal-compartment-request.js.map +1 -0
  77. package/lib/request/create-occ-demand-signal-request.d.ts +40 -0
  78. package/lib/request/create-occ-demand-signal-request.js +15 -0
  79. package/lib/request/create-occ-demand-signal-request.js.map +1 -0
  80. package/lib/request/delete-occ-demand-signal-request.d.ts +38 -0
  81. package/lib/request/delete-occ-demand-signal-request.js +15 -0
  82. package/lib/request/delete-occ-demand-signal-request.js.map +1 -0
  83. package/lib/request/get-occ-demand-signal-request.d.ts +30 -0
  84. package/lib/request/get-occ-demand-signal-request.js +15 -0
  85. package/lib/request/get-occ-demand-signal-request.js.map +1 -0
  86. package/lib/request/index.d.ts +26 -0
  87. package/lib/request/index.js +37 -0
  88. package/lib/request/index.js.map +1 -0
  89. package/lib/request/list-occ-demand-signals-request.d.ts +75 -0
  90. package/lib/request/list-occ-demand-signals-request.js +24 -0
  91. package/lib/request/list-occ-demand-signals-request.js.map +1 -0
  92. package/lib/request/patch-occ-demand-signal-request.d.ts +43 -0
  93. package/lib/request/patch-occ-demand-signal-request.js +15 -0
  94. package/lib/request/patch-occ-demand-signal-request.js.map +1 -0
  95. package/lib/request/update-occ-demand-signal-request.d.ts +43 -0
  96. package/lib/request/update-occ-demand-signal-request.js +15 -0
  97. package/lib/request/update-occ-demand-signal-request.js.map +1 -0
  98. package/lib/response/change-occ-demand-signal-compartment-response.d.ts +26 -0
  99. package/lib/response/change-occ-demand-signal-compartment-response.js +15 -0
  100. package/lib/response/change-occ-demand-signal-compartment-response.js.map +1 -0
  101. package/lib/response/create-occ-demand-signal-response.d.ts +34 -0
  102. package/lib/response/create-occ-demand-signal-response.js +15 -0
  103. package/lib/response/create-occ-demand-signal-response.js.map +1 -0
  104. package/lib/response/delete-occ-demand-signal-response.d.ts +26 -0
  105. package/lib/response/delete-occ-demand-signal-response.js +15 -0
  106. package/lib/response/delete-occ-demand-signal-response.js.map +1 -0
  107. package/lib/response/get-occ-demand-signal-response.d.ts +30 -0
  108. package/lib/response/get-occ-demand-signal-response.js +15 -0
  109. package/lib/response/get-occ-demand-signal-response.js.map +1 -0
  110. package/lib/response/index.d.ts +26 -0
  111. package/lib/response/index.js +15 -0
  112. package/lib/response/index.js.map +1 -0
  113. package/lib/response/list-occ-demand-signals-response.d.ts +31 -0
  114. package/lib/response/list-occ-demand-signals-response.js +15 -0
  115. package/lib/response/list-occ-demand-signals-response.js.map +1 -0
  116. package/lib/response/patch-occ-demand-signal-response.d.ts +34 -0
  117. package/lib/response/patch-occ-demand-signal-response.js +15 -0
  118. package/lib/response/patch-occ-demand-signal-response.js.map +1 -0
  119. package/lib/response/update-occ-demand-signal-response.d.ts +34 -0
  120. package/lib/response/update-occ-demand-signal-response.js +15 -0
  121. package/lib/response/update-occ-demand-signal-response.js.map +1 -0
  122. package/package.json +29 -0
@@ -0,0 +1,35 @@
1
+ /**
2
+ * OCI Control Center Demand Signal API
3
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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
+ * An operation that recursively updates items of the selection, or adding the value if the selection is empty.
16
+ * If the value is not an object, it is used directly, otherwise each key-value member is used
17
+ * to create or update a member of the same name in the target and the same process is applied recursively for each object-typed value
18
+ * (similar to [RFC 7396](https://tools.ietf.org/html/rfc7396#section-2) JSON Merge Patch, except that null values are copied
19
+ * rather than transformed into deletions).
20
+ * NOT_FOUND exceptions are handled by creating the implied containing structure.
21
+ * To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.
22
+ *
23
+ */
24
+ export interface PatchMergeInstruction extends model.PatchInstruction {
25
+ /**
26
+ * A value to be merged into the target.
27
+ */
28
+ "value"?: any;
29
+ "operation": string;
30
+ }
31
+ export declare namespace PatchMergeInstruction {
32
+ function getJsonObj(obj: PatchMergeInstruction, isParentJsonObj?: boolean): object;
33
+ const operation = "MERGE";
34
+ function getDeserializedJsonObj(obj: PatchMergeInstruction, isParentJsonObj?: boolean): object;
35
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * OCI Control Center Demand Signal API
4
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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.PatchMergeInstruction = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var PatchMergeInstruction;
37
+ (function (PatchMergeInstruction) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.PatchInstruction.getJsonObj(obj))), {});
42
+ return jsonObj;
43
+ }
44
+ PatchMergeInstruction.getJsonObj = getJsonObj;
45
+ PatchMergeInstruction.operation = "MERGE";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
48
+ ? obj
49
+ : model.PatchInstruction.getDeserializedJsonObj(obj))), {});
50
+ return jsonObj;
51
+ }
52
+ PatchMergeInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(PatchMergeInstruction = exports.PatchMergeInstruction || (exports.PatchMergeInstruction = {}));
54
+ //# sourceMappingURL=patch-merge-instruction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patch-merge-instruction.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/model/patch-merge-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsBlC,IAAiB,qBAAqB,CAyBrC;AAzBD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B,EAAE,eAAyB;QAC9E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAA2B,CAAC,GACnE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,gCAAU,aASzB,CAAA;IACY,+BAAS,GAAG,OAAO,CAAC;IACjC,SAAgB,sBAAsB,CACpC,GAA0B,EAC1B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAA2B,CAAC,GAC/E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,4CAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAyBrC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * OCI Control Center Demand Signal API
3
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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
+ * An operation that \"puts\" values from elsewhere in the target, functionally equivalent to a single add and then a remove.
16
+ * The first item of the selection is replaced, or created if the selection is empty.
17
+ * NOT_FOUND exceptions in the selection are handled by creating the implied containing structure.
18
+ * This operation fails if the {@code from} selection yields any exceptions, or if an item is moved to any of its descendants.
19
+ *
20
+ */
21
+ export interface PatchMoveInstruction extends model.PatchInstruction {
22
+ /**
23
+ * The selection that is to be moved, with the same format and semantics as {@code selection}.
24
+ */
25
+ "from": string;
26
+ /**
27
+ * Where to insert the value in an array, relative to the first item in the selection.
28
+ * If there is no such item, then \"BEFORE\" specifies insertion at the first position in an array and \"AFTER\" specifies insertion at the last position.
29
+ * If the first item in the selection is not the child of an array, then this field has no effect.
30
+ *
31
+ */
32
+ "position"?: PatchMoveInstruction.Position;
33
+ "operation": string;
34
+ }
35
+ export declare namespace PatchMoveInstruction {
36
+ enum Position {
37
+ At = "AT",
38
+ Before = "BEFORE",
39
+ After = "AFTER"
40
+ }
41
+ function getJsonObj(obj: PatchMoveInstruction, isParentJsonObj?: boolean): object;
42
+ const operation = "MOVE";
43
+ function getDeserializedJsonObj(obj: PatchMoveInstruction, isParentJsonObj?: boolean): object;
44
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * OCI Control Center Demand Signal API
4
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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.PatchMoveInstruction = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var PatchMoveInstruction;
37
+ (function (PatchMoveInstruction) {
38
+ let Position;
39
+ (function (Position) {
40
+ Position["At"] = "AT";
41
+ Position["Before"] = "BEFORE";
42
+ Position["After"] = "AFTER";
43
+ })(Position = PatchMoveInstruction.Position || (PatchMoveInstruction.Position = {}));
44
+ function getJsonObj(obj, isParentJsonObj) {
45
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.PatchInstruction.getJsonObj(obj))), {});
46
+ return jsonObj;
47
+ }
48
+ PatchMoveInstruction.getJsonObj = getJsonObj;
49
+ PatchMoveInstruction.operation = "MOVE";
50
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
51
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
52
+ ? obj
53
+ : model.PatchInstruction.getDeserializedJsonObj(obj))), {});
54
+ return jsonObj;
55
+ }
56
+ PatchMoveInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
57
+ })(PatchMoveInstruction = exports.PatchMoveInstruction || (exports.PatchMoveInstruction = {}));
58
+ //# sourceMappingURL=patch-move-instruction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patch-move-instruction.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/model/patch-move-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0BlC,IAAiB,oBAAoB,CA6BpC;AA7BD,WAAiB,oBAAoB;IACnC,IAAY,QAIX;IAJD,WAAY,QAAQ;QAClB,qBAAS,CAAA;QACT,6BAAiB,CAAA;QACjB,2BAAe,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,6BAAQ,KAAR,6BAAQ,QAInB;IAED,SAAgB,UAAU,CAAC,GAAyB,EAAE,eAAyB;QAC7E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAA0B,CAAC,GAC1F,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,+BAAU,aAOzB,CAAA;IACY,8BAAS,GAAG,MAAM,CAAC;IAChC,SAAgB,sBAAsB,CACpC,GAAyB,EACzB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAA0B,CAAC,GAC9E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,2CAAsB,yBAYrC,CAAA;AACH,CAAC,EA7BgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QA6BpC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * OCI Control Center Demand Signal API
3
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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
+ * Demand Signal details to patch.
16
+ */
17
+ export interface PatchOccDemandSignalDetails {
18
+ /**
19
+ * List of patch instructions.
20
+ */
21
+ "items"?: Array<model.PatchInstruction>;
22
+ }
23
+ export declare namespace PatchOccDemandSignalDetails {
24
+ function getJsonObj(obj: PatchOccDemandSignalDetails): object;
25
+ function getDeserializedJsonObj(obj: PatchOccDemandSignalDetails): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * OCI Control Center Demand Signal API
4
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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.PatchOccDemandSignalDetails = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var PatchOccDemandSignalDetails;
37
+ (function (PatchOccDemandSignalDetails) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.PatchInstruction.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ PatchOccDemandSignalDetails.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.PatchInstruction.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ PatchOccDemandSignalDetails.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(PatchOccDemandSignalDetails = exports.PatchOccDemandSignalDetails || (exports.PatchOccDemandSignalDetails = {}));
61
+ //# sourceMappingURL=patch-occ-demand-signal-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patch-occ-demand-signal-details.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/model/patch-occ-demand-signal-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,2BAA2B,CA6B3C;AA7BD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,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,sCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,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,kDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QA6B3C"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * OCI Control Center Demand Signal API
3
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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
+ * A precondition operation that requires a selection to be empty, or optionally to be non-empty but include no item with a specified value
16
+ * (useful for asserting that a value does not exist before attempting to create it, avoiding accidental update).
17
+ * It fails if value is provided and the selection includes an item matching it, or if value is not provided and the selection is not empty,
18
+ * but ignores NOT_FOUND exceptions.
19
+ *
20
+ */
21
+ export interface PatchProhibitInstruction extends model.PatchInstruction {
22
+ /**
23
+ * A value to be compared against each item of the selection.
24
+ * If this value is an object, then it matches any item that would be unaffected by applying this value as a merge operation.
25
+ * Otherwise, it matches any item to which it is equal according to the rules of [JSON Schema](https://tools.ietf.org/html/draft-handrews-json-schema-00#section-4.2.3).
26
+ *
27
+ */
28
+ "value"?: any;
29
+ "operation": string;
30
+ }
31
+ export declare namespace PatchProhibitInstruction {
32
+ function getJsonObj(obj: PatchProhibitInstruction, isParentJsonObj?: boolean): object;
33
+ const operation = "PROHIBIT";
34
+ function getDeserializedJsonObj(obj: PatchProhibitInstruction, isParentJsonObj?: boolean): object;
35
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * OCI Control Center Demand Signal API
4
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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.PatchProhibitInstruction = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var PatchProhibitInstruction;
37
+ (function (PatchProhibitInstruction) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.PatchInstruction.getJsonObj(obj))), {});
42
+ return jsonObj;
43
+ }
44
+ PatchProhibitInstruction.getJsonObj = getJsonObj;
45
+ PatchProhibitInstruction.operation = "PROHIBIT";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
48
+ ? obj
49
+ : model.PatchInstruction.getDeserializedJsonObj(obj))), {});
50
+ return jsonObj;
51
+ }
52
+ PatchProhibitInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(PatchProhibitInstruction = exports.PatchProhibitInstruction || (exports.PatchProhibitInstruction = {}));
54
+ //# sourceMappingURL=patch-prohibit-instruction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patch-prohibit-instruction.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/model/patch-prohibit-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsBlC,IAAiB,wBAAwB,CAyBxC;AAzBD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B,EAAE,eAAyB;QACjF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAA8B,CAAC,GACtE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,mCAAU,aASzB,CAAA;IACY,kCAAS,GAAG,UAAU,CAAC;IACpC,SAAgB,sBAAsB,CACpC,GAA6B,EAC7B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAA8B,CAAC,GAClF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,+CAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAyBxC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * OCI Control Center Demand Signal API
3
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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
+ * An operation that deletes items, ignoring NOT_FOUND exceptions.
16
+ * To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.
17
+ *
18
+ */
19
+ export interface PatchRemoveInstruction extends model.PatchInstruction {
20
+ "operation": string;
21
+ }
22
+ export declare namespace PatchRemoveInstruction {
23
+ function getJsonObj(obj: PatchRemoveInstruction, isParentJsonObj?: boolean): object;
24
+ const operation = "REMOVE";
25
+ function getDeserializedJsonObj(obj: PatchRemoveInstruction, isParentJsonObj?: boolean): object;
26
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * OCI Control Center Demand Signal API
4
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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.PatchRemoveInstruction = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var PatchRemoveInstruction;
37
+ (function (PatchRemoveInstruction) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.PatchInstruction.getJsonObj(obj))), {});
42
+ return jsonObj;
43
+ }
44
+ PatchRemoveInstruction.getJsonObj = getJsonObj;
45
+ PatchRemoveInstruction.operation = "REMOVE";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
48
+ ? obj
49
+ : model.PatchInstruction.getDeserializedJsonObj(obj))), {});
50
+ return jsonObj;
51
+ }
52
+ PatchRemoveInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(PatchRemoveInstruction = exports.PatchRemoveInstruction || (exports.PatchRemoveInstruction = {}));
54
+ //# sourceMappingURL=patch-remove-instruction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patch-remove-instruction.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/model/patch-remove-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAYlC,IAAiB,sBAAsB,CAyBtC;AAzBD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B,EAAE,eAAyB;QAC/E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAA4B,CAAC,GACpE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,iCAAU,aASzB,CAAA;IACY,gCAAS,GAAG,QAAQ,CAAC;IAClC,SAAgB,sBAAsB,CACpC,GAA2B,EAC3B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAA4B,CAAC,GAChF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,6CAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAyBtC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * OCI Control Center Demand Signal API
3
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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
+ * An operation that \"puts\" a value, replacing every item of the selection with it, or creating it if the selection is empty.
16
+ * NOT_FOUND exceptions are handled by creating the implied containing structure (but note that this may put the target in an invalid state,
17
+ * which can be prevented by use of precondition operations).
18
+ * To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.
19
+ *
20
+ */
21
+ export interface PatchReplaceInstruction extends model.PatchInstruction {
22
+ /**
23
+ * A value to be added into the target.
24
+ */
25
+ "value": any;
26
+ "operation": string;
27
+ }
28
+ export declare namespace PatchReplaceInstruction {
29
+ function getJsonObj(obj: PatchReplaceInstruction, isParentJsonObj?: boolean): object;
30
+ const operation = "REPLACE";
31
+ function getDeserializedJsonObj(obj: PatchReplaceInstruction, isParentJsonObj?: boolean): object;
32
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * OCI Control Center Demand Signal API
4
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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.PatchReplaceInstruction = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var PatchReplaceInstruction;
37
+ (function (PatchReplaceInstruction) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.PatchInstruction.getJsonObj(obj))), {});
42
+ return jsonObj;
43
+ }
44
+ PatchReplaceInstruction.getJsonObj = getJsonObj;
45
+ PatchReplaceInstruction.operation = "REPLACE";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
48
+ ? obj
49
+ : model.PatchInstruction.getDeserializedJsonObj(obj))), {});
50
+ return jsonObj;
51
+ }
52
+ PatchReplaceInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(PatchReplaceInstruction = exports.PatchReplaceInstruction || (exports.PatchReplaceInstruction = {}));
54
+ //# sourceMappingURL=patch-replace-instruction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patch-replace-instruction.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/model/patch-replace-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,uBAAuB,CAyBvC;AAzBD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAA6B,CAAC,GACrE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,kCAAU,aASzB,CAAA;IACY,iCAAS,GAAG,SAAS,CAAC;IACnC,SAAgB,sBAAsB,CACpC,GAA4B,EAC5B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAA6B,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,8CAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAyBvC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * OCI Control Center Demand Signal API
3
+ * Use the OCI Control Center Demand Signal API to manage Demand Signals.
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
+ * A precondition operation that requires a selection to be non-empty, and optionally to include an item with a specified value
16
+ * (useful for asserting that a value exists before attempting to update it, avoiding accidental creation).
17
+ * It fails if the selection is empty, or if value is provided and no item of the selection matches it.
18
+ *
19
+ */
20
+ export interface PatchRequireInstruction extends model.PatchInstruction {
21
+ /**
22
+ * A value to be compared against each item of the selection.
23
+ * If this value is an object, then it matches any item that would be unaffected by applying this value as a merge operation.
24
+ * Otherwise, it matches any item to which it is equal according to the rules of [JSON Schema](https://tools.ietf.org/html/draft-handrews-json-schema-00#section-4.2.3).
25
+ *
26
+ */
27
+ "value"?: any;
28
+ "operation": string;
29
+ }
30
+ export declare namespace PatchRequireInstruction {
31
+ function getJsonObj(obj: PatchRequireInstruction, isParentJsonObj?: boolean): object;
32
+ const operation = "REQUIRE";
33
+ function getDeserializedJsonObj(obj: PatchRequireInstruction, isParentJsonObj?: boolean): object;
34
+ }