@scaleway/sdk 2.72.0 → 2.73.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/dist/api/account/v3/api.gen.cjs +13 -32
- package/dist/api/account/v3/api.gen.d.ts +17 -36
- package/dist/api/account/v3/api.gen.js +13 -32
- package/dist/api/account/v3/types.gen.d.ts +187 -85
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
- package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
- package/dist/api/baremetal/v1/api.gen.cjs +28 -61
- package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
- package/dist/api/baremetal/v1/api.gen.js +28 -61
- package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
- package/dist/api/baremetal/v3/api.gen.cjs +7 -14
- package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
- package/dist/api/baremetal/v3/api.gen.js +7 -14
- package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
- package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
- package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
- package/dist/api/billing/v2beta1/api.gen.js +11 -20
- package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
- package/dist/api/block/v1/api.gen.cjs +37 -55
- package/dist/api/block/v1/api.gen.d.ts +19 -37
- package/dist/api/block/v1/api.gen.js +37 -55
- package/dist/api/block/v1/types.gen.d.ts +306 -125
- package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
- package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
- package/dist/api/block/v1alpha1/api.gen.js +45 -64
- package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
- package/dist/api/cockpit/v1/api.gen.cjs +100 -156
- package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
- package/dist/api/cockpit/v1/api.gen.js +100 -156
- package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
- package/dist/api/container/v1beta1/api.gen.cjs +7 -14
- package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
- package/dist/api/container/v1beta1/api.gen.js +7 -14
- package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
- package/dist/api/dedibox/v1/api.gen.cjs +45 -69
- package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
- package/dist/api/dedibox/v1/api.gen.js +45 -69
- package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
- package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
- package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
- package/dist/api/domain/v2beta1/api.gen.js +119 -178
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
- package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
- package/dist/api/inference/v1/api.gen.cjs +8 -11
- package/dist/api/inference/v1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1/api.gen.js +8 -11
- package/dist/api/inference/v1/types.gen.d.ts +330 -150
- package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
- package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1beta1/api.gen.js +8 -11
- package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
- package/dist/api/instance/v1/api.gen.cjs +64 -113
- package/dist/api/instance/v1/api.gen.d.ts +54 -103
- package/dist/api/instance/v1/api.gen.js +64 -113
- package/dist/api/instance/v1/types.gen.d.ts +1351 -598
- package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
- package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
- package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
- package/dist/api/interlink/v1beta1/api.gen.js +21 -67
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
- package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
- package/dist/api/iot/v1/api.gen.cjs +37 -70
- package/dist/api/iot/v1/api.gen.d.ts +34 -67
- package/dist/api/iot/v1/api.gen.js +37 -70
- package/dist/api/iot/v1/types.gen.d.ts +566 -321
- package/dist/api/ipam/v1/api.gen.cjs +6 -26
- package/dist/api/ipam/v1/api.gen.d.ts +8 -29
- package/dist/api/ipam/v1/api.gen.js +6 -26
- package/dist/api/ipam/v1/types.gen.d.ts +146 -105
- package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
- package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
- package/dist/api/k8s/v1/api.gen.cjs +33 -78
- package/dist/api/k8s/v1/api.gen.d.ts +27 -72
- package/dist/api/k8s/v1/api.gen.js +33 -78
- package/dist/api/k8s/v1/types.gen.d.ts +743 -506
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
- package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
- package/dist/api/marketplace/v2/api.gen.cjs +8 -21
- package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
- package/dist/api/marketplace/v2/api.gen.js +8 -21
- package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
- package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
- package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
- package/dist/api/mnq/v1beta1/api.gen.js +24 -76
- package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
- package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
- package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
- package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
- package/dist/api/rdb/v1/api.gen.cjs +62 -202
- package/dist/api/rdb/v1/api.gen.d.ts +60 -201
- package/dist/api/rdb/v1/api.gen.js +62 -202
- package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
- package/dist/api/redis/v1/api.gen.cjs +23 -83
- package/dist/api/redis/v1/api.gen.d.ts +25 -85
- package/dist/api/redis/v1/api.gen.js +23 -83
- package/dist/api/redis/v1/types.gen.d.ts +447 -170
- package/dist/api/registry/v1/api.gen.cjs +12 -40
- package/dist/api/registry/v1/api.gen.d.ts +14 -42
- package/dist/api/registry/v1/api.gen.js +12 -40
- package/dist/api/registry/v1/types.gen.d.ts +200 -116
- package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
- package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
- package/dist/api/secret/v1beta1/api.gen.js +19 -47
- package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
- package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
- package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
- package/dist/api/tem/v1alpha1/api.gen.js +22 -58
- package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
- package/dist/api/test/v1/api.gen.cjs +8 -11
- package/dist/api/test/v1/api.gen.d.ts +6 -9
- package/dist/api/test/v1/api.gen.js +8 -11
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/client/dist/package.json.cjs +1 -1
- package/dist/client/dist/package.json.js +1 -1
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
- package/node_modules/@scaleway/sdk-client/package.json +1 -2
- package/package.json +2 -2
- package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
|
@@ -13,8 +13,7 @@ class ContractAPI extends api.API {
|
|
|
13
13
|
/**
|
|
14
14
|
* Download a contract content.
|
|
15
15
|
*
|
|
16
|
-
* @param request - The request
|
|
17
|
-
* {@link ContractApiDownloadContractSignatureRequest}
|
|
16
|
+
* @param request - The request {@link ContractApiDownloadContractSignatureRequest}
|
|
18
17
|
* @returns A Promise of Blob
|
|
19
18
|
*/
|
|
20
19
|
downloadContractSignature = (request) => this.client.fetch({
|
|
@@ -24,11 +23,9 @@ class ContractAPI extends api.API {
|
|
|
24
23
|
responseType: "blob"
|
|
25
24
|
});
|
|
26
25
|
/**
|
|
27
|
-
* Create a signature for your Organization for the latest version of the
|
|
28
|
-
* requested contract.
|
|
26
|
+
* Create a signature for your Organization for the latest version of the requested contract.
|
|
29
27
|
*
|
|
30
|
-
* @param request - The request
|
|
31
|
-
* {@link ContractApiCreateContractSignatureRequest}
|
|
28
|
+
* @param request - The request {@link ContractApiCreateContractSignatureRequest}
|
|
32
29
|
* @returns A Promise of ContractSignature
|
|
33
30
|
*/
|
|
34
31
|
createContractSignature = (request) => this.client.fetch(
|
|
@@ -48,8 +45,7 @@ class ContractAPI extends api.API {
|
|
|
48
45
|
/**
|
|
49
46
|
* Sign a contract for your Organization.
|
|
50
47
|
*
|
|
51
|
-
* @param request - The request
|
|
52
|
-
* {@link ContractApiValidateContractSignatureRequest}
|
|
48
|
+
* @param request - The request {@link ContractApiValidateContractSignatureRequest}
|
|
53
49
|
* @returns A Promise of ContractSignature
|
|
54
50
|
*/
|
|
55
51
|
validateContractSignature = (request) => this.client.fetch(
|
|
@@ -64,8 +60,7 @@ class ContractAPI extends api.API {
|
|
|
64
60
|
/**
|
|
65
61
|
* Check if a contract is signed for your Organization.
|
|
66
62
|
*
|
|
67
|
-
* @param request - The request
|
|
68
|
-
* {@link ContractApiCheckContractSignatureRequest}
|
|
63
|
+
* @param request - The request {@link ContractApiCheckContractSignatureRequest}
|
|
69
64
|
* @returns A Promise of CheckContractSignatureResponse
|
|
70
65
|
*/
|
|
71
66
|
checkContractSignature = (request) => this.client.fetch(
|
|
@@ -104,8 +99,7 @@ class ContractAPI extends api.API {
|
|
|
104
99
|
/**
|
|
105
100
|
* List contract signatures for an Organization.
|
|
106
101
|
*
|
|
107
|
-
* @param request - The request
|
|
108
|
-
* {@link ContractApiListContractSignaturesRequest}
|
|
102
|
+
* @param request - The request {@link ContractApiListContractSignaturesRequest}
|
|
109
103
|
* @returns A Promise of ListContractSignaturesResponse
|
|
110
104
|
*/
|
|
111
105
|
listContractSignatures = (request = {}) => resourcePaginator.enrichForPagination(
|
|
@@ -116,8 +110,7 @@ class ContractAPI extends api.API {
|
|
|
116
110
|
}
|
|
117
111
|
class ProjectAPI extends api.API {
|
|
118
112
|
/**
|
|
119
|
-
* Create a new Project for an Organization. Generate a new Project for an
|
|
120
|
-
* Organization, specifying its configuration including name and description.
|
|
113
|
+
* Create a new Project for an Organization. Generate a new Project for an Organization, specifying its configuration including name and description.
|
|
121
114
|
*
|
|
122
115
|
* @param request - The request {@link ProjectApiCreateProjectRequest}
|
|
123
116
|
* @returns A Promise of Project
|
|
@@ -155,19 +148,14 @@ class ProjectAPI extends api.API {
|
|
|
155
148
|
marshalling_gen.unmarshalListProjectsResponse
|
|
156
149
|
);
|
|
157
150
|
/**
|
|
158
|
-
* List all Projects of an Organization. List all Projects of an Organization.
|
|
159
|
-
* The response will include the total number of Projects as well as their
|
|
160
|
-
* associated Organizations, names, and IDs. Other information includes the
|
|
161
|
-
* creation and update date of the Project.
|
|
151
|
+
* List all Projects of an Organization. List all Projects of an Organization. The response will include the total number of Projects as well as their associated Organizations, names, and IDs. Other information includes the creation and update date of the Project.
|
|
162
152
|
*
|
|
163
153
|
* @param request - The request {@link ProjectApiListProjectsRequest}
|
|
164
154
|
* @returns A Promise of ListProjectsResponse
|
|
165
155
|
*/
|
|
166
156
|
listProjects = (request = {}) => resourcePaginator.enrichForPagination("projects", this.pageOfListProjects, request);
|
|
167
157
|
/**
|
|
168
|
-
* Get an existing Project. Retrieve information about an existing Project,
|
|
169
|
-
* specified by its Project ID. Its full details, including ID, name and
|
|
170
|
-
* description, are returned in the response object.
|
|
158
|
+
* Get an existing Project. Retrieve information about an existing Project, specified by its Project ID. Its full details, including ID, name and description, are returned in the response object.
|
|
171
159
|
*
|
|
172
160
|
* @param request - The request {@link ProjectApiGetProjectRequest}
|
|
173
161
|
* @returns A Promise of Project
|
|
@@ -180,10 +168,7 @@ class ProjectAPI extends api.API {
|
|
|
180
168
|
marshalling_gen.unmarshalProject
|
|
181
169
|
);
|
|
182
170
|
/**
|
|
183
|
-
* Delete an existing Project. Delete an existing Project, specified by its
|
|
184
|
-
* Project ID. The Project needs to be empty (meaning there are no resources
|
|
185
|
-
* left in it) to be deleted effectively. Note that deleting a Project is
|
|
186
|
-
* permanent, and cannot be undone.
|
|
171
|
+
* Delete an existing Project. Delete an existing Project, specified by its Project ID. The Project needs to be empty (meaning there are no resources left in it) to be deleted effectively. Note that deleting a Project is permanent, and cannot be undone.
|
|
187
172
|
*
|
|
188
173
|
* @param request - The request {@link ProjectApiDeleteProjectRequest}
|
|
189
174
|
*/
|
|
@@ -192,8 +177,7 @@ class ProjectAPI extends api.API {
|
|
|
192
177
|
path: `/account/v3/projects/${marshalling.validatePathParam("projectId", request.projectId ?? this.client.settings.defaultProjectId)}`
|
|
193
178
|
});
|
|
194
179
|
/**
|
|
195
|
-
* Update Project. Update the parameters of an existing Project, specified by
|
|
196
|
-
* its Project ID. These parameters include the name and description.
|
|
180
|
+
* Update Project. Update the parameters of an existing Project, specified by its Project ID. These parameters include the name and description.
|
|
197
181
|
*
|
|
198
182
|
* @param request - The request {@link ProjectApiUpdateProjectRequest}
|
|
199
183
|
* @returns A Promise of Project
|
|
@@ -210,12 +194,9 @@ class ProjectAPI extends api.API {
|
|
|
210
194
|
marshalling_gen.unmarshalProject
|
|
211
195
|
);
|
|
212
196
|
/**
|
|
213
|
-
* Set project use case. Set the project use case for a new or existing
|
|
214
|
-
* Project, specified by its Project ID. You can customize the use case, sub
|
|
215
|
-
* use case, and architecture type you want to use in the Project.
|
|
197
|
+
* Set project use case. Set the project use case for a new or existing Project, specified by its Project ID. You can customize the use case, sub use case, and architecture type you want to use in the Project.
|
|
216
198
|
*
|
|
217
|
-
* @param request - The request
|
|
218
|
-
* {@link ProjectApiSetProjectQualificationRequest}
|
|
199
|
+
* @param request - The request {@link ProjectApiSetProjectQualificationRequest}
|
|
219
200
|
* @returns A Promise of ProjectQualification
|
|
220
201
|
*/
|
|
221
202
|
setProjectQualification = (request = {}) => this.client.fetch(
|
|
@@ -2,40 +2,35 @@ import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
|
2
2
|
import type { CheckContractSignatureResponse, ContractApiCheckContractSignatureRequest, ContractApiCreateContractSignatureRequest, ContractApiDownloadContractSignatureRequest, ContractApiListContractSignaturesRequest, ContractApiValidateContractSignatureRequest, ContractSignature, ListContractSignaturesResponse, ListProjectsResponse, Project, ProjectApiCreateProjectRequest, ProjectApiDeleteProjectRequest, ProjectApiGetProjectRequest, ProjectApiListProjectsRequest, ProjectApiSetProjectQualificationRequest, ProjectApiUpdateProjectRequest, ProjectQualification } from './types.gen';
|
|
3
3
|
/**
|
|
4
4
|
* Contract API.
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
|
|
6
|
+
The Contract API allows you to manage contracts.
|
|
7
7
|
*/
|
|
8
8
|
export declare class ContractAPI extends ParentAPI {
|
|
9
9
|
/**
|
|
10
10
|
* Download a contract content.
|
|
11
11
|
*
|
|
12
|
-
* @param request - The request
|
|
13
|
-
* {@link ContractApiDownloadContractSignatureRequest}
|
|
12
|
+
* @param request - The request {@link ContractApiDownloadContractSignatureRequest}
|
|
14
13
|
* @returns A Promise of Blob
|
|
15
14
|
*/
|
|
16
15
|
downloadContractSignature: (request: Readonly<ContractApiDownloadContractSignatureRequest>) => Promise<Blob>;
|
|
17
16
|
/**
|
|
18
|
-
* Create a signature for your Organization for the latest version of the
|
|
19
|
-
* requested contract.
|
|
17
|
+
* Create a signature for your Organization for the latest version of the requested contract.
|
|
20
18
|
*
|
|
21
|
-
* @param request - The request
|
|
22
|
-
* {@link ContractApiCreateContractSignatureRequest}
|
|
19
|
+
* @param request - The request {@link ContractApiCreateContractSignatureRequest}
|
|
23
20
|
* @returns A Promise of ContractSignature
|
|
24
21
|
*/
|
|
25
22
|
createContractSignature: (request: Readonly<ContractApiCreateContractSignatureRequest>) => Promise<ContractSignature>;
|
|
26
23
|
/**
|
|
27
24
|
* Sign a contract for your Organization.
|
|
28
25
|
*
|
|
29
|
-
* @param request - The request
|
|
30
|
-
* {@link ContractApiValidateContractSignatureRequest}
|
|
26
|
+
* @param request - The request {@link ContractApiValidateContractSignatureRequest}
|
|
31
27
|
* @returns A Promise of ContractSignature
|
|
32
28
|
*/
|
|
33
29
|
validateContractSignature: (request: Readonly<ContractApiValidateContractSignatureRequest>) => Promise<ContractSignature>;
|
|
34
30
|
/**
|
|
35
31
|
* Check if a contract is signed for your Organization.
|
|
36
32
|
*
|
|
37
|
-
* @param request - The request
|
|
38
|
-
* {@link ContractApiCheckContractSignatureRequest}
|
|
33
|
+
* @param request - The request {@link ContractApiCheckContractSignatureRequest}
|
|
39
34
|
* @returns A Promise of CheckContractSignatureResponse
|
|
40
35
|
*/
|
|
41
36
|
checkContractSignature: (request: Readonly<ContractApiCheckContractSignatureRequest>) => Promise<CheckContractSignatureResponse>;
|
|
@@ -43,8 +38,7 @@ export declare class ContractAPI extends ParentAPI {
|
|
|
43
38
|
/**
|
|
44
39
|
* List contract signatures for an Organization.
|
|
45
40
|
*
|
|
46
|
-
* @param request - The request
|
|
47
|
-
* {@link ContractApiListContractSignaturesRequest}
|
|
41
|
+
* @param request - The request {@link ContractApiListContractSignaturesRequest}
|
|
48
42
|
* @returns A Promise of ListContractSignaturesResponse
|
|
49
43
|
*/
|
|
50
44
|
listContractSignatures: (request?: Readonly<ContractApiListContractSignaturesRequest>) => Promise<ListContractSignaturesResponse> & {
|
|
@@ -54,13 +48,12 @@ export declare class ContractAPI extends ParentAPI {
|
|
|
54
48
|
}
|
|
55
49
|
/**
|
|
56
50
|
* Account API.
|
|
57
|
-
|
|
58
|
-
|
|
51
|
+
|
|
52
|
+
This API allows you to manage your Scaleway Projects.
|
|
59
53
|
*/
|
|
60
54
|
export declare class ProjectAPI extends ParentAPI {
|
|
61
55
|
/**
|
|
62
|
-
* Create a new Project for an Organization. Generate a new Project for an
|
|
63
|
-
* Organization, specifying its configuration including name and description.
|
|
56
|
+
* Create a new Project for an Organization. Generate a new Project for an Organization, specifying its configuration including name and description.
|
|
64
57
|
*
|
|
65
58
|
* @param request - The request {@link ProjectApiCreateProjectRequest}
|
|
66
59
|
* @returns A Promise of Project
|
|
@@ -68,10 +61,7 @@ export declare class ProjectAPI extends ParentAPI {
|
|
|
68
61
|
createProject: (request: Readonly<ProjectApiCreateProjectRequest>) => Promise<Project>;
|
|
69
62
|
protected pageOfListProjects: (request?: Readonly<ProjectApiListProjectsRequest>) => Promise<ListProjectsResponse>;
|
|
70
63
|
/**
|
|
71
|
-
* List all Projects of an Organization. List all Projects of an Organization.
|
|
72
|
-
* The response will include the total number of Projects as well as their
|
|
73
|
-
* associated Organizations, names, and IDs. Other information includes the
|
|
74
|
-
* creation and update date of the Project.
|
|
64
|
+
* List all Projects of an Organization. List all Projects of an Organization. The response will include the total number of Projects as well as their associated Organizations, names, and IDs. Other information includes the creation and update date of the Project.
|
|
75
65
|
*
|
|
76
66
|
* @param request - The request {@link ProjectApiListProjectsRequest}
|
|
77
67
|
* @returns A Promise of ListProjectsResponse
|
|
@@ -81,38 +71,29 @@ export declare class ProjectAPI extends ParentAPI {
|
|
|
81
71
|
[Symbol.asyncIterator]: () => AsyncGenerator<Project[], void, void>;
|
|
82
72
|
};
|
|
83
73
|
/**
|
|
84
|
-
* Get an existing Project. Retrieve information about an existing Project,
|
|
85
|
-
* specified by its Project ID. Its full details, including ID, name and
|
|
86
|
-
* description, are returned in the response object.
|
|
74
|
+
* Get an existing Project. Retrieve information about an existing Project, specified by its Project ID. Its full details, including ID, name and description, are returned in the response object.
|
|
87
75
|
*
|
|
88
76
|
* @param request - The request {@link ProjectApiGetProjectRequest}
|
|
89
77
|
* @returns A Promise of Project
|
|
90
78
|
*/
|
|
91
79
|
getProject: (request?: Readonly<ProjectApiGetProjectRequest>) => Promise<Project>;
|
|
92
80
|
/**
|
|
93
|
-
* Delete an existing Project. Delete an existing Project, specified by its
|
|
94
|
-
* Project ID. The Project needs to be empty (meaning there are no resources
|
|
95
|
-
* left in it) to be deleted effectively. Note that deleting a Project is
|
|
96
|
-
* permanent, and cannot be undone.
|
|
81
|
+
* Delete an existing Project. Delete an existing Project, specified by its Project ID. The Project needs to be empty (meaning there are no resources left in it) to be deleted effectively. Note that deleting a Project is permanent, and cannot be undone.
|
|
97
82
|
*
|
|
98
83
|
* @param request - The request {@link ProjectApiDeleteProjectRequest}
|
|
99
84
|
*/
|
|
100
85
|
deleteProject: (request?: Readonly<ProjectApiDeleteProjectRequest>) => Promise<void>;
|
|
101
86
|
/**
|
|
102
|
-
* Update Project. Update the parameters of an existing Project, specified by
|
|
103
|
-
* its Project ID. These parameters include the name and description.
|
|
87
|
+
* Update Project. Update the parameters of an existing Project, specified by its Project ID. These parameters include the name and description.
|
|
104
88
|
*
|
|
105
89
|
* @param request - The request {@link ProjectApiUpdateProjectRequest}
|
|
106
90
|
* @returns A Promise of Project
|
|
107
91
|
*/
|
|
108
92
|
updateProject: (request?: Readonly<ProjectApiUpdateProjectRequest>) => Promise<Project>;
|
|
109
93
|
/**
|
|
110
|
-
* Set project use case. Set the project use case for a new or existing
|
|
111
|
-
* Project, specified by its Project ID. You can customize the use case, sub
|
|
112
|
-
* use case, and architecture type you want to use in the Project.
|
|
94
|
+
* Set project use case. Set the project use case for a new or existing Project, specified by its Project ID. You can customize the use case, sub use case, and architecture type you want to use in the Project.
|
|
113
95
|
*
|
|
114
|
-
* @param request - The request
|
|
115
|
-
* {@link ProjectApiSetProjectQualificationRequest}
|
|
96
|
+
* @param request - The request {@link ProjectApiSetProjectQualificationRequest}
|
|
116
97
|
* @returns A Promise of ProjectQualification
|
|
117
98
|
*/
|
|
118
99
|
setProjectQualification: (request?: Readonly<ProjectApiSetProjectQualificationRequest>) => Promise<ProjectQualification>;
|
|
@@ -11,8 +11,7 @@ class ContractAPI extends API$1 {
|
|
|
11
11
|
/**
|
|
12
12
|
* Download a contract content.
|
|
13
13
|
*
|
|
14
|
-
* @param request - The request
|
|
15
|
-
* {@link ContractApiDownloadContractSignatureRequest}
|
|
14
|
+
* @param request - The request {@link ContractApiDownloadContractSignatureRequest}
|
|
16
15
|
* @returns A Promise of Blob
|
|
17
16
|
*/
|
|
18
17
|
downloadContractSignature = (request) => this.client.fetch({
|
|
@@ -22,11 +21,9 @@ class ContractAPI extends API$1 {
|
|
|
22
21
|
responseType: "blob"
|
|
23
22
|
});
|
|
24
23
|
/**
|
|
25
|
-
* Create a signature for your Organization for the latest version of the
|
|
26
|
-
* requested contract.
|
|
24
|
+
* Create a signature for your Organization for the latest version of the requested contract.
|
|
27
25
|
*
|
|
28
|
-
* @param request - The request
|
|
29
|
-
* {@link ContractApiCreateContractSignatureRequest}
|
|
26
|
+
* @param request - The request {@link ContractApiCreateContractSignatureRequest}
|
|
30
27
|
* @returns A Promise of ContractSignature
|
|
31
28
|
*/
|
|
32
29
|
createContractSignature = (request) => this.client.fetch(
|
|
@@ -46,8 +43,7 @@ class ContractAPI extends API$1 {
|
|
|
46
43
|
/**
|
|
47
44
|
* Sign a contract for your Organization.
|
|
48
45
|
*
|
|
49
|
-
* @param request - The request
|
|
50
|
-
* {@link ContractApiValidateContractSignatureRequest}
|
|
46
|
+
* @param request - The request {@link ContractApiValidateContractSignatureRequest}
|
|
51
47
|
* @returns A Promise of ContractSignature
|
|
52
48
|
*/
|
|
53
49
|
validateContractSignature = (request) => this.client.fetch(
|
|
@@ -62,8 +58,7 @@ class ContractAPI extends API$1 {
|
|
|
62
58
|
/**
|
|
63
59
|
* Check if a contract is signed for your Organization.
|
|
64
60
|
*
|
|
65
|
-
* @param request - The request
|
|
66
|
-
* {@link ContractApiCheckContractSignatureRequest}
|
|
61
|
+
* @param request - The request {@link ContractApiCheckContractSignatureRequest}
|
|
67
62
|
* @returns A Promise of CheckContractSignatureResponse
|
|
68
63
|
*/
|
|
69
64
|
checkContractSignature = (request) => this.client.fetch(
|
|
@@ -102,8 +97,7 @@ class ContractAPI extends API$1 {
|
|
|
102
97
|
/**
|
|
103
98
|
* List contract signatures for an Organization.
|
|
104
99
|
*
|
|
105
|
-
* @param request - The request
|
|
106
|
-
* {@link ContractApiListContractSignaturesRequest}
|
|
100
|
+
* @param request - The request {@link ContractApiListContractSignaturesRequest}
|
|
107
101
|
* @returns A Promise of ListContractSignaturesResponse
|
|
108
102
|
*/
|
|
109
103
|
listContractSignatures = (request = {}) => enrichForPagination(
|
|
@@ -114,8 +108,7 @@ class ContractAPI extends API$1 {
|
|
|
114
108
|
}
|
|
115
109
|
class ProjectAPI extends API$1 {
|
|
116
110
|
/**
|
|
117
|
-
* Create a new Project for an Organization. Generate a new Project for an
|
|
118
|
-
* Organization, specifying its configuration including name and description.
|
|
111
|
+
* Create a new Project for an Organization. Generate a new Project for an Organization, specifying its configuration including name and description.
|
|
119
112
|
*
|
|
120
113
|
* @param request - The request {@link ProjectApiCreateProjectRequest}
|
|
121
114
|
* @returns A Promise of Project
|
|
@@ -153,19 +146,14 @@ class ProjectAPI extends API$1 {
|
|
|
153
146
|
unmarshalListProjectsResponse
|
|
154
147
|
);
|
|
155
148
|
/**
|
|
156
|
-
* List all Projects of an Organization. List all Projects of an Organization.
|
|
157
|
-
* The response will include the total number of Projects as well as their
|
|
158
|
-
* associated Organizations, names, and IDs. Other information includes the
|
|
159
|
-
* creation and update date of the Project.
|
|
149
|
+
* List all Projects of an Organization. List all Projects of an Organization. The response will include the total number of Projects as well as their associated Organizations, names, and IDs. Other information includes the creation and update date of the Project.
|
|
160
150
|
*
|
|
161
151
|
* @param request - The request {@link ProjectApiListProjectsRequest}
|
|
162
152
|
* @returns A Promise of ListProjectsResponse
|
|
163
153
|
*/
|
|
164
154
|
listProjects = (request = {}) => enrichForPagination("projects", this.pageOfListProjects, request);
|
|
165
155
|
/**
|
|
166
|
-
* Get an existing Project. Retrieve information about an existing Project,
|
|
167
|
-
* specified by its Project ID. Its full details, including ID, name and
|
|
168
|
-
* description, are returned in the response object.
|
|
156
|
+
* Get an existing Project. Retrieve information about an existing Project, specified by its Project ID. Its full details, including ID, name and description, are returned in the response object.
|
|
169
157
|
*
|
|
170
158
|
* @param request - The request {@link ProjectApiGetProjectRequest}
|
|
171
159
|
* @returns A Promise of Project
|
|
@@ -178,10 +166,7 @@ class ProjectAPI extends API$1 {
|
|
|
178
166
|
unmarshalProject
|
|
179
167
|
);
|
|
180
168
|
/**
|
|
181
|
-
* Delete an existing Project. Delete an existing Project, specified by its
|
|
182
|
-
* Project ID. The Project needs to be empty (meaning there are no resources
|
|
183
|
-
* left in it) to be deleted effectively. Note that deleting a Project is
|
|
184
|
-
* permanent, and cannot be undone.
|
|
169
|
+
* Delete an existing Project. Delete an existing Project, specified by its Project ID. The Project needs to be empty (meaning there are no resources left in it) to be deleted effectively. Note that deleting a Project is permanent, and cannot be undone.
|
|
185
170
|
*
|
|
186
171
|
* @param request - The request {@link ProjectApiDeleteProjectRequest}
|
|
187
172
|
*/
|
|
@@ -190,8 +175,7 @@ class ProjectAPI extends API$1 {
|
|
|
190
175
|
path: `/account/v3/projects/${validatePathParam("projectId", request.projectId ?? this.client.settings.defaultProjectId)}`
|
|
191
176
|
});
|
|
192
177
|
/**
|
|
193
|
-
* Update Project. Update the parameters of an existing Project, specified by
|
|
194
|
-
* its Project ID. These parameters include the name and description.
|
|
178
|
+
* Update Project. Update the parameters of an existing Project, specified by its Project ID. These parameters include the name and description.
|
|
195
179
|
*
|
|
196
180
|
* @param request - The request {@link ProjectApiUpdateProjectRequest}
|
|
197
181
|
* @returns A Promise of Project
|
|
@@ -208,12 +192,9 @@ class ProjectAPI extends API$1 {
|
|
|
208
192
|
unmarshalProject
|
|
209
193
|
);
|
|
210
194
|
/**
|
|
211
|
-
* Set project use case. Set the project use case for a new or existing
|
|
212
|
-
* Project, specified by its Project ID. You can customize the use case, sub
|
|
213
|
-
* use case, and architecture type you want to use in the Project.
|
|
195
|
+
* Set project use case. Set the project use case for a new or existing Project, specified by its Project ID. You can customize the use case, sub use case, and architecture type you want to use in the Project.
|
|
214
196
|
*
|
|
215
|
-
* @param request - The request
|
|
216
|
-
* {@link ProjectApiSetProjectQualificationRequest}
|
|
197
|
+
* @param request - The request {@link ProjectApiSetProjectQualificationRequest}
|
|
217
198
|
* @returns A Promise of ProjectQualification
|
|
218
199
|
*/
|
|
219
200
|
setProjectQualification = (request = {}) => this.client.fetch(
|