oci-genericartifactscontent 2.76.1 → 2.77.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.
- package/lib/client.d.ts +3 -3
- package/lib/client.js +3 -3
- package/lib/model/generic-artifact.d.ts +7 -7
- package/lib/request/get-generic-artifact-content-by-path-request.d.ts +5 -5
- package/lib/request/get-generic-artifact-content-request.d.ts +3 -3
- package/lib/request/put-generic-artifact-content-by-path-request.d.ts +6 -6
- package/lib/response/get-generic-artifact-content-by-path-response.d.ts +1 -1
- package/lib/response/get-generic-artifact-content-response.d.ts +1 -1
- package/lib/response/put-generic-artifact-content-by-path-response.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ export declare class GenericArtifactsContentClient {
|
|
|
73
73
|
* @param GetGenericArtifactContentRequest
|
|
74
74
|
* @return GetGenericArtifactContentResponse
|
|
75
75
|
* @throws OciError when an error occurs
|
|
76
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
76
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.77.0/genericartifactscontent/GetGenericArtifactContent.ts.html |here} to see how to use GetGenericArtifactContent API.
|
|
77
77
|
*/
|
|
78
78
|
getGenericArtifactContent(getGenericArtifactContentRequest: requests.GetGenericArtifactContentRequest): Promise<responses.GetGenericArtifactContentResponse>;
|
|
79
79
|
/**
|
|
@@ -82,7 +82,7 @@ export declare class GenericArtifactsContentClient {
|
|
|
82
82
|
* @param GetGenericArtifactContentByPathRequest
|
|
83
83
|
* @return GetGenericArtifactContentByPathResponse
|
|
84
84
|
* @throws OciError when an error occurs
|
|
85
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
85
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.77.0/genericartifactscontent/GetGenericArtifactContentByPath.ts.html |here} to see how to use GetGenericArtifactContentByPath API.
|
|
86
86
|
*/
|
|
87
87
|
getGenericArtifactContentByPath(getGenericArtifactContentByPathRequest: requests.GetGenericArtifactContentByPathRequest): Promise<responses.GetGenericArtifactContentByPathResponse>;
|
|
88
88
|
/**
|
|
@@ -91,7 +91,7 @@ export declare class GenericArtifactsContentClient {
|
|
|
91
91
|
* @param PutGenericArtifactContentByPathRequest
|
|
92
92
|
* @return PutGenericArtifactContentByPathResponse
|
|
93
93
|
* @throws OciError when an error occurs
|
|
94
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
94
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.77.0/genericartifactscontent/PutGenericArtifactContentByPath.ts.html |here} to see how to use PutGenericArtifactContentByPath API.
|
|
95
95
|
*/
|
|
96
96
|
putGenericArtifactContentByPath(putGenericArtifactContentByPathRequest: requests.PutGenericArtifactContentByPathRequest): Promise<responses.PutGenericArtifactContentByPathResponse>;
|
|
97
97
|
}
|
package/lib/client.js
CHANGED
|
@@ -167,7 +167,7 @@ class GenericArtifactsContentClient {
|
|
|
167
167
|
* @param GetGenericArtifactContentRequest
|
|
168
168
|
* @return GetGenericArtifactContentResponse
|
|
169
169
|
* @throws OciError when an error occurs
|
|
170
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
170
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.77.0/genericartifactscontent/GetGenericArtifactContent.ts.html |here} to see how to use GetGenericArtifactContent API.
|
|
171
171
|
*/
|
|
172
172
|
getGenericArtifactContent(getGenericArtifactContentRequest) {
|
|
173
173
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -229,7 +229,7 @@ class GenericArtifactsContentClient {
|
|
|
229
229
|
* @param GetGenericArtifactContentByPathRequest
|
|
230
230
|
* @return GetGenericArtifactContentByPathResponse
|
|
231
231
|
* @throws OciError when an error occurs
|
|
232
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
232
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.77.0/genericartifactscontent/GetGenericArtifactContentByPath.ts.html |here} to see how to use GetGenericArtifactContentByPath API.
|
|
233
233
|
*/
|
|
234
234
|
getGenericArtifactContentByPath(getGenericArtifactContentByPathRequest) {
|
|
235
235
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -293,7 +293,7 @@ class GenericArtifactsContentClient {
|
|
|
293
293
|
* @param PutGenericArtifactContentByPathRequest
|
|
294
294
|
* @return PutGenericArtifactContentByPathResponse
|
|
295
295
|
* @throws OciError when an error occurs
|
|
296
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
296
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.77.0/genericartifactscontent/PutGenericArtifactContentByPath.ts.html |here} to see how to use PutGenericArtifactContentByPath API.
|
|
297
297
|
*/
|
|
298
298
|
putGenericArtifactContentByPath(putGenericArtifactContentByPathRequest) {
|
|
299
299
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -19,14 +19,14 @@ export interface GenericArtifact {
|
|
|
19
19
|
/**
|
|
20
20
|
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact.
|
|
21
21
|
* <p>
|
|
22
|
-
Example:
|
|
22
|
+
Example: {@code ocid1.genericartifact.oc1..exampleuniqueID}
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
25
|
"id": string;
|
|
26
26
|
/**
|
|
27
|
-
* The artifact name with the format of
|
|
27
|
+
* The artifact name with the format of {@code <artifact-path>:<artifact-version>}. The artifact name is truncated to a maximum length of 255.
|
|
28
28
|
* <p>
|
|
29
|
-
Example:
|
|
29
|
+
Example: {@code project01/my-web-app/artifact-abc:1.0.0}
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
"displayName": string;
|
|
@@ -41,14 +41,14 @@ export interface GenericArtifact {
|
|
|
41
41
|
/**
|
|
42
42
|
* A user-defined path to describe the location of an artifact. Slashes do not create a directory structure, but you can use slashes to organize the repository. An artifact path does not include an artifact version.
|
|
43
43
|
* <p>
|
|
44
|
-
Example:
|
|
44
|
+
Example: {@code project01/my-web-app/artifact-abc}
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
47
|
"artifactPath": string;
|
|
48
48
|
/**
|
|
49
49
|
* A user-defined string to describe the artifact version.
|
|
50
50
|
* <p>
|
|
51
|
-
Example:
|
|
51
|
+
Example: {@code 1.1.0} or {@code 1.2-beta-2}
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
54
54
|
"version": string;
|
|
@@ -68,7 +68,7 @@ export interface GenericArtifact {
|
|
|
68
68
|
* Free-form tags for this resource. Each tag is a simple key-value pair with no
|
|
69
69
|
* predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
70
70
|
* <p>
|
|
71
|
-
Example:
|
|
71
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
72
72
|
*
|
|
73
73
|
*/
|
|
74
74
|
"freeformTags": {
|
|
@@ -78,7 +78,7 @@ export interface GenericArtifact {
|
|
|
78
78
|
* Defined tags for this resource. Each key is predefined and scoped to a
|
|
79
79
|
* namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
80
80
|
* <p>
|
|
81
|
-
Example:
|
|
81
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
82
82
|
*
|
|
83
83
|
*/
|
|
84
84
|
"definedTags": {
|
|
@@ -12,34 +12,34 @@
|
|
|
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.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.77.0/genericartifactscontent/GetGenericArtifactContentByPath.ts.html |here} to see how to use GetGenericArtifactContentByPathRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetGenericArtifactContentByPathRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
19
19
|
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
|
|
20
20
|
* <p>
|
|
21
|
-
Example:
|
|
21
|
+
Example: {@code ocid1.repository.oc1..exampleuniqueID}
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
24
|
"repositoryId": string;
|
|
25
25
|
/**
|
|
26
26
|
* A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
|
|
27
27
|
* <p>
|
|
28
|
-
Example:
|
|
28
|
+
Example: {@code project01/my-web-app/artifact-abc}
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
"artifactPath": string;
|
|
32
32
|
/**
|
|
33
33
|
* A user-defined string to describe the artifact version.
|
|
34
34
|
* <p>
|
|
35
|
-
Example:
|
|
35
|
+
Example: {@code 1.1.2} or {@code 1.2-beta-2}
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
38
|
"version": string;
|
|
39
39
|
/**
|
|
40
40
|
* Unique Oracle-assigned [request ID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm)
|
|
41
41
|
* <p>
|
|
42
|
-
Example:
|
|
42
|
+
Example: {@code bxxxxxxx-fxxx-4xxx-9xxx-bxxxxxxxxxxx}
|
|
43
43
|
* If you contact Oracle about a request, provide this request ID.
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
@@ -12,20 +12,20 @@
|
|
|
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.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.77.0/genericartifactscontent/GetGenericArtifactContent.ts.html |here} to see how to use GetGenericArtifactContentRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetGenericArtifactContentRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
19
19
|
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact.
|
|
20
20
|
* <p>
|
|
21
|
-
Example:
|
|
21
|
+
Example: {@code ocid1.genericartifact.oc1..exampleuniqueID}
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
24
|
"artifactId": string;
|
|
25
25
|
/**
|
|
26
26
|
* Unique Oracle-assigned [request ID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm)
|
|
27
27
|
* <p>
|
|
28
|
-
Example:
|
|
28
|
+
Example: {@code bxxxxxxx-fxxx-4xxx-9xxx-bxxxxxxxxxxx}
|
|
29
29
|
* If you contact Oracle about a request, provide this request ID.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
@@ -14,27 +14,27 @@
|
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
import stream = require("stream");
|
|
16
16
|
/**
|
|
17
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
17
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.77.0/genericartifactscontent/PutGenericArtifactContentByPath.ts.html |here} to see how to use PutGenericArtifactContentByPathRequest.
|
|
18
18
|
*/
|
|
19
19
|
export interface PutGenericArtifactContentByPathRequest extends common.BaseRequest {
|
|
20
20
|
/**
|
|
21
21
|
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
|
|
22
22
|
* <p>
|
|
23
|
-
Example:
|
|
23
|
+
Example: {@code ocid1.repository.oc1..exampleuniqueID}
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
"repositoryId": string;
|
|
27
27
|
/**
|
|
28
28
|
* A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
|
|
29
29
|
* <p>
|
|
30
|
-
Example:
|
|
30
|
+
Example: {@code project01/my-web-app/artifact-abc}
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
"artifactPath": string;
|
|
34
34
|
/**
|
|
35
35
|
* A user-defined string to describe the artifact version.
|
|
36
36
|
* <p>
|
|
37
|
-
Example:
|
|
37
|
+
Example: {@code 1.1.2} or {@code 1.2-beta-2}
|
|
38
38
|
*
|
|
39
39
|
*/
|
|
40
40
|
"version": string;
|
|
@@ -43,14 +43,14 @@ export interface PutGenericArtifactContentByPathRequest extends common.BaseReque
|
|
|
43
43
|
*/
|
|
44
44
|
"genericArtifactContentBody": Uint8Array | Buffer | Blob | stream.Readable | ReadableStream | string;
|
|
45
45
|
/**
|
|
46
|
-
* For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
46
|
+
* For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match} parameter to the value of the {@code etag} from a previous GET or POST response for that resource. The resource will be updated or deleted only if the {@code etag} you provide matches the resource's current {@code etag} value. When 'if-match' is provided and its value does not exactly match the 'etag' of the resource on the server, the request fails with the 412 response code.
|
|
47
47
|
*
|
|
48
48
|
*/
|
|
49
49
|
"ifMatch"?: string;
|
|
50
50
|
/**
|
|
51
51
|
* Unique Oracle-assigned [request ID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm)
|
|
52
52
|
* <p>
|
|
53
|
-
Example:
|
|
53
|
+
Example: {@code bxxxxxxx-fxxx-4xxx-9xxx-bxxxxxxxxxxx}
|
|
54
54
|
* If you contact Oracle about a request, provide this request ID.
|
|
55
55
|
*
|
|
56
56
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-genericartifactscontent",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.77.0",
|
|
4
4
|
"description": "OCI NodeJS client for Generic Artifacts Content 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.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.77.0",
|
|
19
|
+
"oci-workrequests": "2.77.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|