oci-blockchain 2.6.0 → 2.9.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 (66) hide show
  1. package/lib/client.d.ts +44 -26
  2. package/lib/client.js +155 -29
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/blockchain-platform-patch-collection.d.ts +26 -0
  5. package/lib/model/blockchain-platform-patch-collection.js +61 -0
  6. package/lib/model/blockchain-platform-patch-collection.js.map +1 -0
  7. package/lib/model/blockchain-platform-patch-summary.d.ts +37 -0
  8. package/lib/model/blockchain-platform-patch-summary.js +29 -0
  9. package/lib/model/blockchain-platform-patch-summary.js.map +1 -0
  10. package/lib/model/blockchain-platform.d.ts +4 -0
  11. package/lib/model/blockchain-platform.js.map +1 -1
  12. package/lib/model/create-blockchain-platform-details.d.ts +4 -0
  13. package/lib/model/create-blockchain-platform-details.js.map +1 -1
  14. package/lib/model/index.d.ts +6 -0
  15. package/lib/model/index.js +7 -1
  16. package/lib/model/index.js.map +1 -1
  17. package/lib/model/upgrade-blockchain-platform-details.d.ts +27 -0
  18. package/lib/model/upgrade-blockchain-platform-details.js +29 -0
  19. package/lib/model/upgrade-blockchain-platform-details.js.map +1 -0
  20. package/lib/model/work-request-summary.d.ts +1 -0
  21. package/lib/model/work-request-summary.js +1 -0
  22. package/lib/model/work-request-summary.js.map +1 -1
  23. package/lib/model/work-request.d.ts +1 -0
  24. package/lib/model/work-request.js +1 -0
  25. package/lib/model/work-request.js.map +1 -1
  26. package/lib/request/change-blockchain-platform-compartment-request.d.ts +1 -1
  27. package/lib/request/create-blockchain-platform-request.d.ts +1 -1
  28. package/lib/request/create-osn-request.d.ts +1 -1
  29. package/lib/request/create-peer-request.d.ts +1 -1
  30. package/lib/request/delete-blockchain-platform-request.d.ts +10 -1
  31. package/lib/request/delete-osn-request.d.ts +1 -1
  32. package/lib/request/delete-peer-request.d.ts +10 -1
  33. package/lib/request/delete-work-request-request.d.ts +1 -1
  34. package/lib/request/get-blockchain-platform-request.d.ts +1 -1
  35. package/lib/request/get-osn-request.d.ts +1 -1
  36. package/lib/request/get-peer-request.d.ts +1 -1
  37. package/lib/request/get-work-request-request.d.ts +1 -1
  38. package/lib/request/index.d.ts +4 -0
  39. package/lib/request/index.js.map +1 -1
  40. package/lib/request/list-blockchain-platform-patches-request.d.ts +34 -0
  41. package/lib/request/list-blockchain-platform-patches-request.js +15 -0
  42. package/lib/request/list-blockchain-platform-patches-request.js.map +1 -0
  43. package/lib/request/list-blockchain-platforms-request.d.ts +1 -1
  44. package/lib/request/list-osns-request.d.ts +1 -1
  45. package/lib/request/list-peers-request.d.ts +1 -1
  46. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  47. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  48. package/lib/request/list-work-requests-request.d.ts +1 -1
  49. package/lib/request/preview-scale-blockchain-platform-request.d.ts +1 -1
  50. package/lib/request/scale-blockchain-platform-request.d.ts +1 -1
  51. package/lib/request/start-blockchain-platform-request.d.ts +1 -1
  52. package/lib/request/stop-blockchain-platform-request.d.ts +1 -1
  53. package/lib/request/update-blockchain-platform-request.d.ts +1 -1
  54. package/lib/request/update-osn-request.d.ts +1 -1
  55. package/lib/request/update-peer-request.d.ts +1 -1
  56. package/lib/request/upgrade-blockchain-platform-request.d.ts +49 -0
  57. package/lib/request/upgrade-blockchain-platform-request.js +15 -0
  58. package/lib/request/upgrade-blockchain-platform-request.js.map +1 -0
  59. package/lib/response/index.d.ts +4 -0
  60. package/lib/response/list-blockchain-platform-patches-response.d.ts +32 -0
  61. package/lib/response/list-blockchain-platform-patches-response.js +15 -0
  62. package/lib/response/list-blockchain-platform-patches-response.js.map +1 -0
  63. package/lib/response/upgrade-blockchain-platform-response.d.ts +25 -0
  64. package/lib/response/upgrade-blockchain-platform-response.js +15 -0
  65. package/lib/response/upgrade-blockchain-platform-response.js.map +1 -0
  66. package/package.json +3 -3
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ListOsns.ts.html |here} to see how to use ListOsnsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListOsns.ts.html |here} to see how to use ListOsnsRequest.
16
16
  */
