@stack-spot/portal-network 0.1.0 → 0.2.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/CHANGELOG.md +9 -0
- package/package.json +7 -6
- package/src/apis.json +2 -10
- package/src/client/account.ts +44 -2
- package/src/error/CanceledError.ts +3 -0
- package/src/error/DefaultAPIError.ts +27 -1
- package/src/error/StackspotAPIError.ts +33 -1
- package/src/network/AutoInfiniteQuery.ts +97 -0
- package/src/network/AutoQuery.ts +2 -1
- package/src/network/ManualInfiniteQuery.ts +88 -0
- package/src/network/ManualQuery.ts +2 -2
- package/src/network/NetworkClient.ts +79 -13
- package/src/network/ReactQueryNetworkClient.ts +130 -12
- package/src/network/react-query-client.ts +3 -0
- package/src/network/types.ts +208 -2
- package/.generate-api.failed.json +0 -1
- package/dist/api/account.d.ts +0 -2368
- package/dist/api/account.d.ts.map +0 -1
- package/dist/api/account.js +0 -1521
- package/dist/api/account.js.map +0 -1
- package/dist/api/ai.d.ts +0 -1432
- package/dist/api/ai.d.ts.map +0 -1
- package/dist/api/ai.js +0 -1342
- package/dist/api/ai.js.map +0 -1
- package/dist/api/apiRuntime.d.ts +0 -922
- package/dist/api/apiRuntime.d.ts.map +0 -1
- package/dist/api/apiRuntime.js +0 -599
- package/dist/api/apiRuntime.js.map +0 -1
- package/dist/api/cloudAccount.d.ts +0 -473
- package/dist/api/cloudAccount.d.ts.map +0 -1
- package/dist/api/cloudAccount.js +0 -300
- package/dist/api/cloudAccount.js.map +0 -1
- package/dist/api/cloudServices.d.ts +0 -1233
- package/dist/api/cloudServices.d.ts.map +0 -1
- package/dist/api/cloudServices.js +0 -715
- package/dist/api/cloudServices.js.map +0 -1
- package/dist/api/insights.d.ts +0 -123
- package/dist/api/insights.d.ts.map +0 -1
- package/dist/api/insights.js +0 -112
- package/dist/api/insights.js.map +0 -1
- package/dist/api/plugin.d.ts +0 -368
- package/dist/api/plugin.d.ts.map +0 -1
- package/dist/api/plugin.js +0 -218
- package/dist/api/plugin.js.map +0 -1
- package/dist/api/serviceCatalog.d.ts +0 -737
- package/dist/api/serviceCatalog.d.ts.map +0 -1
- package/dist/api/serviceCatalog.js +0 -611
- package/dist/api/serviceCatalog.js.map +0 -1
- package/dist/api/workflows.d.ts +0 -366
- package/dist/api/workflows.d.ts.map +0 -1
- package/dist/api/workflows.js +0 -175
- package/dist/api/workflows.js.map +0 -1
- package/dist/api/workspace.js +0 -1476
- package/dist/api/workspace.js.map +0 -1
- package/dist/api/workspaceManager.d.ts +0 -1121
- package/dist/api/workspaceManager.d.ts.map +0 -1
- package/dist/api/workspaceManager.js +0 -357
- package/dist/api/workspaceManager.js.map +0 -1
- package/dist/api/workspaceSearchEngine.d.ts +0 -93
- package/dist/api/workspaceSearchEngine.d.ts.map +0 -1
- package/dist/api/workspaceSearchEngine.js +0 -55
- package/dist/api/workspaceSearchEngine.js.map +0 -1
- package/dist/apis.json +0 -129
- package/dist/client/account.d.ts +0 -46
- package/dist/client/account.d.ts.map +0 -1
- package/dist/client/account.js +0 -104
- package/dist/client/account.js.map +0 -1
- package/dist/error/CanceledError.d.ts +0 -5
- package/dist/error/CanceledError.d.ts.map +0 -1
- package/dist/error/CanceledError.js +0 -7
- package/dist/error/CanceledError.js.map +0 -1
- package/dist/error/DefaultAPIError.d.ts +0 -9
- package/dist/error/DefaultAPIError.d.ts.map +0 -1
- package/dist/error/DefaultAPIError.js +0 -58
- package/dist/error/DefaultAPIError.js.map +0 -1
- package/dist/error/StackspotAPIError.d.ts +0 -19
- package/dist/error/StackspotAPIError.d.ts.map +0 -1
- package/dist/error/StackspotAPIError.js +0 -39
- package/dist/error/StackspotAPIError.js.map +0 -1
- package/dist/error/dictionary/account.d.ts +0 -55
- package/dist/error/dictionary/account.d.ts.map +0 -1
- package/dist/error/dictionary/account.js +0 -55
- package/dist/error/dictionary/account.js.map +0 -1
- package/dist/error/dictionary/action.d.ts +0 -163
- package/dist/error/dictionary/action.d.ts.map +0 -1
- package/dist/error/dictionary/action.js +0 -163
- package/dist/error/dictionary/action.js.map +0 -1
- package/dist/error/dictionary/base.d.ts +0 -21
- package/dist/error/dictionary/base.d.ts.map +0 -1
- package/dist/error/dictionary/base.js +0 -21
- package/dist/error/dictionary/base.js.map +0 -1
- package/dist/error/dictionary/cnt-fields.d.ts +0 -13
- package/dist/error/dictionary/cnt-fields.d.ts.map +0 -1
- package/dist/error/dictionary/cnt-fields.js +0 -13
- package/dist/error/dictionary/cnt-fields.js.map +0 -1
- package/dist/error/dictionary/cnt.d.ts +0 -79
- package/dist/error/dictionary/cnt.d.ts.map +0 -1
- package/dist/error/dictionary/cnt.js +0 -79
- package/dist/error/dictionary/cnt.js.map +0 -1
- package/dist/error/dictionary/rte.d.ts +0 -23
- package/dist/error/dictionary/rte.d.ts.map +0 -1
- package/dist/error/dictionary/rte.js +0 -23
- package/dist/error/dictionary/rte.js.map +0 -1
- package/dist/error/dictionary/rtm.d.ts +0 -9
- package/dist/error/dictionary/rtm.d.ts.map +0 -1
- package/dist/error/dictionary/rtm.js +0 -9
- package/dist/error/dictionary/rtm.js.map +0 -1
- package/dist/error/dictionary/workspace-fields.d.ts +0 -9
- package/dist/error/dictionary/workspace-fields.d.ts.map +0 -1
- package/dist/error/dictionary/workspace-fields.js +0 -9
- package/dist/error/dictionary/workspace-fields.js.map +0 -1
- package/dist/error/dictionary/workspace.d.ts +0 -99
- package/dist/error/dictionary/workspace.d.ts.map +0 -1
- package/dist/error/dictionary/workspace.js +0 -99
- package/dist/error/dictionary/workspace.js.map +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -6
- package/dist/index.js.map +0 -1
- package/dist/network/AutoMutation.d.ts +0 -10
- package/dist/network/AutoMutation.d.ts.map +0 -1
- package/dist/network/AutoMutation.js +0 -20
- package/dist/network/AutoMutation.js.map +0 -1
- package/dist/network/AutoOperation.d.ts +0 -19
- package/dist/network/AutoOperation.d.ts.map +0 -1
- package/dist/network/AutoOperation.js +0 -99
- package/dist/network/AutoOperation.js.map +0 -1
- package/dist/network/AutoQuery.d.ts +0 -19
- package/dist/network/AutoQuery.d.ts.map +0 -1
- package/dist/network/AutoQuery.js +0 -70
- package/dist/network/AutoQuery.js.map +0 -1
- package/dist/network/ManualMutation.d.ts +0 -11
- package/dist/network/ManualMutation.d.ts.map +0 -1
- package/dist/network/ManualMutation.js +0 -32
- package/dist/network/ManualMutation.js.map +0 -1
- package/dist/network/ManualOperation.d.ts +0 -13
- package/dist/network/ManualOperation.d.ts.map +0 -1
- package/dist/network/ManualOperation.js +0 -53
- package/dist/network/ManualOperation.js.map +0 -1
- package/dist/network/ManualQuery.d.ts +0 -20
- package/dist/network/ManualQuery.d.ts.map +0 -1
- package/dist/network/ManualQuery.js +0 -77
- package/dist/network/ManualQuery.js.map +0 -1
- package/dist/network/NetworkClient.d.ts +0 -20
- package/dist/network/NetworkClient.d.ts.map +0 -1
- package/dist/network/NetworkClient.js +0 -85
- package/dist/network/NetworkClient.js.map +0 -1
- package/dist/network/ReactQueryNetworkClient.d.ts +0 -16
- package/dist/network/ReactQueryNetworkClient.d.ts.map +0 -1
- package/dist/network/ReactQueryNetworkClient.js +0 -125
- package/dist/network/ReactQueryNetworkClient.js.map +0 -1
- package/dist/network/react-query-client.d.ts +0 -3
- package/dist/network/react-query-client.d.ts.map +0 -1
- package/dist/network/react-query-client.js +0 -3
- package/dist/network/react-query-client.js.map +0 -1
- package/dist/network/types.d.ts +0 -55
- package/dist/network/types.d.ts.map +0 -1
- package/dist/network/types.js +0 -2
- package/dist/network/types.js.map +0 -1
- package/src/api/plugin.ts +0 -685
package/dist/api/account.d.ts
DELETED
|
@@ -1,2368 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenAPI definition
|
|
3
|
-
* v0
|
|
4
|
-
* DO NOT MODIFY - This file has been generated using oazapfts.
|
|
5
|
-
* See https://www.npmjs.com/package/oazapfts
|
|
6
|
-
*/
|
|
7
|
-
import * as Oazapfts from "@oazapfts/runtime";
|
|
8
|
-
export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
|
|
9
|
-
export declare const servers: {
|
|
10
|
-
generatedServerUrl: string;
|
|
11
|
-
};
|
|
12
|
-
export type UserScmInfoResponse = {
|
|
13
|
-
/** Secrets name */
|
|
14
|
-
secretName: string;
|
|
15
|
-
/** Provider type */
|
|
16
|
-
provider: "GITHUB" | "GITLAB" | "BITBUCKET" | "AZURE";
|
|
17
|
-
};
|
|
18
|
-
export type ValidationDetails = {
|
|
19
|
-
code: string;
|
|
20
|
-
field?: string;
|
|
21
|
-
details?: string;
|
|
22
|
-
values?: string[];
|
|
23
|
-
};
|
|
24
|
-
export type ErrorResponse = {
|
|
25
|
-
code: string;
|
|
26
|
-
status: number;
|
|
27
|
-
details: string;
|
|
28
|
-
validationDetails?: ValidationDetails[];
|
|
29
|
-
};
|
|
30
|
-
export type UserScmInfoRequest = {
|
|
31
|
-
/** Repository Username */
|
|
32
|
-
user: string;
|
|
33
|
-
/** Repository personal token */
|
|
34
|
-
token: string;
|
|
35
|
-
};
|
|
36
|
-
export type ScopeResponse = {
|
|
37
|
-
/** Scope id */
|
|
38
|
-
id: string;
|
|
39
|
-
/** Scope name */
|
|
40
|
-
name: string;
|
|
41
|
-
/** Scope description */
|
|
42
|
-
description?: string;
|
|
43
|
-
/** Scope claim mapper */
|
|
44
|
-
claimMapper?: {
|
|
45
|
-
[key: string]: string;
|
|
46
|
-
};
|
|
47
|
-
/** When scope was created */
|
|
48
|
-
createdAt: string;
|
|
49
|
-
/** Last scope update */
|
|
50
|
-
updatedAt?: string;
|
|
51
|
-
};
|
|
52
|
-
export type IamUpdateScopeRequest = {
|
|
53
|
-
name: string;
|
|
54
|
-
description?: string;
|
|
55
|
-
claim_mapper: {
|
|
56
|
-
[key: string]: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
export type AccountScmInfoResponse = {
|
|
60
|
-
/** Secrets name */
|
|
61
|
-
secretName?: string;
|
|
62
|
-
/** SCM Workflow repository URL */
|
|
63
|
-
workflowUrl?: string;
|
|
64
|
-
/** SCM Type */
|
|
65
|
-
"type"?: "PAT" | "GITHUBAPP";
|
|
66
|
-
/** SCM repository provider */
|
|
67
|
-
provider: "GITHUB" | "GITLAB" | "BITBUCKET" | "AZURE";
|
|
68
|
-
/** Flag used to indicate if the SCM repository account credential configuration is mandated */
|
|
69
|
-
mandate: boolean;
|
|
70
|
-
/** Flag used to indicate if the user credentials to access the account SCM repository already has configured by User */
|
|
71
|
-
hasUserConfiguration?: boolean;
|
|
72
|
-
};
|
|
73
|
-
export type Value = object;
|
|
74
|
-
export type AccountScmInfoUpdateRequest = {
|
|
75
|
-
/** SCM Type */
|
|
76
|
-
"type"?: "PAT" | "GITHUBAPP";
|
|
77
|
-
/** SCM repository provider */
|
|
78
|
-
provider?: "GITHUB" | "GITLAB" | "BITBUCKET" | "AZURE";
|
|
79
|
-
value?: Value;
|
|
80
|
-
/** SCM Workflow repository URL */
|
|
81
|
-
workflowUrl?: string;
|
|
82
|
-
/** Flag used when SCM repository account credential configuration is mandated */
|
|
83
|
-
mandate?: boolean;
|
|
84
|
-
};
|
|
85
|
-
export type AccountScmInfoSaveRequest = {
|
|
86
|
-
/** SCM Type */
|
|
87
|
-
"type": "PAT" | "GITHUBAPP";
|
|
88
|
-
/** SCM repository provider */
|
|
89
|
-
provider: "GITHUB" | "GITLAB" | "BITBUCKET" | "AZURE";
|
|
90
|
-
value: Value;
|
|
91
|
-
/** SCM Workflow repository URL */
|
|
92
|
-
workflowUrl: string;
|
|
93
|
-
/** Flag used when SCM repository account credential configuration is mandated */
|
|
94
|
-
mandate: boolean;
|
|
95
|
-
};
|
|
96
|
-
export type UpdateAccountRoleRequest = {
|
|
97
|
-
/** Account Role new name. */
|
|
98
|
-
name?: string;
|
|
99
|
-
/** Account Role new description. */
|
|
100
|
-
description?: string;
|
|
101
|
-
/** List of new permissions to add to the role. */
|
|
102
|
-
permissionIds?: string[];
|
|
103
|
-
};
|
|
104
|
-
export type IamActionResponse = {
|
|
105
|
-
id: string;
|
|
106
|
-
client_id?: string;
|
|
107
|
-
name: string;
|
|
108
|
-
description: string;
|
|
109
|
-
created_at: string;
|
|
110
|
-
active?: boolean;
|
|
111
|
-
};
|
|
112
|
-
export type IamResourceType = {
|
|
113
|
-
id: string;
|
|
114
|
-
name: string;
|
|
115
|
-
description: string;
|
|
116
|
-
created_at: string;
|
|
117
|
-
global_resource_id: string;
|
|
118
|
-
resource_type_id: string;
|
|
119
|
-
actions?: IamActionResponse[];
|
|
120
|
-
};
|
|
121
|
-
export type IamCreateStatementRequest = {
|
|
122
|
-
actions: string[];
|
|
123
|
-
resource: string;
|
|
124
|
-
};
|
|
125
|
-
export type AccountMemberStackspotIamDto = {
|
|
126
|
-
id: string;
|
|
127
|
-
username: string;
|
|
128
|
-
email?: string;
|
|
129
|
-
firstName?: string;
|
|
130
|
-
lastName?: string;
|
|
131
|
-
ddd?: string;
|
|
132
|
-
ddi?: string;
|
|
133
|
-
phone?: string;
|
|
134
|
-
company?: string;
|
|
135
|
-
isActive: boolean;
|
|
136
|
-
isEmailVerified: boolean;
|
|
137
|
-
};
|
|
138
|
-
export type UpdateUserRequest = {
|
|
139
|
-
/** User username */
|
|
140
|
-
username?: string;
|
|
141
|
-
/** User email */
|
|
142
|
-
email?: string;
|
|
143
|
-
/** User first name */
|
|
144
|
-
firstName?: string;
|
|
145
|
-
/** User last name */
|
|
146
|
-
lastName?: string;
|
|
147
|
-
/** User ddi */
|
|
148
|
-
ddi?: string;
|
|
149
|
-
/** User ddd */
|
|
150
|
-
ddd?: string;
|
|
151
|
-
/** User phone */
|
|
152
|
-
phone?: string;
|
|
153
|
-
/** Is user active? */
|
|
154
|
-
isActive?: boolean;
|
|
155
|
-
/** User Company */
|
|
156
|
-
company?: string;
|
|
157
|
-
/** User new password */
|
|
158
|
-
password?: string;
|
|
159
|
-
};
|
|
160
|
-
export type UpdateUserResponse = {
|
|
161
|
-
username?: string;
|
|
162
|
-
email?: string;
|
|
163
|
-
firstName?: string;
|
|
164
|
-
lastName?: string;
|
|
165
|
-
ddi?: string;
|
|
166
|
-
ddd?: string;
|
|
167
|
-
phone?: string;
|
|
168
|
-
isActive?: boolean;
|
|
169
|
-
company?: string;
|
|
170
|
-
password?: string;
|
|
171
|
-
};
|
|
172
|
-
export type UpdatePasswordRequest = {
|
|
173
|
-
/** New password */
|
|
174
|
-
password: string;
|
|
175
|
-
};
|
|
176
|
-
export type InvitationUserResponse = {
|
|
177
|
-
email: string;
|
|
178
|
-
};
|
|
179
|
-
export type UserInvitationResponse = {
|
|
180
|
-
id: string;
|
|
181
|
-
accountId: string;
|
|
182
|
-
sender: InvitationUserResponse;
|
|
183
|
-
invitedUser: InvitationUserResponse;
|
|
184
|
-
createdAt: string;
|
|
185
|
-
resentAt: string;
|
|
186
|
-
expirationDate: string;
|
|
187
|
-
roleName: string;
|
|
188
|
-
assignAccount: boolean;
|
|
189
|
-
magicLink: string;
|
|
190
|
-
status: "ACCEPTED" | "PENDING" | "CANCELLED";
|
|
191
|
-
};
|
|
192
|
-
export type UpdateFeatureFlagRequest = {
|
|
193
|
-
/** The feature flag name */
|
|
194
|
-
name: string;
|
|
195
|
-
/** The feature flag slug */
|
|
196
|
-
slug: string;
|
|
197
|
-
/** The feature flag description */
|
|
198
|
-
description: string;
|
|
199
|
-
};
|
|
200
|
-
export type AccountStatusRequest = {
|
|
201
|
-
/** Account enabled */
|
|
202
|
-
enabled: boolean;
|
|
203
|
-
};
|
|
204
|
-
export type AttributeImporter = {
|
|
205
|
-
/** External user attribute */
|
|
206
|
-
externalUserAttribute?: string;
|
|
207
|
-
/** Force attribute import */
|
|
208
|
-
force?: string;
|
|
209
|
-
/** Unique identifier for the attribute importer */
|
|
210
|
-
id?: string;
|
|
211
|
-
/** Mode of the attribute importer */
|
|
212
|
-
importerMode?: string;
|
|
213
|
-
/** Type of the attribute importer */
|
|
214
|
-
importerType?: string;
|
|
215
|
-
/** Mapping for the attribute importer */
|
|
216
|
-
mapTo?: string;
|
|
217
|
-
/** Name of the attribute importer */
|
|
218
|
-
name?: string;
|
|
219
|
-
/** Creation timestamp of the attribute importer */
|
|
220
|
-
createdAt?: string;
|
|
221
|
-
};
|
|
222
|
-
export type IdMapper = {
|
|
223
|
-
/** External IDP ID */
|
|
224
|
-
externalIdpId?: string;
|
|
225
|
-
/** Internal user ID */
|
|
226
|
-
internalUserId?: string;
|
|
227
|
-
};
|
|
228
|
-
export type Config = {
|
|
229
|
-
/** OpenId Authorization Endpoint */
|
|
230
|
-
authorizationEndpoint?: string;
|
|
231
|
-
/** OpenId End Session Endpoint */
|
|
232
|
-
endSessionEndpoint?: string;
|
|
233
|
-
/** OpenId Issuer */
|
|
234
|
-
issuer?: string;
|
|
235
|
-
/** OpenId JWKS Uri */
|
|
236
|
-
jwksUri?: string;
|
|
237
|
-
/** OpenId Revocation Endpoint */
|
|
238
|
-
revocationEndpoint?: string;
|
|
239
|
-
/** OpenId Token Endpoint */
|
|
240
|
-
tokenEndpoint?: string;
|
|
241
|
-
/** SSO Userinfo Endpoint */
|
|
242
|
-
userinfoEndpoint?: string;
|
|
243
|
-
/** OpenId Client ID */
|
|
244
|
-
clientId?: string;
|
|
245
|
-
/** OpenId Client Secret */
|
|
246
|
-
clientSecret?: string;
|
|
247
|
-
};
|
|
248
|
-
export type Endpoint = {
|
|
249
|
-
binding?: string;
|
|
250
|
-
location?: string;
|
|
251
|
-
};
|
|
252
|
-
export type AccountSsoDetailedResponse = {
|
|
253
|
-
/** Unique identifier for the SSO configuration */
|
|
254
|
-
id?: string;
|
|
255
|
-
/** Alias for the SSO configuration */
|
|
256
|
-
alias?: string;
|
|
257
|
-
/** SSO configuration name */
|
|
258
|
-
name?: string;
|
|
259
|
-
/** SSO callback url */
|
|
260
|
-
callbackUrl?: string;
|
|
261
|
-
/** List of attribute importers */
|
|
262
|
-
attributeImporters: AttributeImporter[];
|
|
263
|
-
/** Creation timestamp of the SSO configuration */
|
|
264
|
-
createdAt?: string;
|
|
265
|
-
/** Update timestamp of the SSO configuration */
|
|
266
|
-
updatedAt?: string;
|
|
267
|
-
/** Discovery endpoint for the SSO configuration */
|
|
268
|
-
discoveryEndpoint?: string;
|
|
269
|
-
/** Indicates if the SSO configuration is enabled */
|
|
270
|
-
isEnabled?: boolean;
|
|
271
|
-
idMapper?: IdMapper;
|
|
272
|
-
/** Type of the SSO configuration */
|
|
273
|
-
"type": "SAML" | "OPENID";
|
|
274
|
-
config?: Config;
|
|
275
|
-
/** SSO Endpoints */
|
|
276
|
-
ssoEndpoints?: Endpoint[];
|
|
277
|
-
/** SLO Endpoints */
|
|
278
|
-
sloEndpoints?: Endpoint[];
|
|
279
|
-
/** Indicates if the SSO is fully configured */
|
|
280
|
-
isConfigured: boolean;
|
|
281
|
-
};
|
|
282
|
-
export type AccountSsoUpdateRequest = {
|
|
283
|
-
/** SSO Alias */
|
|
284
|
-
alias: string;
|
|
285
|
-
/** SSO Name */
|
|
286
|
-
name: string;
|
|
287
|
-
/** SSO Callback URL */
|
|
288
|
-
callbackUrl?: string;
|
|
289
|
-
config?: Config;
|
|
290
|
-
};
|
|
291
|
-
export type AccountSsoPartialUpdateRequest = {
|
|
292
|
-
/** SSO Status */
|
|
293
|
-
isEnabled: boolean;
|
|
294
|
-
};
|
|
295
|
-
export type AccountSsoGroupMappingResponse = {
|
|
296
|
-
/** SSO Created At */
|
|
297
|
-
createdAt: string;
|
|
298
|
-
/** SSO Group Mapping externalUserAttribute */
|
|
299
|
-
attributeName?: string;
|
|
300
|
-
/** SSO Group Mapping externalUserValue */
|
|
301
|
-
attributeValue?: string;
|
|
302
|
-
/** SSO Group Mapping force */
|
|
303
|
-
force?: boolean;
|
|
304
|
-
/** SSO Group Mapping id */
|
|
305
|
-
id: string;
|
|
306
|
-
/** SSO Group Mapping importerMode */
|
|
307
|
-
importerMode?: string;
|
|
308
|
-
/** SSO Group Mapping importerType */
|
|
309
|
-
importerType?: "DEFAULT_ROLE" | "DEFAULT_GROUP" | "ATTR_TO_GROUP" | "ATTR_TO_ROLE" | "DYNAMIC_GROUP";
|
|
310
|
-
/** SSO Group Mapping mapTo */
|
|
311
|
-
mapTo?: string;
|
|
312
|
-
/** SSO Group Mapping name */
|
|
313
|
-
name: string;
|
|
314
|
-
};
|
|
315
|
-
export type AccountGroupMappingUpdateRequest = {
|
|
316
|
-
/** Group Mapping externalUserAttribute */
|
|
317
|
-
attributeName?: string;
|
|
318
|
-
/** Group Mapping externalUserValue */
|
|
319
|
-
attributeValue?: string;
|
|
320
|
-
/** Group Mapping force */
|
|
321
|
-
force?: boolean;
|
|
322
|
-
/** Group Mapping importerMode */
|
|
323
|
-
importerMode?: string;
|
|
324
|
-
/** Group Mapping importerType */
|
|
325
|
-
importerType: "DEFAULT_ROLE" | "DEFAULT_GROUP" | "ATTR_TO_GROUP" | "ATTR_TO_ROLE" | "DYNAMIC_GROUP";
|
|
326
|
-
/** Group Mapping mapTo */
|
|
327
|
-
mapTo: string;
|
|
328
|
-
/** Group Mapping name */
|
|
329
|
-
name: string;
|
|
330
|
-
};
|
|
331
|
-
export type ServiceCredentialCreateRequestV2 = {
|
|
332
|
-
/** Service credential name */
|
|
333
|
-
name: string;
|
|
334
|
-
/** Service credential expiration days */
|
|
335
|
-
description?: string;
|
|
336
|
-
/** Service credential expiration days */
|
|
337
|
-
expirationDays?: number;
|
|
338
|
-
/** Service credential statements */
|
|
339
|
-
scopes?: string[];
|
|
340
|
-
};
|
|
341
|
-
export type ServiceCredentialCreateResponseV2 = {
|
|
342
|
-
/** Client ID service credential */
|
|
343
|
-
clientId: string;
|
|
344
|
-
/** Client Secret service credential */
|
|
345
|
-
clientSecret: string;
|
|
346
|
-
/** Service credential scopes */
|
|
347
|
-
scopes: string[];
|
|
348
|
-
/** Service credential expiration date */
|
|
349
|
-
expirationDate?: string;
|
|
350
|
-
/** Account tenant */
|
|
351
|
-
tenant: string;
|
|
352
|
-
};
|
|
353
|
-
export type ServiceCredentialResponse = {
|
|
354
|
-
/** Service credential id */
|
|
355
|
-
id: string;
|
|
356
|
-
/** Service credential name */
|
|
357
|
-
name: string;
|
|
358
|
-
/** Service credential creator id */
|
|
359
|
-
createdBy: string;
|
|
360
|
-
/** Service credential creator username */
|
|
361
|
-
creatorUsername: string;
|
|
362
|
-
/** Service credential creator email */
|
|
363
|
-
creatorEmail: string;
|
|
364
|
-
/** Service credential created date */
|
|
365
|
-
createdAt: string;
|
|
366
|
-
/** Service credential expire date */
|
|
367
|
-
expirationDate?: string;
|
|
368
|
-
/** Service credential user email revoked */
|
|
369
|
-
revokedBy?: string;
|
|
370
|
-
/** Service credential revoked date */
|
|
371
|
-
revokedAt?: string;
|
|
372
|
-
/** Service credential status */
|
|
373
|
-
status: "ACTIVE" | "DISABLED" | "REVOKED" | "EXPIRED";
|
|
374
|
-
};
|
|
375
|
-
export type StatementRequest = {
|
|
376
|
-
/** Resource id */
|
|
377
|
-
resource: string;
|
|
378
|
-
/** Action id list */
|
|
379
|
-
actions: string[];
|
|
380
|
-
};
|
|
381
|
-
export type ServiceCredentialCreateRequest = {
|
|
382
|
-
/** Service credential name */
|
|
383
|
-
name: string;
|
|
384
|
-
/** Service credential expiration days */
|
|
385
|
-
expirationDays?: number;
|
|
386
|
-
/** Service credential permission ids */
|
|
387
|
-
permissions?: string[];
|
|
388
|
-
/** Service credential groups ids */
|
|
389
|
-
teams?: string[];
|
|
390
|
-
/** Service credential statements */
|
|
391
|
-
statements?: StatementRequest[];
|
|
392
|
-
};
|
|
393
|
-
export type ServiceCredentialCreateResponse = {
|
|
394
|
-
/** Client ID service credential */
|
|
395
|
-
clientId: string;
|
|
396
|
-
/** Client Secret service credential */
|
|
397
|
-
clientSecret: string;
|
|
398
|
-
/** Account tenant */
|
|
399
|
-
tenant: string;
|
|
400
|
-
};
|
|
401
|
-
export type ServiceCredentialInfoRequest = {
|
|
402
|
-
/** ID of the Service Credential */
|
|
403
|
-
id: string;
|
|
404
|
-
/** Name of the Service Credential */
|
|
405
|
-
name: string;
|
|
406
|
-
};
|
|
407
|
-
export type ServiceCredentialExpirationNotifyRequest = {
|
|
408
|
-
/** ID of the Service Credential creator */
|
|
409
|
-
ownerId: string;
|
|
410
|
-
/** Days until Service Credential expiration */
|
|
411
|
-
daysToExpire: number;
|
|
412
|
-
/** Tenant that represents the account related to the Service Credential */
|
|
413
|
-
accountTenant: string;
|
|
414
|
-
/** Information related to the Service Credential */
|
|
415
|
-
credentials: ServiceCredentialInfoRequest[];
|
|
416
|
-
};
|
|
417
|
-
export type PagingRequest = {
|
|
418
|
-
size?: number;
|
|
419
|
-
page: number;
|
|
420
|
-
sort?: string;
|
|
421
|
-
direction: "ASC" | "DESC";
|
|
422
|
-
search?: string;
|
|
423
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
424
|
-
filterBy?: string;
|
|
425
|
-
filterValue?: string;
|
|
426
|
-
multiFilterMode?: string;
|
|
427
|
-
filterIn?: string;
|
|
428
|
-
};
|
|
429
|
-
export type IamCreateScopeRequest = {
|
|
430
|
-
name: string;
|
|
431
|
-
description?: string;
|
|
432
|
-
claim_mapper?: {
|
|
433
|
-
[key: string]: string;
|
|
434
|
-
};
|
|
435
|
-
};
|
|
436
|
-
export type PermissionActionResponse = {
|
|
437
|
-
/** The action id from StackSpot IAM */
|
|
438
|
-
id: string;
|
|
439
|
-
/** The client ID from StackSpot IAM */
|
|
440
|
-
clientId?: string;
|
|
441
|
-
/** Action's name */
|
|
442
|
-
name: string;
|
|
443
|
-
/** Action's description */
|
|
444
|
-
description?: string;
|
|
445
|
-
/** Action's creation timestamp */
|
|
446
|
-
createdAt: string;
|
|
447
|
-
};
|
|
448
|
-
export type PermissionTypeResponse = {
|
|
449
|
-
/** Resource type ID from StackSpot IAM */
|
|
450
|
-
id: string;
|
|
451
|
-
/** Resource type client ID from StackSpot IAM */
|
|
452
|
-
clientId?: string;
|
|
453
|
-
/** Resource type name */
|
|
454
|
-
name: string;
|
|
455
|
-
/** Resource type description */
|
|
456
|
-
description?: string;
|
|
457
|
-
/** Resource type creation timestamp */
|
|
458
|
-
createdAt: string;
|
|
459
|
-
};
|
|
460
|
-
export type PermissionResourceResponse = {
|
|
461
|
-
/** Resource ID from StackSpot IAM */
|
|
462
|
-
id: string;
|
|
463
|
-
/** Resource's client ID from StackSpot IAM */
|
|
464
|
-
clientId?: string;
|
|
465
|
-
/** Resource's name */
|
|
466
|
-
name: string;
|
|
467
|
-
/** Resource's description */
|
|
468
|
-
description?: string;
|
|
469
|
-
/** Resource's creation timestamp */
|
|
470
|
-
createdAt: string;
|
|
471
|
-
"type"?: PermissionTypeResponse;
|
|
472
|
-
};
|
|
473
|
-
export type PermissionStatementResponse = {
|
|
474
|
-
actions: PermissionActionResponse;
|
|
475
|
-
resource: PermissionResourceResponse;
|
|
476
|
-
};
|
|
477
|
-
export type PermissionResponse = {
|
|
478
|
-
/** Permission ID from StackSpot IAM */
|
|
479
|
-
id: string;
|
|
480
|
-
/** Permission's name */
|
|
481
|
-
name: string;
|
|
482
|
-
/** Permission's description */
|
|
483
|
-
description?: string;
|
|
484
|
-
/** Permission's creation timestamp */
|
|
485
|
-
createdAt: string;
|
|
486
|
-
/** The statements defined in the permission */
|
|
487
|
-
statements: PermissionStatementResponse[];
|
|
488
|
-
};
|
|
489
|
-
export type RoleResponse = {
|
|
490
|
-
/** Role id from Keycloak */
|
|
491
|
-
id: string;
|
|
492
|
-
/** Role name */
|
|
493
|
-
name: string;
|
|
494
|
-
/** Role description */
|
|
495
|
-
description: string;
|
|
496
|
-
/** Role description */
|
|
497
|
-
permissions: PermissionResponse[];
|
|
498
|
-
/** Total members in role */
|
|
499
|
-
totalMembers?: number;
|
|
500
|
-
};
|
|
501
|
-
export type CreateAccountRoleRequest = {
|
|
502
|
-
/** Account Role name */
|
|
503
|
-
name: string;
|
|
504
|
-
/** Account Role description */
|
|
505
|
-
description?: string;
|
|
506
|
-
};
|
|
507
|
-
export type IdResponse = {
|
|
508
|
-
/** Id response. */
|
|
509
|
-
id: string;
|
|
510
|
-
};
|
|
511
|
-
export type RoleMemberResponse = {
|
|
512
|
-
/** Member ID */
|
|
513
|
-
id: string;
|
|
514
|
-
/** Member username */
|
|
515
|
-
username: string;
|
|
516
|
-
/** Member company email */
|
|
517
|
-
email: string;
|
|
518
|
-
/** Member first name */
|
|
519
|
-
firstName?: string;
|
|
520
|
-
/** Member last name */
|
|
521
|
-
lastName?: string;
|
|
522
|
-
/** Member creation timestamp */
|
|
523
|
-
createdAt: string;
|
|
524
|
-
};
|
|
525
|
-
export type AddRoleToMemberRequest = {
|
|
526
|
-
/** Account member IDs list to add role */
|
|
527
|
-
ids: string[];
|
|
528
|
-
};
|
|
529
|
-
export type AddUsersToRoleResponse = {
|
|
530
|
-
/** Status Message */
|
|
531
|
-
msg: string;
|
|
532
|
-
/** Permission resource */
|
|
533
|
-
errors: string[];
|
|
534
|
-
};
|
|
535
|
-
export type RoleGroupResponse = {
|
|
536
|
-
id: string;
|
|
537
|
-
name: string;
|
|
538
|
-
description?: string;
|
|
539
|
-
imageURL?: string;
|
|
540
|
-
createdAt: string;
|
|
541
|
-
};
|
|
542
|
-
export type RoleGroupIdsRequest = {
|
|
543
|
-
ids: string[];
|
|
544
|
-
};
|
|
545
|
-
export type ResourceTypeDto = {
|
|
546
|
-
/** Id of resource type. */
|
|
547
|
-
id: string;
|
|
548
|
-
/** Name of resource type. */
|
|
549
|
-
name: string;
|
|
550
|
-
/** Slug of resource type. */
|
|
551
|
-
slug: string;
|
|
552
|
-
/** Description of resource type. */
|
|
553
|
-
description: string;
|
|
554
|
-
/** Creation date of resource type. */
|
|
555
|
-
createdAt: string;
|
|
556
|
-
};
|
|
557
|
-
export type ResourceResponse = {
|
|
558
|
-
/** Id of resource. */
|
|
559
|
-
id: string;
|
|
560
|
-
/** Name of resource. */
|
|
561
|
-
name: string;
|
|
562
|
-
/** Description of resource. */
|
|
563
|
-
description?: string;
|
|
564
|
-
"type"?: ResourceTypeDto;
|
|
565
|
-
/** Name of resource. */
|
|
566
|
-
slug: string;
|
|
567
|
-
};
|
|
568
|
-
export type CreateResourceRequest = {
|
|
569
|
-
/** Account resource name */
|
|
570
|
-
name: string;
|
|
571
|
-
/** Account resource slug */
|
|
572
|
-
slug: string;
|
|
573
|
-
/** Account resource type id */
|
|
574
|
-
typeId: string;
|
|
575
|
-
/** Account resource description */
|
|
576
|
-
description?: string;
|
|
577
|
-
};
|
|
578
|
-
export type AccountMemberResponse = {
|
|
579
|
-
/** Account member id */
|
|
580
|
-
id: string;
|
|
581
|
-
/** Account member username */
|
|
582
|
-
username: string;
|
|
583
|
-
/** Account member email */
|
|
584
|
-
email: string;
|
|
585
|
-
/** Account member first name */
|
|
586
|
-
firstName: string;
|
|
587
|
-
/** Account member last name */
|
|
588
|
-
lastName: string;
|
|
589
|
-
/** Account member status */
|
|
590
|
-
isActive: boolean;
|
|
591
|
-
/** Account member avatar URL */
|
|
592
|
-
avatarUrl?: string;
|
|
593
|
-
/** Account member full name */
|
|
594
|
-
name: string;
|
|
595
|
-
};
|
|
596
|
-
export type CreateUserRequest = {
|
|
597
|
-
/** User username */
|
|
598
|
-
username: string;
|
|
599
|
-
/** User email */
|
|
600
|
-
email: string;
|
|
601
|
-
/** User first name */
|
|
602
|
-
firstName: string;
|
|
603
|
-
/** User last name */
|
|
604
|
-
lastName: string;
|
|
605
|
-
/** User ddi */
|
|
606
|
-
ddi?: string;
|
|
607
|
-
/** User ddd */
|
|
608
|
-
ddd?: string;
|
|
609
|
-
/** User phone */
|
|
610
|
-
phone?: string;
|
|
611
|
-
/** Is user active? */
|
|
612
|
-
isActive: boolean;
|
|
613
|
-
/** User first password */
|
|
614
|
-
password?: string;
|
|
615
|
-
/** User Company */
|
|
616
|
-
company?: string;
|
|
617
|
-
};
|
|
618
|
-
export type CreateUserResponse = {
|
|
619
|
-
username: string;
|
|
620
|
-
email: string;
|
|
621
|
-
company?: string;
|
|
622
|
-
firstName: string;
|
|
623
|
-
lastName: string;
|
|
624
|
-
ddi: string;
|
|
625
|
-
ddd: string;
|
|
626
|
-
phone: string;
|
|
627
|
-
isActive: boolean;
|
|
628
|
-
isEmailVerified?: boolean;
|
|
629
|
-
};
|
|
630
|
-
export type ReadMemberRoleResponse = {
|
|
631
|
-
/** Role id from IAM */
|
|
632
|
-
id: string;
|
|
633
|
-
/** Role name */
|
|
634
|
-
name: string;
|
|
635
|
-
/** Role description */
|
|
636
|
-
description: string;
|
|
637
|
-
/** Total members in role */
|
|
638
|
-
totalMembers: number;
|
|
639
|
-
/** Role description */
|
|
640
|
-
permissions: PermissionResponse[];
|
|
641
|
-
};
|
|
642
|
-
export type MemberIdsCommonRequest = {
|
|
643
|
-
ids: string[];
|
|
644
|
-
};
|
|
645
|
-
export type GroupReadResponse = {
|
|
646
|
-
/** Group id */
|
|
647
|
-
id: string;
|
|
648
|
-
/** Group name */
|
|
649
|
-
name: string;
|
|
650
|
-
/** Group description */
|
|
651
|
-
description?: string;
|
|
652
|
-
/** Group users */
|
|
653
|
-
totalUsers?: number;
|
|
654
|
-
/** Group image URL */
|
|
655
|
-
imageUrl?: string;
|
|
656
|
-
/** Creation time of group */
|
|
657
|
-
createdAt?: string;
|
|
658
|
-
};
|
|
659
|
-
export type MemberEmailRequest = {
|
|
660
|
-
/** Member email */
|
|
661
|
-
email: string;
|
|
662
|
-
};
|
|
663
|
-
export type InviteNewMemberRequest = {
|
|
664
|
-
/** Member email */
|
|
665
|
-
email: string;
|
|
666
|
-
/** Member name */
|
|
667
|
-
name: string;
|
|
668
|
-
/** Member surname */
|
|
669
|
-
surname: string;
|
|
670
|
-
/** Member group ID */
|
|
671
|
-
groupId?: string;
|
|
672
|
-
};
|
|
673
|
-
export type InviteMembersResponse = {
|
|
674
|
-
/** Status Message */
|
|
675
|
-
msg: string;
|
|
676
|
-
/** Members with error */
|
|
677
|
-
errors: string[];
|
|
678
|
-
};
|
|
679
|
-
export type CreateUserInvitationRequest = {
|
|
680
|
-
/** User email */
|
|
681
|
-
email: string;
|
|
682
|
-
/** User role in account */
|
|
683
|
-
role: string;
|
|
684
|
-
/** Indicates whether account will be shared with user or not */
|
|
685
|
-
assignAccount: boolean;
|
|
686
|
-
/** Language to use in invitation e-mail */
|
|
687
|
-
lang: string;
|
|
688
|
-
};
|
|
689
|
-
export type NewGroupRequest = {
|
|
690
|
-
/** Group name */
|
|
691
|
-
name: string;
|
|
692
|
-
/** Group description */
|
|
693
|
-
description: string;
|
|
694
|
-
/** External Group name */
|
|
695
|
-
externalName?: string;
|
|
696
|
-
/** Group image base64 */
|
|
697
|
-
image?: string;
|
|
698
|
-
};
|
|
699
|
-
export type IamIdResponse = {
|
|
700
|
-
/** Id response. */
|
|
701
|
-
id: string;
|
|
702
|
-
};
|
|
703
|
-
export type GroupRoleIdsRequest = {
|
|
704
|
-
ids: string[];
|
|
705
|
-
};
|
|
706
|
-
export type AddResourcesToGroupRequest = {
|
|
707
|
-
/** List of resource ids */
|
|
708
|
-
ids: string[];
|
|
709
|
-
};
|
|
710
|
-
export type ReadGroupMembersResponse = {
|
|
711
|
-
/** Account member id */
|
|
712
|
-
id: string;
|
|
713
|
-
/** Account member username */
|
|
714
|
-
username: string;
|
|
715
|
-
/** Account member first name */
|
|
716
|
-
firstName?: string;
|
|
717
|
-
/** Account member last name */
|
|
718
|
-
lastName?: string;
|
|
719
|
-
/** Account member email */
|
|
720
|
-
companyEmail: string;
|
|
721
|
-
/** Account member creation time */
|
|
722
|
-
createdAt: string;
|
|
723
|
-
/** Account member appended time */
|
|
724
|
-
appendedAt: string;
|
|
725
|
-
};
|
|
726
|
-
export type GroupMemberIdsRequest = {
|
|
727
|
-
ids: string[];
|
|
728
|
-
};
|
|
729
|
-
export type FeatureFlagsResponse = {
|
|
730
|
-
/** The feature flag id */
|
|
731
|
-
id: number;
|
|
732
|
-
/** The feature flag name */
|
|
733
|
-
name: string;
|
|
734
|
-
/** The feature flag slug */
|
|
735
|
-
slug: string;
|
|
736
|
-
/** If the feature flag is enabled or not in the current account */
|
|
737
|
-
enabled: boolean;
|
|
738
|
-
};
|
|
739
|
-
export type CreateFeatureFlagRequest = {
|
|
740
|
-
/** The feature flag name */
|
|
741
|
-
name: string;
|
|
742
|
-
/** The feature flag slug */
|
|
743
|
-
slug: string;
|
|
744
|
-
/** The feature flag description */
|
|
745
|
-
description: string;
|
|
746
|
-
};
|
|
747
|
-
export type WelcomeEmailRequest = {
|
|
748
|
-
/** Firstname of the contact requester */
|
|
749
|
-
firstName: string;
|
|
750
|
-
/** Firstname of the contact requester */
|
|
751
|
-
lastName: string;
|
|
752
|
-
/** Email of the contact requester */
|
|
753
|
-
email: string;
|
|
754
|
-
};
|
|
755
|
-
export type ContactEmailRequest = {
|
|
756
|
-
/** Name of the contact requester */
|
|
757
|
-
name: string;
|
|
758
|
-
/** Email of the contact requester */
|
|
759
|
-
email: string;
|
|
760
|
-
/** Subject of the contact */
|
|
761
|
-
subject: string;
|
|
762
|
-
/** Message of the contact */
|
|
763
|
-
message: string;
|
|
764
|
-
/** Telephone of the contact requester */
|
|
765
|
-
telephone?: string;
|
|
766
|
-
};
|
|
767
|
-
export type SwitchAccountRequest = {
|
|
768
|
-
/** Account slug to switch to */
|
|
769
|
-
accountId: string;
|
|
770
|
-
};
|
|
771
|
-
export type ExchangeAccountResponse = {
|
|
772
|
-
/** Personal Access Token generated by User Personal Client on user behalf */
|
|
773
|
-
access_token: string;
|
|
774
|
-
/** Refresh Token */
|
|
775
|
-
refresh_token: string;
|
|
776
|
-
/** The token type */
|
|
777
|
-
token_type: string;
|
|
778
|
-
/** The number of seconds before the access_token expires */
|
|
779
|
-
expires_in: number;
|
|
780
|
-
};
|
|
781
|
-
export type PersonalClientCredentialsResponse = {
|
|
782
|
-
/** The Client ID used for authentication */
|
|
783
|
-
clientId: string;
|
|
784
|
-
/** The Client Secret used for authentication */
|
|
785
|
-
clientSecret: string;
|
|
786
|
-
/** The account tenant */
|
|
787
|
-
tenant: string;
|
|
788
|
-
};
|
|
789
|
-
export type GenerateTokenFromPersonalAccountRequest = {
|
|
790
|
-
/** Audience */
|
|
791
|
-
audience?: string;
|
|
792
|
-
};
|
|
793
|
-
export type PersonalAccessTokenResponse = {
|
|
794
|
-
/** Personal Access Token generated by User Personal Client on user behalf */
|
|
795
|
-
accessToken: string;
|
|
796
|
-
};
|
|
797
|
-
export type DeviceCodeResponse = {
|
|
798
|
-
/** A long string used to verify the session between the client and the authorization server. The client uses this parameter to request the access token from the authorization server */
|
|
799
|
-
deviceCode: string;
|
|
800
|
-
/** A short string shown to the user that's used to identify the session on a secondary device */
|
|
801
|
-
userCode: string;
|
|
802
|
-
/** The URI the user should go to with the user_code in order to sign in */
|
|
803
|
-
loginUrl: string;
|
|
804
|
-
/** The account tenant */
|
|
805
|
-
realm: string;
|
|
806
|
-
/** The number of seconds before the device_code and user_code expire */
|
|
807
|
-
expiration: number;
|
|
808
|
-
/** The number of seconds the client should wait between polling requests */
|
|
809
|
-
interval: number;
|
|
810
|
-
/** OpenID Well Known url for current account */
|
|
811
|
-
openIdWellKnownUrl: string;
|
|
812
|
-
};
|
|
813
|
-
export type AccountResponse = {
|
|
814
|
-
/** Account id */
|
|
815
|
-
accountApiId: string;
|
|
816
|
-
/** Account slug */
|
|
817
|
-
slug: string;
|
|
818
|
-
/** Account name */
|
|
819
|
-
name: string;
|
|
820
|
-
/** Account logo image */
|
|
821
|
-
image?: string;
|
|
822
|
-
/** Account creation time */
|
|
823
|
-
createdAt: string;
|
|
824
|
-
/** Account admin email */
|
|
825
|
-
adminEmail: string;
|
|
826
|
-
/** Account admin name */
|
|
827
|
-
adminName: string;
|
|
828
|
-
/** Account Email domains list */
|
|
829
|
-
domains: string[];
|
|
830
|
-
/** Account current status */
|
|
831
|
-
isActive: boolean;
|
|
832
|
-
/** Sales representative email */
|
|
833
|
-
salesRepresentative?: string;
|
|
834
|
-
};
|
|
835
|
-
export type PageResponseAccountResponse = {
|
|
836
|
-
/** Current page content */
|
|
837
|
-
items?: AccountResponse[];
|
|
838
|
-
/** Total elements found */
|
|
839
|
-
totalElements: number;
|
|
840
|
-
/** Current page number */
|
|
841
|
-
page: number;
|
|
842
|
-
/** Length of current page items */
|
|
843
|
-
size: number;
|
|
844
|
-
};
|
|
845
|
-
export type CreateAccountOrderRequest = {
|
|
846
|
-
/** The account's name. Example: Zup IT Innovation */
|
|
847
|
-
name: string;
|
|
848
|
-
/** The slug to use in URL as unique identifying part representing the account (https://developer.mozilla.org/en-US/docs/Glossary/Slug). Example: zup */
|
|
849
|
-
slug: string;
|
|
850
|
-
/** The account tenant should be formatted similarly to the slug and should identify the account uniquely. Only to use internal use. Example: zup-it */
|
|
851
|
-
tenant: string;
|
|
852
|
-
/** The existing accountID if created beforehand */
|
|
853
|
-
accountId?: string;
|
|
854
|
-
/** Account holder's first name */
|
|
855
|
-
adminFirstName: string;
|
|
856
|
-
/** Account holder's last name */
|
|
857
|
-
adminLastName: string;
|
|
858
|
-
/** Account holder's email */
|
|
859
|
-
adminEmail: string;
|
|
860
|
-
/** The email from the responsible for this request */
|
|
861
|
-
requesterEmail: string;
|
|
862
|
-
/** Email domains list that account users will use to login into StackSpot. Example: zup.com.br */
|
|
863
|
-
domains: string[];
|
|
864
|
-
};
|
|
865
|
-
export type PageResponseAccountSsoGroupMappingResponse = {
|
|
866
|
-
/** Current page content */
|
|
867
|
-
items?: AccountSsoGroupMappingResponse[];
|
|
868
|
-
/** Total elements found */
|
|
869
|
-
totalElements: number;
|
|
870
|
-
/** Current page number */
|
|
871
|
-
page: number;
|
|
872
|
-
/** Length of current page items */
|
|
873
|
-
size: number;
|
|
874
|
-
};
|
|
875
|
-
export type AccountGroupMappingCreateRequest = {
|
|
876
|
-
/** Group Mapping externalUserAttribute */
|
|
877
|
-
attributeName?: string;
|
|
878
|
-
/** Group Mapping externalUserValue */
|
|
879
|
-
attributeValue?: string;
|
|
880
|
-
/** Group Mapping force */
|
|
881
|
-
force?: boolean;
|
|
882
|
-
/** Group Mapping importerMode */
|
|
883
|
-
importerMode?: string;
|
|
884
|
-
/** Group Mapping importerType */
|
|
885
|
-
importerType: "DEFAULT_ROLE" | "DEFAULT_GROUP" | "ATTR_TO_GROUP" | "ATTR_TO_ROLE" | "DYNAMIC_GROUP";
|
|
886
|
-
/** Group Mapping mapTo */
|
|
887
|
-
mapTo?: string;
|
|
888
|
-
/** Group Mapping name */
|
|
889
|
-
name: string;
|
|
890
|
-
};
|
|
891
|
-
export type Certificate = {
|
|
892
|
-
data?: string;
|
|
893
|
-
};
|
|
894
|
-
export type SignKey = {
|
|
895
|
-
name?: string;
|
|
896
|
-
certificates?: Certificate[];
|
|
897
|
-
};
|
|
898
|
-
export type SsoConfigRequest = {
|
|
899
|
-
/** SAML Entity Id */
|
|
900
|
-
entityId?: string;
|
|
901
|
-
signKey?: SignKey;
|
|
902
|
-
/** OpenId Authorization Endpoint */
|
|
903
|
-
authorizationEndpoint?: string;
|
|
904
|
-
/** OpenId End Session Endpoint */
|
|
905
|
-
endSessionEndpoint?: string;
|
|
906
|
-
/** OpenId Issuer */
|
|
907
|
-
issuer?: string;
|
|
908
|
-
/** OpenId JWKS Uri */
|
|
909
|
-
jwksUri?: string;
|
|
910
|
-
/** OpenId Registration Endpoint */
|
|
911
|
-
registrationEndpoint?: string;
|
|
912
|
-
/** OpenId Revocation Endpoint */
|
|
913
|
-
revocationEndpoint?: string;
|
|
914
|
-
/** OpenId Token Endpoint */
|
|
915
|
-
tokenEndpoint?: string;
|
|
916
|
-
/** OpenId Userinfo Endpoint */
|
|
917
|
-
userinfoEndpoint?: string;
|
|
918
|
-
/** OpenId Client ID */
|
|
919
|
-
clientId?: string;
|
|
920
|
-
/** OpenId Client Secret */
|
|
921
|
-
clientSecret?: string;
|
|
922
|
-
};
|
|
923
|
-
export type AccountSsoCreateRequest = {
|
|
924
|
-
/** Alias from SSO configuration */
|
|
925
|
-
alias: string;
|
|
926
|
-
/** Name from SSO configuration */
|
|
927
|
-
name: string;
|
|
928
|
-
/** Callback URL from SSO configuration */
|
|
929
|
-
callbackUrl: string;
|
|
930
|
-
config: SsoConfigRequest;
|
|
931
|
-
/** Activation configuration */
|
|
932
|
-
isEnabled: boolean;
|
|
933
|
-
/** SSO SAML Single Sign On endpoints */
|
|
934
|
-
ssoEndpoints?: Endpoint[];
|
|
935
|
-
/** SSO SAML Single Logout On endpoints */
|
|
936
|
-
sloEndpoints?: Endpoint[];
|
|
937
|
-
/** SSO SAML Name id Formats */
|
|
938
|
-
nameIdFormats?: string[];
|
|
939
|
-
};
|
|
940
|
-
export type SsoIdResponse = {
|
|
941
|
-
/** Id response. */
|
|
942
|
-
id: string;
|
|
943
|
-
};
|
|
944
|
-
export type AccountSsoParserResponse = {
|
|
945
|
-
config?: Config;
|
|
946
|
-
/** SAML Want Signed Requests */
|
|
947
|
-
wantSignedRequests?: boolean;
|
|
948
|
-
/** SAML SSO Endpoints */
|
|
949
|
-
ssoEndpoints: Endpoint[];
|
|
950
|
-
/** SAML SLO Endpoints */
|
|
951
|
-
sloEndpoints: Endpoint[];
|
|
952
|
-
/** SAML Name Id Formats */
|
|
953
|
-
nameIdFormats: string[];
|
|
954
|
-
/** SSO callback url */
|
|
955
|
-
callbackUrl?: string;
|
|
956
|
-
};
|
|
957
|
-
export type AccountFreemiumCreateRequest = {
|
|
958
|
-
/** The account's name. Example: Zup IT Innovation */
|
|
959
|
-
name: string;
|
|
960
|
-
/** The slug to use in URL as unique identifying part representing the account (https://developer.mozilla.org/en-US/docs/Glossary/Slug). Example: zup */
|
|
961
|
-
slug: string;
|
|
962
|
-
};
|
|
963
|
-
export type AccountCollaboratorRequest = {
|
|
964
|
-
/** The API id of account requester */
|
|
965
|
-
accountApiId: string;
|
|
966
|
-
};
|
|
967
|
-
export type CreateAccountPartnerOrderRequest = {
|
|
968
|
-
/** The account's name. Example: Zup IT Innovation */
|
|
969
|
-
name: string;
|
|
970
|
-
/** Account holder's first name */
|
|
971
|
-
adminFirstName: string;
|
|
972
|
-
/** Account holder's last name */
|
|
973
|
-
adminLastName: string;
|
|
974
|
-
/** Account holder's email */
|
|
975
|
-
adminEmail: string;
|
|
976
|
-
/** Email domains list that account users will use to login into StackSpot. Example: zup.com.br */
|
|
977
|
-
domains: string[];
|
|
978
|
-
/** Account logo image in base64 */
|
|
979
|
-
image?: string;
|
|
980
|
-
};
|
|
981
|
-
export type ValidateAccountPartnerDataRequest = {
|
|
982
|
-
/** The account's name. Example: Zup IT Innovation */
|
|
983
|
-
name?: string;
|
|
984
|
-
/** Email domains list that account users will use to login into StackSpot. Example: zup.com.br */
|
|
985
|
-
domains?: string[];
|
|
986
|
-
};
|
|
987
|
-
export type RotateServiceCredentialSecretRequest = {
|
|
988
|
-
/** Service credential secret */
|
|
989
|
-
secret: string;
|
|
990
|
-
};
|
|
991
|
-
export type RotateServiceCredentialSecretResponse = {
|
|
992
|
-
secret?: string;
|
|
993
|
-
};
|
|
994
|
-
export type ServiceCredentialAssociateGroupRequest = {
|
|
995
|
-
/** Service credential groups ids */
|
|
996
|
-
teams: string[];
|
|
997
|
-
};
|
|
998
|
-
export type DeleteMemberPermissionsRequest = {
|
|
999
|
-
/** Permission Action */
|
|
1000
|
-
actionName: string;
|
|
1001
|
-
/** Slug from resource type */
|
|
1002
|
-
resourceTypeSlug: string;
|
|
1003
|
-
/** Slug from resource */
|
|
1004
|
-
resourceSlug: string;
|
|
1005
|
-
};
|
|
1006
|
-
export type UpdateMemberPermissionsRequest = {
|
|
1007
|
-
/** Permission Action */
|
|
1008
|
-
actionName: string;
|
|
1009
|
-
/** Slug from resource type */
|
|
1010
|
-
resourceTypeSlug: string;
|
|
1011
|
-
/** Slug from resource */
|
|
1012
|
-
resourceSlug: string;
|
|
1013
|
-
};
|
|
1014
|
-
export type MemberCredentialResponse = {
|
|
1015
|
-
/** Field to represents if credential is active */
|
|
1016
|
-
active: boolean;
|
|
1017
|
-
/** Member credential type */
|
|
1018
|
-
credentialType: "password" | "otp" | "fido";
|
|
1019
|
-
/** Member credential encoded data */
|
|
1020
|
-
aaguid?: string;
|
|
1021
|
-
/** Member credential identifier */
|
|
1022
|
-
id: number;
|
|
1023
|
-
/** Member credential was created */
|
|
1024
|
-
createdAt: string;
|
|
1025
|
-
/** Member credential last updated */
|
|
1026
|
-
updatedAt: string;
|
|
1027
|
-
/** Member id */
|
|
1028
|
-
userId: string;
|
|
1029
|
-
};
|
|
1030
|
-
export type MemberCredentialsListResponse = {
|
|
1031
|
-
/** Describes whether the user has fido configured */
|
|
1032
|
-
pendingConfiguration: boolean;
|
|
1033
|
-
/** List of User Credentials */
|
|
1034
|
-
items: MemberCredentialResponse[];
|
|
1035
|
-
/** Size of list */
|
|
1036
|
-
size: number;
|
|
1037
|
-
/** Total elements */
|
|
1038
|
-
totalElements: number;
|
|
1039
|
-
};
|
|
1040
|
-
export type GroupReadDetailResponse = {
|
|
1041
|
-
/** Group id */
|
|
1042
|
-
id: string;
|
|
1043
|
-
/** Group name */
|
|
1044
|
-
name: string;
|
|
1045
|
-
/** Group description */
|
|
1046
|
-
description?: string;
|
|
1047
|
-
/** Total users */
|
|
1048
|
-
totalUsers?: number;
|
|
1049
|
-
/** Group image URL */
|
|
1050
|
-
imageUrl?: string;
|
|
1051
|
-
};
|
|
1052
|
-
export type UpdateGroupRequest = {
|
|
1053
|
-
/** Group name */
|
|
1054
|
-
name?: string;
|
|
1055
|
-
/** Group description */
|
|
1056
|
-
description: string;
|
|
1057
|
-
/** Group image base64 */
|
|
1058
|
-
image?: string;
|
|
1059
|
-
};
|
|
1060
|
-
export type DeleteGroupPermissionsRequest = {
|
|
1061
|
-
/** Permission Action */
|
|
1062
|
-
actionName: string;
|
|
1063
|
-
/** Slug from resource type */
|
|
1064
|
-
resourceTypeSlug: string;
|
|
1065
|
-
/** Slug from resource */
|
|
1066
|
-
resourceSlug: string;
|
|
1067
|
-
};
|
|
1068
|
-
export type UpdateGroupPermissionsRequest = {
|
|
1069
|
-
/** Permission Action */
|
|
1070
|
-
actionName: string;
|
|
1071
|
-
/** Slug from resource type */
|
|
1072
|
-
resourceTypeSlug: string;
|
|
1073
|
-
/** Slug from resource */
|
|
1074
|
-
resourceSlug: string;
|
|
1075
|
-
};
|
|
1076
|
-
export type AccountSsoAttributesConfigResponse = {
|
|
1077
|
-
/** Id from SSO */
|
|
1078
|
-
id: string;
|
|
1079
|
-
/** SSO Name attribute configuration */
|
|
1080
|
-
email?: string;
|
|
1081
|
-
/** SSO First Name attribute configuration */
|
|
1082
|
-
firstName?: string;
|
|
1083
|
-
/** SSO Last Name attribute configuration */
|
|
1084
|
-
lastName?: string;
|
|
1085
|
-
};
|
|
1086
|
-
export type AccountSsoAddAttributesConfigRequest = {
|
|
1087
|
-
/** SSO Name attribute configuration */
|
|
1088
|
-
email: string;
|
|
1089
|
-
/** SSO First Name attribute configuration */
|
|
1090
|
-
firstName: string;
|
|
1091
|
-
/** SSO Last Name attribute configuration */
|
|
1092
|
-
lastName?: string;
|
|
1093
|
-
};
|
|
1094
|
-
export type AccountPartnerAccountDataUpdateRequest = {
|
|
1095
|
-
/** The account's name. Example: Zup IT Innovation */
|
|
1096
|
-
name?: string;
|
|
1097
|
-
/** Account logo image in base64 */
|
|
1098
|
-
image?: string;
|
|
1099
|
-
};
|
|
1100
|
-
export type AccountPartnerAdminDataUpdateRequest = {
|
|
1101
|
-
/** Admin first name */
|
|
1102
|
-
firstName: string;
|
|
1103
|
-
/** Admin last name */
|
|
1104
|
-
lastName: string;
|
|
1105
|
-
/** Admin email */
|
|
1106
|
-
email: string;
|
|
1107
|
-
};
|
|
1108
|
-
export type AccountCollaborationInfoResponse = {
|
|
1109
|
-
/** Account ID */
|
|
1110
|
-
id: string;
|
|
1111
|
-
/** Account Name */
|
|
1112
|
-
name: string;
|
|
1113
|
-
/** Account Tenant */
|
|
1114
|
-
tenant: string;
|
|
1115
|
-
/** Account Slug */
|
|
1116
|
-
slug: string;
|
|
1117
|
-
/** Role type of user in Account */
|
|
1118
|
-
roleType: "OWNER" | "MEMBER";
|
|
1119
|
-
};
|
|
1120
|
-
export type AccountDataReadResponse = {
|
|
1121
|
-
/** Account ID */
|
|
1122
|
-
id: string;
|
|
1123
|
-
/** Account Name */
|
|
1124
|
-
name: string;
|
|
1125
|
-
/** Account Tenant */
|
|
1126
|
-
tenant: string;
|
|
1127
|
-
/** Account Slug */
|
|
1128
|
-
slug: string;
|
|
1129
|
-
/** Account Admin Name */
|
|
1130
|
-
adminName: string;
|
|
1131
|
-
/** Account Admin Email */
|
|
1132
|
-
adminEmail: string;
|
|
1133
|
-
/** Account Type */
|
|
1134
|
-
accountType: "ENTERPRISE" | "PARTNER" | "FREEMIUM";
|
|
1135
|
-
/** Account logo URL */
|
|
1136
|
-
logoBase64?: string;
|
|
1137
|
-
};
|
|
1138
|
-
export type ServiceCredentialDetailsResponse = {
|
|
1139
|
-
/** Service credential id */
|
|
1140
|
-
id: string;
|
|
1141
|
-
/** Service credential name */
|
|
1142
|
-
name: string;
|
|
1143
|
-
/** Service credential user email creator */
|
|
1144
|
-
createdBy: string;
|
|
1145
|
-
/** Service credential created date */
|
|
1146
|
-
createdAt: string;
|
|
1147
|
-
/** Service credential expire date */
|
|
1148
|
-
expirationDate?: string;
|
|
1149
|
-
/** Service credential user email revoked */
|
|
1150
|
-
revokedBy?: string;
|
|
1151
|
-
/** Service credential revoked date */
|
|
1152
|
-
revokedAt?: string;
|
|
1153
|
-
/** Service credential status */
|
|
1154
|
-
status: "ACTIVE" | "DISABLED" | "REVOKED" | "EXPIRED";
|
|
1155
|
-
/** Service credential scopes */
|
|
1156
|
-
scopes?: string[];
|
|
1157
|
-
};
|
|
1158
|
-
export type EditableActionResponse = {
|
|
1159
|
-
/** Id of action. */
|
|
1160
|
-
id: string;
|
|
1161
|
-
/** Client of action. */
|
|
1162
|
-
clientId?: string;
|
|
1163
|
-
/** Name of action. */
|
|
1164
|
-
name: string;
|
|
1165
|
-
/** Description of action. */
|
|
1166
|
-
description: string;
|
|
1167
|
-
/** Creation time of action. */
|
|
1168
|
-
createdAt: string;
|
|
1169
|
-
/** Action is active for parent resource. */
|
|
1170
|
-
active?: boolean;
|
|
1171
|
-
};
|
|
1172
|
-
export type FullResourceResponse = {
|
|
1173
|
-
/** Id of resource. */
|
|
1174
|
-
id: string;
|
|
1175
|
-
/** Name of resource. */
|
|
1176
|
-
name: string;
|
|
1177
|
-
/** Description of resource. */
|
|
1178
|
-
description?: string;
|
|
1179
|
-
actions?: EditableActionResponse[];
|
|
1180
|
-
globalResourceId: string;
|
|
1181
|
-
createdAt: string;
|
|
1182
|
-
};
|
|
1183
|
-
export type AccountScmProviderResponse = {
|
|
1184
|
-
/** SCM repository provider */
|
|
1185
|
-
provider: "GITHUB" | "GITLAB" | "BITBUCKET" | "AZURE";
|
|
1186
|
-
};
|
|
1187
|
-
export type AccountScmStatusResponse = {
|
|
1188
|
-
/** Flag used to indicate if the SCM repository account credential configuration is mandated */
|
|
1189
|
-
mandate: boolean;
|
|
1190
|
-
/** Flag used to indicate if the user credentials to access the account SCM repository already has configured by User */
|
|
1191
|
-
hasUserConfiguration: boolean;
|
|
1192
|
-
};
|
|
1193
|
-
export type RolePermissionResponse = {
|
|
1194
|
-
status?: boolean;
|
|
1195
|
-
/** Permission ID from StackSpot IAM */
|
|
1196
|
-
id: string;
|
|
1197
|
-
/** Permission's name */
|
|
1198
|
-
name: string;
|
|
1199
|
-
/** Permission's description */
|
|
1200
|
-
description?: string;
|
|
1201
|
-
/** Permission's creation timestamp */
|
|
1202
|
-
createdAt: string;
|
|
1203
|
-
/** The statements defined in the permission */
|
|
1204
|
-
statements: PermissionStatementResponse[];
|
|
1205
|
-
};
|
|
1206
|
-
export type MembersFromResourceResponse = {
|
|
1207
|
-
/** Member ID */
|
|
1208
|
-
id: string;
|
|
1209
|
-
/** Member username */
|
|
1210
|
-
username: string;
|
|
1211
|
-
/** Member company email */
|
|
1212
|
-
email: string;
|
|
1213
|
-
/** Member name */
|
|
1214
|
-
name?: string;
|
|
1215
|
-
/** Member permission actions */
|
|
1216
|
-
actions: string[];
|
|
1217
|
-
};
|
|
1218
|
-
export type GroupsFromResourceResponse = {
|
|
1219
|
-
/** Group ID */
|
|
1220
|
-
id: string;
|
|
1221
|
-
/** Group name */
|
|
1222
|
-
name: string;
|
|
1223
|
-
/** Group description */
|
|
1224
|
-
description?: string;
|
|
1225
|
-
/** Group slug */
|
|
1226
|
-
slug: string;
|
|
1227
|
-
/** Group member count */
|
|
1228
|
-
memberCount: number;
|
|
1229
|
-
/** Group permission actions */
|
|
1230
|
-
actions: string[];
|
|
1231
|
-
};
|
|
1232
|
-
export type ResourceTypeResponse = {
|
|
1233
|
-
id: string;
|
|
1234
|
-
name: string;
|
|
1235
|
-
slug: string;
|
|
1236
|
-
description: string;
|
|
1237
|
-
createdAt: string;
|
|
1238
|
-
};
|
|
1239
|
-
export type ResourceDto = {
|
|
1240
|
-
id: string;
|
|
1241
|
-
name: string;
|
|
1242
|
-
slug: string;
|
|
1243
|
-
description?: string;
|
|
1244
|
-
"type"?: ResourceTypeDto;
|
|
1245
|
-
};
|
|
1246
|
-
export type AccountAuthenticationConfigResponse = {
|
|
1247
|
-
/** OpenID Well Known url for current account */
|
|
1248
|
-
openIdWellKnownUrl: string;
|
|
1249
|
-
};
|
|
1250
|
-
export type AccountDataResponse = {
|
|
1251
|
-
/** Account tenant */
|
|
1252
|
-
tenant: string;
|
|
1253
|
-
/** Account IDP */
|
|
1254
|
-
idp?: string;
|
|
1255
|
-
/** Account Freemium available to user */
|
|
1256
|
-
freemiumAvailable: boolean;
|
|
1257
|
-
/** Account Type */
|
|
1258
|
-
accountType: "ENTERPRISE" | "PARTNER" | "FREEMIUM";
|
|
1259
|
-
/** Stackspot IAM Migrated */
|
|
1260
|
-
isIamMigrated: boolean;
|
|
1261
|
-
/** Stackspot IAM Tenant */
|
|
1262
|
-
openIdWellKnownUrl?: string;
|
|
1263
|
-
/** Account OpenID Well Known url */
|
|
1264
|
-
iamTenant?: string;
|
|
1265
|
-
};
|
|
1266
|
-
export type AccountSlugResponse = {
|
|
1267
|
-
/** Account slug */
|
|
1268
|
-
slug: string;
|
|
1269
|
-
};
|
|
1270
|
-
export type AccountSsoResponse = {
|
|
1271
|
-
/** SSO configuration name */
|
|
1272
|
-
name: string;
|
|
1273
|
-
/** Unique identifier for the SSO configuration */
|
|
1274
|
-
id: string;
|
|
1275
|
-
/** Alias for the SSO configuration */
|
|
1276
|
-
alias: string;
|
|
1277
|
-
/** List of attribute importers */
|
|
1278
|
-
attributeImporters: AttributeImporter[];
|
|
1279
|
-
/** Creation timestamp of the SSO configuration */
|
|
1280
|
-
createdAt?: string;
|
|
1281
|
-
/** Discovery endpoint for the SSO configuration */
|
|
1282
|
-
discoveryEndpoint?: string;
|
|
1283
|
-
/** Indicates if the SSO configuration is enabled */
|
|
1284
|
-
isEnabled?: boolean;
|
|
1285
|
-
idMapper?: IdMapper;
|
|
1286
|
-
/** Type of the SSO configuration */
|
|
1287
|
-
"type": "SAML" | "OPENID";
|
|
1288
|
-
/** Indicates if the SSO is fully configured */
|
|
1289
|
-
isConfigured: boolean;
|
|
1290
|
-
};
|
|
1291
|
-
export type PageResponseAccountSsoResponse = {
|
|
1292
|
-
/** Current page content */
|
|
1293
|
-
items?: AccountSsoResponse[];
|
|
1294
|
-
/** Total elements found */
|
|
1295
|
-
totalElements: number;
|
|
1296
|
-
/** Current page number */
|
|
1297
|
-
page: number;
|
|
1298
|
-
/** Length of current page items */
|
|
1299
|
-
size: number;
|
|
1300
|
-
};
|
|
1301
|
-
export type AccountDataAvailableResponse = {
|
|
1302
|
-
/** Account data (name and slug) is available to be registered */
|
|
1303
|
-
available: boolean;
|
|
1304
|
-
};
|
|
1305
|
-
export type AccountPartnerResponse = {
|
|
1306
|
-
/** Account id */
|
|
1307
|
-
accountApiId: string;
|
|
1308
|
-
/** Account slug */
|
|
1309
|
-
slug: string;
|
|
1310
|
-
/** Account name */
|
|
1311
|
-
name: string;
|
|
1312
|
-
/** Account logo image */
|
|
1313
|
-
image?: string;
|
|
1314
|
-
/** Account creation time */
|
|
1315
|
-
createdAt: string;
|
|
1316
|
-
/** Account current status */
|
|
1317
|
-
isActive: boolean;
|
|
1318
|
-
};
|
|
1319
|
-
/**
|
|
1320
|
-
* List User repository credential's.
|
|
1321
|
-
*/
|
|
1322
|
-
export declare function listScmCredentials(opts?: Oazapfts.RequestOpts): Promise<UserScmInfoResponse[]>;
|
|
1323
|
-
/**
|
|
1324
|
-
* Update User repository credential's.
|
|
1325
|
-
*/
|
|
1326
|
-
export declare function scmCredentialUpdate({ userScmInfoRequest }: {
|
|
1327
|
-
userScmInfoRequest: UserScmInfoRequest;
|
|
1328
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1329
|
-
/**
|
|
1330
|
-
* Save User repository credential's.
|
|
1331
|
-
*/
|
|
1332
|
-
export declare function scmCredentialSave({ userScmInfoRequest }: {
|
|
1333
|
-
userScmInfoRequest: UserScmInfoRequest;
|
|
1334
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1335
|
-
/**
|
|
1336
|
-
* Delete an user SCM credentials.
|
|
1337
|
-
*/
|
|
1338
|
-
export declare function scmDelete(opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1339
|
-
/**
|
|
1340
|
-
* Get scope by ID
|
|
1341
|
-
*/
|
|
1342
|
-
export declare function getById({ scopeId }: {
|
|
1343
|
-
scopeId: string;
|
|
1344
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ScopeResponse>;
|
|
1345
|
-
/**
|
|
1346
|
-
* Update scope information
|
|
1347
|
-
*/
|
|
1348
|
-
export declare function updateScope({ scopeId, iamUpdateScopeRequest }: {
|
|
1349
|
-
scopeId: string;
|
|
1350
|
-
iamUpdateScopeRequest: IamUpdateScopeRequest;
|
|
1351
|
-
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
1352
|
-
/**
|
|
1353
|
-
* Delete scope by ID
|
|
1354
|
-
*/
|
|
1355
|
-
export declare function deleteScope({ scopeId }: {
|
|
1356
|
-
scopeId: string;
|
|
1357
|
-
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
1358
|
-
/**
|
|
1359
|
-
* List repository credential's.
|
|
1360
|
-
*/
|
|
1361
|
-
export declare function listScmCredentials1(opts?: Oazapfts.RequestOpts): Promise<AccountScmInfoResponse[]>;
|
|
1362
|
-
/**
|
|
1363
|
-
* Update repository credential's.
|
|
1364
|
-
*/
|
|
1365
|
-
export declare function scmCredentialUpdate1({ accountScmInfoUpdateRequest }: {
|
|
1366
|
-
accountScmInfoUpdateRequest: AccountScmInfoUpdateRequest;
|
|
1367
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1368
|
-
/**
|
|
1369
|
-
* Save repository credential's.
|
|
1370
|
-
*/
|
|
1371
|
-
export declare function scmCredentialSave1({ accountScmInfoSaveRequest }: {
|
|
1372
|
-
accountScmInfoSaveRequest: AccountScmInfoSaveRequest;
|
|
1373
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1374
|
-
/**
|
|
1375
|
-
* Update a new role for Account
|
|
1376
|
-
*/
|
|
1377
|
-
export declare function updateAccountRole({ roleId, updateAccountRoleRequest }: {
|
|
1378
|
-
roleId: string;
|
|
1379
|
-
updateAccountRoleRequest: UpdateAccountRoleRequest;
|
|
1380
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1381
|
-
/**
|
|
1382
|
-
* Delete a role for Account
|
|
1383
|
-
*/
|
|
1384
|
-
export declare function deleteAccountRole({ roleId }: {
|
|
1385
|
-
roleId: string;
|
|
1386
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1387
|
-
/**
|
|
1388
|
-
* Get all Global Reources and Actions compared to role
|
|
1389
|
-
*/
|
|
1390
|
-
export declare function getResourcesAndActionsWithStatus({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1391
|
-
roleId: string;
|
|
1392
|
-
size?: any;
|
|
1393
|
-
page?: any;
|
|
1394
|
-
sort?: string;
|
|
1395
|
-
direction?: "ASC" | "DESC";
|
|
1396
|
-
search?: string;
|
|
1397
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1398
|
-
filterBy?: string;
|
|
1399
|
-
filterValue?: string;
|
|
1400
|
-
multiFilterMode?: string;
|
|
1401
|
-
filterIn?: any;
|
|
1402
|
-
}, opts?: Oazapfts.RequestOpts): Promise<IamResourceType[]>;
|
|
1403
|
-
/**
|
|
1404
|
-
* Update role with new resource and actions
|
|
1405
|
-
*/
|
|
1406
|
-
export declare function updateRoleWithNewActions({ roleId, body }: {
|
|
1407
|
-
roleId: string;
|
|
1408
|
-
body: IamCreateStatementRequest[];
|
|
1409
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1410
|
-
/**
|
|
1411
|
-
* Get user by id
|
|
1412
|
-
*/
|
|
1413
|
-
export declare function getMemberById({ memberId }: {
|
|
1414
|
-
memberId: string;
|
|
1415
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountMemberStackspotIamDto>;
|
|
1416
|
-
/**
|
|
1417
|
-
* Update user on current tenant
|
|
1418
|
-
*/
|
|
1419
|
-
export declare function updateUser({ memberId, updateUserRequest }: {
|
|
1420
|
-
memberId: string;
|
|
1421
|
-
updateUserRequest: UpdateUserRequest;
|
|
1422
|
-
}, opts?: Oazapfts.RequestOpts): Promise<UpdateUserResponse>;
|
|
1423
|
-
/**
|
|
1424
|
-
* Update user password on current tenant
|
|
1425
|
-
*/
|
|
1426
|
-
export declare function updateUserPassword({ memberId, updatePasswordRequest }: {
|
|
1427
|
-
memberId: string;
|
|
1428
|
-
updatePasswordRequest: UpdatePasswordRequest;
|
|
1429
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1430
|
-
/**
|
|
1431
|
-
* Accept user invitation
|
|
1432
|
-
*/
|
|
1433
|
-
export declare function accept({ id }: {
|
|
1434
|
-
id: string;
|
|
1435
|
-
}, opts?: Oazapfts.RequestOpts): Promise<UserInvitationResponse>;
|
|
1436
|
-
/**
|
|
1437
|
-
* Update a Feature Flag
|
|
1438
|
-
*/
|
|
1439
|
-
export declare function update({ id, updateFeatureFlagRequest }: {
|
|
1440
|
-
id: number;
|
|
1441
|
-
updateFeatureFlagRequest: UpdateFeatureFlagRequest;
|
|
1442
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1443
|
-
/**
|
|
1444
|
-
* Update status account
|
|
1445
|
-
*/
|
|
1446
|
-
export declare function updateAccountStatus({ accountId, accountStatusRequest }: {
|
|
1447
|
-
accountId: string;
|
|
1448
|
-
accountStatusRequest: AccountStatusRequest;
|
|
1449
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1450
|
-
/**
|
|
1451
|
-
* Get a configured SSO from account
|
|
1452
|
-
*/
|
|
1453
|
-
export declare function getAccountSso({ id }: {
|
|
1454
|
-
id: string;
|
|
1455
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountSsoDetailedResponse>;
|
|
1456
|
-
/**
|
|
1457
|
-
* Update a configured SSO from account
|
|
1458
|
-
*/
|
|
1459
|
-
export declare function updateSso({ id, accountSsoUpdateRequest }: {
|
|
1460
|
-
id: string;
|
|
1461
|
-
accountSsoUpdateRequest: AccountSsoUpdateRequest;
|
|
1462
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1463
|
-
/**
|
|
1464
|
-
* Delete a configured Account SSO from account
|
|
1465
|
-
*/
|
|
1466
|
-
export declare function deleteSso({ id }: {
|
|
1467
|
-
id: string;
|
|
1468
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1469
|
-
/**
|
|
1470
|
-
* Update partially a configured SSO from account
|
|
1471
|
-
*/
|
|
1472
|
-
export declare function partialUpdateSso({ id, accountSsoPartialUpdateRequest }: {
|
|
1473
|
-
id: string;
|
|
1474
|
-
accountSsoPartialUpdateRequest: AccountSsoPartialUpdateRequest;
|
|
1475
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1476
|
-
/**
|
|
1477
|
-
* Get SSO Group Mapping By Id
|
|
1478
|
-
*/
|
|
1479
|
-
export declare function getGroupMapById({ id, attributeImporterId }: {
|
|
1480
|
-
id: string;
|
|
1481
|
-
attributeImporterId: string;
|
|
1482
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountSsoGroupMappingResponse>;
|
|
1483
|
-
/**
|
|
1484
|
-
* Update SSO Group Mapping
|
|
1485
|
-
*/
|
|
1486
|
-
export declare function updateGroupMapping({ id, attributeImporterId, accountGroupMappingUpdateRequest }: {
|
|
1487
|
-
id: string;
|
|
1488
|
-
attributeImporterId: string;
|
|
1489
|
-
accountGroupMappingUpdateRequest: AccountGroupMappingUpdateRequest;
|
|
1490
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1491
|
-
/**
|
|
1492
|
-
* Delete SSO Group Mapping
|
|
1493
|
-
*/
|
|
1494
|
-
export declare function deleteGroupMapping({ id, attributeImporterId }: {
|
|
1495
|
-
id: string;
|
|
1496
|
-
attributeImporterId: string;
|
|
1497
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1498
|
-
/**
|
|
1499
|
-
* Create Service Credential v2
|
|
1500
|
-
*/
|
|
1501
|
-
export declare function createServiceCredential({ serviceCredentialCreateRequestV2 }: {
|
|
1502
|
-
serviceCredentialCreateRequestV2: ServiceCredentialCreateRequestV2;
|
|
1503
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ServiceCredentialCreateResponseV2>;
|
|
1504
|
-
/**
|
|
1505
|
-
* Get Service Credentials
|
|
1506
|
-
*/
|
|
1507
|
-
export declare function getServiceCredentials({ name, status, page, size }: {
|
|
1508
|
-
name?: string;
|
|
1509
|
-
status?: string;
|
|
1510
|
-
page?: string;
|
|
1511
|
-
size?: string;
|
|
1512
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ServiceCredentialResponse[]>;
|
|
1513
|
-
/**
|
|
1514
|
-
* Create Service Credential
|
|
1515
|
-
*/
|
|
1516
|
-
export declare function createServiceCredential1({ serviceCredentialCreateRequest }: {
|
|
1517
|
-
serviceCredentialCreateRequest: ServiceCredentialCreateRequest;
|
|
1518
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ServiceCredentialCreateResponse>;
|
|
1519
|
-
/**
|
|
1520
|
-
* Notify about Service Credential expiration
|
|
1521
|
-
*/
|
|
1522
|
-
export declare function notifyServiceCredentialExpiration({ serviceCredentialExpirationRequest }: {
|
|
1523
|
-
serviceCredentialExpirationRequest: ServiceCredentialExpirationNotifyRequest;
|
|
1524
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1525
|
-
/**
|
|
1526
|
-
* Find all the existing scopes
|
|
1527
|
-
*/
|
|
1528
|
-
export declare function findScopes({ page }: {
|
|
1529
|
-
page?: PagingRequest;
|
|
1530
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ScopeResponse[]>;
|
|
1531
|
-
/**
|
|
1532
|
-
* Create a new scope
|
|
1533
|
-
*/
|
|
1534
|
-
export declare function createScope({ iamCreateScopeRequest }: {
|
|
1535
|
-
iamCreateScopeRequest: IamCreateScopeRequest;
|
|
1536
|
-
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
1537
|
-
/**
|
|
1538
|
-
* Get Roles
|
|
1539
|
-
*/
|
|
1540
|
-
export declare function getRoles({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1541
|
-
size?: any;
|
|
1542
|
-
page?: any;
|
|
1543
|
-
sort?: string;
|
|
1544
|
-
direction?: "ASC" | "DESC";
|
|
1545
|
-
search?: string;
|
|
1546
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1547
|
-
filterBy?: string;
|
|
1548
|
-
filterValue?: string;
|
|
1549
|
-
multiFilterMode?: string;
|
|
1550
|
-
filterIn?: any;
|
|
1551
|
-
}, opts?: Oazapfts.RequestOpts): Promise<RoleResponse[]>;
|
|
1552
|
-
/**
|
|
1553
|
-
* Create a new role for Account
|
|
1554
|
-
*/
|
|
1555
|
-
export declare function createAccountRole({ createAccountRoleRequest }: {
|
|
1556
|
-
createAccountRoleRequest: CreateAccountRoleRequest;
|
|
1557
|
-
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1558
|
-
/**
|
|
1559
|
-
* Get role members
|
|
1560
|
-
*/
|
|
1561
|
-
export declare function getRoleMembers({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1562
|
-
roleId: string;
|
|
1563
|
-
size?: any;
|
|
1564
|
-
page?: any;
|
|
1565
|
-
sort?: string;
|
|
1566
|
-
direction?: "ASC" | "DESC";
|
|
1567
|
-
search?: string;
|
|
1568
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1569
|
-
filterBy?: string;
|
|
1570
|
-
filterValue?: string;
|
|
1571
|
-
multiFilterMode?: string;
|
|
1572
|
-
filterIn?: any;
|
|
1573
|
-
}, opts?: Oazapfts.RequestOpts): Promise<RoleMemberResponse[]>;
|
|
1574
|
-
/**
|
|
1575
|
-
* Add Role to Member
|
|
1576
|
-
*/
|
|
1577
|
-
export declare function addRoleToMember({ roleId, addRoleToMemberRequest }: {
|
|
1578
|
-
roleId: string;
|
|
1579
|
-
addRoleToMemberRequest: AddRoleToMemberRequest;
|
|
1580
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AddUsersToRoleResponse>;
|
|
1581
|
-
/**
|
|
1582
|
-
* Get Groups from role
|
|
1583
|
-
*/
|
|
1584
|
-
export declare function getRoleGroups({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1585
|
-
roleId: string;
|
|
1586
|
-
size?: any;
|
|
1587
|
-
page?: any;
|
|
1588
|
-
sort?: string;
|
|
1589
|
-
direction?: "ASC" | "DESC";
|
|
1590
|
-
search?: string;
|
|
1591
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1592
|
-
filterBy?: string;
|
|
1593
|
-
filterValue?: string;
|
|
1594
|
-
multiFilterMode?: string;
|
|
1595
|
-
filterIn?: any;
|
|
1596
|
-
}, opts?: Oazapfts.RequestOpts): Promise<RoleGroupResponse[]>;
|
|
1597
|
-
/**
|
|
1598
|
-
* Bind roles groups
|
|
1599
|
-
*/
|
|
1600
|
-
export declare function bindRoleGroups({ roleId, roleGroupIdsRequest }: {
|
|
1601
|
-
roleId: string;
|
|
1602
|
-
roleGroupIdsRequest: RoleGroupIdsRequest;
|
|
1603
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1604
|
-
/**
|
|
1605
|
-
* Get Resources
|
|
1606
|
-
*/
|
|
1607
|
-
export declare function getResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1608
|
-
size?: any;
|
|
1609
|
-
page?: any;
|
|
1610
|
-
sort?: string;
|
|
1611
|
-
direction?: "ASC" | "DESC";
|
|
1612
|
-
search?: string;
|
|
1613
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1614
|
-
filterBy?: string;
|
|
1615
|
-
filterValue?: string;
|
|
1616
|
-
multiFilterMode?: string;
|
|
1617
|
-
filterIn?: any;
|
|
1618
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ResourceResponse[]>;
|
|
1619
|
-
/**
|
|
1620
|
-
* Create a new resource for Account
|
|
1621
|
-
*/
|
|
1622
|
-
export declare function createResource({ createResourceRequest }: {
|
|
1623
|
-
createResourceRequest: CreateResourceRequest;
|
|
1624
|
-
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1625
|
-
/**
|
|
1626
|
-
* Get Account Members
|
|
1627
|
-
*/
|
|
1628
|
-
export declare function getAccountMembers1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1629
|
-
size?: any;
|
|
1630
|
-
page?: any;
|
|
1631
|
-
sort?: string;
|
|
1632
|
-
direction?: "ASC" | "DESC";
|
|
1633
|
-
search?: string;
|
|
1634
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1635
|
-
filterBy?: string;
|
|
1636
|
-
filterValue?: string;
|
|
1637
|
-
multiFilterMode?: string;
|
|
1638
|
-
filterIn?: any;
|
|
1639
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountMemberResponse[]>;
|
|
1640
|
-
/**
|
|
1641
|
-
* Create user on current tenant
|
|
1642
|
-
*/
|
|
1643
|
-
export declare function createUser({ createUserRequest }: {
|
|
1644
|
-
createUserRequest: CreateUserRequest;
|
|
1645
|
-
}, opts?: Oazapfts.RequestOpts): Promise<CreateUserResponse>;
|
|
1646
|
-
/**
|
|
1647
|
-
* Get member roles
|
|
1648
|
-
*/
|
|
1649
|
-
export declare function getRoles1({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1650
|
-
memberId: string;
|
|
1651
|
-
size?: any;
|
|
1652
|
-
page?: any;
|
|
1653
|
-
sort?: string;
|
|
1654
|
-
direction?: "ASC" | "DESC";
|
|
1655
|
-
search?: string;
|
|
1656
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1657
|
-
filterBy?: string;
|
|
1658
|
-
filterValue?: string;
|
|
1659
|
-
multiFilterMode?: string;
|
|
1660
|
-
filterIn?: any;
|
|
1661
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ReadMemberRoleResponse[]>;
|
|
1662
|
-
/**
|
|
1663
|
-
* Bind users to roles
|
|
1664
|
-
*/
|
|
1665
|
-
export declare function bindToRoles({ memberId, memberIdsCommonRequest }: {
|
|
1666
|
-
memberId: string;
|
|
1667
|
-
memberIdsCommonRequest: MemberIdsCommonRequest;
|
|
1668
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1669
|
-
/**
|
|
1670
|
-
* Get member Groups
|
|
1671
|
-
*/
|
|
1672
|
-
export declare function getMemberGroups({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1673
|
-
memberId: string;
|
|
1674
|
-
size?: any;
|
|
1675
|
-
page?: any;
|
|
1676
|
-
sort?: string;
|
|
1677
|
-
direction?: "ASC" | "DESC";
|
|
1678
|
-
search?: string;
|
|
1679
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1680
|
-
filterBy?: string;
|
|
1681
|
-
filterValue?: string;
|
|
1682
|
-
multiFilterMode?: string;
|
|
1683
|
-
filterIn?: any;
|
|
1684
|
-
}, opts?: Oazapfts.RequestOpts): Promise<GroupReadResponse[]>;
|
|
1685
|
-
/**
|
|
1686
|
-
* Bind users to groups
|
|
1687
|
-
*/
|
|
1688
|
-
export declare function bindToGroups({ memberId, memberIdsCommonRequest }: {
|
|
1689
|
-
memberId: string;
|
|
1690
|
-
memberIdsCommonRequest: MemberIdsCommonRequest;
|
|
1691
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1692
|
-
/**
|
|
1693
|
-
* Send Email to reset password
|
|
1694
|
-
*/
|
|
1695
|
-
export declare function resetPassword({ memberEmailRequest }: {
|
|
1696
|
-
memberEmailRequest: MemberEmailRequest;
|
|
1697
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1698
|
-
/**
|
|
1699
|
-
* Invite new members to account
|
|
1700
|
-
*/
|
|
1701
|
-
export declare function inviteMembers({ body }: {
|
|
1702
|
-
body: InviteNewMemberRequest[];
|
|
1703
|
-
}, opts?: Oazapfts.RequestOpts): Promise<InviteMembersResponse>;
|
|
1704
|
-
/**
|
|
1705
|
-
* List user invitations for account
|
|
1706
|
-
*/
|
|
1707
|
-
export declare function listUserInvitations({ filterBy, filterValue, page, size }: {
|
|
1708
|
-
filterBy?: string;
|
|
1709
|
-
filterValue?: string;
|
|
1710
|
-
page?: string;
|
|
1711
|
-
size?: string;
|
|
1712
|
-
}, opts?: Oazapfts.RequestOpts): Promise<UserInvitationResponse[]>;
|
|
1713
|
-
/**
|
|
1714
|
-
* Create user invitations for account
|
|
1715
|
-
*/
|
|
1716
|
-
export declare function createUserInvitation({ createUserInvitationRequest }: {
|
|
1717
|
-
createUserInvitationRequest: CreateUserInvitationRequest;
|
|
1718
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1719
|
-
/**
|
|
1720
|
-
* Get Groups
|
|
1721
|
-
*/
|
|
1722
|
-
export declare function getGroups({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1723
|
-
size?: any;
|
|
1724
|
-
page?: any;
|
|
1725
|
-
sort?: string;
|
|
1726
|
-
direction?: "ASC" | "DESC";
|
|
1727
|
-
search?: string;
|
|
1728
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1729
|
-
filterBy?: string;
|
|
1730
|
-
filterValue?: string;
|
|
1731
|
-
multiFilterMode?: string;
|
|
1732
|
-
filterIn?: any;
|
|
1733
|
-
}, opts?: Oazapfts.RequestOpts): Promise<GroupReadResponse[]>;
|
|
1734
|
-
/**
|
|
1735
|
-
* Create Group
|
|
1736
|
-
*/
|
|
1737
|
-
export declare function save({ newGroupRequest }: {
|
|
1738
|
-
newGroupRequest: NewGroupRequest;
|
|
1739
|
-
}, opts?: Oazapfts.RequestOpts): Promise<IamIdResponse>;
|
|
1740
|
-
/**
|
|
1741
|
-
* Get Group members
|
|
1742
|
-
*/
|
|
1743
|
-
export declare function getRoles2({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1744
|
-
groupId: string;
|
|
1745
|
-
size?: any;
|
|
1746
|
-
page?: any;
|
|
1747
|
-
sort?: string;
|
|
1748
|
-
direction?: "ASC" | "DESC";
|
|
1749
|
-
search?: string;
|
|
1750
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1751
|
-
filterBy?: string;
|
|
1752
|
-
filterValue?: string;
|
|
1753
|
-
multiFilterMode?: string;
|
|
1754
|
-
filterIn?: any;
|
|
1755
|
-
}, opts?: Oazapfts.RequestOpts): Promise<RoleResponse[]>;
|
|
1756
|
-
/**
|
|
1757
|
-
* Bind Group roles
|
|
1758
|
-
*/
|
|
1759
|
-
export declare function bindRoles({ groupId, groupRoleIdsRequest }: {
|
|
1760
|
-
groupId: string;
|
|
1761
|
-
groupRoleIdsRequest: GroupRoleIdsRequest;
|
|
1762
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1763
|
-
/**
|
|
1764
|
-
* Get Group Resources
|
|
1765
|
-
*/
|
|
1766
|
-
export declare function getGroupResources({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1767
|
-
groupId: string;
|
|
1768
|
-
size?: any;
|
|
1769
|
-
page?: any;
|
|
1770
|
-
sort?: string;
|
|
1771
|
-
direction?: "ASC" | "DESC";
|
|
1772
|
-
search?: string;
|
|
1773
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1774
|
-
filterBy?: string;
|
|
1775
|
-
filterValue?: string;
|
|
1776
|
-
multiFilterMode?: string;
|
|
1777
|
-
filterIn?: any;
|
|
1778
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ResourceResponse[]>;
|
|
1779
|
-
/**
|
|
1780
|
-
* Add Multiple Resources to Group
|
|
1781
|
-
*/
|
|
1782
|
-
export declare function addResourcesToGroup({ groupId, addResourcesToGroupRequest }: {
|
|
1783
|
-
groupId: string;
|
|
1784
|
-
addResourcesToGroupRequest: AddResourcesToGroupRequest;
|
|
1785
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1786
|
-
/**
|
|
1787
|
-
* Get Group members
|
|
1788
|
-
*/
|
|
1789
|
-
export declare function getMembers({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1790
|
-
groupId: string;
|
|
1791
|
-
size?: any;
|
|
1792
|
-
page?: any;
|
|
1793
|
-
sort?: string;
|
|
1794
|
-
direction?: "ASC" | "DESC";
|
|
1795
|
-
search?: string;
|
|
1796
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1797
|
-
filterBy?: string;
|
|
1798
|
-
filterValue?: string;
|
|
1799
|
-
multiFilterMode?: string;
|
|
1800
|
-
filterIn?: any;
|
|
1801
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ReadGroupMembersResponse[]>;
|
|
1802
|
-
/**
|
|
1803
|
-
* Bind Group member
|
|
1804
|
-
*/
|
|
1805
|
-
export declare function bindGroupMembers({ groupId, groupMemberIdsRequest }: {
|
|
1806
|
-
groupId: string;
|
|
1807
|
-
groupMemberIdsRequest: GroupMemberIdsRequest;
|
|
1808
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1809
|
-
/**
|
|
1810
|
-
* List Feature Flags in an Account
|
|
1811
|
-
*/
|
|
1812
|
-
export declare function getFeatures(opts?: Oazapfts.RequestOpts): Promise<FeatureFlagsResponse[]>;
|
|
1813
|
-
/**
|
|
1814
|
-
* Create a Feature Flag
|
|
1815
|
-
*/
|
|
1816
|
-
export declare function create({ createFeatureFlagRequest }: {
|
|
1817
|
-
createFeatureFlagRequest: CreateFeatureFlagRequest;
|
|
1818
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1819
|
-
/**
|
|
1820
|
-
* Send Welcome Email
|
|
1821
|
-
*/
|
|
1822
|
-
export declare function sendWelcomeEmail({ welcomeEmailRequest }: {
|
|
1823
|
-
welcomeEmailRequest: WelcomeEmailRequest;
|
|
1824
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1825
|
-
/**
|
|
1826
|
-
* Send Download Email
|
|
1827
|
-
*/
|
|
1828
|
-
export declare function sendDownloadEmail(opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1829
|
-
/**
|
|
1830
|
-
* Send contact email
|
|
1831
|
-
*/
|
|
1832
|
-
export declare function sendContactEmail({ contactEmailRequest }: {
|
|
1833
|
-
contactEmailRequest: ContactEmailRequest;
|
|
1834
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1835
|
-
/**
|
|
1836
|
-
* Switch user to account passed in the body
|
|
1837
|
-
*/
|
|
1838
|
-
export declare function switchAccount({ switchAccountRequest }: {
|
|
1839
|
-
switchAccountRequest: SwitchAccountRequest;
|
|
1840
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ExchangeAccountResponse>;
|
|
1841
|
-
/**
|
|
1842
|
-
* Get credentials from personal service client (create if not exists one to the logged user).
|
|
1843
|
-
*/
|
|
1844
|
-
export declare function getPersonalClientCredentials(opts?: Oazapfts.RequestOpts): Promise<PersonalClientCredentialsResponse>;
|
|
1845
|
-
/**
|
|
1846
|
-
* Get an Access Token generated With Audience on logged user behalf, since previously authorized.
|
|
1847
|
-
*/
|
|
1848
|
-
export declare function getPersonalAccessToken1({ apiAuthorization, generateTokenFromPersonalAccountRequest }: {
|
|
1849
|
-
apiAuthorization: string;
|
|
1850
|
-
generateTokenFromPersonalAccountRequest?: GenerateTokenFromPersonalAccountRequest;
|
|
1851
|
-
}, opts?: Oazapfts.RequestOpts): Promise<PersonalAccessTokenResponse>;
|
|
1852
|
-
/**
|
|
1853
|
-
* Disable client that generates Personal Access Tokens.
|
|
1854
|
-
*/
|
|
1855
|
-
export declare function disablePersonalAccessTokenGeneration(opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1856
|
-
/**
|
|
1857
|
-
* Verify if exists a client created (authorized) to generate Access Token on logged user behalf.
|
|
1858
|
-
*/
|
|
1859
|
-
export declare function personalAccessTokenAuthorization(opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1860
|
-
/**
|
|
1861
|
-
* Authorize creating a client to generate Personal Access Tokens on your behalf.
|
|
1862
|
-
*/
|
|
1863
|
-
export declare function createPersonalAccessToken(opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1864
|
-
/**
|
|
1865
|
-
* Get an Access Token generated on logged user's service account behalf, since previously authorized.
|
|
1866
|
-
*/
|
|
1867
|
-
export declare function getPersonalAccessTokenFromServiceAccountOnly(opts?: Oazapfts.RequestOpts): Promise<PersonalAccessTokenResponse>;
|
|
1868
|
-
/**
|
|
1869
|
-
* Generate device code.
|
|
1870
|
-
*/
|
|
1871
|
-
export declare function deviceCode({ email, freemiumAccess, codeChallenge, body }: {
|
|
1872
|
-
email: string;
|
|
1873
|
-
freemiumAccess?: boolean;
|
|
1874
|
-
codeChallenge: string;
|
|
1875
|
-
body?: Blob;
|
|
1876
|
-
}, opts?: Oazapfts.RequestOpts): Promise<DeviceCodeResponse>;
|
|
1877
|
-
/**
|
|
1878
|
-
* Find accounts
|
|
1879
|
-
*/
|
|
1880
|
-
export declare function getAccounts1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1881
|
-
size?: any;
|
|
1882
|
-
page?: any;
|
|
1883
|
-
sort?: string;
|
|
1884
|
-
direction?: "ASC" | "DESC";
|
|
1885
|
-
search?: string;
|
|
1886
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1887
|
-
filterBy?: string;
|
|
1888
|
-
filterValue?: string;
|
|
1889
|
-
multiFilterMode?: string;
|
|
1890
|
-
filterIn?: any;
|
|
1891
|
-
}, opts?: Oazapfts.RequestOpts): Promise<PageResponseAccountResponse>;
|
|
1892
|
-
/**
|
|
1893
|
-
* Create an Enterprise Account Order
|
|
1894
|
-
*/
|
|
1895
|
-
export declare function create1({ createAccountOrderRequest }: {
|
|
1896
|
-
createAccountOrderRequest: CreateAccountOrderRequest;
|
|
1897
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1898
|
-
/**
|
|
1899
|
-
* Get All SSO Group Mapping
|
|
1900
|
-
*/
|
|
1901
|
-
export declare function getAllGroupMapping({ id, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
1902
|
-
id: string;
|
|
1903
|
-
size?: any;
|
|
1904
|
-
page?: any;
|
|
1905
|
-
sort?: string;
|
|
1906
|
-
direction?: "ASC" | "DESC";
|
|
1907
|
-
search?: string;
|
|
1908
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
1909
|
-
filterBy?: string;
|
|
1910
|
-
filterValue?: string;
|
|
1911
|
-
multiFilterMode?: string;
|
|
1912
|
-
filterIn?: any;
|
|
1913
|
-
}, opts?: Oazapfts.RequestOpts): Promise<PageResponseAccountSsoGroupMappingResponse>;
|
|
1914
|
-
/**
|
|
1915
|
-
* Create SSO Group Mapping
|
|
1916
|
-
*/
|
|
1917
|
-
export declare function createGroupMapping({ id, accountGroupMappingCreateRequest }: {
|
|
1918
|
-
id: string;
|
|
1919
|
-
accountGroupMappingCreateRequest: AccountGroupMappingCreateRequest;
|
|
1920
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1921
|
-
/**
|
|
1922
|
-
* Configure new SSO in account
|
|
1923
|
-
*/
|
|
1924
|
-
export declare function ssoConfigure({ protocol, accountSsoCreateRequest }: {
|
|
1925
|
-
protocol: "SAML" | "OPENID";
|
|
1926
|
-
accountSsoCreateRequest: AccountSsoCreateRequest;
|
|
1927
|
-
}, opts?: Oazapfts.RequestOpts): Promise<SsoIdResponse>;
|
|
1928
|
-
/**
|
|
1929
|
-
* Parse SSO configuration file
|
|
1930
|
-
*/
|
|
1931
|
-
export declare function ssoParseConfigurationFile({ protocol, file }: {
|
|
1932
|
-
protocol: string;
|
|
1933
|
-
file: Blob;
|
|
1934
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountSsoParserResponse>;
|
|
1935
|
-
/**
|
|
1936
|
-
* Create Account Freemium
|
|
1937
|
-
*/
|
|
1938
|
-
export declare function createAccountFreemium({ accountFreemiumCreateRequest }: {
|
|
1939
|
-
accountFreemiumCreateRequest: AccountFreemiumCreateRequest;
|
|
1940
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1941
|
-
/**
|
|
1942
|
-
* Adding Collaborator Account
|
|
1943
|
-
*/
|
|
1944
|
-
export declare function addCollaborator({ accountCollaboratorRequest }: {
|
|
1945
|
-
accountCollaboratorRequest: AccountCollaboratorRequest;
|
|
1946
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1947
|
-
/**
|
|
1948
|
-
* Create an Account Order for Partner
|
|
1949
|
-
*/
|
|
1950
|
-
export declare function createPartner({ createAccountPartnerOrderRequest }: {
|
|
1951
|
-
createAccountPartnerOrderRequest: CreateAccountPartnerOrderRequest;
|
|
1952
|
-
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1953
|
-
/**
|
|
1954
|
-
* Validate new Partner account data
|
|
1955
|
-
*/
|
|
1956
|
-
export declare function validateNewPartnerData({ validateAccountPartnerDataRequest }: {
|
|
1957
|
-
validateAccountPartnerDataRequest: ValidateAccountPartnerDataRequest;
|
|
1958
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1959
|
-
/**
|
|
1960
|
-
* Rotate Service Credential Secret v2
|
|
1961
|
-
*/
|
|
1962
|
-
export declare function rotateServiceCredentialSecret({ id, rotateServiceCredentialSecretRequest }: {
|
|
1963
|
-
id: string;
|
|
1964
|
-
rotateServiceCredentialSecretRequest: RotateServiceCredentialSecretRequest;
|
|
1965
|
-
}, opts?: Oazapfts.RequestOpts): Promise<RotateServiceCredentialSecretResponse>;
|
|
1966
|
-
/**
|
|
1967
|
-
* Revoke Service Credential v2
|
|
1968
|
-
*/
|
|
1969
|
-
export declare function revokeServiceCredential({ id }: {
|
|
1970
|
-
id: string;
|
|
1971
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1972
|
-
/**
|
|
1973
|
-
* Associate Group to Service Credential
|
|
1974
|
-
*/
|
|
1975
|
-
export declare function associateGroupToServiceCredential({ id, serviceCredentialAssociateGroupRequest }: {
|
|
1976
|
-
id: string;
|
|
1977
|
-
serviceCredentialAssociateGroupRequest: ServiceCredentialAssociateGroupRequest;
|
|
1978
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1979
|
-
/**
|
|
1980
|
-
* Revoke Service Credential
|
|
1981
|
-
*/
|
|
1982
|
-
export declare function revokeServiceCredential1({ id }: {
|
|
1983
|
-
id: string;
|
|
1984
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1985
|
-
/**
|
|
1986
|
-
* Delete a member permissions
|
|
1987
|
-
*/
|
|
1988
|
-
export declare function deleteMemberPermissions({ memberId, deleteMemberPermissionsRequest }: {
|
|
1989
|
-
memberId: string;
|
|
1990
|
-
deleteMemberPermissionsRequest: DeleteMemberPermissionsRequest;
|
|
1991
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1992
|
-
/**
|
|
1993
|
-
* Update member permissions
|
|
1994
|
-
*/
|
|
1995
|
-
export declare function updateMemberPermissions({ memberId, updateMemberPermissionsRequest }: {
|
|
1996
|
-
memberId: string;
|
|
1997
|
-
updateMemberPermissionsRequest: UpdateMemberPermissionsRequest;
|
|
1998
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1999
|
-
/**
|
|
2000
|
-
* Get All Fido credentials for given user
|
|
2001
|
-
*/
|
|
2002
|
-
export declare function getAllMemberFidoCredentials({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
2003
|
-
memberId: string;
|
|
2004
|
-
size?: any;
|
|
2005
|
-
page?: any;
|
|
2006
|
-
sort?: string;
|
|
2007
|
-
direction?: "ASC" | "DESC";
|
|
2008
|
-
search?: string;
|
|
2009
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
2010
|
-
filterBy?: string;
|
|
2011
|
-
filterValue?: string;
|
|
2012
|
-
multiFilterMode?: string;
|
|
2013
|
-
filterIn?: any;
|
|
2014
|
-
}, opts?: Oazapfts.RequestOpts): Promise<MemberCredentialsListResponse>;
|
|
2015
|
-
/**
|
|
2016
|
-
* Disables Fido credentials for given user
|
|
2017
|
-
*/
|
|
2018
|
-
export declare function deactivateFidoCredentials({ memberId }: {
|
|
2019
|
-
memberId: string;
|
|
2020
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2021
|
-
/**
|
|
2022
|
-
* Enable Fido credentials for given user
|
|
2023
|
-
*/
|
|
2024
|
-
export declare function enableFidoCredentials({ memberId }: {
|
|
2025
|
-
memberId: string;
|
|
2026
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2027
|
-
/**
|
|
2028
|
-
* Revoke user invitation
|
|
2029
|
-
*/
|
|
2030
|
-
export declare function cancelUserInvitation({ id }: {
|
|
2031
|
-
id: string;
|
|
2032
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2033
|
-
/**
|
|
2034
|
-
* Resend user invitation
|
|
2035
|
-
*/
|
|
2036
|
-
export declare function resendUserInvitation({ id }: {
|
|
2037
|
-
id: string;
|
|
2038
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2039
|
-
/**
|
|
2040
|
-
* Get Group by ID
|
|
2041
|
-
*/
|
|
2042
|
-
export declare function getGroupById({ groupId }: {
|
|
2043
|
-
groupId: string;
|
|
2044
|
-
}, opts?: Oazapfts.RequestOpts): Promise<GroupReadDetailResponse>;
|
|
2045
|
-
/**
|
|
2046
|
-
* Delete Group
|
|
2047
|
-
*/
|
|
2048
|
-
export declare function deleteV1GroupsByGroupId({ groupId }: {
|
|
2049
|
-
groupId: string;
|
|
2050
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2051
|
-
/**
|
|
2052
|
-
* Update Group
|
|
2053
|
-
*/
|
|
2054
|
-
export declare function update1({ groupId, updateGroupRequest }: {
|
|
2055
|
-
groupId: string;
|
|
2056
|
-
updateGroupRequest: UpdateGroupRequest;
|
|
2057
|
-
}, opts?: Oazapfts.RequestOpts): Promise<IamIdResponse>;
|
|
2058
|
-
/**
|
|
2059
|
-
* Delete Group permissions
|
|
2060
|
-
*/
|
|
2061
|
-
export declare function deleteGroupPermissions({ groupId, deleteGroupPermissionsRequest }: {
|
|
2062
|
-
groupId: string;
|
|
2063
|
-
deleteGroupPermissionsRequest: DeleteGroupPermissionsRequest;
|
|
2064
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2065
|
-
/**
|
|
2066
|
-
* Update Group permissions
|
|
2067
|
-
*/
|
|
2068
|
-
export declare function updateGroupPermissions({ groupId, updateGroupPermissionsRequest }: {
|
|
2069
|
-
groupId: string;
|
|
2070
|
-
updateGroupPermissionsRequest: UpdateGroupPermissionsRequest;
|
|
2071
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2072
|
-
/**
|
|
2073
|
-
* Enable a Feature Flag in an Account
|
|
2074
|
-
*/
|
|
2075
|
-
export declare function enable({ id }: {
|
|
2076
|
-
id: number;
|
|
2077
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2078
|
-
/**
|
|
2079
|
-
* Disable a Feature Flag in an Account
|
|
2080
|
-
*/
|
|
2081
|
-
export declare function disable({ id }: {
|
|
2082
|
-
id: number;
|
|
2083
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2084
|
-
/**
|
|
2085
|
-
* Get configured account SSO attributes
|
|
2086
|
-
*/
|
|
2087
|
-
export declare function ssoGetAttributesConfig({ id }: {
|
|
2088
|
-
id: string;
|
|
2089
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountSsoAttributesConfigResponse>;
|
|
2090
|
-
/**
|
|
2091
|
-
* Configure account SSO attributes
|
|
2092
|
-
*/
|
|
2093
|
-
export declare function ssoAddAttributes({ id, accountSsoAddAttributesConfigRequest }: {
|
|
2094
|
-
id: string;
|
|
2095
|
-
accountSsoAddAttributesConfigRequest: AccountSsoAddAttributesConfigRequest;
|
|
2096
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2097
|
-
/**
|
|
2098
|
-
* Get Partner by account Id
|
|
2099
|
-
*/
|
|
2100
|
-
export declare function getPartnerAccount({ id }: {
|
|
2101
|
-
id: string;
|
|
2102
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountResponse>;
|
|
2103
|
-
/**
|
|
2104
|
-
* Delete Partner
|
|
2105
|
-
*/
|
|
2106
|
-
export declare function deletePartner({ id }: {
|
|
2107
|
-
id: string;
|
|
2108
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2109
|
-
/**
|
|
2110
|
-
* Update Partner Account data.
|
|
2111
|
-
*/
|
|
2112
|
-
export declare function updatePartnerAccountData({ id, accountPartnerAccountDataUpdateRequest }: {
|
|
2113
|
-
id: string;
|
|
2114
|
-
accountPartnerAccountDataUpdateRequest: AccountPartnerAccountDataUpdateRequest;
|
|
2115
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2116
|
-
/**
|
|
2117
|
-
* Update Partner Account Admin data.
|
|
2118
|
-
*/
|
|
2119
|
-
export declare function updatePartnerAccountAdminData({ id, accountPartnerAdminDataUpdateRequest }: {
|
|
2120
|
-
id: string;
|
|
2121
|
-
accountPartnerAdminDataUpdateRequest: AccountPartnerAdminDataUpdateRequest;
|
|
2122
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2123
|
-
/**
|
|
2124
|
-
* Verify User repository credential configuration status.
|
|
2125
|
-
*/
|
|
2126
|
-
export declare function isCreatedScmCredentials(opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2127
|
-
/**
|
|
2128
|
-
* List Accounts of User can use and collaborate.
|
|
2129
|
-
*/
|
|
2130
|
-
export declare function getUserAccountWithRole(opts?: Oazapfts.RequestOpts): Promise<AccountCollaborationInfoResponse[]>;
|
|
2131
|
-
/**
|
|
2132
|
-
* Get Accounts
|
|
2133
|
-
*/
|
|
2134
|
-
export declare function getAccounts({ accountType, slug, id }: {
|
|
2135
|
-
accountType?: string;
|
|
2136
|
-
slug?: string;
|
|
2137
|
-
id?: string;
|
|
2138
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountDataReadResponse[]>;
|
|
2139
|
-
/**
|
|
2140
|
-
* Get Account by id
|
|
2141
|
-
*/
|
|
2142
|
-
export declare function getAccount({ id }: {
|
|
2143
|
-
id: string;
|
|
2144
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountDataReadResponse>;
|
|
2145
|
-
/**
|
|
2146
|
-
* Get Account Members
|
|
2147
|
-
*/
|
|
2148
|
-
export declare function getAccountMembers({ id, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
2149
|
-
id: string;
|
|
2150
|
-
size?: any;
|
|
2151
|
-
page?: any;
|
|
2152
|
-
sort?: string;
|
|
2153
|
-
direction?: "ASC" | "DESC";
|
|
2154
|
-
search?: string;
|
|
2155
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
2156
|
-
filterBy?: string;
|
|
2157
|
-
filterValue?: string;
|
|
2158
|
-
multiFilterMode?: string;
|
|
2159
|
-
filterIn?: any;
|
|
2160
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountMemberResponse[]>;
|
|
2161
|
-
/**
|
|
2162
|
-
* Get Service Credential by ID (Client ID)
|
|
2163
|
-
*/
|
|
2164
|
-
export declare function getServiceCredential({ id }: {
|
|
2165
|
-
id: string;
|
|
2166
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ServiceCredentialDetailsResponse>;
|
|
2167
|
-
/**
|
|
2168
|
-
* List service credential permissions
|
|
2169
|
-
*/
|
|
2170
|
-
export declare function getServiceCredentialPermissions({ id }: {
|
|
2171
|
-
id: string;
|
|
2172
|
-
}, opts?: Oazapfts.RequestOpts): Promise<FullResourceResponse[]>;
|
|
2173
|
-
/**
|
|
2174
|
-
* List service credential groups
|
|
2175
|
-
*/
|
|
2176
|
-
export declare function getServiceCredentialGroups({ id }: {
|
|
2177
|
-
id: string;
|
|
2178
|
-
}, opts?: Oazapfts.RequestOpts): Promise<GroupReadResponse[]>;
|
|
2179
|
-
/**
|
|
2180
|
-
* Get SCM provider.
|
|
2181
|
-
*/
|
|
2182
|
-
export declare function getScmProvider(opts?: Oazapfts.RequestOpts): Promise<AccountScmProviderResponse>;
|
|
2183
|
-
/**
|
|
2184
|
-
* Verify repository credential configuration status.
|
|
2185
|
-
*/
|
|
2186
|
-
export declare function isCreatedScmCredentials1(opts?: Oazapfts.RequestOpts): Promise<AccountScmStatusResponse>;
|
|
2187
|
-
/**
|
|
2188
|
-
* Get Permissions from role
|
|
2189
|
-
*/
|
|
2190
|
-
export declare function getPermissionsWithStatus({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
2191
|
-
roleId: string;
|
|
2192
|
-
size?: any;
|
|
2193
|
-
page?: any;
|
|
2194
|
-
sort?: string;
|
|
2195
|
-
direction?: "ASC" | "DESC";
|
|
2196
|
-
search?: string;
|
|
2197
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
2198
|
-
filterBy?: string;
|
|
2199
|
-
filterValue?: string;
|
|
2200
|
-
multiFilterMode?: string;
|
|
2201
|
-
filterIn?: any;
|
|
2202
|
-
}, opts?: Oazapfts.RequestOpts): Promise<RolePermissionResponse[]>;
|
|
2203
|
-
/**
|
|
2204
|
-
* Get Members from Resource
|
|
2205
|
-
*/
|
|
2206
|
-
export declare function getResourceMembers({ resourceId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
2207
|
-
resourceId: string;
|
|
2208
|
-
size?: any;
|
|
2209
|
-
page?: any;
|
|
2210
|
-
sort?: string;
|
|
2211
|
-
direction?: "ASC" | "DESC";
|
|
2212
|
-
search?: string;
|
|
2213
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
2214
|
-
filterBy?: string;
|
|
2215
|
-
filterValue?: string;
|
|
2216
|
-
multiFilterMode?: string;
|
|
2217
|
-
filterIn?: any;
|
|
2218
|
-
}, opts?: Oazapfts.RequestOpts): Promise<MembersFromResourceResponse[]>;
|
|
2219
|
-
/**
|
|
2220
|
-
* Get Groups from Resource
|
|
2221
|
-
*/
|
|
2222
|
-
export declare function getResourceGroups({ resourceId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
2223
|
-
resourceId: string;
|
|
2224
|
-
size?: any;
|
|
2225
|
-
page?: any;
|
|
2226
|
-
sort?: string;
|
|
2227
|
-
direction?: "ASC" | "DESC";
|
|
2228
|
-
search?: string;
|
|
2229
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
2230
|
-
filterBy?: string;
|
|
2231
|
-
filterValue?: string;
|
|
2232
|
-
multiFilterMode?: string;
|
|
2233
|
-
filterIn?: any;
|
|
2234
|
-
}, opts?: Oazapfts.RequestOpts): Promise<GroupsFromResourceResponse[]>;
|
|
2235
|
-
/**
|
|
2236
|
-
* Get Resource Types
|
|
2237
|
-
*/
|
|
2238
|
-
export declare function getResourceTypes({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
2239
|
-
size?: any;
|
|
2240
|
-
page?: any;
|
|
2241
|
-
sort?: string;
|
|
2242
|
-
direction?: "ASC" | "DESC";
|
|
2243
|
-
search?: string;
|
|
2244
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
2245
|
-
filterBy?: string;
|
|
2246
|
-
filterValue?: string;
|
|
2247
|
-
multiFilterMode?: string;
|
|
2248
|
-
filterIn?: any;
|
|
2249
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ResourceTypeResponse[]>;
|
|
2250
|
-
/**
|
|
2251
|
-
* Get Resources Members
|
|
2252
|
-
*/
|
|
2253
|
-
export declare function getResources1({ memberId }: {
|
|
2254
|
-
memberId: string;
|
|
2255
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ResourceDto[]>;
|
|
2256
|
-
/**
|
|
2257
|
-
* Get Account Collaborators Members
|
|
2258
|
-
*/
|
|
2259
|
-
export declare function getAccountMembersToCollaborators({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
2260
|
-
size?: any;
|
|
2261
|
-
page?: any;
|
|
2262
|
-
sort?: string;
|
|
2263
|
-
direction?: "ASC" | "DESC";
|
|
2264
|
-
search?: string;
|
|
2265
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
2266
|
-
filterBy?: string;
|
|
2267
|
-
filterValue?: string;
|
|
2268
|
-
multiFilterMode?: string;
|
|
2269
|
-
filterIn?: any;
|
|
2270
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountMemberResponse[]>;
|
|
2271
|
-
/**
|
|
2272
|
-
* Get Authentication Configuration for account
|
|
2273
|
-
*/
|
|
2274
|
-
export declare function getAuthenticationConfig({ tenantSlug }: {
|
|
2275
|
-
tenantSlug: string;
|
|
2276
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountAuthenticationConfigResponse>;
|
|
2277
|
-
/**
|
|
2278
|
-
* Get account data (tenant, IDP alias, account freemium available to user) by email
|
|
2279
|
-
*/
|
|
2280
|
-
export declare function getAccountDataByEmail({ email }: {
|
|
2281
|
-
email: string;
|
|
2282
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountDataResponse>;
|
|
2283
|
-
/**
|
|
2284
|
-
* Get account Slug - this API is temporary
|
|
2285
|
-
*/
|
|
2286
|
-
export declare function getAccountSlug({ accountId }: {
|
|
2287
|
-
accountId: string;
|
|
2288
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountSlugResponse>;
|
|
2289
|
-
/**
|
|
2290
|
-
* Get all SSO configured in account
|
|
2291
|
-
*/
|
|
2292
|
-
export declare function getAllAccountSso({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
2293
|
-
size?: any;
|
|
2294
|
-
page?: any;
|
|
2295
|
-
sort?: string;
|
|
2296
|
-
direction?: "ASC" | "DESC";
|
|
2297
|
-
search?: string;
|
|
2298
|
-
filterMode?: "MATCH" | "CONTAINS";
|
|
2299
|
-
filterBy?: string;
|
|
2300
|
-
filterValue?: string;
|
|
2301
|
-
multiFilterMode?: string;
|
|
2302
|
-
filterIn?: any;
|
|
2303
|
-
}, opts?: Oazapfts.RequestOpts): Promise<PageResponseAccountSsoResponse>;
|
|
2304
|
-
/**
|
|
2305
|
-
* Returns information if account data (name and slug) are available to be registered
|
|
2306
|
-
*/
|
|
2307
|
-
export declare function accountDataIsAvailable({ name, slug }: {
|
|
2308
|
-
name: string;
|
|
2309
|
-
slug: string;
|
|
2310
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountDataAvailableResponse>;
|
|
2311
|
-
/**
|
|
2312
|
-
* Get Partners who are sharing content.
|
|
2313
|
-
*/
|
|
2314
|
-
export declare function getSharingPartners({ name }: {
|
|
2315
|
-
name?: string;
|
|
2316
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountPartnerResponse[]>;
|
|
2317
|
-
/**
|
|
2318
|
-
* Get Partners with whom it is allowed to share content.
|
|
2319
|
-
*/
|
|
2320
|
-
export declare function getPartnersSharingAllowed({ name }: {
|
|
2321
|
-
name?: string;
|
|
2322
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountPartnerResponse[]>;
|
|
2323
|
-
/**
|
|
2324
|
-
* Validate Partner association limit
|
|
2325
|
-
*/
|
|
2326
|
-
export declare function validatePartnerAssociationLimit(opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2327
|
-
/**
|
|
2328
|
-
* Disassociate Group to Service Credential
|
|
2329
|
-
*/
|
|
2330
|
-
export declare function disassociateGroupToServiceCredential({ id, groupId }: {
|
|
2331
|
-
id: string;
|
|
2332
|
-
groupId: string;
|
|
2333
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2334
|
-
/**
|
|
2335
|
-
* Remove Role from Member
|
|
2336
|
-
*/
|
|
2337
|
-
export declare function removeRoleFromMember({ roleId, memberId }: {
|
|
2338
|
-
roleId: string;
|
|
2339
|
-
memberId: string;
|
|
2340
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2341
|
-
/**
|
|
2342
|
-
* Delete a resource from Account
|
|
2343
|
-
*/
|
|
2344
|
-
export declare function deleteResource({ resourceId }: {
|
|
2345
|
-
resourceId: string;
|
|
2346
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2347
|
-
/**
|
|
2348
|
-
* Delete Group role
|
|
2349
|
-
*/
|
|
2350
|
-
export declare function deleteRole({ groupId, roleId }: {
|
|
2351
|
-
groupId: string;
|
|
2352
|
-
roleId: string;
|
|
2353
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2354
|
-
/**
|
|
2355
|
-
* Delete Resource from Group
|
|
2356
|
-
*/
|
|
2357
|
-
export declare function deleteResourceFromGroup({ groupId, resourceId }: {
|
|
2358
|
-
groupId: string;
|
|
2359
|
-
resourceId: string;
|
|
2360
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2361
|
-
/**
|
|
2362
|
-
* Delete Group member
|
|
2363
|
-
*/
|
|
2364
|
-
export declare function deleteMember({ groupId, memberId }: {
|
|
2365
|
-
groupId: string;
|
|
2366
|
-
memberId: string;
|
|
2367
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2368
|
-
//# sourceMappingURL=account.d.ts.map
|