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,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.PatchRequireInstruction = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var PatchRequireInstruction;
37
+ (function (PatchRequireInstruction) {
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
+ PatchRequireInstruction.getJsonObj = getJsonObj;
45
+ PatchRequireInstruction.operation = "REQUIRE";
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
+ PatchRequireInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(PatchRequireInstruction = exports.PatchRequireInstruction || (exports.PatchRequireInstruction = {}));
54
+ //# sourceMappingURL=patch-require-instruction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patch-require-instruction.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/model/patch-require-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqBlC,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,30 @@
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
+ /**
14
+ * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The {@code displayName}
15
+ * sort order is case sensitive.
16
+ *
17
+ **/
18
+ export declare enum SortOrder {
19
+ Asc = "ASC",
20
+ Desc = "DESC",
21
+ /**
22
+ * This value is used if a service returns a value for this enum that is not recognized by this
23
+ * version of the SDK.
24
+ */
25
+ UnknownValue = "UNKNOWN_VALUE"
26
+ }
27
+ export declare namespace SortOrder {
28
+ function getJsonObj(obj: SortOrder): SortOrder;
29
+ function getDeserializedJsonObj(obj: SortOrder): SortOrder;
30
+ }
@@ -0,0 +1,41 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.SortOrder = void 0;
16
+ /**
17
+ * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The {@code displayName}
18
+ * sort order is case sensitive.
19
+ *
20
+ **/
21
+ var SortOrder;
22
+ (function (SortOrder) {
23
+ SortOrder["Asc"] = "ASC";
24
+ SortOrder["Desc"] = "DESC";
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
+ SortOrder["UnknownValue"] = "UNKNOWN_VALUE";
30
+ })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
31
+ (function (SortOrder) {
32
+ function getJsonObj(obj) {
33
+ return obj;
34
+ }
35
+ SortOrder.getJsonObj = getJsonObj;
36
+ function getDeserializedJsonObj(obj) {
37
+ return obj;
38
+ }
39
+ SortOrder.getDeserializedJsonObj = getDeserializedJsonObj;
40
+ })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
41
+ //# sourceMappingURL=sort-order.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sort-order.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/model/sort-order.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;;;IAII;AACJ,IAAY,SASX;AATD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;IAEb;;;OAGG;IACH,2CAA8B,CAAA;AAChC,CAAC,EATW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QASpB;AAED,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc;QACvC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,gCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOzB"}
@@ -0,0 +1,51 @@
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
+ /**
14
+ * The data to update a OccDemandSignal.
15
+ */
16
+ export interface UpdateOccDemandSignalDetails {
17
+ /**
18
+ * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
19
+ */
20
+ "displayName"?: string;
21
+ /**
22
+ * Indicator of whether to share the data with Oracle.
23
+ */
24
+ "isActive"?: boolean;
25
+ /**
26
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
27
+ * For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
28
+ * <p>
29
+ Example: {@code {\"Department\": \"Finance\"}}
30
+ *
31
+ */
32
+ "freeformTags"?: {
33
+ [key: string]: string;
34
+ };
35
+ /**
36
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
37
+ * For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
38
+ * <p>
39
+ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
40
+ *
41
+ */
42
+ "definedTags"?: {
43
+ [key: string]: {
44
+ [key: string]: any;
45
+ };
46
+ };
47
+ }
48
+ export declare namespace UpdateOccDemandSignalDetails {
49
+ function getJsonObj(obj: UpdateOccDemandSignalDetails): object;
50
+ function getDeserializedJsonObj(obj: UpdateOccDemandSignalDetails): object;
51
+ }
@@ -0,0 +1,29 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateOccDemandSignalDetails = void 0;
16
+ var UpdateOccDemandSignalDetails;
17
+ (function (UpdateOccDemandSignalDetails) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ UpdateOccDemandSignalDetails.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ UpdateOccDemandSignalDetails.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(UpdateOccDemandSignalDetails = exports.UpdateOccDemandSignalDetails || (exports.UpdateOccDemandSignalDetails = {}));
29
+ //# sourceMappingURL=update-occ-demand-signal-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-occ-demand-signal-details.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/model/update-occ-demand-signal-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmCH,IAAiB,4BAA4B,CAW5C;AAXD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAW5C"}
@@ -0,0 +1,29 @@
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 serviceRequests from "./request";
14
+ import * as serviceResponses from "./response";
15
+ import * as models from "./model";
16
+ import { OccDemandSignalClient } from "./client";
17
+ export declare class OccDemandSignalWaiter {
18
+ private client;
19
+ private readonly config?;
20
+ constructor(client: OccDemandSignalClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
21
+ /**
22
+ * Waits forOccDemandSignal till it reaches any of the provided states
23
+ *
24
+ * @param request the request to send
25
+ * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
26
+ * @return response returns GetOccDemandSignalResponse | null (null in case of 404 response)
27
+ */
28
+ forOccDemandSignal(request: serviceRequests.GetOccDemandSignalRequest, ...targetStates: models.OccDemandSignal.LifecycleState[]): Promise<serviceResponses.GetOccDemandSignalResponse | null>;
29
+ }
@@ -0,0 +1,65 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
34
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
35
+ return new (P || (P = Promise))(function (resolve, reject) {
36
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
37
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
38
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
39
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
40
+ });
41
+ };
42
+ Object.defineProperty(exports, "__esModule", { value: true });
43
+ exports.OccDemandSignalWaiter = void 0;
44
+ const models = __importStar(require("./model"));
45
+ const oci_common_1 = require("oci-common");
46
+ class OccDemandSignalWaiter {
47
+ constructor(client, config) {
48
+ this.client = client;
49
+ this.config = config;
50
+ }
51
+ /**
52
+ * Waits forOccDemandSignal till it reaches any of the provided states
53
+ *
54
+ * @param request the request to send
55
+ * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
56
+ * @return response returns GetOccDemandSignalResponse | null (null in case of 404 response)
57
+ */
58
+ forOccDemandSignal(request, ...targetStates) {
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getOccDemandSignal(request), response => targetStates.includes(response.occDemandSignal.lifecycleState), targetStates.includes(models.OccDemandSignal.LifecycleState.Deleted));
61
+ });
62
+ }
63
+ }
64
+ exports.OccDemandSignalWaiter = OccDemandSignalWaiter;
65
+ //# sourceMappingURL=occdemandsignal-waiter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"occdemandsignal-waiter.js","sourceRoot":"","sources":["../../../../lib/demandsignal/lib/occdemandsignal-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,qBAAqB;IAChC,YACU,MAA6B,EACpB,MAA4B;QADrC,WAAM,GAAN,MAAM,CAAuB;QACpB,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,kBAAkB,CAC7B,OAAkD,EAClD,GAAG,YAAqD;;YAExD,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAC7C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,eAAe,CAAC,cAAe,CAAC,EAC3E,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,eAAe,CAAC,cAAc,CAAC,OAAO,CAAC,CACrE,CAAC;QACJ,CAAC;KAAA;CACF;AAxBD,sDAwBC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ *
3
+ *
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
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/demandsignal/ChangeOccDemandSignalCompartment.ts.html |here} to see how to use ChangeOccDemandSignalCompartmentRequest.
17
+ */
18
+ export interface ChangeOccDemandSignalCompartmentRequest extends common.BaseRequest {
19
+ /**
20
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OccDemandSignal.
21
+ */
22
+ "occDemandSignalId": string;
23
+ /**
24
+ * The information to be updated.
25
+ */
26
+ "changeOccDemandSignalCompartmentDetails": model.ChangeOccDemandSignalCompartmentDetails;
27
+ /**
28
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
29
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response for
30
+ * that resource. The resource will be updated or deleted only if the etag you provide
31
+ * matches the resource's current etag value.
32
+ *
33
+ */
34
+ "ifMatch"?: string;
35
+ /**
36
+ * Unique Oracle-assigned identifier for the request. If you need to contact
37
+ * Oracle about a particular request, please provide the request ID.
38
+ * The only valid characters for request IDs are letters, numbers,
39
+ * underscore, and dash.
40
+ *
41
+ */
42
+ "opcRequestId"?: string;
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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
+ //# sourceMappingURL=change-occ-demand-signal-compartment-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"change-occ-demand-signal-compartment-request.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/request/change-occ-demand-signal-compartment-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ *
3
+ *
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
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/demandsignal/CreateOccDemandSignal.ts.html |here} to see how to use CreateOccDemandSignalRequest.
17
+ */
18
+ export interface CreateOccDemandSignalRequest extends common.BaseRequest {
19
+ /**
20
+ * Details for the new OccDemandSignal.
21
+ */
22
+ "createOccDemandSignalDetails": model.CreateOccDemandSignalDetails;
23
+ /**
24
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
25
+ * server error without risk of running that same action again. Retry tokens expire after 24
26
+ * hours, but can be invalidated before then due to conflicting operations. For example, if a resource
27
+ * has been deleted and removed from the system, then a retry of the original creation request
28
+ * might be rejected.
29
+ *
30
+ */
31
+ "opcRetryToken"?: string;
32
+ /**
33
+ * Unique Oracle-assigned identifier for the request. If you need to contact
34
+ * Oracle about a particular request, please provide the request ID.
35
+ * The only valid characters for request IDs are letters, numbers,
36
+ * underscore, and dash.
37
+ *
38
+ */
39
+ "opcRequestId"?: string;
40
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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
+ //# sourceMappingURL=create-occ-demand-signal-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-occ-demand-signal-request.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/request/create-occ-demand-signal-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ *
3
+ *
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 common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/demandsignal/DeleteOccDemandSignal.ts.html |here} to see how to use DeleteOccDemandSignalRequest.
16
+ */
17
+ export interface DeleteOccDemandSignalRequest extends common.BaseRequest {
18
+ /**
19
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OccDemandSignal.
20
+ */
21
+ "occDemandSignalId": string;
22
+ /**
23
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
24
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response for
25
+ * that resource. The resource will be updated or deleted only if the etag you provide
26
+ * matches the resource's current etag value.
27
+ *
28
+ */
29
+ "ifMatch"?: string;
30
+ /**
31
+ * Unique Oracle-assigned identifier for the request. If you need to contact
32
+ * Oracle about a particular request, please provide the request ID.
33
+ * The only valid characters for request IDs are letters, numbers,
34
+ * underscore, and dash.
35
+ *
36
+ */
37
+ "opcRequestId"?: string;
38
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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
+ //# sourceMappingURL=delete-occ-demand-signal-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-occ-demand-signal-request.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/request/delete-occ-demand-signal-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ *
3
+ *
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 common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/demandsignal/GetOccDemandSignal.ts.html |here} to see how to use GetOccDemandSignalRequest.
16
+ */
17
+ export interface GetOccDemandSignalRequest extends common.BaseRequest {
18
+ /**
19
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OccDemandSignal.
20
+ */
21
+ "occDemandSignalId": string;
22
+ /**
23
+ * Unique Oracle-assigned identifier for the request. If you need to contact
24
+ * Oracle about a particular request, please provide the request ID.
25
+ * The only valid characters for request IDs are letters, numbers,
26
+ * underscore, and dash.
27
+ *
28
+ */
29
+ "opcRequestId"?: string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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
+ //# sourceMappingURL=get-occ-demand-signal-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-occ-demand-signal-request.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/request/get-occ-demand-signal-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -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 ChangeOccDemandSignalCompartmentRequest from "./change-occ-demand-signal-compartment-request";
14
+ export import ChangeOccDemandSignalCompartmentRequest = ChangeOccDemandSignalCompartmentRequest.ChangeOccDemandSignalCompartmentRequest;
15
+ import * as CreateOccDemandSignalRequest from "./create-occ-demand-signal-request";
16
+ export import CreateOccDemandSignalRequest = CreateOccDemandSignalRequest.CreateOccDemandSignalRequest;
17
+ import * as DeleteOccDemandSignalRequest from "./delete-occ-demand-signal-request";
18
+ export import DeleteOccDemandSignalRequest = DeleteOccDemandSignalRequest.DeleteOccDemandSignalRequest;
19
+ import * as GetOccDemandSignalRequest from "./get-occ-demand-signal-request";
20
+ export import GetOccDemandSignalRequest = GetOccDemandSignalRequest.GetOccDemandSignalRequest;
21
+ import * as ListOccDemandSignalsRequest from "./list-occ-demand-signals-request";
22
+ export import ListOccDemandSignalsRequest = ListOccDemandSignalsRequest.ListOccDemandSignalsRequest;
23
+ import * as PatchOccDemandSignalRequest from "./patch-occ-demand-signal-request";
24
+ export import PatchOccDemandSignalRequest = PatchOccDemandSignalRequest.PatchOccDemandSignalRequest;
25
+ import * as UpdateOccDemandSignalRequest from "./update-occ-demand-signal-request";
26
+ export import UpdateOccDemandSignalRequest = UpdateOccDemandSignalRequest.UpdateOccDemandSignalRequest;
@@ -0,0 +1,37 @@
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.ListOccDemandSignalsRequest = void 0;
35
+ const ListOccDemandSignalsRequest = __importStar(require("./list-occ-demand-signals-request"));
36
+ exports.ListOccDemandSignalsRequest = ListOccDemandSignalsRequest.ListOccDemandSignalsRequest;
37
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/demandsignal/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAUH,+FAAiF;AACnE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC"}