17
17
  export interface ListOsnsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ListPeers.ts.html |here} to see how to use ListPeersRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListPeers.ts.html |here} to see how to use ListPeersRequest.
16
16
  */
17
17
  export interface ListPeersRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
16
16
  */
17
17
  export interface ListWorkRequestErrorsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
16
16
  */
17
17
  export interface ListWorkRequestLogsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
16
16
  */
17
17
  export interface ListWorkRequestsRequest extends common.BaseRequest {
18
18
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatformRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatformRequest.
17
17
  */
18
18
  export interface PreviewScaleBlockchainPlatformRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatformRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatformRequest.
17
17
  */
18
18
  export interface ScaleBlockchainPlatformRequest extends common.BaseRequest {
19
19
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatformRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatformRequest.
16
16
  */
17
17
  export interface StartBlockchainPlatformRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatformRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatformRequest.
16
16
  */
17
17
  export interface StopBlockchainPlatformRequest extends common.BaseRequest {
18
18
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatformRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatformRequest.
17
17
  */
18
18
  export interface UpdateBlockchainPlatformRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsnRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsnRequest.
17
17
  */
18
18
  export interface UpdateOsnRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeerRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeerRequest.
17
17
  */
18
18
  export interface UpdatePeerRequest extends common.BaseRequest {
19
19
  /**
@@ -0,0 +1,49 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20191010
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2021, 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.9.0/blockchain/UpgradeBlockchainPlatform.ts.html |here} to see how to use UpgradeBlockchainPlatformRequest.
17
+ */
18
+ export interface UpgradeBlockchainPlatformRequest extends common.BaseRequest {
19
+ /**
20
+ * Details for the new version to which it needs to be upgraded.
21
+ */
22
+ "upgradeBlockchainPlatformDetails": model.UpgradeBlockchainPlatformDetails;
23
+ /**
24
+ * Unique service identifier.
25
+ */
26
+ "blockchainPlatformId": string;
27
+ /**
28
+ * For optimistic concurrency control. In the PUT or DELETE call
29
+ * for a resource, set the `if-match` parameter to the value of the
30
+ * etag from a previous GET or POST response for that resource.
31
+ * The resource will be updated or deleted only if the etag you
32
+ * provide matches the resource's current etag value.
33
+ *
34
+ */
35
+ "ifMatch"?: string;
36
+ /**
37
+ * The client request ID for tracing.
38
+ */
39
+ "opcRequestId"?: string;
40
+ /**
41
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
42
+ * server error without risk of executing that same action again. Retry tokens expire after 24
43
+ * hours, but can be invalidated before then due to conflicting operations. For example, if a resource
44
+ * has been deleted and purged from the system, then a retry of the original creation request
45
+ * might be rejected.
46
+ *
47
+ */
48
+ "opcRetryToken"?: string;
49
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20191010
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2021, 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=upgrade-blockchain-platform-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upgrade-blockchain-platform-request.js","sourceRoot":"","sources":["../../../../../lib/blockchain/lib/request/upgrade-blockchain-platform-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -34,6 +34,8 @@ import * as GetPeerResponse from "./get-peer-response";
34
34
  export import GetPeerResponse = GetPeerResponse.GetPeerResponse;
35
35
  import * as GetWorkRequestResponse from "./get-work-request-response";
36
36
  export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse;
37
+ import * as ListBlockchainPlatformPatchesResponse from "./list-blockchain-platform-patches-response";
38
+ export import ListBlockchainPlatformPatchesResponse = ListBlockchainPlatformPatchesResponse.ListBlockchainPlatformPatchesResponse;
37
39
  import * as ListBlockchainPlatformsResponse from "./list-blockchain-platforms-response";
38
40
  export import ListBlockchainPlatformsResponse = ListBlockchainPlatformsResponse.ListBlockchainPlatformsResponse;
39
41
  import * as ListOsnsResponse from "./list-osns-response";
@@ -60,3 +62,5 @@ import * as UpdateOsnResponse from "./update-osn-response";
60
62
  export import UpdateOsnResponse = UpdateOsnResponse.UpdateOsnResponse;
61
63
  import * as UpdatePeerResponse from "./update-peer-response";
62
64
  export import UpdatePeerResponse = UpdatePeerResponse.UpdatePeerResponse;
65
+ import * as UpgradeBlockchainPlatformResponse from "./upgrade-blockchain-platform-response";
66
+ export import UpgradeBlockchainPlatformResponse = UpgradeBlockchainPlatformResponse.UpgradeBlockchainPlatformResponse;
@@ -0,0 +1,32 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20191010
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2021, 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
+ export interface ListBlockchainPlatformPatchesResponse {
15
+ /**
16
+ * Unique Oracle-assigned identifier for the request. If you need to contact
17
+ * Oracle about a particular request, please provide the request ID.
18
+ *
19
+ */
20
+ "opcRequestId": string;
21
+ /**
22
+ * For pagination of a list of items. When paging through a list, if this header appears in the response,
23
+ * then a partial list might have been returned. Include this value as the `page` parameter for the
24
+ * subsequent GET request to get the next batch of items.
25
+ *
26
+ */
27
+ "opcNextPage": string;
28
+ /**
29
+ * The returned model.BlockchainPlatformPatchCollection instance.
30
+ */
31
+ "blockchainPlatformPatchCollection": model.BlockchainPlatformPatchCollection;
32
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20191010
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2021, 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=list-blockchain-platform-patches-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-blockchain-platform-patches-response.js","sourceRoot":"","sources":["../../../../../lib/blockchain/lib/response/list-blockchain-platform-patches-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20191010
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2021, 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
+ export interface UpgradeBlockchainPlatformResponse {
14
+ /**
15
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
16
+ *
17
+ */
18
+ "opcWorkRequestId": string;
19
+ /**
20
+ * Unique Oracle-assigned identifier for the request. If you need to contact
21
+ * Oracle about a particular request, please provide the request ID.
22
+ *
23
+ */
24
+ "opcRequestId": string;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20191010
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2021, 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=upgrade-blockchain-platform-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upgrade-blockchain-platform-response.js","sourceRoot":"","sources":["../../../../../lib/blockchain/lib/response/upgrade-blockchain-platform-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oci-blockchain",
3
- "version": "2.6.0",
3
+ "version": "2.9.0",
4
4
  "description": "OCI NodeJS client for Blockchain Service",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "license": "(UPL-1.0 OR Apache-2.0)",
17
17
  "dependencies": {
18
- "oci-common": "2.6.0",
19
- "oci-workrequests": "2.6.0"
18
+ "oci-common": "2.9.0",
19
+ "oci-workrequests": "2.9.0"
20
20
  },
21
21
  "publishConfig": {
22
22
  "registry": "https://registry.npmjs.org"