@envsync-cloud/envsync-ts-sdk 0.10.4 → 0.20.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/README.md +16 -5
- package/dist/index.d.mts +1332 -51
- package/dist/index.d.ts +1332 -51
- package/dist/index.js +2126 -449
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2097 -449
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -752,23 +752,23 @@ var AuthenticationService = class {
|
|
|
752
752
|
});
|
|
753
753
|
}
|
|
754
754
|
/**
|
|
755
|
-
* Create
|
|
756
|
-
* Create a new
|
|
755
|
+
* Create Organization
|
|
756
|
+
* Create a new organization for the current hosted web session and switch into it. Hosted only; self-host always 403.
|
|
757
757
|
* @param requestBody
|
|
758
|
-
* @returns WhoAmIResponse
|
|
758
|
+
* @returns WhoAmIResponse Organization created successfully
|
|
759
759
|
* @throws ApiError
|
|
760
760
|
*/
|
|
761
|
-
|
|
761
|
+
createOrganization(requestBody) {
|
|
762
762
|
return this.httpRequest.request({
|
|
763
763
|
method: "POST",
|
|
764
|
-
url: "/api/auth/create-
|
|
764
|
+
url: "/api/auth/create-organization",
|
|
765
765
|
body: requestBody,
|
|
766
766
|
mediaType: "application/json",
|
|
767
767
|
errors: {
|
|
768
768
|
400: `Invalid request`,
|
|
769
769
|
401: `Cookie session required`,
|
|
770
|
-
403: `
|
|
771
|
-
409: `
|
|
770
|
+
403: `Not allowed on this deployment (e.g. self-host)`,
|
|
771
|
+
409: `Organization slug conflict or org limit reached`
|
|
772
772
|
}
|
|
773
773
|
});
|
|
774
774
|
}
|
|
@@ -1144,274 +1144,269 @@ var ChangeRequestsService = class {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
};
|
|
1146
1146
|
|
|
1147
|
-
// src/services/
|
|
1148
|
-
var
|
|
1147
|
+
// src/services/DynamicSecretsService.ts
|
|
1148
|
+
var DynamicSecretsService = class {
|
|
1149
1149
|
constructor(httpRequest) {
|
|
1150
1150
|
this.httpRequest = httpRequest;
|
|
1151
1151
|
}
|
|
1152
1152
|
/**
|
|
1153
|
-
*
|
|
1154
|
-
*
|
|
1155
|
-
* @
|
|
1153
|
+
* Create Dynamic Secret Engine
|
|
1154
|
+
* Create a new dynamic secret engine for short-lived credential generation
|
|
1155
|
+
* @param requestBody
|
|
1156
|
+
* @returns DynamicSecretEngineResponse Engine created successfully
|
|
1156
1157
|
* @throws ApiError
|
|
1157
1158
|
*/
|
|
1158
|
-
|
|
1159
|
+
createDynamicSecretEngine(requestBody) {
|
|
1159
1160
|
return this.httpRequest.request({
|
|
1160
|
-
method: "
|
|
1161
|
-
url: "/api/
|
|
1161
|
+
method: "POST",
|
|
1162
|
+
url: "/api/v1/manage/dynamic_secret/engines",
|
|
1163
|
+
body: requestBody,
|
|
1164
|
+
mediaType: "application/json",
|
|
1162
1165
|
errors: {
|
|
1166
|
+
400: `Validation error`,
|
|
1167
|
+
409: `Engine name conflict`,
|
|
1163
1168
|
500: `Internal server error`
|
|
1164
1169
|
}
|
|
1165
1170
|
});
|
|
1166
1171
|
}
|
|
1167
1172
|
/**
|
|
1168
|
-
*
|
|
1169
|
-
*
|
|
1170
|
-
* @
|
|
1171
|
-
* @returns EnvTypeResponse Environment type created successfully
|
|
1173
|
+
* Get All Dynamic Secret Engines
|
|
1174
|
+
* Retrieve all dynamic secret engines for the organization
|
|
1175
|
+
* @returns DynamicSecretEnginesResponse Engines retrieved successfully
|
|
1172
1176
|
* @throws ApiError
|
|
1173
1177
|
*/
|
|
1174
|
-
|
|
1178
|
+
getAllDynamicSecretEngines() {
|
|
1175
1179
|
return this.httpRequest.request({
|
|
1176
|
-
method: "
|
|
1177
|
-
url: "/api/
|
|
1178
|
-
body: requestBody,
|
|
1179
|
-
mediaType: "application/json",
|
|
1180
|
+
method: "GET",
|
|
1181
|
+
url: "/api/v1/manage/dynamic_secret/engines",
|
|
1180
1182
|
errors: {
|
|
1181
1183
|
500: `Internal server error`
|
|
1182
1184
|
}
|
|
1183
1185
|
});
|
|
1184
1186
|
}
|
|
1185
1187
|
/**
|
|
1186
|
-
* Get
|
|
1187
|
-
* Retrieve a specific
|
|
1188
|
+
* Get Dynamic Secret Engine
|
|
1189
|
+
* Retrieve a specific dynamic secret engine by ID
|
|
1188
1190
|
* @param id
|
|
1189
|
-
* @returns
|
|
1191
|
+
* @returns DynamicSecretEngineResponse Engine retrieved successfully
|
|
1190
1192
|
* @throws ApiError
|
|
1191
1193
|
*/
|
|
1192
|
-
|
|
1194
|
+
getDynamicSecretEngine(id) {
|
|
1193
1195
|
return this.httpRequest.request({
|
|
1194
1196
|
method: "GET",
|
|
1195
|
-
url: "/api/
|
|
1197
|
+
url: "/api/v1/manage/dynamic_secret/engines/{id}",
|
|
1196
1198
|
path: {
|
|
1197
1199
|
"id": id
|
|
1198
1200
|
},
|
|
1199
1201
|
errors: {
|
|
1202
|
+
404: `Engine not found`,
|
|
1200
1203
|
500: `Internal server error`
|
|
1201
1204
|
}
|
|
1202
1205
|
});
|
|
1203
1206
|
}
|
|
1204
1207
|
/**
|
|
1205
|
-
* Update
|
|
1206
|
-
* Update an existing
|
|
1208
|
+
* Update Dynamic Secret Engine
|
|
1209
|
+
* Update an existing dynamic secret engine
|
|
1207
1210
|
* @param id
|
|
1208
1211
|
* @param requestBody
|
|
1209
|
-
* @returns
|
|
1212
|
+
* @returns DynamicSecretEngineResponse Engine updated successfully
|
|
1210
1213
|
* @throws ApiError
|
|
1211
1214
|
*/
|
|
1212
|
-
|
|
1215
|
+
updateDynamicSecretEngine(id, requestBody) {
|
|
1213
1216
|
return this.httpRequest.request({
|
|
1214
1217
|
method: "PATCH",
|
|
1215
|
-
url: "/api/
|
|
1218
|
+
url: "/api/v1/manage/dynamic_secret/engines/{id}",
|
|
1216
1219
|
path: {
|
|
1217
1220
|
"id": id
|
|
1218
1221
|
},
|
|
1219
1222
|
body: requestBody,
|
|
1220
1223
|
mediaType: "application/json",
|
|
1221
1224
|
errors: {
|
|
1225
|
+
404: `Engine not found`,
|
|
1222
1226
|
500: `Internal server error`
|
|
1223
1227
|
}
|
|
1224
1228
|
});
|
|
1225
1229
|
}
|
|
1226
1230
|
/**
|
|
1227
|
-
* Delete
|
|
1228
|
-
* Delete
|
|
1231
|
+
* Delete Dynamic Secret Engine
|
|
1232
|
+
* Delete a dynamic secret engine (must have no active leases)
|
|
1229
1233
|
* @param id
|
|
1230
|
-
* @returns
|
|
1234
|
+
* @returns ErrorResponse Engine deleted successfully
|
|
1231
1235
|
* @throws ApiError
|
|
1232
1236
|
*/
|
|
1233
|
-
|
|
1237
|
+
deleteDynamicSecretEngine(id) {
|
|
1234
1238
|
return this.httpRequest.request({
|
|
1235
1239
|
method: "DELETE",
|
|
1236
|
-
url: "/api/
|
|
1240
|
+
url: "/api/v1/manage/dynamic_secret/engines/{id}",
|
|
1237
1241
|
path: {
|
|
1238
1242
|
"id": id
|
|
1239
1243
|
},
|
|
1240
1244
|
errors: {
|
|
1245
|
+
404: `Engine not found`,
|
|
1246
|
+
409: `Engine has active leases`,
|
|
1241
1247
|
500: `Internal server error`
|
|
1242
1248
|
}
|
|
1243
1249
|
});
|
|
1244
1250
|
}
|
|
1245
|
-
};
|
|
1246
|
-
|
|
1247
|
-
// src/services/EnvironmentVariablesService.ts
|
|
1248
|
-
var EnvironmentVariablesService = class {
|
|
1249
|
-
constructor(httpRequest) {
|
|
1250
|
-
this.httpRequest = httpRequest;
|
|
1251
|
-
}
|
|
1252
1251
|
/**
|
|
1253
|
-
*
|
|
1254
|
-
*
|
|
1252
|
+
* Create Dynamic Secret Lease
|
|
1253
|
+
* Generate short-lived credentials by creating a lease on an engine
|
|
1254
|
+
* @param id
|
|
1255
1255
|
* @param requestBody
|
|
1256
|
-
* @returns
|
|
1256
|
+
* @returns DynamicSecretLeaseResponse Lease created successfully
|
|
1257
1257
|
* @throws ApiError
|
|
1258
1258
|
*/
|
|
1259
|
-
|
|
1259
|
+
createDynamicSecretLease(id, requestBody) {
|
|
1260
1260
|
return this.httpRequest.request({
|
|
1261
1261
|
method: "POST",
|
|
1262
|
-
url: "/api/
|
|
1262
|
+
url: "/api/v1/manage/dynamic_secret/engines/{id}/leases",
|
|
1263
|
+
path: {
|
|
1264
|
+
"id": id
|
|
1265
|
+
},
|
|
1263
1266
|
body: requestBody,
|
|
1264
1267
|
mediaType: "application/json",
|
|
1265
1268
|
errors: {
|
|
1266
|
-
400: `
|
|
1269
|
+
400: `Validation error`,
|
|
1270
|
+
404: `Engine not found`,
|
|
1271
|
+
500: `Internal server error`
|
|
1267
1272
|
}
|
|
1268
1273
|
});
|
|
1269
1274
|
}
|
|
1270
1275
|
/**
|
|
1271
|
-
* Get
|
|
1272
|
-
* Retrieve all
|
|
1273
|
-
* @param
|
|
1274
|
-
* @returns
|
|
1276
|
+
* Get Leases for Engine
|
|
1277
|
+
* Retrieve all leases for a specific dynamic secret engine
|
|
1278
|
+
* @param id
|
|
1279
|
+
* @returns DynamicSecretLeasesResponse Leases retrieved successfully
|
|
1275
1280
|
* @throws ApiError
|
|
1276
1281
|
*/
|
|
1277
|
-
|
|
1282
|
+
getDynamicSecretLeases(id) {
|
|
1278
1283
|
return this.httpRequest.request({
|
|
1279
|
-
method: "
|
|
1280
|
-
url: "/api/
|
|
1281
|
-
|
|
1282
|
-
|
|
1284
|
+
method: "GET",
|
|
1285
|
+
url: "/api/v1/manage/dynamic_secret/engines/{id}/leases",
|
|
1286
|
+
path: {
|
|
1287
|
+
"id": id
|
|
1288
|
+
},
|
|
1283
1289
|
errors: {
|
|
1290
|
+
404: `Engine not found`,
|
|
1284
1291
|
500: `Internal server error`
|
|
1285
1292
|
}
|
|
1286
1293
|
});
|
|
1287
1294
|
}
|
|
1288
1295
|
/**
|
|
1289
|
-
*
|
|
1290
|
-
*
|
|
1291
|
-
* @param
|
|
1292
|
-
* @returns
|
|
1296
|
+
* Get Dynamic Secret Lease
|
|
1297
|
+
* Retrieve a specific lease by ID
|
|
1298
|
+
* @param leaseId
|
|
1299
|
+
* @returns DynamicSecretLeaseResponse Lease retrieved successfully
|
|
1293
1300
|
* @throws ApiError
|
|
1294
1301
|
*/
|
|
1295
|
-
|
|
1302
|
+
getDynamicSecretLease(leaseId) {
|
|
1296
1303
|
return this.httpRequest.request({
|
|
1297
|
-
method: "
|
|
1298
|
-
url: "/api/
|
|
1299
|
-
|
|
1300
|
-
|
|
1304
|
+
method: "GET",
|
|
1305
|
+
url: "/api/v1/manage/dynamic_secret/leases/{leaseId}",
|
|
1306
|
+
path: {
|
|
1307
|
+
"leaseId": leaseId
|
|
1308
|
+
},
|
|
1301
1309
|
errors: {
|
|
1310
|
+
404: `Lease not found`,
|
|
1302
1311
|
500: `Internal server error`
|
|
1303
1312
|
}
|
|
1304
1313
|
});
|
|
1305
1314
|
}
|
|
1306
1315
|
/**
|
|
1307
|
-
*
|
|
1308
|
-
*
|
|
1309
|
-
* @param
|
|
1310
|
-
* @
|
|
1311
|
-
* @returns EnvResponse Environment variable retrieved successfully
|
|
1316
|
+
* Revoke Dynamic Secret Lease
|
|
1317
|
+
* Revoke a lease and its associated credentials
|
|
1318
|
+
* @param leaseId
|
|
1319
|
+
* @returns RevokeLeaseResponse Lease revoked successfully
|
|
1312
1320
|
* @throws ApiError
|
|
1313
1321
|
*/
|
|
1314
|
-
|
|
1322
|
+
revokeDynamicSecretLease(leaseId) {
|
|
1315
1323
|
return this.httpRequest.request({
|
|
1316
1324
|
method: "POST",
|
|
1317
|
-
url: "/api/
|
|
1325
|
+
url: "/api/v1/manage/dynamic_secret/leases/{leaseId}/revoke",
|
|
1318
1326
|
path: {
|
|
1319
|
-
"
|
|
1327
|
+
"leaseId": leaseId
|
|
1320
1328
|
},
|
|
1321
|
-
body: requestBody,
|
|
1322
|
-
mediaType: "application/json",
|
|
1323
1329
|
errors: {
|
|
1330
|
+
404: `Lease not found`,
|
|
1331
|
+
409: `Lease already revoked`,
|
|
1324
1332
|
500: `Internal server error`
|
|
1325
1333
|
}
|
|
1326
1334
|
});
|
|
1327
1335
|
}
|
|
1328
1336
|
/**
|
|
1329
|
-
*
|
|
1330
|
-
*
|
|
1331
|
-
* @
|
|
1332
|
-
* @param requestBody
|
|
1333
|
-
* @returns EnvResponse Environment variable updated successfully
|
|
1337
|
+
* Cleanup Expired Leases
|
|
1338
|
+
* Mark all expired leases as revoked (admin operation)
|
|
1339
|
+
* @returns CleanupResponse Cleanup completed
|
|
1334
1340
|
* @throws ApiError
|
|
1335
1341
|
*/
|
|
1336
|
-
|
|
1342
|
+
cleanupExpiredLeases() {
|
|
1337
1343
|
return this.httpRequest.request({
|
|
1338
|
-
method: "
|
|
1339
|
-
url: "/api/
|
|
1340
|
-
path: {
|
|
1341
|
-
"key": key
|
|
1342
|
-
},
|
|
1343
|
-
body: requestBody,
|
|
1344
|
-
mediaType: "application/json",
|
|
1344
|
+
method: "POST",
|
|
1345
|
+
url: "/api/v1/manage/dynamic_secret/leases/cleanup",
|
|
1345
1346
|
errors: {
|
|
1346
1347
|
500: `Internal server error`
|
|
1347
1348
|
}
|
|
1348
1349
|
});
|
|
1349
1350
|
}
|
|
1351
|
+
};
|
|
1352
|
+
|
|
1353
|
+
// src/services/EnterpriseService.ts
|
|
1354
|
+
var EnterpriseService = class {
|
|
1355
|
+
constructor(httpRequest) {
|
|
1356
|
+
this.httpRequest = httpRequest;
|
|
1357
|
+
}
|
|
1350
1358
|
/**
|
|
1351
|
-
*
|
|
1352
|
-
*
|
|
1353
|
-
* @param requestBody
|
|
1354
|
-
* @returns EnvResponse Environment variable created successfully
|
|
1359
|
+
* List Enterprise Providers
|
|
1360
|
+
* @returns EnterpriseProvidersResponse Enterprise provider catalog
|
|
1355
1361
|
* @throws ApiError
|
|
1356
1362
|
*/
|
|
1357
|
-
|
|
1363
|
+
listEnterpriseProviders() {
|
|
1358
1364
|
return this.httpRequest.request({
|
|
1359
|
-
method: "
|
|
1360
|
-
url: "/api/
|
|
1361
|
-
body: requestBody,
|
|
1362
|
-
mediaType: "application/json",
|
|
1365
|
+
method: "GET",
|
|
1366
|
+
url: "/api/v1/manage/enterprise/providers",
|
|
1363
1367
|
errors: {
|
|
1364
1368
|
500: `Internal server error`
|
|
1365
1369
|
}
|
|
1366
1370
|
});
|
|
1367
1371
|
}
|
|
1368
1372
|
/**
|
|
1369
|
-
*
|
|
1370
|
-
*
|
|
1371
|
-
* @param requestBody
|
|
1372
|
-
* @returns BatchEnvsResponse Environment variables created successfully
|
|
1373
|
+
* Get Enterprise Org Secret Model
|
|
1374
|
+
* @returns OrgSecretModelResponse Org secret model
|
|
1373
1375
|
* @throws ApiError
|
|
1374
1376
|
*/
|
|
1375
|
-
|
|
1377
|
+
getEnterpriseOrgSecretModel() {
|
|
1376
1378
|
return this.httpRequest.request({
|
|
1377
|
-
method: "
|
|
1378
|
-
url: "/api/
|
|
1379
|
-
body: requestBody,
|
|
1380
|
-
mediaType: "application/json",
|
|
1379
|
+
method: "GET",
|
|
1380
|
+
url: "/api/v1/manage/enterprise/org-secrets/model",
|
|
1381
1381
|
errors: {
|
|
1382
1382
|
500: `Internal server error`
|
|
1383
1383
|
}
|
|
1384
1384
|
});
|
|
1385
1385
|
}
|
|
1386
1386
|
/**
|
|
1387
|
-
*
|
|
1388
|
-
*
|
|
1389
|
-
* @param requestBody
|
|
1390
|
-
* @returns BatchEnvsResponse Environment variables updated successfully
|
|
1387
|
+
* List Enterprise Provider Connections
|
|
1388
|
+
* @returns ProviderConnectionsResponse Provider connections
|
|
1391
1389
|
* @throws ApiError
|
|
1392
1390
|
*/
|
|
1393
|
-
|
|
1391
|
+
listEnterpriseProviderConnections() {
|
|
1394
1392
|
return this.httpRequest.request({
|
|
1395
|
-
method: "
|
|
1396
|
-
url: "/api/
|
|
1397
|
-
body: requestBody,
|
|
1398
|
-
mediaType: "application/json",
|
|
1393
|
+
method: "GET",
|
|
1394
|
+
url: "/api/v1/manage/enterprise/provider-connections",
|
|
1399
1395
|
errors: {
|
|
1400
1396
|
500: `Internal server error`
|
|
1401
1397
|
}
|
|
1402
1398
|
});
|
|
1403
1399
|
}
|
|
1404
1400
|
/**
|
|
1405
|
-
*
|
|
1406
|
-
* Delete multiple environment variables in a single request
|
|
1401
|
+
* Create Enterprise Provider Connection
|
|
1407
1402
|
* @param requestBody
|
|
1408
|
-
* @returns
|
|
1403
|
+
* @returns ProviderConnection Provider connection created
|
|
1409
1404
|
* @throws ApiError
|
|
1410
1405
|
*/
|
|
1411
|
-
|
|
1406
|
+
createEnterpriseProviderConnection(requestBody) {
|
|
1412
1407
|
return this.httpRequest.request({
|
|
1413
|
-
method: "
|
|
1414
|
-
url: "/api/
|
|
1408
|
+
method: "POST",
|
|
1409
|
+
url: "/api/v1/manage/enterprise/provider-connections",
|
|
1415
1410
|
body: requestBody,
|
|
1416
1411
|
mediaType: "application/json",
|
|
1417
1412
|
errors: {
|
|
@@ -1419,24 +1414,20 @@ var EnvironmentVariablesService = class {
|
|
|
1419
1414
|
}
|
|
1420
1415
|
});
|
|
1421
1416
|
}
|
|
1422
|
-
};
|
|
1423
|
-
|
|
1424
|
-
// src/services/EnvironmentVariablesPointInTimeService.ts
|
|
1425
|
-
var EnvironmentVariablesPointInTimeService = class {
|
|
1426
|
-
constructor(httpRequest) {
|
|
1427
|
-
this.httpRequest = httpRequest;
|
|
1428
|
-
}
|
|
1429
1417
|
/**
|
|
1430
|
-
*
|
|
1431
|
-
*
|
|
1418
|
+
* Update Enterprise Provider Connection
|
|
1419
|
+
* @param id
|
|
1432
1420
|
* @param requestBody
|
|
1433
|
-
* @returns
|
|
1421
|
+
* @returns ProviderConnection Provider connection updated
|
|
1434
1422
|
* @throws ApiError
|
|
1435
1423
|
*/
|
|
1436
|
-
|
|
1424
|
+
updateEnterpriseProviderConnection(id, requestBody) {
|
|
1437
1425
|
return this.httpRequest.request({
|
|
1438
|
-
method: "
|
|
1439
|
-
url: "/api/
|
|
1426
|
+
method: "PATCH",
|
|
1427
|
+
url: "/api/v1/manage/enterprise/provider-connections/{id}",
|
|
1428
|
+
path: {
|
|
1429
|
+
"id": id
|
|
1430
|
+
},
|
|
1440
1431
|
body: requestBody,
|
|
1441
1432
|
mediaType: "application/json",
|
|
1442
1433
|
errors: {
|
|
@@ -1445,34 +1436,29 @@ var EnvironmentVariablesPointInTimeService = class {
|
|
|
1445
1436
|
});
|
|
1446
1437
|
}
|
|
1447
1438
|
/**
|
|
1448
|
-
*
|
|
1449
|
-
*
|
|
1450
|
-
* @param requestBody
|
|
1451
|
-
* @returns EnvPitStateResponse Environment variables at point in time retrieved successfully
|
|
1439
|
+
* List Enterprise Org Secrets
|
|
1440
|
+
* @returns OrgSecretsResponse Org secrets
|
|
1452
1441
|
* @throws ApiError
|
|
1453
1442
|
*/
|
|
1454
|
-
|
|
1443
|
+
listEnterpriseOrgSecrets() {
|
|
1455
1444
|
return this.httpRequest.request({
|
|
1456
|
-
method: "
|
|
1457
|
-
url: "/api/
|
|
1458
|
-
body: requestBody,
|
|
1459
|
-
mediaType: "application/json",
|
|
1445
|
+
method: "GET",
|
|
1446
|
+
url: "/api/v1/manage/enterprise/org-secrets",
|
|
1460
1447
|
errors: {
|
|
1461
1448
|
500: `Internal server error`
|
|
1462
1449
|
}
|
|
1463
1450
|
});
|
|
1464
1451
|
}
|
|
1465
1452
|
/**
|
|
1466
|
-
*
|
|
1467
|
-
* Retrieve environment variables state at a specific timestamp
|
|
1453
|
+
* Create Enterprise Org Secret
|
|
1468
1454
|
* @param requestBody
|
|
1469
|
-
* @returns
|
|
1455
|
+
* @returns OrgSecret Org secret created
|
|
1470
1456
|
* @throws ApiError
|
|
1471
1457
|
*/
|
|
1472
|
-
|
|
1458
|
+
createEnterpriseOrgSecret(requestBody) {
|
|
1473
1459
|
return this.httpRequest.request({
|
|
1474
1460
|
method: "POST",
|
|
1475
|
-
url: "/api/
|
|
1461
|
+
url: "/api/v1/manage/enterprise/org-secrets",
|
|
1476
1462
|
body: requestBody,
|
|
1477
1463
|
mediaType: "application/json",
|
|
1478
1464
|
errors: {
|
|
@@ -1481,16 +1467,19 @@ var EnvironmentVariablesPointInTimeService = class {
|
|
|
1481
1467
|
});
|
|
1482
1468
|
}
|
|
1483
1469
|
/**
|
|
1484
|
-
*
|
|
1485
|
-
*
|
|
1470
|
+
* Update Enterprise Org Secret
|
|
1471
|
+
* @param id
|
|
1486
1472
|
* @param requestBody
|
|
1487
|
-
* @returns
|
|
1473
|
+
* @returns OrgSecret Org secret updated
|
|
1488
1474
|
* @throws ApiError
|
|
1489
1475
|
*/
|
|
1490
|
-
|
|
1476
|
+
updateEnterpriseOrgSecret(id, requestBody) {
|
|
1491
1477
|
return this.httpRequest.request({
|
|
1492
|
-
method: "
|
|
1493
|
-
url: "/api/
|
|
1478
|
+
method: "PATCH",
|
|
1479
|
+
url: "/api/v1/manage/enterprise/org-secrets/{id}",
|
|
1480
|
+
path: {
|
|
1481
|
+
"id": id
|
|
1482
|
+
},
|
|
1494
1483
|
body: requestBody,
|
|
1495
1484
|
mediaType: "application/json",
|
|
1496
1485
|
errors: {
|
|
@@ -1499,37 +1488,36 @@ var EnvironmentVariablesPointInTimeService = class {
|
|
|
1499
1488
|
});
|
|
1500
1489
|
}
|
|
1501
1490
|
/**
|
|
1502
|
-
*
|
|
1503
|
-
*
|
|
1504
|
-
* @
|
|
1505
|
-
* @returns EnvDiffResponse Environment variables timestamp-range diff retrieved successfully
|
|
1491
|
+
* List Enterprise Integration Bindings
|
|
1492
|
+
* @param appId
|
|
1493
|
+
* @returns IntegrationBindingsResponse Integration bindings
|
|
1506
1494
|
* @throws ApiError
|
|
1507
1495
|
*/
|
|
1508
|
-
|
|
1496
|
+
listEnterpriseIntegrationBindings(appId) {
|
|
1509
1497
|
return this.httpRequest.request({
|
|
1510
|
-
method: "
|
|
1511
|
-
url: "/api/
|
|
1512
|
-
|
|
1513
|
-
|
|
1498
|
+
method: "GET",
|
|
1499
|
+
url: "/api/v1/manage/enterprise/apps/{app_id}/bindings",
|
|
1500
|
+
path: {
|
|
1501
|
+
"app_id": appId
|
|
1502
|
+
},
|
|
1514
1503
|
errors: {
|
|
1515
1504
|
500: `Internal server error`
|
|
1516
1505
|
}
|
|
1517
1506
|
});
|
|
1518
1507
|
}
|
|
1519
1508
|
/**
|
|
1520
|
-
*
|
|
1521
|
-
*
|
|
1522
|
-
* @param key
|
|
1509
|
+
* Create Enterprise Integration Binding
|
|
1510
|
+
* @param appId
|
|
1523
1511
|
* @param requestBody
|
|
1524
|
-
* @returns
|
|
1512
|
+
* @returns IntegrationBinding Integration binding created
|
|
1525
1513
|
* @throws ApiError
|
|
1526
1514
|
*/
|
|
1527
|
-
|
|
1515
|
+
createEnterpriseIntegrationBinding(appId, requestBody) {
|
|
1528
1516
|
return this.httpRequest.request({
|
|
1529
1517
|
method: "POST",
|
|
1530
|
-
url: "/api/
|
|
1518
|
+
url: "/api/v1/manage/enterprise/apps/{app_id}/bindings",
|
|
1531
1519
|
path: {
|
|
1532
|
-
"
|
|
1520
|
+
"app_id": appId
|
|
1533
1521
|
},
|
|
1534
1522
|
body: requestBody,
|
|
1535
1523
|
mediaType: "application/json",
|
|
@@ -1538,24 +1526,22 @@ var EnvironmentVariablesPointInTimeService = class {
|
|
|
1538
1526
|
}
|
|
1539
1527
|
});
|
|
1540
1528
|
}
|
|
1541
|
-
};
|
|
1542
|
-
|
|
1543
|
-
// src/services/EnvironmentVariablesRollbackService.ts
|
|
1544
|
-
var EnvironmentVariablesRollbackService = class {
|
|
1545
|
-
constructor(httpRequest) {
|
|
1546
|
-
this.httpRequest = httpRequest;
|
|
1547
|
-
}
|
|
1548
1529
|
/**
|
|
1549
|
-
*
|
|
1550
|
-
*
|
|
1530
|
+
* Update Enterprise Integration Binding
|
|
1531
|
+
* @param appId
|
|
1532
|
+
* @param id
|
|
1551
1533
|
* @param requestBody
|
|
1552
|
-
* @returns
|
|
1534
|
+
* @returns IntegrationBinding Integration binding updated
|
|
1553
1535
|
* @throws ApiError
|
|
1554
1536
|
*/
|
|
1555
|
-
|
|
1537
|
+
updateEnterpriseIntegrationBinding(appId, id, requestBody) {
|
|
1556
1538
|
return this.httpRequest.request({
|
|
1557
|
-
method: "
|
|
1558
|
-
url: "/api/
|
|
1539
|
+
method: "PATCH",
|
|
1540
|
+
url: "/api/v1/manage/enterprise/apps/{app_id}/bindings/{id}",
|
|
1541
|
+
path: {
|
|
1542
|
+
"app_id": appId,
|
|
1543
|
+
"id": id
|
|
1544
|
+
},
|
|
1559
1545
|
body: requestBody,
|
|
1560
1546
|
mediaType: "application/json",
|
|
1561
1547
|
errors: {
|
|
@@ -1564,37 +1550,36 @@ var EnvironmentVariablesRollbackService = class {
|
|
|
1564
1550
|
});
|
|
1565
1551
|
}
|
|
1566
1552
|
/**
|
|
1567
|
-
*
|
|
1568
|
-
*
|
|
1569
|
-
* @
|
|
1570
|
-
* @returns RollbackResponse Environment variables rolled back successfully
|
|
1553
|
+
* List Enterprise Env-Type Mappings
|
|
1554
|
+
* @param appId
|
|
1555
|
+
* @returns EnvTypeMappingsResponse Env-type mappings
|
|
1571
1556
|
* @throws ApiError
|
|
1572
1557
|
*/
|
|
1573
|
-
|
|
1558
|
+
listEnterpriseEnvTypeMappings(appId) {
|
|
1574
1559
|
return this.httpRequest.request({
|
|
1575
|
-
method: "
|
|
1576
|
-
url: "/api/
|
|
1577
|
-
|
|
1578
|
-
|
|
1560
|
+
method: "GET",
|
|
1561
|
+
url: "/api/v1/manage/enterprise/apps/{app_id}/env-type-mappings",
|
|
1562
|
+
path: {
|
|
1563
|
+
"app_id": appId
|
|
1564
|
+
},
|
|
1579
1565
|
errors: {
|
|
1580
1566
|
500: `Internal server error`
|
|
1581
1567
|
}
|
|
1582
1568
|
});
|
|
1583
1569
|
}
|
|
1584
1570
|
/**
|
|
1585
|
-
*
|
|
1586
|
-
*
|
|
1587
|
-
* @param key
|
|
1571
|
+
* Create Enterprise Env-Type Mapping
|
|
1572
|
+
* @param appId
|
|
1588
1573
|
* @param requestBody
|
|
1589
|
-
* @returns
|
|
1574
|
+
* @returns EnvTypeMapping Env-type mapping created
|
|
1590
1575
|
* @throws ApiError
|
|
1591
1576
|
*/
|
|
1592
|
-
|
|
1577
|
+
createEnterpriseEnvTypeMapping(appId, requestBody) {
|
|
1593
1578
|
return this.httpRequest.request({
|
|
1594
1579
|
method: "POST",
|
|
1595
|
-
url: "/api/
|
|
1580
|
+
url: "/api/v1/manage/enterprise/apps/{app_id}/env-type-mappings",
|
|
1596
1581
|
path: {
|
|
1597
|
-
"
|
|
1582
|
+
"app_id": appId
|
|
1598
1583
|
},
|
|
1599
1584
|
body: requestBody,
|
|
1600
1585
|
mediaType: "application/json",
|
|
@@ -1604,47 +1589,947 @@ var EnvironmentVariablesRollbackService = class {
|
|
|
1604
1589
|
});
|
|
1605
1590
|
}
|
|
1606
1591
|
/**
|
|
1607
|
-
*
|
|
1608
|
-
*
|
|
1592
|
+
* Update Enterprise Env-Type Mapping
|
|
1593
|
+
* @param appId
|
|
1594
|
+
* @param id
|
|
1595
|
+
* @param requestBody
|
|
1596
|
+
* @returns EnvTypeMapping Env-type mapping updated
|
|
1597
|
+
* @throws ApiError
|
|
1598
|
+
*/
|
|
1599
|
+
updateEnterpriseEnvTypeMapping(appId, id, requestBody) {
|
|
1600
|
+
return this.httpRequest.request({
|
|
1601
|
+
method: "PATCH",
|
|
1602
|
+
url: "/api/v1/manage/enterprise/apps/{app_id}/env-type-mappings/{id}",
|
|
1603
|
+
path: {
|
|
1604
|
+
"app_id": appId,
|
|
1605
|
+
"id": id
|
|
1606
|
+
},
|
|
1607
|
+
body: requestBody,
|
|
1608
|
+
mediaType: "application/json",
|
|
1609
|
+
errors: {
|
|
1610
|
+
500: `Internal server error`
|
|
1611
|
+
}
|
|
1612
|
+
});
|
|
1613
|
+
}
|
|
1614
|
+
/**
|
|
1615
|
+
* List Enterprise Sync Runs
|
|
1616
|
+
* @returns SyncRunsResponse Sync runs
|
|
1617
|
+
* @throws ApiError
|
|
1618
|
+
*/
|
|
1619
|
+
listEnterpriseSyncRuns() {
|
|
1620
|
+
return this.httpRequest.request({
|
|
1621
|
+
method: "GET",
|
|
1622
|
+
url: "/api/v1/manage/enterprise/sync-runs",
|
|
1623
|
+
errors: {
|
|
1624
|
+
500: `Internal server error`
|
|
1625
|
+
}
|
|
1626
|
+
});
|
|
1627
|
+
}
|
|
1628
|
+
/**
|
|
1629
|
+
* Create Enterprise Manual Sync Run
|
|
1630
|
+
* @param requestBody
|
|
1631
|
+
* @returns SyncRun Sync run created
|
|
1632
|
+
* @throws ApiError
|
|
1633
|
+
*/
|
|
1634
|
+
createEnterpriseManualSyncRun(requestBody) {
|
|
1635
|
+
return this.httpRequest.request({
|
|
1636
|
+
method: "POST",
|
|
1637
|
+
url: "/api/v1/manage/enterprise/sync-runs/manual",
|
|
1638
|
+
body: requestBody,
|
|
1639
|
+
mediaType: "application/json",
|
|
1640
|
+
errors: {
|
|
1641
|
+
500: `Internal server error`
|
|
1642
|
+
}
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1645
|
+
/**
|
|
1646
|
+
* List Enterprise Sync Audit Events
|
|
1647
|
+
* @param syncRunId
|
|
1648
|
+
* @returns SyncAuditEventsResponse Sync audit events
|
|
1649
|
+
* @throws ApiError
|
|
1650
|
+
*/
|
|
1651
|
+
listEnterpriseSyncAuditEvents(syncRunId) {
|
|
1652
|
+
return this.httpRequest.request({
|
|
1653
|
+
method: "GET",
|
|
1654
|
+
url: "/api/v1/manage/enterprise/sync-runs/{sync_run_id}/events",
|
|
1655
|
+
path: {
|
|
1656
|
+
"sync_run_id": syncRunId
|
|
1657
|
+
},
|
|
1658
|
+
errors: {
|
|
1659
|
+
500: `Internal server error`
|
|
1660
|
+
}
|
|
1661
|
+
});
|
|
1662
|
+
}
|
|
1663
|
+
};
|
|
1664
|
+
|
|
1665
|
+
// src/services/EnvironmentTypesService.ts
|
|
1666
|
+
var EnvironmentTypesService = class {
|
|
1667
|
+
constructor(httpRequest) {
|
|
1668
|
+
this.httpRequest = httpRequest;
|
|
1669
|
+
}
|
|
1670
|
+
/**
|
|
1671
|
+
* Get Environment Types
|
|
1672
|
+
* Retrieve all environment types for the organization
|
|
1673
|
+
* @returns EnvTypesResponse Environment types retrieved successfully
|
|
1674
|
+
* @throws ApiError
|
|
1675
|
+
*/
|
|
1676
|
+
getEnvTypes() {
|
|
1677
|
+
return this.httpRequest.request({
|
|
1678
|
+
method: "GET",
|
|
1679
|
+
url: "/api/env_type",
|
|
1680
|
+
errors: {
|
|
1681
|
+
500: `Internal server error`
|
|
1682
|
+
}
|
|
1683
|
+
});
|
|
1684
|
+
}
|
|
1685
|
+
/**
|
|
1686
|
+
* Create Environment Type
|
|
1687
|
+
* Create a new environment type
|
|
1688
|
+
* @param requestBody
|
|
1689
|
+
* @returns EnvTypeResponse Environment type created successfully
|
|
1690
|
+
* @throws ApiError
|
|
1691
|
+
*/
|
|
1692
|
+
createEnvType(requestBody) {
|
|
1693
|
+
return this.httpRequest.request({
|
|
1694
|
+
method: "POST",
|
|
1695
|
+
url: "/api/env_type",
|
|
1696
|
+
body: requestBody,
|
|
1697
|
+
mediaType: "application/json",
|
|
1698
|
+
errors: {
|
|
1699
|
+
500: `Internal server error`
|
|
1700
|
+
}
|
|
1701
|
+
});
|
|
1702
|
+
}
|
|
1703
|
+
/**
|
|
1704
|
+
* Get Environment Type
|
|
1705
|
+
* Retrieve a specific environment type
|
|
1706
|
+
* @param id
|
|
1707
|
+
* @returns EnvTypeResponse Environment type retrieved successfully
|
|
1708
|
+
* @throws ApiError
|
|
1709
|
+
*/
|
|
1710
|
+
getEnvType(id) {
|
|
1711
|
+
return this.httpRequest.request({
|
|
1712
|
+
method: "GET",
|
|
1713
|
+
url: "/api/env_type/{id}",
|
|
1714
|
+
path: {
|
|
1715
|
+
"id": id
|
|
1716
|
+
},
|
|
1717
|
+
errors: {
|
|
1718
|
+
500: `Internal server error`
|
|
1719
|
+
}
|
|
1720
|
+
});
|
|
1721
|
+
}
|
|
1722
|
+
/**
|
|
1723
|
+
* Update Environment Type
|
|
1724
|
+
* Update an existing environment type
|
|
1725
|
+
* @param id
|
|
1726
|
+
* @param requestBody
|
|
1727
|
+
* @returns EnvTypeResponse Environment type updated successfully
|
|
1728
|
+
* @throws ApiError
|
|
1729
|
+
*/
|
|
1730
|
+
updateEnvType(id, requestBody) {
|
|
1731
|
+
return this.httpRequest.request({
|
|
1732
|
+
method: "PATCH",
|
|
1733
|
+
url: "/api/env_type/{id}",
|
|
1734
|
+
path: {
|
|
1735
|
+
"id": id
|
|
1736
|
+
},
|
|
1737
|
+
body: requestBody,
|
|
1738
|
+
mediaType: "application/json",
|
|
1739
|
+
errors: {
|
|
1740
|
+
500: `Internal server error`
|
|
1741
|
+
}
|
|
1742
|
+
});
|
|
1743
|
+
}
|
|
1744
|
+
/**
|
|
1745
|
+
* Delete Environment Type
|
|
1746
|
+
* Delete an existing environment type
|
|
1747
|
+
* @param id
|
|
1748
|
+
* @returns DeleteEnvTypeRequest Environment type deleted successfully
|
|
1749
|
+
* @throws ApiError
|
|
1750
|
+
*/
|
|
1751
|
+
deleteEnvType(id) {
|
|
1752
|
+
return this.httpRequest.request({
|
|
1753
|
+
method: "DELETE",
|
|
1754
|
+
url: "/api/env_type/{id}",
|
|
1755
|
+
path: {
|
|
1756
|
+
"id": id
|
|
1757
|
+
},
|
|
1758
|
+
errors: {
|
|
1759
|
+
500: `Internal server error`
|
|
1760
|
+
}
|
|
1761
|
+
});
|
|
1762
|
+
}
|
|
1763
|
+
};
|
|
1764
|
+
|
|
1765
|
+
// src/services/EnvironmentVariablesService.ts
|
|
1766
|
+
var EnvironmentVariablesService = class {
|
|
1767
|
+
constructor(httpRequest) {
|
|
1768
|
+
this.httpRequest = httpRequest;
|
|
1769
|
+
}
|
|
1770
|
+
/**
|
|
1771
|
+
* Export Environment
|
|
1772
|
+
* Export environment variables and optionally secrets for an application environment in a single payload.
|
|
1773
|
+
* @param requestBody
|
|
1774
|
+
* @returns ExportEnvResponse Environment exported successfully
|
|
1775
|
+
* @throws ApiError
|
|
1776
|
+
*/
|
|
1777
|
+
exportEnvironment(requestBody) {
|
|
1778
|
+
return this.httpRequest.request({
|
|
1779
|
+
method: "POST",
|
|
1780
|
+
url: "/api/env/export",
|
|
1781
|
+
body: requestBody,
|
|
1782
|
+
mediaType: "application/json",
|
|
1783
|
+
errors: {
|
|
1784
|
+
400: `Invalid export request`
|
|
1785
|
+
}
|
|
1786
|
+
});
|
|
1787
|
+
}
|
|
1788
|
+
/**
|
|
1789
|
+
* Get Environment Variables
|
|
1790
|
+
* Retrieve all environment variables for an application and environment type
|
|
1791
|
+
* @param requestBody
|
|
1792
|
+
* @returns EnvsResponse Environment variables retrieved successfully
|
|
1793
|
+
* @throws ApiError
|
|
1794
|
+
*/
|
|
1795
|
+
getEnvs(requestBody) {
|
|
1796
|
+
return this.httpRequest.request({
|
|
1797
|
+
method: "POST",
|
|
1798
|
+
url: "/api/env",
|
|
1799
|
+
body: requestBody,
|
|
1800
|
+
mediaType: "application/json",
|
|
1801
|
+
errors: {
|
|
1802
|
+
500: `Internal server error`
|
|
1803
|
+
}
|
|
1804
|
+
});
|
|
1805
|
+
}
|
|
1806
|
+
/**
|
|
1807
|
+
* Delete Environment Variable
|
|
1808
|
+
* Delete an existing environment variable
|
|
1809
|
+
* @param requestBody
|
|
1810
|
+
* @returns DeleteEnvRequest Environment variable deleted successfully
|
|
1811
|
+
* @throws ApiError
|
|
1812
|
+
*/
|
|
1813
|
+
deleteEnv(requestBody) {
|
|
1814
|
+
return this.httpRequest.request({
|
|
1815
|
+
method: "DELETE",
|
|
1816
|
+
url: "/api/env",
|
|
1817
|
+
body: requestBody,
|
|
1818
|
+
mediaType: "application/json",
|
|
1819
|
+
errors: {
|
|
1820
|
+
500: `Internal server error`
|
|
1821
|
+
}
|
|
1822
|
+
});
|
|
1823
|
+
}
|
|
1824
|
+
/**
|
|
1825
|
+
* Get Single Environment Variable
|
|
1826
|
+
* Retrieve a specific environment variable
|
|
1609
1827
|
* @param key
|
|
1610
1828
|
* @param requestBody
|
|
1611
|
-
* @returns
|
|
1829
|
+
* @returns EnvResponse Environment variable retrieved successfully
|
|
1830
|
+
* @throws ApiError
|
|
1831
|
+
*/
|
|
1832
|
+
getEnv(key, requestBody) {
|
|
1833
|
+
return this.httpRequest.request({
|
|
1834
|
+
method: "POST",
|
|
1835
|
+
url: "/api/env/i/{key}",
|
|
1836
|
+
path: {
|
|
1837
|
+
"key": key
|
|
1838
|
+
},
|
|
1839
|
+
body: requestBody,
|
|
1840
|
+
mediaType: "application/json",
|
|
1841
|
+
errors: {
|
|
1842
|
+
500: `Internal server error`
|
|
1843
|
+
}
|
|
1844
|
+
});
|
|
1845
|
+
}
|
|
1846
|
+
/**
|
|
1847
|
+
* Update Environment Variable
|
|
1848
|
+
* Update an existing environment variable
|
|
1849
|
+
* @param key
|
|
1850
|
+
* @param requestBody
|
|
1851
|
+
* @returns EnvResponse Environment variable updated successfully
|
|
1852
|
+
* @throws ApiError
|
|
1853
|
+
*/
|
|
1854
|
+
updateEnv(key, requestBody) {
|
|
1855
|
+
return this.httpRequest.request({
|
|
1856
|
+
method: "PATCH",
|
|
1857
|
+
url: "/api/env/i/{key}",
|
|
1858
|
+
path: {
|
|
1859
|
+
"key": key
|
|
1860
|
+
},
|
|
1861
|
+
body: requestBody,
|
|
1862
|
+
mediaType: "application/json",
|
|
1863
|
+
errors: {
|
|
1864
|
+
500: `Internal server error`
|
|
1865
|
+
}
|
|
1866
|
+
});
|
|
1867
|
+
}
|
|
1868
|
+
/**
|
|
1869
|
+
* Create Environment Variable
|
|
1870
|
+
* Create a new environment variable
|
|
1871
|
+
* @param requestBody
|
|
1872
|
+
* @returns EnvResponse Environment variable created successfully
|
|
1873
|
+
* @throws ApiError
|
|
1874
|
+
*/
|
|
1875
|
+
createEnv(requestBody) {
|
|
1876
|
+
return this.httpRequest.request({
|
|
1877
|
+
method: "PUT",
|
|
1878
|
+
url: "/api/env/single",
|
|
1879
|
+
body: requestBody,
|
|
1880
|
+
mediaType: "application/json",
|
|
1881
|
+
errors: {
|
|
1882
|
+
500: `Internal server error`
|
|
1883
|
+
}
|
|
1884
|
+
});
|
|
1885
|
+
}
|
|
1886
|
+
/**
|
|
1887
|
+
* Batch Create Environment Variables
|
|
1888
|
+
* Create multiple environment variables in a single request
|
|
1889
|
+
* @param requestBody
|
|
1890
|
+
* @returns BatchEnvsResponse Environment variables created successfully
|
|
1891
|
+
* @throws ApiError
|
|
1892
|
+
*/
|
|
1893
|
+
batchCreateEnvs(requestBody) {
|
|
1894
|
+
return this.httpRequest.request({
|
|
1895
|
+
method: "PUT",
|
|
1896
|
+
url: "/api/env/batch",
|
|
1897
|
+
body: requestBody,
|
|
1898
|
+
mediaType: "application/json",
|
|
1899
|
+
errors: {
|
|
1900
|
+
500: `Internal server error`
|
|
1901
|
+
}
|
|
1902
|
+
});
|
|
1903
|
+
}
|
|
1904
|
+
/**
|
|
1905
|
+
* Batch Update Environment Variables
|
|
1906
|
+
* Update multiple environment variables in a single request
|
|
1907
|
+
* @param requestBody
|
|
1908
|
+
* @returns BatchEnvsResponse Environment variables updated successfully
|
|
1909
|
+
* @throws ApiError
|
|
1910
|
+
*/
|
|
1911
|
+
batchUpdateEnvs(requestBody) {
|
|
1912
|
+
return this.httpRequest.request({
|
|
1913
|
+
method: "PATCH",
|
|
1914
|
+
url: "/api/env/batch",
|
|
1915
|
+
body: requestBody,
|
|
1916
|
+
mediaType: "application/json",
|
|
1917
|
+
errors: {
|
|
1918
|
+
500: `Internal server error`
|
|
1919
|
+
}
|
|
1920
|
+
});
|
|
1921
|
+
}
|
|
1922
|
+
/**
|
|
1923
|
+
* Batch Delete Environment Variables
|
|
1924
|
+
* Delete multiple environment variables in a single request
|
|
1925
|
+
* @param requestBody
|
|
1926
|
+
* @returns BatchEnvsResponse Environment variables deleted successfully
|
|
1927
|
+
* @throws ApiError
|
|
1928
|
+
*/
|
|
1929
|
+
deleteBatchEnv(requestBody) {
|
|
1930
|
+
return this.httpRequest.request({
|
|
1931
|
+
method: "DELETE",
|
|
1932
|
+
url: "/api/env/batch",
|
|
1933
|
+
body: requestBody,
|
|
1934
|
+
mediaType: "application/json",
|
|
1935
|
+
errors: {
|
|
1936
|
+
500: `Internal server error`
|
|
1937
|
+
}
|
|
1938
|
+
});
|
|
1939
|
+
}
|
|
1940
|
+
};
|
|
1941
|
+
|
|
1942
|
+
// src/services/EnvironmentVariablesPointInTimeService.ts
|
|
1943
|
+
var EnvironmentVariablesPointInTimeService = class {
|
|
1944
|
+
constructor(httpRequest) {
|
|
1945
|
+
this.httpRequest = httpRequest;
|
|
1946
|
+
}
|
|
1947
|
+
/**
|
|
1948
|
+
* Get Environment Variables History
|
|
1949
|
+
* Retrieve paginated history of environment variable changes
|
|
1950
|
+
* @param requestBody
|
|
1951
|
+
* @returns EnvHistoryResponse Environment variables history retrieved successfully
|
|
1952
|
+
* @throws ApiError
|
|
1953
|
+
*/
|
|
1954
|
+
getEnvHistory(requestBody) {
|
|
1955
|
+
return this.httpRequest.request({
|
|
1956
|
+
method: "POST",
|
|
1957
|
+
url: "/api/env/history",
|
|
1958
|
+
body: requestBody,
|
|
1959
|
+
mediaType: "application/json",
|
|
1960
|
+
errors: {
|
|
1961
|
+
500: `Internal server error`
|
|
1962
|
+
}
|
|
1963
|
+
});
|
|
1964
|
+
}
|
|
1965
|
+
/**
|
|
1966
|
+
* Get Environment Variables at Point in Time
|
|
1967
|
+
* Retrieve environment variables state at a specific point in time
|
|
1968
|
+
* @param requestBody
|
|
1969
|
+
* @returns EnvPitStateResponse Environment variables at point in time retrieved successfully
|
|
1970
|
+
* @throws ApiError
|
|
1971
|
+
*/
|
|
1972
|
+
getEnvsAtPointInTime(requestBody) {
|
|
1973
|
+
return this.httpRequest.request({
|
|
1974
|
+
method: "POST",
|
|
1975
|
+
url: "/api/env/pit",
|
|
1976
|
+
body: requestBody,
|
|
1977
|
+
mediaType: "application/json",
|
|
1978
|
+
errors: {
|
|
1979
|
+
500: `Internal server error`
|
|
1980
|
+
}
|
|
1981
|
+
});
|
|
1982
|
+
}
|
|
1983
|
+
/**
|
|
1984
|
+
* Get Environment Variables at Timestamp
|
|
1985
|
+
* Retrieve environment variables state at a specific timestamp
|
|
1986
|
+
* @param requestBody
|
|
1987
|
+
* @returns EnvPitStateResponse Environment variables at timestamp retrieved successfully
|
|
1988
|
+
* @throws ApiError
|
|
1989
|
+
*/
|
|
1990
|
+
getEnvsAtTimestamp(requestBody) {
|
|
1991
|
+
return this.httpRequest.request({
|
|
1992
|
+
method: "POST",
|
|
1993
|
+
url: "/api/env/timestamp",
|
|
1994
|
+
body: requestBody,
|
|
1995
|
+
mediaType: "application/json",
|
|
1996
|
+
errors: {
|
|
1997
|
+
500: `Internal server error`
|
|
1998
|
+
}
|
|
1999
|
+
});
|
|
2000
|
+
}
|
|
2001
|
+
/**
|
|
2002
|
+
* Get Environment Variables Diff
|
|
2003
|
+
* Compare environment variables between two points in time
|
|
2004
|
+
* @param requestBody
|
|
2005
|
+
* @returns EnvDiffResponse Environment variables diff retrieved successfully
|
|
2006
|
+
* @throws ApiError
|
|
2007
|
+
*/
|
|
2008
|
+
getEnvDiff(requestBody) {
|
|
2009
|
+
return this.httpRequest.request({
|
|
2010
|
+
method: "POST",
|
|
2011
|
+
url: "/api/env/diff",
|
|
2012
|
+
body: requestBody,
|
|
2013
|
+
mediaType: "application/json",
|
|
2014
|
+
errors: {
|
|
2015
|
+
500: `Internal server error`
|
|
2016
|
+
}
|
|
2017
|
+
});
|
|
2018
|
+
}
|
|
2019
|
+
/**
|
|
2020
|
+
* Get Environment Variables Diff By Timestamp Range
|
|
2021
|
+
* Compare environment variables between two timestamps
|
|
2022
|
+
* @param requestBody
|
|
2023
|
+
* @returns EnvDiffResponse Environment variables timestamp-range diff retrieved successfully
|
|
2024
|
+
* @throws ApiError
|
|
2025
|
+
*/
|
|
2026
|
+
getEnvDiffByTimestampRange(requestBody) {
|
|
2027
|
+
return this.httpRequest.request({
|
|
2028
|
+
method: "POST",
|
|
2029
|
+
url: "/api/env/diff/timestamp-range",
|
|
2030
|
+
body: requestBody,
|
|
2031
|
+
mediaType: "application/json",
|
|
2032
|
+
errors: {
|
|
2033
|
+
500: `Internal server error`
|
|
2034
|
+
}
|
|
2035
|
+
});
|
|
2036
|
+
}
|
|
2037
|
+
/**
|
|
2038
|
+
* Get Variable Timeline
|
|
2039
|
+
* Get timeline of changes for a specific environment variable
|
|
2040
|
+
* @param key
|
|
2041
|
+
* @param requestBody
|
|
2042
|
+
* @returns VariableTimelineResponse Variable timeline retrieved successfully
|
|
2043
|
+
* @throws ApiError
|
|
2044
|
+
*/
|
|
2045
|
+
getVariableTimeline(key, requestBody) {
|
|
2046
|
+
return this.httpRequest.request({
|
|
2047
|
+
method: "POST",
|
|
2048
|
+
url: "/api/env/timeline/{key}",
|
|
2049
|
+
path: {
|
|
2050
|
+
"key": key
|
|
2051
|
+
},
|
|
2052
|
+
body: requestBody,
|
|
2053
|
+
mediaType: "application/json",
|
|
2054
|
+
errors: {
|
|
2055
|
+
500: `Internal server error`
|
|
2056
|
+
}
|
|
2057
|
+
});
|
|
2058
|
+
}
|
|
2059
|
+
};
|
|
2060
|
+
|
|
2061
|
+
// src/services/EnvironmentVariablesRollbackService.ts
|
|
2062
|
+
var EnvironmentVariablesRollbackService = class {
|
|
2063
|
+
constructor(httpRequest) {
|
|
2064
|
+
this.httpRequest = httpRequest;
|
|
2065
|
+
}
|
|
2066
|
+
/**
|
|
2067
|
+
* Rollback Environment Variables to Point in Time
|
|
2068
|
+
* Rollback all environment variables to a specific point in time
|
|
2069
|
+
* @param requestBody
|
|
2070
|
+
* @returns RollbackResponse Environment variables rolled back successfully
|
|
2071
|
+
* @throws ApiError
|
|
2072
|
+
*/
|
|
2073
|
+
rollbackEnvsToPitId(requestBody) {
|
|
2074
|
+
return this.httpRequest.request({
|
|
2075
|
+
method: "POST",
|
|
2076
|
+
url: "/api/env/rollback/pit",
|
|
2077
|
+
body: requestBody,
|
|
2078
|
+
mediaType: "application/json",
|
|
2079
|
+
errors: {
|
|
2080
|
+
500: `Internal server error`
|
|
2081
|
+
}
|
|
2082
|
+
});
|
|
2083
|
+
}
|
|
2084
|
+
/**
|
|
2085
|
+
* Rollback Environment Variables to Timestamp
|
|
2086
|
+
* Rollback all environment variables to a specific timestamp
|
|
2087
|
+
* @param requestBody
|
|
2088
|
+
* @returns RollbackResponse Environment variables rolled back successfully
|
|
2089
|
+
* @throws ApiError
|
|
2090
|
+
*/
|
|
2091
|
+
rollbackEnvsToTimestamp(requestBody) {
|
|
2092
|
+
return this.httpRequest.request({
|
|
2093
|
+
method: "POST",
|
|
2094
|
+
url: "/api/env/rollback/timestamp",
|
|
2095
|
+
body: requestBody,
|
|
2096
|
+
mediaType: "application/json",
|
|
2097
|
+
errors: {
|
|
2098
|
+
500: `Internal server error`
|
|
2099
|
+
}
|
|
2100
|
+
});
|
|
2101
|
+
}
|
|
2102
|
+
/**
|
|
2103
|
+
* Rollback Single Variable to Point in Time
|
|
2104
|
+
* Rollback a specific environment variable to a point in time
|
|
2105
|
+
* @param key
|
|
2106
|
+
* @param requestBody
|
|
2107
|
+
* @returns VariableRollbackResponse Variable rolled back successfully
|
|
2108
|
+
* @throws ApiError
|
|
2109
|
+
*/
|
|
2110
|
+
rollbackVariableToPitId(key, requestBody) {
|
|
2111
|
+
return this.httpRequest.request({
|
|
2112
|
+
method: "POST",
|
|
2113
|
+
url: "/api/env/rollback/variable/{key}/pit",
|
|
2114
|
+
path: {
|
|
2115
|
+
"key": key
|
|
2116
|
+
},
|
|
2117
|
+
body: requestBody,
|
|
2118
|
+
mediaType: "application/json",
|
|
2119
|
+
errors: {
|
|
2120
|
+
500: `Internal server error`
|
|
2121
|
+
}
|
|
2122
|
+
});
|
|
2123
|
+
}
|
|
2124
|
+
/**
|
|
2125
|
+
* Rollback Single Variable to Timestamp
|
|
2126
|
+
* Rollback a specific environment variable to a timestamp
|
|
2127
|
+
* @param key
|
|
2128
|
+
* @param requestBody
|
|
2129
|
+
* @returns VariableRollbackResponse Variable rolled back successfully
|
|
2130
|
+
* @throws ApiError
|
|
2131
|
+
*/
|
|
2132
|
+
rollbackVariableToTimestamp(key, requestBody) {
|
|
2133
|
+
return this.httpRequest.request({
|
|
2134
|
+
method: "POST",
|
|
2135
|
+
url: "/api/env/rollback/variable/{key}/timestamp",
|
|
2136
|
+
path: {
|
|
2137
|
+
"key": key
|
|
2138
|
+
},
|
|
2139
|
+
body: requestBody,
|
|
2140
|
+
mediaType: "application/json",
|
|
2141
|
+
errors: {
|
|
2142
|
+
500: `Internal server error`
|
|
2143
|
+
}
|
|
2144
|
+
});
|
|
2145
|
+
}
|
|
2146
|
+
};
|
|
2147
|
+
|
|
2148
|
+
// src/services/FileUploadService.ts
|
|
2149
|
+
var FileUploadService = class {
|
|
2150
|
+
constructor(httpRequest) {
|
|
2151
|
+
this.httpRequest = httpRequest;
|
|
2152
|
+
}
|
|
2153
|
+
/**
|
|
2154
|
+
* Upload File
|
|
2155
|
+
* Upload a file to the server. The file should be less than 5MB in size.
|
|
2156
|
+
* @param formData
|
|
2157
|
+
* @returns UploadFileResponse File uploaded successfully
|
|
2158
|
+
* @throws ApiError
|
|
2159
|
+
*/
|
|
2160
|
+
uploadFile(formData) {
|
|
2161
|
+
return this.httpRequest.request({
|
|
2162
|
+
method: "POST",
|
|
2163
|
+
url: "/api/upload/file",
|
|
2164
|
+
formData,
|
|
2165
|
+
mediaType: "multipart/form-data",
|
|
2166
|
+
errors: {
|
|
2167
|
+
500: `Internal server error`
|
|
2168
|
+
}
|
|
2169
|
+
});
|
|
2170
|
+
}
|
|
2171
|
+
};
|
|
2172
|
+
|
|
2173
|
+
// src/services/GpgKeysService.ts
|
|
2174
|
+
var GpgKeysService = class {
|
|
2175
|
+
constructor(httpRequest) {
|
|
2176
|
+
this.httpRequest = httpRequest;
|
|
2177
|
+
}
|
|
2178
|
+
/**
|
|
2179
|
+
* Generate GPG Key
|
|
2180
|
+
* Generate a new GPG key pair for the organization
|
|
2181
|
+
* @param requestBody
|
|
2182
|
+
* @returns GpgKeyResponse GPG key generated successfully
|
|
2183
|
+
* @throws ApiError
|
|
2184
|
+
*/
|
|
2185
|
+
generateGpgKey(requestBody) {
|
|
2186
|
+
return this.httpRequest.request({
|
|
2187
|
+
method: "PUT",
|
|
2188
|
+
url: "/api/gpg_key/generate",
|
|
2189
|
+
body: requestBody,
|
|
2190
|
+
mediaType: "application/json",
|
|
2191
|
+
errors: {
|
|
2192
|
+
500: `Internal server error`
|
|
2193
|
+
}
|
|
2194
|
+
});
|
|
2195
|
+
}
|
|
2196
|
+
/**
|
|
2197
|
+
* Import GPG Key
|
|
2198
|
+
* Import an existing GPG key into the organization
|
|
2199
|
+
* @param requestBody
|
|
2200
|
+
* @returns GpgKeyResponse GPG key imported successfully
|
|
2201
|
+
* @throws ApiError
|
|
2202
|
+
*/
|
|
2203
|
+
importGpgKey(requestBody) {
|
|
2204
|
+
return this.httpRequest.request({
|
|
2205
|
+
method: "PUT",
|
|
2206
|
+
url: "/api/gpg_key/import",
|
|
2207
|
+
body: requestBody,
|
|
2208
|
+
mediaType: "application/json",
|
|
2209
|
+
errors: {
|
|
2210
|
+
500: `Internal server error`
|
|
2211
|
+
}
|
|
2212
|
+
});
|
|
2213
|
+
}
|
|
2214
|
+
/**
|
|
2215
|
+
* Sign Data
|
|
2216
|
+
* Sign data using a GPG key
|
|
2217
|
+
* @param requestBody
|
|
2218
|
+
* @returns SignatureResponse Data signed successfully
|
|
2219
|
+
* @throws ApiError
|
|
2220
|
+
*/
|
|
2221
|
+
signDataWithGpgKey(requestBody) {
|
|
2222
|
+
return this.httpRequest.request({
|
|
2223
|
+
method: "POST",
|
|
2224
|
+
url: "/api/gpg_key/sign",
|
|
2225
|
+
body: requestBody,
|
|
2226
|
+
mediaType: "application/json",
|
|
2227
|
+
errors: {
|
|
2228
|
+
500: `Internal server error`
|
|
2229
|
+
}
|
|
2230
|
+
});
|
|
2231
|
+
}
|
|
2232
|
+
/**
|
|
2233
|
+
* Verify Signature
|
|
2234
|
+
* Verify a GPG signature
|
|
2235
|
+
* @param requestBody
|
|
2236
|
+
* @returns VerifyResponse Verification result
|
|
2237
|
+
* @throws ApiError
|
|
2238
|
+
*/
|
|
2239
|
+
verifyGpgSignature(requestBody) {
|
|
2240
|
+
return this.httpRequest.request({
|
|
2241
|
+
method: "POST",
|
|
2242
|
+
url: "/api/gpg_key/verify",
|
|
2243
|
+
body: requestBody,
|
|
2244
|
+
mediaType: "application/json",
|
|
2245
|
+
errors: {
|
|
2246
|
+
500: `Internal server error`
|
|
2247
|
+
}
|
|
2248
|
+
});
|
|
2249
|
+
}
|
|
2250
|
+
/**
|
|
2251
|
+
* List GPG Keys
|
|
2252
|
+
* List all GPG keys for the organization
|
|
2253
|
+
* @returns GpgKeysResponse GPG keys retrieved successfully
|
|
2254
|
+
* @throws ApiError
|
|
2255
|
+
*/
|
|
2256
|
+
listGpgKeys() {
|
|
2257
|
+
return this.httpRequest.request({
|
|
2258
|
+
method: "GET",
|
|
2259
|
+
url: "/api/gpg_key",
|
|
2260
|
+
errors: {
|
|
2261
|
+
500: `Internal server error`
|
|
2262
|
+
}
|
|
2263
|
+
});
|
|
2264
|
+
}
|
|
2265
|
+
/**
|
|
2266
|
+
* Get GPG Key
|
|
2267
|
+
* Retrieve a specific GPG key
|
|
2268
|
+
* @param id
|
|
2269
|
+
* @returns GpgKeyDetailResponse GPG key retrieved successfully
|
|
2270
|
+
* @throws ApiError
|
|
2271
|
+
*/
|
|
2272
|
+
getGpgKey(id) {
|
|
2273
|
+
return this.httpRequest.request({
|
|
2274
|
+
method: "GET",
|
|
2275
|
+
url: "/api/gpg_key/{id}",
|
|
2276
|
+
path: {
|
|
2277
|
+
"id": id
|
|
2278
|
+
},
|
|
2279
|
+
errors: {
|
|
2280
|
+
500: `Internal server error`
|
|
2281
|
+
}
|
|
2282
|
+
});
|
|
2283
|
+
}
|
|
2284
|
+
/**
|
|
2285
|
+
* Delete GPG Key
|
|
2286
|
+
* Delete a GPG key from the organization
|
|
2287
|
+
* @param id
|
|
2288
|
+
* @returns GpgKeyResponse GPG key deleted successfully
|
|
2289
|
+
* @throws ApiError
|
|
2290
|
+
*/
|
|
2291
|
+
deleteGpgKey(id) {
|
|
2292
|
+
return this.httpRequest.request({
|
|
2293
|
+
method: "DELETE",
|
|
2294
|
+
url: "/api/gpg_key/{id}",
|
|
2295
|
+
path: {
|
|
2296
|
+
"id": id
|
|
2297
|
+
},
|
|
2298
|
+
errors: {
|
|
2299
|
+
500: `Internal server error`
|
|
2300
|
+
}
|
|
2301
|
+
});
|
|
2302
|
+
}
|
|
2303
|
+
/**
|
|
2304
|
+
* Export GPG Public Key
|
|
2305
|
+
* Export the ASCII-armored public key
|
|
2306
|
+
* @param id
|
|
2307
|
+
* @returns ExportKeyResponse Public key exported successfully
|
|
2308
|
+
* @throws ApiError
|
|
2309
|
+
*/
|
|
2310
|
+
exportGpgPublicKey(id) {
|
|
2311
|
+
return this.httpRequest.request({
|
|
2312
|
+
method: "GET",
|
|
2313
|
+
url: "/api/gpg_key/{id}/export",
|
|
2314
|
+
path: {
|
|
2315
|
+
"id": id
|
|
2316
|
+
},
|
|
2317
|
+
errors: {
|
|
2318
|
+
500: `Internal server error`
|
|
2319
|
+
}
|
|
2320
|
+
});
|
|
2321
|
+
}
|
|
2322
|
+
/**
|
|
2323
|
+
* Revoke GPG Key
|
|
2324
|
+
* Revoke a GPG key (keeps data but marks as revoked)
|
|
2325
|
+
* @param id
|
|
2326
|
+
* @param requestBody
|
|
2327
|
+
* @returns GpgKeyDetailResponse GPG key revoked successfully
|
|
2328
|
+
* @throws ApiError
|
|
2329
|
+
*/
|
|
2330
|
+
revokeGpgKey(id, requestBody) {
|
|
2331
|
+
return this.httpRequest.request({
|
|
2332
|
+
method: "POST",
|
|
2333
|
+
url: "/api/gpg_key/{id}/revoke",
|
|
2334
|
+
path: {
|
|
2335
|
+
"id": id
|
|
2336
|
+
},
|
|
2337
|
+
body: requestBody,
|
|
2338
|
+
mediaType: "application/json",
|
|
2339
|
+
errors: {
|
|
2340
|
+
500: `Internal server error`
|
|
2341
|
+
}
|
|
2342
|
+
});
|
|
2343
|
+
}
|
|
2344
|
+
/**
|
|
2345
|
+
* Rotate GPG Key
|
|
2346
|
+
* Create a replacement GPG key, optionally promote it to default, and supersede the original key.
|
|
2347
|
+
* @param id
|
|
2348
|
+
* @param requestBody
|
|
2349
|
+
* @returns GpgKeyDetailResponse GPG key rotated successfully
|
|
2350
|
+
* @throws ApiError
|
|
2351
|
+
*/
|
|
2352
|
+
rotateGpgKey(id, requestBody) {
|
|
2353
|
+
return this.httpRequest.request({
|
|
2354
|
+
method: "POST",
|
|
2355
|
+
url: "/api/gpg_key/{id}/rotate",
|
|
2356
|
+
path: {
|
|
2357
|
+
"id": id
|
|
2358
|
+
},
|
|
2359
|
+
body: requestBody,
|
|
2360
|
+
mediaType: "application/json",
|
|
2361
|
+
errors: {
|
|
2362
|
+
500: `Internal server error`
|
|
2363
|
+
}
|
|
2364
|
+
});
|
|
2365
|
+
}
|
|
2366
|
+
/**
|
|
2367
|
+
* Extend GPG Key Expiry
|
|
2368
|
+
* Extend the expiry date of an active GPG key without rotating it.
|
|
2369
|
+
* @param id
|
|
2370
|
+
* @param requestBody
|
|
2371
|
+
* @returns GpgKeyDetailResponse GPG key expiry extended successfully
|
|
2372
|
+
* @throws ApiError
|
|
2373
|
+
*/
|
|
2374
|
+
extendGpgKeyExpiry(id, requestBody) {
|
|
2375
|
+
return this.httpRequest.request({
|
|
2376
|
+
method: "POST",
|
|
2377
|
+
url: "/api/gpg_key/{id}/extend-expiry",
|
|
2378
|
+
path: {
|
|
2379
|
+
"id": id
|
|
2380
|
+
},
|
|
2381
|
+
body: requestBody,
|
|
2382
|
+
mediaType: "application/json",
|
|
2383
|
+
errors: {
|
|
2384
|
+
500: `Internal server error`
|
|
2385
|
+
}
|
|
2386
|
+
});
|
|
2387
|
+
}
|
|
2388
|
+
/**
|
|
2389
|
+
* Update Trust Level
|
|
2390
|
+
* Update the trust level of a GPG key
|
|
2391
|
+
* @param id
|
|
2392
|
+
* @param requestBody
|
|
2393
|
+
* @returns GpgKeyDetailResponse Trust level updated successfully
|
|
2394
|
+
* @throws ApiError
|
|
2395
|
+
*/
|
|
2396
|
+
updateGpgKeyTrustLevel(id, requestBody) {
|
|
2397
|
+
return this.httpRequest.request({
|
|
2398
|
+
method: "PATCH",
|
|
2399
|
+
url: "/api/gpg_key/{id}/trust",
|
|
2400
|
+
path: {
|
|
2401
|
+
"id": id
|
|
2402
|
+
},
|
|
2403
|
+
body: requestBody,
|
|
2404
|
+
mediaType: "application/json",
|
|
2405
|
+
errors: {
|
|
2406
|
+
500: `Internal server error`
|
|
2407
|
+
}
|
|
2408
|
+
});
|
|
2409
|
+
}
|
|
2410
|
+
};
|
|
2411
|
+
|
|
2412
|
+
// src/services/LicenseService.ts
|
|
2413
|
+
var LicenseService = class {
|
|
2414
|
+
constructor(httpRequest) {
|
|
2415
|
+
this.httpRequest = httpRequest;
|
|
2416
|
+
}
|
|
2417
|
+
/**
|
|
2418
|
+
* Get Management License Status
|
|
2419
|
+
* @returns LicenseStatusResponse Current license status
|
|
2420
|
+
* @throws ApiError
|
|
2421
|
+
*/
|
|
2422
|
+
getManagementLicenseStatus() {
|
|
2423
|
+
return this.httpRequest.request({
|
|
2424
|
+
method: "GET",
|
|
2425
|
+
url: "/api/v1/manage/license/status",
|
|
2426
|
+
errors: {
|
|
2427
|
+
500: `Internal server error`
|
|
2428
|
+
}
|
|
2429
|
+
});
|
|
2430
|
+
}
|
|
2431
|
+
/**
|
|
2432
|
+
* Activate Management License
|
|
2433
|
+
* @returns LicenseActionResponse License activated
|
|
2434
|
+
* @throws ApiError
|
|
2435
|
+
*/
|
|
2436
|
+
activateManagementLicense() {
|
|
2437
|
+
return this.httpRequest.request({
|
|
2438
|
+
method: "POST",
|
|
2439
|
+
url: "/api/v1/manage/license/activate",
|
|
2440
|
+
errors: {
|
|
2441
|
+
500: `Internal server error`
|
|
2442
|
+
}
|
|
2443
|
+
});
|
|
2444
|
+
}
|
|
2445
|
+
/**
|
|
2446
|
+
* Verify Management License
|
|
2447
|
+
* @returns LicenseActionResponse License verified
|
|
2448
|
+
* @throws ApiError
|
|
2449
|
+
*/
|
|
2450
|
+
verifyManagementLicense() {
|
|
2451
|
+
return this.httpRequest.request({
|
|
2452
|
+
method: "POST",
|
|
2453
|
+
url: "/api/v1/manage/license/verify",
|
|
2454
|
+
errors: {
|
|
2455
|
+
500: `Internal server error`
|
|
2456
|
+
}
|
|
2457
|
+
});
|
|
2458
|
+
}
|
|
2459
|
+
};
|
|
2460
|
+
|
|
2461
|
+
// src/services/LogForwardingService.ts
|
|
2462
|
+
var LogForwardingService = class {
|
|
2463
|
+
constructor(httpRequest) {
|
|
2464
|
+
this.httpRequest = httpRequest;
|
|
2465
|
+
}
|
|
2466
|
+
/**
|
|
2467
|
+
* Create Log Forwarding Config
|
|
2468
|
+
* Create a new log forwarding configuration for the organization
|
|
2469
|
+
* @param requestBody
|
|
2470
|
+
* @returns LogForwardingResponse Log forwarding config created successfully
|
|
2471
|
+
* @throws ApiError
|
|
2472
|
+
*/
|
|
2473
|
+
createLogForwardingConfig(requestBody) {
|
|
2474
|
+
return this.httpRequest.request({
|
|
2475
|
+
method: "POST",
|
|
2476
|
+
url: "/api/v1/manage/log_forwarding",
|
|
2477
|
+
body: requestBody,
|
|
2478
|
+
mediaType: "application/json",
|
|
2479
|
+
errors: {
|
|
2480
|
+
500: `Internal server error`
|
|
2481
|
+
}
|
|
2482
|
+
});
|
|
2483
|
+
}
|
|
2484
|
+
/**
|
|
2485
|
+
* Get All Log Forwarding Configs
|
|
2486
|
+
* Retrieve all log forwarding configurations for the organization
|
|
2487
|
+
* @returns LogForwardingsResponse Log forwarding configs retrieved successfully
|
|
2488
|
+
* @throws ApiError
|
|
2489
|
+
*/
|
|
2490
|
+
getLogForwardingConfigs() {
|
|
2491
|
+
return this.httpRequest.request({
|
|
2492
|
+
method: "GET",
|
|
2493
|
+
url: "/api/v1/manage/log_forwarding",
|
|
2494
|
+
errors: {
|
|
2495
|
+
500: `Internal server error`
|
|
2496
|
+
}
|
|
2497
|
+
});
|
|
2498
|
+
}
|
|
2499
|
+
/**
|
|
2500
|
+
* Get Log Forwarding Config
|
|
2501
|
+
* Retrieve a specific log forwarding configuration
|
|
2502
|
+
* @param id
|
|
2503
|
+
* @returns LogForwardingResponse Log forwarding config retrieved successfully
|
|
1612
2504
|
* @throws ApiError
|
|
1613
2505
|
*/
|
|
1614
|
-
|
|
2506
|
+
getLogForwardingConfig(id) {
|
|
1615
2507
|
return this.httpRequest.request({
|
|
1616
|
-
method: "
|
|
1617
|
-
url: "/api/
|
|
2508
|
+
method: "GET",
|
|
2509
|
+
url: "/api/v1/manage/log_forwarding/{id}",
|
|
1618
2510
|
path: {
|
|
1619
|
-
"
|
|
2511
|
+
"id": id
|
|
1620
2512
|
},
|
|
1621
|
-
body: requestBody,
|
|
1622
|
-
mediaType: "application/json",
|
|
1623
2513
|
errors: {
|
|
2514
|
+
404: `Config not found`,
|
|
1624
2515
|
500: `Internal server error`
|
|
1625
2516
|
}
|
|
1626
2517
|
});
|
|
1627
2518
|
}
|
|
1628
|
-
};
|
|
1629
|
-
|
|
1630
|
-
// src/services/FileUploadService.ts
|
|
1631
|
-
var FileUploadService = class {
|
|
1632
|
-
constructor(httpRequest) {
|
|
1633
|
-
this.httpRequest = httpRequest;
|
|
1634
|
-
}
|
|
1635
2519
|
/**
|
|
1636
|
-
*
|
|
1637
|
-
*
|
|
1638
|
-
* @param
|
|
1639
|
-
* @returns
|
|
2520
|
+
* Delete Log Forwarding Config
|
|
2521
|
+
* Delete a log forwarding configuration
|
|
2522
|
+
* @param id
|
|
2523
|
+
* @returns ErrorResponse Log forwarding config deleted successfully
|
|
1640
2524
|
* @throws ApiError
|
|
1641
2525
|
*/
|
|
1642
|
-
|
|
2526
|
+
deleteLogForwardingConfig(id) {
|
|
1643
2527
|
return this.httpRequest.request({
|
|
1644
|
-
method: "
|
|
1645
|
-
url: "/api/
|
|
1646
|
-
|
|
1647
|
-
|
|
2528
|
+
method: "DELETE",
|
|
2529
|
+
url: "/api/v1/manage/log_forwarding/{id}",
|
|
2530
|
+
path: {
|
|
2531
|
+
"id": id
|
|
2532
|
+
},
|
|
1648
2533
|
errors: {
|
|
1649
2534
|
500: `Internal server error`
|
|
1650
2535
|
}
|
|
@@ -1652,22 +2537,22 @@ var FileUploadService = class {
|
|
|
1652
2537
|
}
|
|
1653
2538
|
};
|
|
1654
2539
|
|
|
1655
|
-
// src/services/
|
|
1656
|
-
var
|
|
2540
|
+
// src/services/OidcProvidersService.ts
|
|
2541
|
+
var OidcProvidersService = class {
|
|
1657
2542
|
constructor(httpRequest) {
|
|
1658
2543
|
this.httpRequest = httpRequest;
|
|
1659
2544
|
}
|
|
1660
2545
|
/**
|
|
1661
|
-
*
|
|
1662
|
-
*
|
|
2546
|
+
* Register OIDC Provider
|
|
2547
|
+
* Register a new OIDC provider for CI/CD machine authentication
|
|
1663
2548
|
* @param requestBody
|
|
1664
|
-
* @returns
|
|
2549
|
+
* @returns OidcProviderResponse OIDC provider created successfully
|
|
1665
2550
|
* @throws ApiError
|
|
1666
2551
|
*/
|
|
1667
|
-
|
|
2552
|
+
createOidcProvider(requestBody) {
|
|
1668
2553
|
return this.httpRequest.request({
|
|
1669
|
-
method: "
|
|
1670
|
-
url: "/api/
|
|
2554
|
+
method: "POST",
|
|
2555
|
+
url: "/api/v1/manage/oidc",
|
|
1671
2556
|
body: requestBody,
|
|
1672
2557
|
mediaType: "application/json",
|
|
1673
2558
|
errors: {
|
|
@@ -1676,52 +2561,54 @@ var GpgKeysService = class {
|
|
|
1676
2561
|
});
|
|
1677
2562
|
}
|
|
1678
2563
|
/**
|
|
1679
|
-
*
|
|
1680
|
-
*
|
|
1681
|
-
* @
|
|
1682
|
-
* @returns GpgKeyResponse GPG key imported successfully
|
|
2564
|
+
* Get All OIDC Providers
|
|
2565
|
+
* Retrieve all OIDC providers for the organization
|
|
2566
|
+
* @returns OidcProvidersResponse OIDC providers retrieved successfully
|
|
1683
2567
|
* @throws ApiError
|
|
1684
2568
|
*/
|
|
1685
|
-
|
|
2569
|
+
getAllOidcProviders() {
|
|
1686
2570
|
return this.httpRequest.request({
|
|
1687
|
-
method: "
|
|
1688
|
-
url: "/api/
|
|
1689
|
-
body: requestBody,
|
|
1690
|
-
mediaType: "application/json",
|
|
2571
|
+
method: "GET",
|
|
2572
|
+
url: "/api/v1/manage/oidc",
|
|
1691
2573
|
errors: {
|
|
1692
2574
|
500: `Internal server error`
|
|
1693
2575
|
}
|
|
1694
2576
|
});
|
|
1695
2577
|
}
|
|
1696
2578
|
/**
|
|
1697
|
-
*
|
|
1698
|
-
*
|
|
1699
|
-
* @param
|
|
1700
|
-
* @returns
|
|
2579
|
+
* Get OIDC Provider
|
|
2580
|
+
* Retrieve a specific OIDC provider
|
|
2581
|
+
* @param id
|
|
2582
|
+
* @returns OidcProviderResponse OIDC provider retrieved successfully
|
|
1701
2583
|
* @throws ApiError
|
|
1702
2584
|
*/
|
|
1703
|
-
|
|
2585
|
+
getOidcProvider(id) {
|
|
1704
2586
|
return this.httpRequest.request({
|
|
1705
|
-
method: "
|
|
1706
|
-
url: "/api/
|
|
1707
|
-
|
|
1708
|
-
|
|
2587
|
+
method: "GET",
|
|
2588
|
+
url: "/api/v1/manage/oidc/{id}",
|
|
2589
|
+
path: {
|
|
2590
|
+
"id": id
|
|
2591
|
+
},
|
|
1709
2592
|
errors: {
|
|
1710
2593
|
500: `Internal server error`
|
|
1711
2594
|
}
|
|
1712
2595
|
});
|
|
1713
2596
|
}
|
|
1714
2597
|
/**
|
|
1715
|
-
*
|
|
1716
|
-
*
|
|
2598
|
+
* Update OIDC Provider
|
|
2599
|
+
* Update an existing OIDC provider
|
|
2600
|
+
* @param id
|
|
1717
2601
|
* @param requestBody
|
|
1718
|
-
* @returns
|
|
2602
|
+
* @returns ErrorResponse OIDC provider updated successfully
|
|
1719
2603
|
* @throws ApiError
|
|
1720
2604
|
*/
|
|
1721
|
-
|
|
2605
|
+
updateOidcProvider(id, requestBody) {
|
|
1722
2606
|
return this.httpRequest.request({
|
|
1723
|
-
method: "
|
|
1724
|
-
url: "/api/
|
|
2607
|
+
method: "PUT",
|
|
2608
|
+
url: "/api/v1/manage/oidc/{id}",
|
|
2609
|
+
path: {
|
|
2610
|
+
"id": id
|
|
2611
|
+
},
|
|
1725
2612
|
body: requestBody,
|
|
1726
2613
|
mediaType: "application/json",
|
|
1727
2614
|
errors: {
|
|
@@ -1730,33 +2617,62 @@ var GpgKeysService = class {
|
|
|
1730
2617
|
});
|
|
1731
2618
|
}
|
|
1732
2619
|
/**
|
|
1733
|
-
*
|
|
1734
|
-
*
|
|
1735
|
-
* @
|
|
2620
|
+
* Delete OIDC Provider
|
|
2621
|
+
* Delete an existing OIDC provider
|
|
2622
|
+
* @param id
|
|
2623
|
+
* @returns ErrorResponse OIDC provider deleted successfully
|
|
1736
2624
|
* @throws ApiError
|
|
1737
2625
|
*/
|
|
1738
|
-
|
|
2626
|
+
deleteOidcProvider(id) {
|
|
1739
2627
|
return this.httpRequest.request({
|
|
1740
|
-
method: "
|
|
1741
|
-
url: "/api/
|
|
2628
|
+
method: "DELETE",
|
|
2629
|
+
url: "/api/v1/manage/oidc/{id}",
|
|
2630
|
+
path: {
|
|
2631
|
+
"id": id
|
|
2632
|
+
},
|
|
2633
|
+
errors: {
|
|
2634
|
+
500: `Internal server error`
|
|
2635
|
+
}
|
|
2636
|
+
});
|
|
2637
|
+
}
|
|
2638
|
+
};
|
|
2639
|
+
|
|
2640
|
+
// src/services/OnboardingService.ts
|
|
2641
|
+
var OnboardingService = class {
|
|
2642
|
+
constructor(httpRequest) {
|
|
2643
|
+
this.httpRequest = httpRequest;
|
|
2644
|
+
}
|
|
2645
|
+
/**
|
|
2646
|
+
* Create Organization Invite
|
|
2647
|
+
* Create an organization invite
|
|
2648
|
+
* @param requestBody
|
|
2649
|
+
* @returns CreateOrgInviteResponse Successful greeting response
|
|
2650
|
+
* @throws ApiError
|
|
2651
|
+
*/
|
|
2652
|
+
createOrgInvite(requestBody) {
|
|
2653
|
+
return this.httpRequest.request({
|
|
2654
|
+
method: "POST",
|
|
2655
|
+
url: "/api/onboarding/org",
|
|
2656
|
+
body: requestBody,
|
|
2657
|
+
mediaType: "application/json",
|
|
1742
2658
|
errors: {
|
|
1743
2659
|
500: `Internal server error`
|
|
1744
2660
|
}
|
|
1745
2661
|
});
|
|
1746
2662
|
}
|
|
1747
2663
|
/**
|
|
1748
|
-
* Get
|
|
1749
|
-
*
|
|
1750
|
-
* @param
|
|
1751
|
-
* @returns
|
|
2664
|
+
* Get Organization Invite by Code
|
|
2665
|
+
* Get organization invite by code
|
|
2666
|
+
* @param inviteCode
|
|
2667
|
+
* @returns GetOrgInviteByCodeResponse Organization invite retrieved successfully
|
|
1752
2668
|
* @throws ApiError
|
|
1753
2669
|
*/
|
|
1754
|
-
|
|
2670
|
+
getOrgInviteByCode(inviteCode) {
|
|
1755
2671
|
return this.httpRequest.request({
|
|
1756
2672
|
method: "GET",
|
|
1757
|
-
url: "/api/
|
|
2673
|
+
url: "/api/onboarding/org/{invite_code}",
|
|
1758
2674
|
path: {
|
|
1759
|
-
"
|
|
2675
|
+
"invite_code": inviteCode
|
|
1760
2676
|
},
|
|
1761
2677
|
errors: {
|
|
1762
2678
|
500: `Internal server error`
|
|
@@ -1764,37 +2680,40 @@ var GpgKeysService = class {
|
|
|
1764
2680
|
});
|
|
1765
2681
|
}
|
|
1766
2682
|
/**
|
|
1767
|
-
*
|
|
1768
|
-
*
|
|
1769
|
-
* @param
|
|
1770
|
-
* @
|
|
2683
|
+
* Accept Organization Invite
|
|
2684
|
+
* Accept organization invite
|
|
2685
|
+
* @param inviteCode
|
|
2686
|
+
* @param requestBody
|
|
2687
|
+
* @returns AcceptOrgInviteResponse Organization invite accepted successfully
|
|
1771
2688
|
* @throws ApiError
|
|
1772
2689
|
*/
|
|
1773
|
-
|
|
2690
|
+
acceptOrgInvite(inviteCode, requestBody) {
|
|
1774
2691
|
return this.httpRequest.request({
|
|
1775
|
-
method: "
|
|
1776
|
-
url: "/api/
|
|
2692
|
+
method: "PUT",
|
|
2693
|
+
url: "/api/onboarding/org/{invite_code}/accept",
|
|
1777
2694
|
path: {
|
|
1778
|
-
"
|
|
2695
|
+
"invite_code": inviteCode
|
|
1779
2696
|
},
|
|
2697
|
+
body: requestBody,
|
|
2698
|
+
mediaType: "application/json",
|
|
1780
2699
|
errors: {
|
|
1781
2700
|
500: `Internal server error`
|
|
1782
2701
|
}
|
|
1783
2702
|
});
|
|
1784
2703
|
}
|
|
1785
2704
|
/**
|
|
1786
|
-
*
|
|
1787
|
-
*
|
|
1788
|
-
* @param
|
|
1789
|
-
* @returns
|
|
2705
|
+
* Get User Invite by Code
|
|
2706
|
+
* Get user invite by code
|
|
2707
|
+
* @param inviteCode
|
|
2708
|
+
* @returns GetUserInviteByTokenResponse User invite retrieved successfully
|
|
1790
2709
|
* @throws ApiError
|
|
1791
2710
|
*/
|
|
1792
|
-
|
|
2711
|
+
getUserInviteByCode(inviteCode) {
|
|
1793
2712
|
return this.httpRequest.request({
|
|
1794
2713
|
method: "GET",
|
|
1795
|
-
url: "/api/
|
|
2714
|
+
url: "/api/onboarding/user/{invite_code}",
|
|
1796
2715
|
path: {
|
|
1797
|
-
"
|
|
2716
|
+
"invite_code": inviteCode
|
|
1798
2717
|
},
|
|
1799
2718
|
errors: {
|
|
1800
2719
|
500: `Internal server error`
|
|
@@ -1802,19 +2721,19 @@ var GpgKeysService = class {
|
|
|
1802
2721
|
});
|
|
1803
2722
|
}
|
|
1804
2723
|
/**
|
|
1805
|
-
*
|
|
1806
|
-
*
|
|
1807
|
-
* @param
|
|
2724
|
+
* Update User Invite
|
|
2725
|
+
* Update user invite
|
|
2726
|
+
* @param inviteCode
|
|
1808
2727
|
* @param requestBody
|
|
1809
|
-
* @returns
|
|
2728
|
+
* @returns UpdateUserInviteResponse User invite updated successfully
|
|
1810
2729
|
* @throws ApiError
|
|
1811
2730
|
*/
|
|
1812
|
-
|
|
2731
|
+
updateUserInvite(inviteCode, requestBody) {
|
|
1813
2732
|
return this.httpRequest.request({
|
|
1814
|
-
method: "
|
|
1815
|
-
url: "/api/
|
|
2733
|
+
method: "PATCH",
|
|
2734
|
+
url: "/api/onboarding/user/{invite_code}",
|
|
1816
2735
|
path: {
|
|
1817
|
-
"
|
|
2736
|
+
"invite_code": inviteCode
|
|
1818
2737
|
},
|
|
1819
2738
|
body: requestBody,
|
|
1820
2739
|
mediaType: "application/json",
|
|
@@ -1824,19 +2743,19 @@ var GpgKeysService = class {
|
|
|
1824
2743
|
});
|
|
1825
2744
|
}
|
|
1826
2745
|
/**
|
|
1827
|
-
*
|
|
1828
|
-
*
|
|
1829
|
-
* @param
|
|
2746
|
+
* Accept User Invite
|
|
2747
|
+
* Accept user invite
|
|
2748
|
+
* @param inviteCode
|
|
1830
2749
|
* @param requestBody
|
|
1831
|
-
* @returns
|
|
2750
|
+
* @returns AcceptUserInviteResponse User invite accepted successfully
|
|
1832
2751
|
* @throws ApiError
|
|
1833
2752
|
*/
|
|
1834
|
-
|
|
2753
|
+
acceptUserInvite(inviteCode, requestBody) {
|
|
1835
2754
|
return this.httpRequest.request({
|
|
1836
|
-
method: "
|
|
1837
|
-
url: "/api/
|
|
2755
|
+
method: "PUT",
|
|
2756
|
+
url: "/api/onboarding/user/{invite_code}/accept",
|
|
1838
2757
|
path: {
|
|
1839
|
-
"
|
|
2758
|
+
"invite_code": inviteCode
|
|
1840
2759
|
},
|
|
1841
2760
|
body: requestBody,
|
|
1842
2761
|
mediaType: "application/json",
|
|
@@ -1846,20 +2765,16 @@ var GpgKeysService = class {
|
|
|
1846
2765
|
});
|
|
1847
2766
|
}
|
|
1848
2767
|
/**
|
|
1849
|
-
*
|
|
1850
|
-
*
|
|
1851
|
-
* @param id
|
|
2768
|
+
* Create User Invite
|
|
2769
|
+
* Create a user invite
|
|
1852
2770
|
* @param requestBody
|
|
1853
|
-
* @returns
|
|
2771
|
+
* @returns CreateUserInviteResponse User invite created successfully
|
|
1854
2772
|
* @throws ApiError
|
|
1855
2773
|
*/
|
|
1856
|
-
|
|
2774
|
+
createUserInvite(requestBody) {
|
|
1857
2775
|
return this.httpRequest.request({
|
|
1858
2776
|
method: "POST",
|
|
1859
|
-
url: "/api/
|
|
1860
|
-
path: {
|
|
1861
|
-
"id": id
|
|
1862
|
-
},
|
|
2777
|
+
url: "/api/onboarding/user",
|
|
1863
2778
|
body: requestBody,
|
|
1864
2779
|
mediaType: "application/json",
|
|
1865
2780
|
errors: {
|
|
@@ -1868,34 +2783,39 @@ var GpgKeysService = class {
|
|
|
1868
2783
|
});
|
|
1869
2784
|
}
|
|
1870
2785
|
/**
|
|
1871
|
-
*
|
|
1872
|
-
*
|
|
1873
|
-
* @
|
|
1874
|
-
* @param requestBody
|
|
1875
|
-
* @returns GpgKeyDetailResponse Trust level updated successfully
|
|
2786
|
+
* Get All User Invites
|
|
2787
|
+
* Get all user invites
|
|
2788
|
+
* @returns GetUserInviteByTokenResponse User invites retrieved successfully
|
|
1876
2789
|
* @throws ApiError
|
|
1877
2790
|
*/
|
|
1878
|
-
|
|
2791
|
+
getAllUserInvites() {
|
|
1879
2792
|
return this.httpRequest.request({
|
|
1880
|
-
method: "
|
|
1881
|
-
url: "/api/
|
|
2793
|
+
method: "GET",
|
|
2794
|
+
url: "/api/onboarding/user",
|
|
2795
|
+
errors: {
|
|
2796
|
+
500: `Internal server error`
|
|
2797
|
+
}
|
|
2798
|
+
});
|
|
2799
|
+
}
|
|
2800
|
+
/**
|
|
2801
|
+
* Delete User Invite
|
|
2802
|
+
* Delete user invite
|
|
2803
|
+
* @param inviteId
|
|
2804
|
+
* @returns DeleteUserInviteResponse User invite deleted successfully
|
|
2805
|
+
* @throws ApiError
|
|
2806
|
+
*/
|
|
2807
|
+
deleteUserInvite(inviteId) {
|
|
2808
|
+
return this.httpRequest.request({
|
|
2809
|
+
method: "DELETE",
|
|
2810
|
+
url: "/api/onboarding/user/{invite_id}",
|
|
1882
2811
|
path: {
|
|
1883
|
-
"
|
|
2812
|
+
"invite_id": inviteId
|
|
1884
2813
|
},
|
|
1885
|
-
body: requestBody,
|
|
1886
|
-
mediaType: "application/json",
|
|
1887
2814
|
errors: {
|
|
1888
2815
|
500: `Internal server error`
|
|
1889
2816
|
}
|
|
1890
2817
|
});
|
|
1891
2818
|
}
|
|
1892
|
-
};
|
|
1893
|
-
|
|
1894
|
-
// src/services/OnboardingService.ts
|
|
1895
|
-
var OnboardingService = class {
|
|
1896
|
-
constructor(httpRequest) {
|
|
1897
|
-
this.httpRequest = httpRequest;
|
|
1898
|
-
}
|
|
1899
2819
|
/**
|
|
1900
2820
|
* Create Organization Invite
|
|
1901
2821
|
* Create an organization invite
|
|
@@ -1903,10 +2823,10 @@ var OnboardingService = class {
|
|
|
1903
2823
|
* @returns CreateOrgInviteResponse Successful greeting response
|
|
1904
2824
|
* @throws ApiError
|
|
1905
2825
|
*/
|
|
1906
|
-
|
|
2826
|
+
manageCreateOrgInvite(requestBody) {
|
|
1907
2827
|
return this.httpRequest.request({
|
|
1908
2828
|
method: "POST",
|
|
1909
|
-
url: "/api/onboarding/org",
|
|
2829
|
+
url: "/api/v1/manage/onboarding/org",
|
|
1910
2830
|
body: requestBody,
|
|
1911
2831
|
mediaType: "application/json",
|
|
1912
2832
|
errors: {
|
|
@@ -1921,10 +2841,10 @@ var OnboardingService = class {
|
|
|
1921
2841
|
* @returns GetOrgInviteByCodeResponse Organization invite retrieved successfully
|
|
1922
2842
|
* @throws ApiError
|
|
1923
2843
|
*/
|
|
1924
|
-
|
|
2844
|
+
manageGetOrgInviteByCode(inviteCode) {
|
|
1925
2845
|
return this.httpRequest.request({
|
|
1926
2846
|
method: "GET",
|
|
1927
|
-
url: "/api/onboarding/org/{invite_code}",
|
|
2847
|
+
url: "/api/v1/manage/onboarding/org/{invite_code}",
|
|
1928
2848
|
path: {
|
|
1929
2849
|
"invite_code": inviteCode
|
|
1930
2850
|
},
|
|
@@ -1941,10 +2861,10 @@ var OnboardingService = class {
|
|
|
1941
2861
|
* @returns AcceptOrgInviteResponse Organization invite accepted successfully
|
|
1942
2862
|
* @throws ApiError
|
|
1943
2863
|
*/
|
|
1944
|
-
|
|
2864
|
+
manageAcceptOrgInvite(inviteCode, requestBody) {
|
|
1945
2865
|
return this.httpRequest.request({
|
|
1946
2866
|
method: "PUT",
|
|
1947
|
-
url: "/api/onboarding/org/{invite_code}/accept",
|
|
2867
|
+
url: "/api/v1/manage/onboarding/org/{invite_code}/accept",
|
|
1948
2868
|
path: {
|
|
1949
2869
|
"invite_code": inviteCode
|
|
1950
2870
|
},
|
|
@@ -1962,10 +2882,10 @@ var OnboardingService = class {
|
|
|
1962
2882
|
* @returns GetUserInviteByTokenResponse User invite retrieved successfully
|
|
1963
2883
|
* @throws ApiError
|
|
1964
2884
|
*/
|
|
1965
|
-
|
|
2885
|
+
manageGetUserInviteByCode(inviteCode) {
|
|
1966
2886
|
return this.httpRequest.request({
|
|
1967
2887
|
method: "GET",
|
|
1968
|
-
url: "/api/onboarding/user/{invite_code}",
|
|
2888
|
+
url: "/api/v1/manage/onboarding/user/{invite_code}",
|
|
1969
2889
|
path: {
|
|
1970
2890
|
"invite_code": inviteCode
|
|
1971
2891
|
},
|
|
@@ -1982,10 +2902,10 @@ var OnboardingService = class {
|
|
|
1982
2902
|
* @returns UpdateUserInviteResponse User invite updated successfully
|
|
1983
2903
|
* @throws ApiError
|
|
1984
2904
|
*/
|
|
1985
|
-
|
|
2905
|
+
manageUpdateUserInvite(inviteCode, requestBody) {
|
|
1986
2906
|
return this.httpRequest.request({
|
|
1987
2907
|
method: "PATCH",
|
|
1988
|
-
url: "/api/onboarding/user/{invite_code}",
|
|
2908
|
+
url: "/api/v1/manage/onboarding/user/{invite_code}",
|
|
1989
2909
|
path: {
|
|
1990
2910
|
"invite_code": inviteCode
|
|
1991
2911
|
},
|
|
@@ -2004,10 +2924,10 @@ var OnboardingService = class {
|
|
|
2004
2924
|
* @returns AcceptUserInviteResponse User invite accepted successfully
|
|
2005
2925
|
* @throws ApiError
|
|
2006
2926
|
*/
|
|
2007
|
-
|
|
2927
|
+
manageAcceptUserInvite(inviteCode, requestBody) {
|
|
2008
2928
|
return this.httpRequest.request({
|
|
2009
2929
|
method: "PUT",
|
|
2010
|
-
url: "/api/onboarding/user/{invite_code}/accept",
|
|
2930
|
+
url: "/api/v1/manage/onboarding/user/{invite_code}/accept",
|
|
2011
2931
|
path: {
|
|
2012
2932
|
"invite_code": inviteCode
|
|
2013
2933
|
},
|
|
@@ -2025,10 +2945,10 @@ var OnboardingService = class {
|
|
|
2025
2945
|
* @returns CreateUserInviteResponse User invite created successfully
|
|
2026
2946
|
* @throws ApiError
|
|
2027
2947
|
*/
|
|
2028
|
-
|
|
2948
|
+
manageCreateUserInvite(requestBody) {
|
|
2029
2949
|
return this.httpRequest.request({
|
|
2030
2950
|
method: "POST",
|
|
2031
|
-
url: "/api/onboarding/user",
|
|
2951
|
+
url: "/api/v1/manage/onboarding/user",
|
|
2032
2952
|
body: requestBody,
|
|
2033
2953
|
mediaType: "application/json",
|
|
2034
2954
|
errors: {
|
|
@@ -2042,10 +2962,10 @@ var OnboardingService = class {
|
|
|
2042
2962
|
* @returns GetUserInviteByTokenResponse User invites retrieved successfully
|
|
2043
2963
|
* @throws ApiError
|
|
2044
2964
|
*/
|
|
2045
|
-
|
|
2965
|
+
manageGetAllUserInvites() {
|
|
2046
2966
|
return this.httpRequest.request({
|
|
2047
2967
|
method: "GET",
|
|
2048
|
-
url: "/api/onboarding/user",
|
|
2968
|
+
url: "/api/v1/manage/onboarding/user",
|
|
2049
2969
|
errors: {
|
|
2050
2970
|
500: `Internal server error`
|
|
2051
2971
|
}
|
|
@@ -2058,10 +2978,10 @@ var OnboardingService = class {
|
|
|
2058
2978
|
* @returns DeleteUserInviteResponse User invite deleted successfully
|
|
2059
2979
|
* @throws ApiError
|
|
2060
2980
|
*/
|
|
2061
|
-
|
|
2981
|
+
manageDeleteUserInvite(inviteId) {
|
|
2062
2982
|
return this.httpRequest.request({
|
|
2063
2983
|
method: "DELETE",
|
|
2064
|
-
url: "/api/onboarding/user/{invite_id}",
|
|
2984
|
+
url: "/api/v1/manage/onboarding/user/{invite_id}",
|
|
2065
2985
|
path: {
|
|
2066
2986
|
"invite_id": inviteId
|
|
2067
2987
|
},
|
|
@@ -2170,174 +3090,447 @@ var PermissionsService = class {
|
|
|
2170
3090
|
});
|
|
2171
3091
|
}
|
|
2172
3092
|
/**
|
|
2173
|
-
* Grant App Access
|
|
2174
|
-
* Grant a user or team access to an app
|
|
2175
|
-
* @param appId
|
|
3093
|
+
* Grant App Access
|
|
3094
|
+
* Grant a user or team access to an app
|
|
3095
|
+
* @param appId
|
|
3096
|
+
* @param requestBody
|
|
3097
|
+
* @returns PermissionMessageResponse Access granted successfully
|
|
3098
|
+
* @throws ApiError
|
|
3099
|
+
*/
|
|
3100
|
+
grantAppAccess(appId, requestBody) {
|
|
3101
|
+
return this.httpRequest.request({
|
|
3102
|
+
method: "POST",
|
|
3103
|
+
url: "/api/permission/app/{app_id}/grant",
|
|
3104
|
+
path: {
|
|
3105
|
+
"app_id": appId
|
|
3106
|
+
},
|
|
3107
|
+
body: requestBody,
|
|
3108
|
+
mediaType: "application/json",
|
|
3109
|
+
errors: {
|
|
3110
|
+
500: `Internal server error`
|
|
3111
|
+
}
|
|
3112
|
+
});
|
|
3113
|
+
}
|
|
3114
|
+
/**
|
|
3115
|
+
* Revoke App Access
|
|
3116
|
+
* Revoke a user or team's access to an app
|
|
3117
|
+
* @param appId
|
|
3118
|
+
* @param requestBody
|
|
3119
|
+
* @returns PermissionMessageResponse Access revoked successfully
|
|
3120
|
+
* @throws ApiError
|
|
3121
|
+
*/
|
|
3122
|
+
revokeAppAccess(appId, requestBody) {
|
|
3123
|
+
return this.httpRequest.request({
|
|
3124
|
+
method: "POST",
|
|
3125
|
+
url: "/api/permission/app/{app_id}/revoke",
|
|
3126
|
+
path: {
|
|
3127
|
+
"app_id": appId
|
|
3128
|
+
},
|
|
3129
|
+
body: requestBody,
|
|
3130
|
+
mediaType: "application/json",
|
|
3131
|
+
errors: {
|
|
3132
|
+
500: `Internal server error`
|
|
3133
|
+
}
|
|
3134
|
+
});
|
|
3135
|
+
}
|
|
3136
|
+
/**
|
|
3137
|
+
* List App Grants
|
|
3138
|
+
* List direct user and team grants on an app
|
|
3139
|
+
* @param appId
|
|
3140
|
+
* @returns GrantsListResponse App grants listed successfully
|
|
3141
|
+
* @throws ApiError
|
|
3142
|
+
*/
|
|
3143
|
+
listAppGrants(appId) {
|
|
3144
|
+
return this.httpRequest.request({
|
|
3145
|
+
method: "GET",
|
|
3146
|
+
url: "/api/permission/app/{app_id}/grants",
|
|
3147
|
+
path: {
|
|
3148
|
+
"app_id": appId
|
|
3149
|
+
}
|
|
3150
|
+
});
|
|
3151
|
+
}
|
|
3152
|
+
/**
|
|
3153
|
+
* Get App Effective Access
|
|
3154
|
+
* List user effective access for an app including team inheritance
|
|
3155
|
+
* @param appId
|
|
3156
|
+
* @returns EffectiveAccessResponse Effective app access returned successfully
|
|
3157
|
+
* @throws ApiError
|
|
3158
|
+
*/
|
|
3159
|
+
getAppEffectiveAccess(appId) {
|
|
3160
|
+
return this.httpRequest.request({
|
|
3161
|
+
method: "GET",
|
|
3162
|
+
url: "/api/permission/app/{app_id}/effective-access",
|
|
3163
|
+
path: {
|
|
3164
|
+
"app_id": appId
|
|
3165
|
+
}
|
|
3166
|
+
});
|
|
3167
|
+
}
|
|
3168
|
+
/**
|
|
3169
|
+
* Grant Env Type Access
|
|
3170
|
+
* Grant a user or team access to an environment type
|
|
3171
|
+
* @param id
|
|
3172
|
+
* @param requestBody
|
|
3173
|
+
* @returns PermissionMessageResponse Access granted successfully
|
|
3174
|
+
* @throws ApiError
|
|
3175
|
+
*/
|
|
3176
|
+
grantEnvTypeAccess(id, requestBody) {
|
|
3177
|
+
return this.httpRequest.request({
|
|
3178
|
+
method: "POST",
|
|
3179
|
+
url: "/api/permission/env_type/{id}/grant",
|
|
3180
|
+
path: {
|
|
3181
|
+
"id": id
|
|
3182
|
+
},
|
|
3183
|
+
body: requestBody,
|
|
3184
|
+
mediaType: "application/json",
|
|
3185
|
+
errors: {
|
|
3186
|
+
500: `Internal server error`
|
|
3187
|
+
}
|
|
3188
|
+
});
|
|
3189
|
+
}
|
|
3190
|
+
/**
|
|
3191
|
+
* Revoke Env Type Access
|
|
3192
|
+
* Revoke a user or team's access to an environment type
|
|
3193
|
+
* @param id
|
|
3194
|
+
* @param requestBody
|
|
3195
|
+
* @returns PermissionMessageResponse Access revoked successfully
|
|
3196
|
+
* @throws ApiError
|
|
3197
|
+
*/
|
|
3198
|
+
revokeEnvTypeAccess(id, requestBody) {
|
|
3199
|
+
return this.httpRequest.request({
|
|
3200
|
+
method: "POST",
|
|
3201
|
+
url: "/api/permission/env_type/{id}/revoke",
|
|
3202
|
+
path: {
|
|
3203
|
+
"id": id
|
|
3204
|
+
},
|
|
3205
|
+
body: requestBody,
|
|
3206
|
+
mediaType: "application/json",
|
|
3207
|
+
errors: {
|
|
3208
|
+
500: `Internal server error`
|
|
3209
|
+
}
|
|
3210
|
+
});
|
|
3211
|
+
}
|
|
3212
|
+
/**
|
|
3213
|
+
* List Env Type Grants
|
|
3214
|
+
* List direct user and team grants on an environment type
|
|
3215
|
+
* @param id
|
|
3216
|
+
* @returns GrantsListResponse Env type grants listed successfully
|
|
3217
|
+
* @throws ApiError
|
|
3218
|
+
*/
|
|
3219
|
+
listEnvTypeGrants(id) {
|
|
3220
|
+
return this.httpRequest.request({
|
|
3221
|
+
method: "GET",
|
|
3222
|
+
url: "/api/permission/env_type/{id}/grants",
|
|
3223
|
+
path: {
|
|
3224
|
+
"id": id
|
|
3225
|
+
}
|
|
3226
|
+
});
|
|
3227
|
+
}
|
|
3228
|
+
};
|
|
3229
|
+
|
|
3230
|
+
// src/services/RolesService.ts
|
|
3231
|
+
var RolesService = class {
|
|
3232
|
+
constructor(httpRequest) {
|
|
3233
|
+
this.httpRequest = httpRequest;
|
|
3234
|
+
}
|
|
3235
|
+
/**
|
|
3236
|
+
* Get All Roles
|
|
3237
|
+
* Retrieve all roles in the organization
|
|
3238
|
+
* @returns RolesResponse Roles retrieved successfully
|
|
3239
|
+
* @throws ApiError
|
|
3240
|
+
*/
|
|
3241
|
+
getAllRoles() {
|
|
3242
|
+
return this.httpRequest.request({
|
|
3243
|
+
method: "GET",
|
|
3244
|
+
url: "/api/role",
|
|
3245
|
+
errors: {
|
|
3246
|
+
500: `Internal server error`
|
|
3247
|
+
}
|
|
3248
|
+
});
|
|
3249
|
+
}
|
|
3250
|
+
/**
|
|
3251
|
+
* Create Role
|
|
3252
|
+
* Create a new role in the organization
|
|
3253
|
+
* @param requestBody
|
|
3254
|
+
* @returns RoleResponse Role created successfully
|
|
3255
|
+
* @throws ApiError
|
|
3256
|
+
*/
|
|
3257
|
+
createRole(requestBody) {
|
|
3258
|
+
return this.httpRequest.request({
|
|
3259
|
+
method: "POST",
|
|
3260
|
+
url: "/api/role",
|
|
3261
|
+
body: requestBody,
|
|
3262
|
+
mediaType: "application/json",
|
|
3263
|
+
errors: {
|
|
3264
|
+
500: `Internal server error`
|
|
3265
|
+
}
|
|
3266
|
+
});
|
|
3267
|
+
}
|
|
3268
|
+
/**
|
|
3269
|
+
* Get Role Statistics
|
|
3270
|
+
* Retrieve statistics about roles in the organization
|
|
3271
|
+
* @returns RoleStatsResponse Role statistics retrieved successfully
|
|
3272
|
+
* @throws ApiError
|
|
3273
|
+
*/
|
|
3274
|
+
getRoleStats() {
|
|
3275
|
+
return this.httpRequest.request({
|
|
3276
|
+
method: "GET",
|
|
3277
|
+
url: "/api/role/stats",
|
|
3278
|
+
errors: {
|
|
3279
|
+
500: `Internal server error`
|
|
3280
|
+
}
|
|
3281
|
+
});
|
|
3282
|
+
}
|
|
3283
|
+
/**
|
|
3284
|
+
* Get Role
|
|
3285
|
+
* Retrieve a specific role by ID
|
|
3286
|
+
* @param id
|
|
3287
|
+
* @returns RoleResponse Role retrieved successfully
|
|
3288
|
+
* @throws ApiError
|
|
3289
|
+
*/
|
|
3290
|
+
getRole(id) {
|
|
3291
|
+
return this.httpRequest.request({
|
|
3292
|
+
method: "GET",
|
|
3293
|
+
url: "/api/role/{id}",
|
|
3294
|
+
path: {
|
|
3295
|
+
"id": id
|
|
3296
|
+
},
|
|
3297
|
+
errors: {
|
|
3298
|
+
500: `Internal server error`
|
|
3299
|
+
}
|
|
3300
|
+
});
|
|
3301
|
+
}
|
|
3302
|
+
/**
|
|
3303
|
+
* Update Role
|
|
3304
|
+
* Update an existing role
|
|
3305
|
+
* @param id
|
|
3306
|
+
* @param requestBody
|
|
3307
|
+
* @returns RoleResponse Role updated successfully
|
|
3308
|
+
* @throws ApiError
|
|
3309
|
+
*/
|
|
3310
|
+
updateRole(id, requestBody) {
|
|
3311
|
+
return this.httpRequest.request({
|
|
3312
|
+
method: "PATCH",
|
|
3313
|
+
url: "/api/role/{id}",
|
|
3314
|
+
path: {
|
|
3315
|
+
"id": id
|
|
3316
|
+
},
|
|
3317
|
+
body: requestBody,
|
|
3318
|
+
mediaType: "application/json",
|
|
3319
|
+
errors: {
|
|
3320
|
+
500: `Internal server error`
|
|
3321
|
+
}
|
|
3322
|
+
});
|
|
3323
|
+
}
|
|
3324
|
+
/**
|
|
3325
|
+
* Delete Role
|
|
3326
|
+
* Delete an existing role (non-master roles only)
|
|
3327
|
+
* @param id
|
|
3328
|
+
* @returns RoleResponse Role deleted successfully
|
|
3329
|
+
* @throws ApiError
|
|
3330
|
+
*/
|
|
3331
|
+
deleteRole(id) {
|
|
3332
|
+
return this.httpRequest.request({
|
|
3333
|
+
method: "DELETE",
|
|
3334
|
+
url: "/api/role/{id}",
|
|
3335
|
+
path: {
|
|
3336
|
+
"id": id
|
|
3337
|
+
},
|
|
3338
|
+
errors: {
|
|
3339
|
+
500: `Internal server error`
|
|
3340
|
+
}
|
|
3341
|
+
});
|
|
3342
|
+
}
|
|
3343
|
+
};
|
|
3344
|
+
|
|
3345
|
+
// src/services/RotationService.ts
|
|
3346
|
+
var RotationService = class {
|
|
3347
|
+
constructor(httpRequest) {
|
|
3348
|
+
this.httpRequest = httpRequest;
|
|
3349
|
+
}
|
|
3350
|
+
/**
|
|
3351
|
+
* Create Rotation Policy
|
|
3352
|
+
* Create a new secret rotation policy for a variable
|
|
2176
3353
|
* @param requestBody
|
|
2177
|
-
* @returns
|
|
3354
|
+
* @returns RotationPolicyResponse Rotation policy created successfully
|
|
2178
3355
|
* @throws ApiError
|
|
2179
3356
|
*/
|
|
2180
|
-
|
|
3357
|
+
createRotationPolicy(requestBody) {
|
|
2181
3358
|
return this.httpRequest.request({
|
|
2182
3359
|
method: "POST",
|
|
2183
|
-
url: "/api/
|
|
2184
|
-
path: {
|
|
2185
|
-
"app_id": appId
|
|
2186
|
-
},
|
|
3360
|
+
url: "/api/v1/manage/rotation",
|
|
2187
3361
|
body: requestBody,
|
|
2188
3362
|
mediaType: "application/json",
|
|
2189
3363
|
errors: {
|
|
3364
|
+
400: `Bad request`,
|
|
3365
|
+
403: `Forbidden`,
|
|
3366
|
+
409: `Conflict - policy already exists`,
|
|
2190
3367
|
500: `Internal server error`
|
|
2191
3368
|
}
|
|
2192
3369
|
});
|
|
2193
3370
|
}
|
|
2194
3371
|
/**
|
|
2195
|
-
*
|
|
2196
|
-
*
|
|
3372
|
+
* Get Rotation Policies
|
|
3373
|
+
* List all rotation policies for the organization
|
|
2197
3374
|
* @param appId
|
|
2198
|
-
* @param
|
|
2199
|
-
* @
|
|
3375
|
+
* @param envTypeId
|
|
3376
|
+
* @param enabled
|
|
3377
|
+
* @returns RotationPoliciesResponse Rotation policies retrieved successfully
|
|
2200
3378
|
* @throws ApiError
|
|
2201
3379
|
*/
|
|
2202
|
-
|
|
3380
|
+
getRotationPolicies(appId, envTypeId, enabled) {
|
|
2203
3381
|
return this.httpRequest.request({
|
|
2204
|
-
method: "
|
|
2205
|
-
url: "/api/
|
|
2206
|
-
|
|
2207
|
-
"app_id": appId
|
|
3382
|
+
method: "GET",
|
|
3383
|
+
url: "/api/v1/manage/rotation",
|
|
3384
|
+
query: {
|
|
3385
|
+
"app_id": appId,
|
|
3386
|
+
"env_type_id": envTypeId,
|
|
3387
|
+
"enabled": enabled
|
|
2208
3388
|
},
|
|
2209
|
-
body: requestBody,
|
|
2210
|
-
mediaType: "application/json",
|
|
2211
3389
|
errors: {
|
|
2212
3390
|
500: `Internal server error`
|
|
2213
3391
|
}
|
|
2214
3392
|
});
|
|
2215
3393
|
}
|
|
2216
3394
|
/**
|
|
2217
|
-
*
|
|
2218
|
-
*
|
|
2219
|
-
* @param
|
|
2220
|
-
* @returns
|
|
3395
|
+
* Get Rotation Policy
|
|
3396
|
+
* Get a specific rotation policy by ID
|
|
3397
|
+
* @param id
|
|
3398
|
+
* @returns RotationPolicyResponse Rotation policy retrieved successfully
|
|
2221
3399
|
* @throws ApiError
|
|
2222
3400
|
*/
|
|
2223
|
-
|
|
3401
|
+
getRotationPolicy(id) {
|
|
2224
3402
|
return this.httpRequest.request({
|
|
2225
3403
|
method: "GET",
|
|
2226
|
-
url: "/api/
|
|
3404
|
+
url: "/api/v1/manage/rotation/{id}",
|
|
2227
3405
|
path: {
|
|
2228
|
-
"
|
|
3406
|
+
"id": id
|
|
3407
|
+
},
|
|
3408
|
+
errors: {
|
|
3409
|
+
404: `Not found`,
|
|
3410
|
+
500: `Internal server error`
|
|
2229
3411
|
}
|
|
2230
3412
|
});
|
|
2231
3413
|
}
|
|
2232
3414
|
/**
|
|
2233
|
-
*
|
|
2234
|
-
*
|
|
2235
|
-
* @param
|
|
2236
|
-
* @
|
|
3415
|
+
* Update Rotation Policy
|
|
3416
|
+
* Update an existing rotation policy
|
|
3417
|
+
* @param id
|
|
3418
|
+
* @param requestBody
|
|
3419
|
+
* @returns RotationPolicyResponse Rotation policy updated successfully
|
|
2237
3420
|
* @throws ApiError
|
|
2238
3421
|
*/
|
|
2239
|
-
|
|
3422
|
+
updateRotationPolicy(id, requestBody) {
|
|
2240
3423
|
return this.httpRequest.request({
|
|
2241
|
-
method: "
|
|
2242
|
-
url: "/api/
|
|
3424
|
+
method: "PATCH",
|
|
3425
|
+
url: "/api/v1/manage/rotation/{id}",
|
|
2243
3426
|
path: {
|
|
2244
|
-
"
|
|
3427
|
+
"id": id
|
|
3428
|
+
},
|
|
3429
|
+
body: requestBody,
|
|
3430
|
+
mediaType: "application/json",
|
|
3431
|
+
errors: {
|
|
3432
|
+
403: `Forbidden`,
|
|
3433
|
+
404: `Not found`,
|
|
3434
|
+
500: `Internal server error`
|
|
2245
3435
|
}
|
|
2246
3436
|
});
|
|
2247
3437
|
}
|
|
2248
3438
|
/**
|
|
2249
|
-
*
|
|
2250
|
-
*
|
|
3439
|
+
* Delete Rotation Policy
|
|
3440
|
+
* Delete a rotation policy
|
|
2251
3441
|
* @param id
|
|
2252
|
-
* @
|
|
2253
|
-
* @returns PermissionMessageResponse Access granted successfully
|
|
3442
|
+
* @returns ErrorResponse Rotation policy deleted successfully
|
|
2254
3443
|
* @throws ApiError
|
|
2255
3444
|
*/
|
|
2256
|
-
|
|
3445
|
+
deleteRotationPolicy(id) {
|
|
2257
3446
|
return this.httpRequest.request({
|
|
2258
|
-
method: "
|
|
2259
|
-
url: "/api/
|
|
3447
|
+
method: "DELETE",
|
|
3448
|
+
url: "/api/v1/manage/rotation/{id}",
|
|
2260
3449
|
path: {
|
|
2261
3450
|
"id": id
|
|
2262
3451
|
},
|
|
2263
|
-
body: requestBody,
|
|
2264
|
-
mediaType: "application/json",
|
|
2265
3452
|
errors: {
|
|
3453
|
+
403: `Forbidden`,
|
|
3454
|
+
404: `Not found`,
|
|
2266
3455
|
500: `Internal server error`
|
|
2267
3456
|
}
|
|
2268
3457
|
});
|
|
2269
3458
|
}
|
|
2270
3459
|
/**
|
|
2271
|
-
*
|
|
2272
|
-
*
|
|
3460
|
+
* Trigger Rotation
|
|
3461
|
+
* Manually trigger a secret rotation for a policy
|
|
2273
3462
|
* @param id
|
|
2274
|
-
* @
|
|
2275
|
-
* @returns PermissionMessageResponse Access revoked successfully
|
|
3463
|
+
* @returns TriggerRotationResponse Rotation executed successfully
|
|
2276
3464
|
* @throws ApiError
|
|
2277
3465
|
*/
|
|
2278
|
-
|
|
3466
|
+
triggerRotation(id) {
|
|
2279
3467
|
return this.httpRequest.request({
|
|
2280
3468
|
method: "POST",
|
|
2281
|
-
url: "/api/
|
|
3469
|
+
url: "/api/v1/manage/rotation/{id}/rotate",
|
|
2282
3470
|
path: {
|
|
2283
3471
|
"id": id
|
|
2284
3472
|
},
|
|
2285
|
-
body: requestBody,
|
|
2286
|
-
mediaType: "application/json",
|
|
2287
3473
|
errors: {
|
|
3474
|
+
403: `Forbidden`,
|
|
3475
|
+
404: `Not found`,
|
|
3476
|
+
409: `Conflict - policy disabled`,
|
|
2288
3477
|
500: `Internal server error`
|
|
2289
3478
|
}
|
|
2290
3479
|
});
|
|
2291
3480
|
}
|
|
2292
3481
|
/**
|
|
2293
|
-
*
|
|
2294
|
-
*
|
|
3482
|
+
* Get Rotation States
|
|
3483
|
+
* Get the rotation state history for a policy
|
|
2295
3484
|
* @param id
|
|
2296
|
-
* @returns
|
|
3485
|
+
* @returns RotationStatesResponse Rotation states retrieved successfully
|
|
2297
3486
|
* @throws ApiError
|
|
2298
3487
|
*/
|
|
2299
|
-
|
|
3488
|
+
getRotationStates(id) {
|
|
2300
3489
|
return this.httpRequest.request({
|
|
2301
3490
|
method: "GET",
|
|
2302
|
-
url: "/api/
|
|
3491
|
+
url: "/api/v1/manage/rotation/{id}/states",
|
|
2303
3492
|
path: {
|
|
2304
3493
|
"id": id
|
|
3494
|
+
},
|
|
3495
|
+
errors: {
|
|
3496
|
+
404: `Not found`,
|
|
3497
|
+
500: `Internal server error`
|
|
2305
3498
|
}
|
|
2306
3499
|
});
|
|
2307
3500
|
}
|
|
2308
|
-
};
|
|
2309
|
-
|
|
2310
|
-
// src/services/RolesService.ts
|
|
2311
|
-
var RolesService = class {
|
|
2312
|
-
constructor(httpRequest) {
|
|
2313
|
-
this.httpRequest = httpRequest;
|
|
2314
|
-
}
|
|
2315
3501
|
/**
|
|
2316
|
-
*
|
|
2317
|
-
*
|
|
2318
|
-
* @returns
|
|
3502
|
+
* Revoke Expired Credentials
|
|
3503
|
+
* Revoke old credentials that have passed their dual-credential window
|
|
3504
|
+
* @returns RevokeOldCredentialResponse Expired credentials revoked successfully
|
|
2319
3505
|
* @throws ApiError
|
|
2320
3506
|
*/
|
|
2321
|
-
|
|
3507
|
+
revokeExpiredCredentials() {
|
|
2322
3508
|
return this.httpRequest.request({
|
|
2323
|
-
method: "
|
|
2324
|
-
url: "/api/
|
|
3509
|
+
method: "POST",
|
|
3510
|
+
url: "/api/v1/manage/rotation/revoke-expired",
|
|
2325
3511
|
errors: {
|
|
2326
3512
|
500: `Internal server error`
|
|
2327
3513
|
}
|
|
2328
3514
|
});
|
|
2329
3515
|
}
|
|
3516
|
+
};
|
|
3517
|
+
|
|
3518
|
+
// src/services/SamlProvidersService.ts
|
|
3519
|
+
var SamlProvidersService = class {
|
|
3520
|
+
constructor(httpRequest) {
|
|
3521
|
+
this.httpRequest = httpRequest;
|
|
3522
|
+
}
|
|
2330
3523
|
/**
|
|
2331
|
-
*
|
|
2332
|
-
*
|
|
3524
|
+
* Register SAML Provider
|
|
3525
|
+
* Register a new SAML identity provider for SSO authentication
|
|
2333
3526
|
* @param requestBody
|
|
2334
|
-
* @returns
|
|
3527
|
+
* @returns SamlProviderResponse SAML provider created successfully
|
|
2335
3528
|
* @throws ApiError
|
|
2336
3529
|
*/
|
|
2337
|
-
|
|
3530
|
+
createSamlProvider(requestBody) {
|
|
2338
3531
|
return this.httpRequest.request({
|
|
2339
3532
|
method: "POST",
|
|
2340
|
-
url: "/api/
|
|
3533
|
+
url: "/api/v1/manage/saml",
|
|
2341
3534
|
body: requestBody,
|
|
2342
3535
|
mediaType: "application/json",
|
|
2343
3536
|
errors: {
|
|
@@ -2346,31 +3539,31 @@ var RolesService = class {
|
|
|
2346
3539
|
});
|
|
2347
3540
|
}
|
|
2348
3541
|
/**
|
|
2349
|
-
* Get
|
|
2350
|
-
* Retrieve
|
|
2351
|
-
* @returns
|
|
3542
|
+
* Get All SAML Providers
|
|
3543
|
+
* Retrieve all SAML providers for the organization
|
|
3544
|
+
* @returns SamlProvidersResponse SAML providers retrieved successfully
|
|
2352
3545
|
* @throws ApiError
|
|
2353
3546
|
*/
|
|
2354
|
-
|
|
3547
|
+
getAllSamlProviders() {
|
|
2355
3548
|
return this.httpRequest.request({
|
|
2356
3549
|
method: "GET",
|
|
2357
|
-
url: "/api/
|
|
3550
|
+
url: "/api/v1/manage/saml",
|
|
2358
3551
|
errors: {
|
|
2359
3552
|
500: `Internal server error`
|
|
2360
3553
|
}
|
|
2361
3554
|
});
|
|
2362
3555
|
}
|
|
2363
3556
|
/**
|
|
2364
|
-
* Get
|
|
2365
|
-
* Retrieve a specific
|
|
3557
|
+
* Get SAML Provider
|
|
3558
|
+
* Retrieve a specific SAML provider
|
|
2366
3559
|
* @param id
|
|
2367
|
-
* @returns
|
|
3560
|
+
* @returns SamlProviderResponse SAML provider retrieved successfully
|
|
2368
3561
|
* @throws ApiError
|
|
2369
3562
|
*/
|
|
2370
|
-
|
|
3563
|
+
getSamlProvider(id) {
|
|
2371
3564
|
return this.httpRequest.request({
|
|
2372
3565
|
method: "GET",
|
|
2373
|
-
url: "/api/
|
|
3566
|
+
url: "/api/v1/manage/saml/{id}",
|
|
2374
3567
|
path: {
|
|
2375
3568
|
"id": id
|
|
2376
3569
|
},
|
|
@@ -2380,17 +3573,17 @@ var RolesService = class {
|
|
|
2380
3573
|
});
|
|
2381
3574
|
}
|
|
2382
3575
|
/**
|
|
2383
|
-
* Update
|
|
2384
|
-
* Update an existing
|
|
3576
|
+
* Update SAML Provider
|
|
3577
|
+
* Update an existing SAML provider
|
|
2385
3578
|
* @param id
|
|
2386
3579
|
* @param requestBody
|
|
2387
|
-
* @returns
|
|
3580
|
+
* @returns ErrorResponse SAML provider updated successfully
|
|
2388
3581
|
* @throws ApiError
|
|
2389
3582
|
*/
|
|
2390
|
-
|
|
3583
|
+
updateSamlProvider(id, requestBody) {
|
|
2391
3584
|
return this.httpRequest.request({
|
|
2392
|
-
method: "
|
|
2393
|
-
url: "/api/
|
|
3585
|
+
method: "PUT",
|
|
3586
|
+
url: "/api/v1/manage/saml/{id}",
|
|
2394
3587
|
path: {
|
|
2395
3588
|
"id": id
|
|
2396
3589
|
},
|
|
@@ -2402,16 +3595,16 @@ var RolesService = class {
|
|
|
2402
3595
|
});
|
|
2403
3596
|
}
|
|
2404
3597
|
/**
|
|
2405
|
-
* Delete
|
|
2406
|
-
* Delete an existing
|
|
3598
|
+
* Delete SAML Provider
|
|
3599
|
+
* Delete an existing SAML provider
|
|
2407
3600
|
* @param id
|
|
2408
|
-
* @returns
|
|
3601
|
+
* @returns ErrorResponse SAML provider deleted successfully
|
|
2409
3602
|
* @throws ApiError
|
|
2410
3603
|
*/
|
|
2411
|
-
|
|
3604
|
+
deleteSamlProvider(id) {
|
|
2412
3605
|
return this.httpRequest.request({
|
|
2413
3606
|
method: "DELETE",
|
|
2414
|
-
url: "/api/
|
|
3607
|
+
url: "/api/v1/manage/saml/{id}",
|
|
2415
3608
|
path: {
|
|
2416
3609
|
"id": id
|
|
2417
3610
|
},
|
|
@@ -2420,6 +3613,66 @@ var RolesService = class {
|
|
|
2420
3613
|
}
|
|
2421
3614
|
});
|
|
2422
3615
|
}
|
|
3616
|
+
/**
|
|
3617
|
+
* Get SAML SP Metadata
|
|
3618
|
+
* Retrieve SAML Service Provider metadata XML for the organization
|
|
3619
|
+
* @param id
|
|
3620
|
+
* @returns string SP metadata XML
|
|
3621
|
+
* @throws ApiError
|
|
3622
|
+
*/
|
|
3623
|
+
getSamlMetadata(id) {
|
|
3624
|
+
return this.httpRequest.request({
|
|
3625
|
+
method: "GET",
|
|
3626
|
+
url: "/api/v1/manage/saml/{id}/metadata",
|
|
3627
|
+
path: {
|
|
3628
|
+
"id": id
|
|
3629
|
+
}
|
|
3630
|
+
});
|
|
3631
|
+
}
|
|
3632
|
+
};
|
|
3633
|
+
|
|
3634
|
+
// src/services/SamlSsoService.ts
|
|
3635
|
+
var SamlSsoService = class {
|
|
3636
|
+
constructor(httpRequest) {
|
|
3637
|
+
this.httpRequest = httpRequest;
|
|
3638
|
+
}
|
|
3639
|
+
/**
|
|
3640
|
+
* Initiate SAML SSO
|
|
3641
|
+
* Start SP-initiated SAML SSO flow by generating an AuthnRequest redirect URL
|
|
3642
|
+
* @param requestBody
|
|
3643
|
+
* @returns SamlSsoResponse Redirect URL generated
|
|
3644
|
+
* @throws ApiError
|
|
3645
|
+
*/
|
|
3646
|
+
initiateSamlSso(requestBody) {
|
|
3647
|
+
return this.httpRequest.request({
|
|
3648
|
+
method: "POST",
|
|
3649
|
+
url: "/api/v1/manage/saml/sso",
|
|
3650
|
+
body: requestBody,
|
|
3651
|
+
mediaType: "application/json",
|
|
3652
|
+
errors: {
|
|
3653
|
+
500: `Internal server error`
|
|
3654
|
+
}
|
|
3655
|
+
});
|
|
3656
|
+
}
|
|
3657
|
+
/**
|
|
3658
|
+
* SAML Assertion Consumer Service
|
|
3659
|
+
* Receive and validate SAML Response from the identity provider (ACS endpoint)
|
|
3660
|
+
* @param orgId
|
|
3661
|
+
* @returns any Authentication successful
|
|
3662
|
+
* @throws ApiError
|
|
3663
|
+
*/
|
|
3664
|
+
handleSamlAcs(orgId) {
|
|
3665
|
+
return this.httpRequest.request({
|
|
3666
|
+
method: "POST",
|
|
3667
|
+
url: "/api/v1/manage/saml/acs/{orgId}",
|
|
3668
|
+
path: {
|
|
3669
|
+
"orgId": orgId
|
|
3670
|
+
},
|
|
3671
|
+
errors: {
|
|
3672
|
+
401: `Authentication failed`
|
|
3673
|
+
}
|
|
3674
|
+
});
|
|
3675
|
+
}
|
|
2423
3676
|
};
|
|
2424
3677
|
|
|
2425
3678
|
// src/services/SecretsService.ts
|
|
@@ -2883,6 +4136,46 @@ var ServiceTokensService = class {
|
|
|
2883
4136
|
}
|
|
2884
4137
|
};
|
|
2885
4138
|
|
|
4139
|
+
// src/services/SetupService.ts
|
|
4140
|
+
var SetupService = class {
|
|
4141
|
+
constructor(httpRequest) {
|
|
4142
|
+
this.httpRequest = httpRequest;
|
|
4143
|
+
}
|
|
4144
|
+
/**
|
|
4145
|
+
* Operator setup status (self-host)
|
|
4146
|
+
* @returns SetupStatusResponse Setup status
|
|
4147
|
+
* @throws ApiError
|
|
4148
|
+
*/
|
|
4149
|
+
getSetupStatus() {
|
|
4150
|
+
return this.httpRequest.request({
|
|
4151
|
+
method: "GET",
|
|
4152
|
+
url: "/api/setup/status",
|
|
4153
|
+
errors: {
|
|
4154
|
+
401: `Invalid setup token`
|
|
4155
|
+
}
|
|
4156
|
+
});
|
|
4157
|
+
}
|
|
4158
|
+
/**
|
|
4159
|
+
* Create organization via operator setup token (self-host only)
|
|
4160
|
+
* @param requestBody
|
|
4161
|
+
* @returns any Organization created
|
|
4162
|
+
* @throws ApiError
|
|
4163
|
+
*/
|
|
4164
|
+
createSetupOrganization(requestBody) {
|
|
4165
|
+
return this.httpRequest.request({
|
|
4166
|
+
method: "POST",
|
|
4167
|
+
url: "/api/setup/org",
|
|
4168
|
+
body: requestBody,
|
|
4169
|
+
mediaType: "application/json",
|
|
4170
|
+
errors: {
|
|
4171
|
+
400: `Invalid request`,
|
|
4172
|
+
401: `Invalid setup token`,
|
|
4173
|
+
403: `Channel forbidden`
|
|
4174
|
+
}
|
|
4175
|
+
});
|
|
4176
|
+
}
|
|
4177
|
+
};
|
|
4178
|
+
|
|
2886
4179
|
// src/services/SystemService.ts
|
|
2887
4180
|
var SystemService = class {
|
|
2888
4181
|
constructor(httpRequest) {
|
|
@@ -2902,6 +4195,20 @@ var SystemService = class {
|
|
|
2902
4195
|
}
|
|
2903
4196
|
});
|
|
2904
4197
|
}
|
|
4198
|
+
/**
|
|
4199
|
+
* Get Management System Status
|
|
4200
|
+
* @returns SystemStatusResponse Management system status
|
|
4201
|
+
* @throws ApiError
|
|
4202
|
+
*/
|
|
4203
|
+
manageGetManagementSystemStatus() {
|
|
4204
|
+
return this.httpRequest.request({
|
|
4205
|
+
method: "GET",
|
|
4206
|
+
url: "/api/v1/manage/system/status",
|
|
4207
|
+
errors: {
|
|
4208
|
+
500: `Internal server error`
|
|
4209
|
+
}
|
|
4210
|
+
});
|
|
4211
|
+
}
|
|
2905
4212
|
};
|
|
2906
4213
|
|
|
2907
4214
|
// src/services/TeamsService.ts
|
|
@@ -3192,7 +4499,7 @@ var UsersService = class {
|
|
|
3192
4499
|
* @returns UserResponse User role updated successfully
|
|
3193
4500
|
* @throws ApiError
|
|
3194
4501
|
*/
|
|
3195
|
-
|
|
4502
|
+
updateUserRole(id, requestBody) {
|
|
3196
4503
|
return this.httpRequest.request({
|
|
3197
4504
|
method: "PATCH",
|
|
3198
4505
|
url: "/api/user/role/{id}",
|
|
@@ -3336,20 +4643,29 @@ var EnvSyncAPISDK = class {
|
|
|
3336
4643
|
authentication;
|
|
3337
4644
|
certificates;
|
|
3338
4645
|
changeRequests;
|
|
4646
|
+
dynamicSecrets;
|
|
4647
|
+
enterprise;
|
|
3339
4648
|
environmentTypes;
|
|
3340
4649
|
environmentVariables;
|
|
3341
4650
|
environmentVariablesPointInTime;
|
|
3342
4651
|
environmentVariablesRollback;
|
|
3343
4652
|
fileUpload;
|
|
3344
4653
|
gpgKeys;
|
|
4654
|
+
license;
|
|
4655
|
+
logForwarding;
|
|
4656
|
+
oidcProviders;
|
|
3345
4657
|
onboarding;
|
|
3346
4658
|
organizations;
|
|
3347
4659
|
permissions;
|
|
3348
4660
|
roles;
|
|
4661
|
+
rotation;
|
|
4662
|
+
samlProviders;
|
|
4663
|
+
samlSso;
|
|
3349
4664
|
secrets;
|
|
3350
4665
|
secretsPointInTime;
|
|
3351
4666
|
secretsRollback;
|
|
3352
4667
|
serviceTokens;
|
|
4668
|
+
setup;
|
|
3353
4669
|
system;
|
|
3354
4670
|
teams;
|
|
3355
4671
|
users;
|
|
@@ -3358,7 +4674,7 @@ var EnvSyncAPISDK = class {
|
|
|
3358
4674
|
constructor(config, HttpRequest = FetchHttpRequest) {
|
|
3359
4675
|
this.request = new HttpRequest({
|
|
3360
4676
|
BASE: config?.BASE ?? "http://localhost:4000",
|
|
3361
|
-
VERSION: config?.VERSION ?? "0.
|
|
4677
|
+
VERSION: config?.VERSION ?? "0.20.0",
|
|
3362
4678
|
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
3363
4679
|
CREDENTIALS: config?.CREDENTIALS ?? "include",
|
|
3364
4680
|
TOKEN: config?.TOKEN,
|
|
@@ -3374,20 +4690,29 @@ var EnvSyncAPISDK = class {
|
|
|
3374
4690
|
this.authentication = new AuthenticationService(this.request);
|
|
3375
4691
|
this.certificates = new CertificatesService(this.request);
|
|
3376
4692
|
this.changeRequests = new ChangeRequestsService(this.request);
|
|
4693
|
+
this.dynamicSecrets = new DynamicSecretsService(this.request);
|
|
4694
|
+
this.enterprise = new EnterpriseService(this.request);
|
|
3377
4695
|
this.environmentTypes = new EnvironmentTypesService(this.request);
|
|
3378
4696
|
this.environmentVariables = new EnvironmentVariablesService(this.request);
|
|
3379
4697
|
this.environmentVariablesPointInTime = new EnvironmentVariablesPointInTimeService(this.request);
|
|
3380
4698
|
this.environmentVariablesRollback = new EnvironmentVariablesRollbackService(this.request);
|
|
3381
4699
|
this.fileUpload = new FileUploadService(this.request);
|
|
3382
4700
|
this.gpgKeys = new GpgKeysService(this.request);
|
|
4701
|
+
this.license = new LicenseService(this.request);
|
|
4702
|
+
this.logForwarding = new LogForwardingService(this.request);
|
|
4703
|
+
this.oidcProviders = new OidcProvidersService(this.request);
|
|
3383
4704
|
this.onboarding = new OnboardingService(this.request);
|
|
3384
4705
|
this.organizations = new OrganizationsService(this.request);
|
|
3385
4706
|
this.permissions = new PermissionsService(this.request);
|
|
3386
4707
|
this.roles = new RolesService(this.request);
|
|
4708
|
+
this.rotation = new RotationService(this.request);
|
|
4709
|
+
this.samlProviders = new SamlProvidersService(this.request);
|
|
4710
|
+
this.samlSso = new SamlSsoService(this.request);
|
|
3387
4711
|
this.secrets = new SecretsService(this.request);
|
|
3388
4712
|
this.secretsPointInTime = new SecretsPointInTimeService(this.request);
|
|
3389
4713
|
this.secretsRollback = new SecretsRollbackService(this.request);
|
|
3390
4714
|
this.serviceTokens = new ServiceTokensService(this.request);
|
|
4715
|
+
this.setup = new SetupService(this.request);
|
|
3391
4716
|
this.system = new SystemService(this.request);
|
|
3392
4717
|
this.teams = new TeamsService(this.request);
|
|
3393
4718
|
this.users = new UsersService(this.request);
|
|
@@ -3398,7 +4723,7 @@ var EnvSyncAPISDK = class {
|
|
|
3398
4723
|
// src/core/OpenAPI.ts
|
|
3399
4724
|
var OpenAPI = {
|
|
3400
4725
|
BASE: "http://localhost:4000",
|
|
3401
|
-
VERSION: "0.
|
|
4726
|
+
VERSION: "0.20.0",
|
|
3402
4727
|
WITH_CREDENTIALS: false,
|
|
3403
4728
|
CREDENTIALS: "include",
|
|
3404
4729
|
TOKEN: void 0,
|
|
@@ -3425,6 +4750,118 @@ var ChangeRequestResponse;
|
|
|
3425
4750
|
})(status = ChangeRequestResponse2.status || (ChangeRequestResponse2.status = {}));
|
|
3426
4751
|
})(ChangeRequestResponse || (ChangeRequestResponse = {}));
|
|
3427
4752
|
|
|
4753
|
+
// src/models/CreateDynamicSecretEngineRequest.ts
|
|
4754
|
+
var CreateDynamicSecretEngineRequest;
|
|
4755
|
+
((CreateDynamicSecretEngineRequest2) => {
|
|
4756
|
+
let engine_type;
|
|
4757
|
+
((engine_type2) => {
|
|
4758
|
+
engine_type2["POSTGRES"] = "postgres";
|
|
4759
|
+
engine_type2["MYSQL"] = "mysql";
|
|
4760
|
+
engine_type2["AWS_IAM"] = "aws-iam";
|
|
4761
|
+
engine_type2["AZURE_SP"] = "azure-sp";
|
|
4762
|
+
})(engine_type = CreateDynamicSecretEngineRequest2.engine_type || (CreateDynamicSecretEngineRequest2.engine_type = {}));
|
|
4763
|
+
})(CreateDynamicSecretEngineRequest || (CreateDynamicSecretEngineRequest = {}));
|
|
4764
|
+
|
|
4765
|
+
// src/models/CreateIntegrationBindingRequest.ts
|
|
4766
|
+
var CreateIntegrationBindingRequest;
|
|
4767
|
+
((CreateIntegrationBindingRequest2) => {
|
|
4768
|
+
let provider_type;
|
|
4769
|
+
((provider_type2) => {
|
|
4770
|
+
provider_type2["GITHUB"] = "github";
|
|
4771
|
+
provider_type2["GITLAB"] = "gitlab";
|
|
4772
|
+
provider_type2["AWS_SSM"] = "aws-ssm";
|
|
4773
|
+
provider_type2["VERCEL"] = "vercel";
|
|
4774
|
+
provider_type2["GOOGLE_SECRET_MANAGER"] = "google-secret-manager";
|
|
4775
|
+
})(provider_type = CreateIntegrationBindingRequest2.provider_type || (CreateIntegrationBindingRequest2.provider_type = {}));
|
|
4776
|
+
})(CreateIntegrationBindingRequest || (CreateIntegrationBindingRequest = {}));
|
|
4777
|
+
|
|
4778
|
+
// src/models/CreateLogForwardingRequest.ts
|
|
4779
|
+
var CreateLogForwardingRequest;
|
|
4780
|
+
((CreateLogForwardingRequest2) => {
|
|
4781
|
+
let provider_type;
|
|
4782
|
+
((provider_type2) => {
|
|
4783
|
+
provider_type2["DATADOG"] = "datadog";
|
|
4784
|
+
provider_type2["SPLUNK"] = "splunk";
|
|
4785
|
+
provider_type2["SUMO_LOGIC"] = "sumo-logic";
|
|
4786
|
+
})(provider_type = CreateLogForwardingRequest2.provider_type || (CreateLogForwardingRequest2.provider_type = {}));
|
|
4787
|
+
})(CreateLogForwardingRequest || (CreateLogForwardingRequest = {}));
|
|
4788
|
+
|
|
4789
|
+
// src/models/CreateManualSyncRunRequest.ts
|
|
4790
|
+
var CreateManualSyncRunRequest;
|
|
4791
|
+
((CreateManualSyncRunRequest2) => {
|
|
4792
|
+
let provider_type;
|
|
4793
|
+
((provider_type2) => {
|
|
4794
|
+
provider_type2["GITHUB"] = "github";
|
|
4795
|
+
provider_type2["GITLAB"] = "gitlab";
|
|
4796
|
+
provider_type2["AWS_SSM"] = "aws-ssm";
|
|
4797
|
+
provider_type2["VERCEL"] = "vercel";
|
|
4798
|
+
provider_type2["GOOGLE_SECRET_MANAGER"] = "google-secret-manager";
|
|
4799
|
+
})(provider_type = CreateManualSyncRunRequest2.provider_type || (CreateManualSyncRunRequest2.provider_type = {}));
|
|
4800
|
+
})(CreateManualSyncRunRequest || (CreateManualSyncRunRequest = {}));
|
|
4801
|
+
|
|
4802
|
+
// src/models/CreateOidcProviderRequest.ts
|
|
4803
|
+
var CreateOidcProviderRequest;
|
|
4804
|
+
((CreateOidcProviderRequest2) => {
|
|
4805
|
+
let provider_type;
|
|
4806
|
+
((provider_type2) => {
|
|
4807
|
+
provider_type2["GITHUB_ACTIONS"] = "github_actions";
|
|
4808
|
+
provider_type2["GITLAB_CI"] = "gitlab_ci";
|
|
4809
|
+
provider_type2["KUBERNETES"] = "kubernetes";
|
|
4810
|
+
provider_type2["GENERIC"] = "generic";
|
|
4811
|
+
})(provider_type = CreateOidcProviderRequest2.provider_type || (CreateOidcProviderRequest2.provider_type = {}));
|
|
4812
|
+
})(CreateOidcProviderRequest || (CreateOidcProviderRequest = {}));
|
|
4813
|
+
|
|
4814
|
+
// src/models/CreateProviderConnectionRequest.ts
|
|
4815
|
+
var CreateProviderConnectionRequest;
|
|
4816
|
+
((CreateProviderConnectionRequest2) => {
|
|
4817
|
+
let provider_type;
|
|
4818
|
+
((provider_type2) => {
|
|
4819
|
+
provider_type2["GITHUB"] = "github";
|
|
4820
|
+
provider_type2["GITLAB"] = "gitlab";
|
|
4821
|
+
provider_type2["AWS_SSM"] = "aws-ssm";
|
|
4822
|
+
provider_type2["VERCEL"] = "vercel";
|
|
4823
|
+
provider_type2["GOOGLE_SECRET_MANAGER"] = "google-secret-manager";
|
|
4824
|
+
})(provider_type = CreateProviderConnectionRequest2.provider_type || (CreateProviderConnectionRequest2.provider_type = {}));
|
|
4825
|
+
let status;
|
|
4826
|
+
((status2) => {
|
|
4827
|
+
status2["ACTIVE"] = "active";
|
|
4828
|
+
status2["INACTIVE"] = "inactive";
|
|
4829
|
+
status2["ERROR"] = "error";
|
|
4830
|
+
})(status = CreateProviderConnectionRequest2.status || (CreateProviderConnectionRequest2.status = {}));
|
|
4831
|
+
})(CreateProviderConnectionRequest || (CreateProviderConnectionRequest = {}));
|
|
4832
|
+
|
|
4833
|
+
// src/models/CreateRotationPolicyRequest.ts
|
|
4834
|
+
var CreateRotationPolicyRequest;
|
|
4835
|
+
((CreateRotationPolicyRequest2) => {
|
|
4836
|
+
let engine_type;
|
|
4837
|
+
((engine_type2) => {
|
|
4838
|
+
engine_type2["POSTGRES"] = "postgres";
|
|
4839
|
+
engine_type2["MYSQL"] = "mysql";
|
|
4840
|
+
engine_type2["AWS_IAM"] = "aws-iam";
|
|
4841
|
+
engine_type2["AZURE_SP"] = "azure-sp";
|
|
4842
|
+
engine_type2["GCP_SERVICE_ACCOUNT"] = "gcp-service-account";
|
|
4843
|
+
engine_type2["CLOUDFLARE_PAGES"] = "cloudflare-pages";
|
|
4844
|
+
engine_type2["SENDGRID"] = "sendgrid";
|
|
4845
|
+
engine_type2["TWILIO"] = "twilio";
|
|
4846
|
+
})(engine_type = CreateRotationPolicyRequest2.engine_type || (CreateRotationPolicyRequest2.engine_type = {}));
|
|
4847
|
+
})(CreateRotationPolicyRequest || (CreateRotationPolicyRequest = {}));
|
|
4848
|
+
|
|
4849
|
+
// src/models/CreateSamlProviderRequest.ts
|
|
4850
|
+
var CreateSamlProviderRequest;
|
|
4851
|
+
((CreateSamlProviderRequest2) => {
|
|
4852
|
+
let provider_type;
|
|
4853
|
+
((provider_type2) => {
|
|
4854
|
+
provider_type2["OKTA"] = "okta";
|
|
4855
|
+
provider_type2["ONELOGIN"] = "onelogin";
|
|
4856
|
+
provider_type2["AZURE_AD"] = "azure-ad";
|
|
4857
|
+
provider_type2["GOOGLE_WORKSPACE"] = "google-workspace";
|
|
4858
|
+
provider_type2["DUO"] = "duo";
|
|
4859
|
+
provider_type2["RIPPLING"] = "rippling";
|
|
4860
|
+
provider_type2["ORACLE"] = "oracle";
|
|
4861
|
+
provider_type2["PING_IDENTITY"] = "ping-identity";
|
|
4862
|
+
})(provider_type = CreateSamlProviderRequest2.provider_type || (CreateSamlProviderRequest2.provider_type = {}));
|
|
4863
|
+
})(CreateSamlProviderRequest || (CreateSamlProviderRequest = {}));
|
|
4864
|
+
|
|
3428
4865
|
// src/models/CreateWebhookRequest.ts
|
|
3429
4866
|
var CreateWebhookRequest;
|
|
3430
4867
|
((CreateWebhookRequest2) => {
|
|
@@ -3448,6 +4885,18 @@ var CreateWebhookRequest;
|
|
|
3448
4885
|
})(linked_to = CreateWebhookRequest2.linked_to || (CreateWebhookRequest2.linked_to = {}));
|
|
3449
4886
|
})(CreateWebhookRequest || (CreateWebhookRequest = {}));
|
|
3450
4887
|
|
|
4888
|
+
// src/models/DynamicSecretEngineResponse.ts
|
|
4889
|
+
var DynamicSecretEngineResponse;
|
|
4890
|
+
((DynamicSecretEngineResponse2) => {
|
|
4891
|
+
let engine_type;
|
|
4892
|
+
((engine_type2) => {
|
|
4893
|
+
engine_type2["POSTGRES"] = "postgres";
|
|
4894
|
+
engine_type2["MYSQL"] = "mysql";
|
|
4895
|
+
engine_type2["AWS_IAM"] = "aws-iam";
|
|
4896
|
+
engine_type2["AZURE_SP"] = "azure-sp";
|
|
4897
|
+
})(engine_type = DynamicSecretEngineResponse2.engine_type || (DynamicSecretEngineResponse2.engine_type = {}));
|
|
4898
|
+
})(DynamicSecretEngineResponse || (DynamicSecretEngineResponse = {}));
|
|
4899
|
+
|
|
3451
4900
|
// src/models/EffectiveAccessEntry.ts
|
|
3452
4901
|
var EffectiveAccessEntry;
|
|
3453
4902
|
((EffectiveAccessEntry2) => {
|
|
@@ -3477,6 +4926,19 @@ var EffectiveAccessEntry;
|
|
|
3477
4926
|
})(team_relation = EffectiveAccessEntry2.team_relation || (EffectiveAccessEntry2.team_relation = {}));
|
|
3478
4927
|
})(EffectiveAccessEntry || (EffectiveAccessEntry = {}));
|
|
3479
4928
|
|
|
4929
|
+
// src/models/EnterpriseProviderProfile.ts
|
|
4930
|
+
var EnterpriseProviderProfile;
|
|
4931
|
+
((EnterpriseProviderProfile2) => {
|
|
4932
|
+
let id;
|
|
4933
|
+
((id2) => {
|
|
4934
|
+
id2["GITHUB"] = "github";
|
|
4935
|
+
id2["GITLAB"] = "gitlab";
|
|
4936
|
+
id2["AWS_SSM"] = "aws-ssm";
|
|
4937
|
+
id2["VERCEL"] = "vercel";
|
|
4938
|
+
id2["GOOGLE_SECRET_MANAGER"] = "google-secret-manager";
|
|
4939
|
+
})(id = EnterpriseProviderProfile2.id || (EnterpriseProviderProfile2.id = {}));
|
|
4940
|
+
})(EnterpriseProviderProfile || (EnterpriseProviderProfile = {}));
|
|
4941
|
+
|
|
3480
4942
|
// src/models/ExportEnvRequest.ts
|
|
3481
4943
|
var ExportEnvRequest;
|
|
3482
4944
|
((ExportEnvRequest2) => {
|
|
@@ -3538,6 +5000,19 @@ var GrantEntry;
|
|
|
3538
5000
|
})(relation = GrantEntry2.relation || (GrantEntry2.relation = {}));
|
|
3539
5001
|
})(GrantEntry || (GrantEntry = {}));
|
|
3540
5002
|
|
|
5003
|
+
// src/models/IntegrationBinding.ts
|
|
5004
|
+
var IntegrationBinding;
|
|
5005
|
+
((IntegrationBinding2) => {
|
|
5006
|
+
let provider_type;
|
|
5007
|
+
((provider_type2) => {
|
|
5008
|
+
provider_type2["GITHUB"] = "github";
|
|
5009
|
+
provider_type2["GITLAB"] = "gitlab";
|
|
5010
|
+
provider_type2["AWS_SSM"] = "aws-ssm";
|
|
5011
|
+
provider_type2["VERCEL"] = "vercel";
|
|
5012
|
+
provider_type2["GOOGLE_SECRET_MANAGER"] = "google-secret-manager";
|
|
5013
|
+
})(provider_type = IntegrationBinding2.provider_type || (IntegrationBinding2.provider_type = {}));
|
|
5014
|
+
})(IntegrationBinding || (IntegrationBinding = {}));
|
|
5015
|
+
|
|
3541
5016
|
// src/models/LicenseState.ts
|
|
3542
5017
|
var LicenseState;
|
|
3543
5018
|
((LicenseState2) => {
|
|
@@ -3558,6 +5033,48 @@ var LicenseState;
|
|
|
3558
5033
|
})(validation_mode = LicenseState2.validation_mode || (LicenseState2.validation_mode = {}));
|
|
3559
5034
|
})(LicenseState || (LicenseState = {}));
|
|
3560
5035
|
|
|
5036
|
+
// src/models/LogForwardingResponse.ts
|
|
5037
|
+
var LogForwardingResponse;
|
|
5038
|
+
((LogForwardingResponse2) => {
|
|
5039
|
+
let provider_type;
|
|
5040
|
+
((provider_type2) => {
|
|
5041
|
+
provider_type2["DATADOG"] = "datadog";
|
|
5042
|
+
provider_type2["SPLUNK"] = "splunk";
|
|
5043
|
+
provider_type2["SUMO_LOGIC"] = "sumo-logic";
|
|
5044
|
+
})(provider_type = LogForwardingResponse2.provider_type || (LogForwardingResponse2.provider_type = {}));
|
|
5045
|
+
})(LogForwardingResponse || (LogForwardingResponse = {}));
|
|
5046
|
+
|
|
5047
|
+
// src/models/OidcProviderResponse.ts
|
|
5048
|
+
var OidcProviderResponse;
|
|
5049
|
+
((OidcProviderResponse2) => {
|
|
5050
|
+
let provider_type;
|
|
5051
|
+
((provider_type2) => {
|
|
5052
|
+
provider_type2["GITHUB_ACTIONS"] = "github_actions";
|
|
5053
|
+
provider_type2["GITLAB_CI"] = "gitlab_ci";
|
|
5054
|
+
provider_type2["KUBERNETES"] = "kubernetes";
|
|
5055
|
+
provider_type2["GENERIC"] = "generic";
|
|
5056
|
+
})(provider_type = OidcProviderResponse2.provider_type || (OidcProviderResponse2.provider_type = {}));
|
|
5057
|
+
})(OidcProviderResponse || (OidcProviderResponse = {}));
|
|
5058
|
+
|
|
5059
|
+
// src/models/ProviderConnection.ts
|
|
5060
|
+
var ProviderConnection;
|
|
5061
|
+
((ProviderConnection2) => {
|
|
5062
|
+
let provider_type;
|
|
5063
|
+
((provider_type2) => {
|
|
5064
|
+
provider_type2["GITHUB"] = "github";
|
|
5065
|
+
provider_type2["GITLAB"] = "gitlab";
|
|
5066
|
+
provider_type2["AWS_SSM"] = "aws-ssm";
|
|
5067
|
+
provider_type2["VERCEL"] = "vercel";
|
|
5068
|
+
provider_type2["GOOGLE_SECRET_MANAGER"] = "google-secret-manager";
|
|
5069
|
+
})(provider_type = ProviderConnection2.provider_type || (ProviderConnection2.provider_type = {}));
|
|
5070
|
+
let status;
|
|
5071
|
+
((status2) => {
|
|
5072
|
+
status2["ACTIVE"] = "active";
|
|
5073
|
+
status2["INACTIVE"] = "inactive";
|
|
5074
|
+
status2["ERROR"] = "error";
|
|
5075
|
+
})(status = ProviderConnection2.status || (ProviderConnection2.status = {}));
|
|
5076
|
+
})(ProviderConnection || (ProviderConnection = {}));
|
|
5077
|
+
|
|
3561
5078
|
// src/models/RevokeAccessRequest.ts
|
|
3562
5079
|
var RevokeAccessRequest;
|
|
3563
5080
|
((RevokeAccessRequest2) => {
|
|
@@ -3586,6 +5103,38 @@ var RotateGpgKeyRequest;
|
|
|
3586
5103
|
})(algorithm = RotateGpgKeyRequest2.algorithm || (RotateGpgKeyRequest2.algorithm = {}));
|
|
3587
5104
|
})(RotateGpgKeyRequest || (RotateGpgKeyRequest = {}));
|
|
3588
5105
|
|
|
5106
|
+
// src/models/RotationPolicyResponse.ts
|
|
5107
|
+
var RotationPolicyResponse;
|
|
5108
|
+
((RotationPolicyResponse2) => {
|
|
5109
|
+
let engine_type;
|
|
5110
|
+
((engine_type2) => {
|
|
5111
|
+
engine_type2["POSTGRES"] = "postgres";
|
|
5112
|
+
engine_type2["MYSQL"] = "mysql";
|
|
5113
|
+
engine_type2["AWS_IAM"] = "aws-iam";
|
|
5114
|
+
engine_type2["AZURE_SP"] = "azure-sp";
|
|
5115
|
+
engine_type2["GCP_SERVICE_ACCOUNT"] = "gcp-service-account";
|
|
5116
|
+
engine_type2["CLOUDFLARE_PAGES"] = "cloudflare-pages";
|
|
5117
|
+
engine_type2["SENDGRID"] = "sendgrid";
|
|
5118
|
+
engine_type2["TWILIO"] = "twilio";
|
|
5119
|
+
})(engine_type = RotationPolicyResponse2.engine_type || (RotationPolicyResponse2.engine_type = {}));
|
|
5120
|
+
})(RotationPolicyResponse || (RotationPolicyResponse = {}));
|
|
5121
|
+
|
|
5122
|
+
// src/models/SamlProviderResponse.ts
|
|
5123
|
+
var SamlProviderResponse;
|
|
5124
|
+
((SamlProviderResponse2) => {
|
|
5125
|
+
let provider_type;
|
|
5126
|
+
((provider_type2) => {
|
|
5127
|
+
provider_type2["OKTA"] = "okta";
|
|
5128
|
+
provider_type2["ONELOGIN"] = "onelogin";
|
|
5129
|
+
provider_type2["AZURE_AD"] = "azure-ad";
|
|
5130
|
+
provider_type2["GOOGLE_WORKSPACE"] = "google-workspace";
|
|
5131
|
+
provider_type2["DUO"] = "duo";
|
|
5132
|
+
provider_type2["RIPPLING"] = "rippling";
|
|
5133
|
+
provider_type2["ORACLE"] = "oracle";
|
|
5134
|
+
provider_type2["PING_IDENTITY"] = "ping-identity";
|
|
5135
|
+
})(provider_type = SamlProviderResponse2.provider_type || (SamlProviderResponse2.provider_type = {}));
|
|
5136
|
+
})(SamlProviderResponse || (SamlProviderResponse = {}));
|
|
5137
|
+
|
|
3589
5138
|
// src/models/SecretVariableRollbackResponse.ts
|
|
3590
5139
|
var SecretVariableRollbackResponse;
|
|
3591
5140
|
((SecretVariableRollbackResponse2) => {
|
|
@@ -3597,6 +5146,21 @@ var SecretVariableRollbackResponse;
|
|
|
3597
5146
|
})(operation = SecretVariableRollbackResponse2.operation || (SecretVariableRollbackResponse2.operation = {}));
|
|
3598
5147
|
})(SecretVariableRollbackResponse || (SecretVariableRollbackResponse = {}));
|
|
3599
5148
|
|
|
5149
|
+
// src/models/SetupStatusResponse.ts
|
|
5150
|
+
var SetupStatusResponse;
|
|
5151
|
+
((SetupStatusResponse2) => {
|
|
5152
|
+
let deployment_mode;
|
|
5153
|
+
((deployment_mode2) => {
|
|
5154
|
+
deployment_mode2["HOSTED"] = "hosted";
|
|
5155
|
+
deployment_mode2["SELFHOSTED"] = "selfhosted";
|
|
5156
|
+
})(deployment_mode = SetupStatusResponse2.deployment_mode || (SetupStatusResponse2.deployment_mode = {}));
|
|
5157
|
+
let edition;
|
|
5158
|
+
((edition2) => {
|
|
5159
|
+
edition2["OSS"] = "oss";
|
|
5160
|
+
edition2["ENTERPRISE"] = "enterprise";
|
|
5161
|
+
})(edition = SetupStatusResponse2.edition || (SetupStatusResponse2.edition = {}));
|
|
5162
|
+
})(SetupStatusResponse || (SetupStatusResponse = {}));
|
|
5163
|
+
|
|
3600
5164
|
// src/models/SignDataRequest.ts
|
|
3601
5165
|
var SignDataRequest;
|
|
3602
5166
|
((SignDataRequest2) => {
|
|
@@ -3608,6 +5172,45 @@ var SignDataRequest;
|
|
|
3608
5172
|
})(mode = SignDataRequest2.mode || (SignDataRequest2.mode = {}));
|
|
3609
5173
|
})(SignDataRequest || (SignDataRequest = {}));
|
|
3610
5174
|
|
|
5175
|
+
// src/models/SyncAuditEvent.ts
|
|
5176
|
+
var SyncAuditEvent;
|
|
5177
|
+
((SyncAuditEvent2) => {
|
|
5178
|
+
let provider_type;
|
|
5179
|
+
((provider_type2) => {
|
|
5180
|
+
provider_type2["GITHUB"] = "github";
|
|
5181
|
+
provider_type2["GITLAB"] = "gitlab";
|
|
5182
|
+
provider_type2["AWS_SSM"] = "aws-ssm";
|
|
5183
|
+
provider_type2["VERCEL"] = "vercel";
|
|
5184
|
+
provider_type2["GOOGLE_SECRET_MANAGER"] = "google-secret-manager";
|
|
5185
|
+
})(provider_type = SyncAuditEvent2.provider_type || (SyncAuditEvent2.provider_type = {}));
|
|
5186
|
+
let result;
|
|
5187
|
+
((result2) => {
|
|
5188
|
+
result2["INFO"] = "info";
|
|
5189
|
+
result2["SUCCESS"] = "success";
|
|
5190
|
+
result2["ERROR"] = "error";
|
|
5191
|
+
})(result = SyncAuditEvent2.result || (SyncAuditEvent2.result = {}));
|
|
5192
|
+
})(SyncAuditEvent || (SyncAuditEvent = {}));
|
|
5193
|
+
|
|
5194
|
+
// src/models/SyncRun.ts
|
|
5195
|
+
var SyncRun;
|
|
5196
|
+
((SyncRun2) => {
|
|
5197
|
+
let provider_type;
|
|
5198
|
+
((provider_type2) => {
|
|
5199
|
+
provider_type2["GITHUB"] = "github";
|
|
5200
|
+
provider_type2["GITLAB"] = "gitlab";
|
|
5201
|
+
provider_type2["AWS_SSM"] = "aws-ssm";
|
|
5202
|
+
provider_type2["VERCEL"] = "vercel";
|
|
5203
|
+
provider_type2["GOOGLE_SECRET_MANAGER"] = "google-secret-manager";
|
|
5204
|
+
})(provider_type = SyncRun2.provider_type || (SyncRun2.provider_type = {}));
|
|
5205
|
+
let status;
|
|
5206
|
+
((status2) => {
|
|
5207
|
+
status2["PENDING"] = "pending";
|
|
5208
|
+
status2["RUNNING"] = "running";
|
|
5209
|
+
status2["SUCCEEDED"] = "succeeded";
|
|
5210
|
+
status2["FAILED"] = "failed";
|
|
5211
|
+
})(status = SyncRun2.status || (SyncRun2.status = {}));
|
|
5212
|
+
})(SyncRun || (SyncRun = {}));
|
|
5213
|
+
|
|
3611
5214
|
// src/models/SystemStatusState.ts
|
|
3612
5215
|
var SystemStatusState;
|
|
3613
5216
|
((SystemStatusState2) => {
|
|
@@ -3616,8 +5219,24 @@ var SystemStatusState;
|
|
|
3616
5219
|
edition2["OSS"] = "oss";
|
|
3617
5220
|
edition2["ENTERPRISE"] = "enterprise";
|
|
3618
5221
|
})(edition = SystemStatusState2.edition || (SystemStatusState2.edition = {}));
|
|
5222
|
+
let deployment_mode;
|
|
5223
|
+
((deployment_mode2) => {
|
|
5224
|
+
deployment_mode2["HOSTED"] = "hosted";
|
|
5225
|
+
deployment_mode2["SELFHOSTED"] = "selfhosted";
|
|
5226
|
+
})(deployment_mode = SystemStatusState2.deployment_mode || (SystemStatusState2.deployment_mode = {}));
|
|
3619
5227
|
})(SystemStatusState || (SystemStatusState = {}));
|
|
3620
5228
|
|
|
5229
|
+
// src/models/UpdateProviderConnectionRequest.ts
|
|
5230
|
+
var UpdateProviderConnectionRequest;
|
|
5231
|
+
((UpdateProviderConnectionRequest2) => {
|
|
5232
|
+
let status;
|
|
5233
|
+
((status2) => {
|
|
5234
|
+
status2["ACTIVE"] = "active";
|
|
5235
|
+
status2["INACTIVE"] = "inactive";
|
|
5236
|
+
status2["ERROR"] = "error";
|
|
5237
|
+
})(status = UpdateProviderConnectionRequest2.status || (UpdateProviderConnectionRequest2.status = {}));
|
|
5238
|
+
})(UpdateProviderConnectionRequest || (UpdateProviderConnectionRequest = {}));
|
|
5239
|
+
|
|
3621
5240
|
// src/models/UpdateTrustLevelRequest.ts
|
|
3622
5241
|
var UpdateTrustLevelRequest;
|
|
3623
5242
|
((UpdateTrustLevelRequest2) => {
|
|
@@ -3700,8 +5319,20 @@ export {
|
|
|
3700
5319
|
CertificatesService,
|
|
3701
5320
|
ChangeRequestResponse,
|
|
3702
5321
|
ChangeRequestsService,
|
|
5322
|
+
CreateDynamicSecretEngineRequest,
|
|
5323
|
+
CreateIntegrationBindingRequest,
|
|
5324
|
+
CreateLogForwardingRequest,
|
|
5325
|
+
CreateManualSyncRunRequest,
|
|
5326
|
+
CreateOidcProviderRequest,
|
|
5327
|
+
CreateProviderConnectionRequest,
|
|
5328
|
+
CreateRotationPolicyRequest,
|
|
5329
|
+
CreateSamlProviderRequest,
|
|
3703
5330
|
CreateWebhookRequest,
|
|
5331
|
+
DynamicSecretEngineResponse,
|
|
5332
|
+
DynamicSecretsService,
|
|
3704
5333
|
EffectiveAccessEntry,
|
|
5334
|
+
EnterpriseProviderProfile,
|
|
5335
|
+
EnterpriseService,
|
|
3705
5336
|
EnvSyncAPISDK,
|
|
3706
5337
|
EnvironmentTypesService,
|
|
3707
5338
|
EnvironmentVariablesPointInTimeService,
|
|
@@ -3713,23 +5344,40 @@ export {
|
|
|
3713
5344
|
GpgKeysService,
|
|
3714
5345
|
GrantAccessRequest,
|
|
3715
5346
|
GrantEntry,
|
|
5347
|
+
IntegrationBinding,
|
|
5348
|
+
LicenseService,
|
|
3716
5349
|
LicenseState,
|
|
5350
|
+
LogForwardingResponse,
|
|
5351
|
+
LogForwardingService,
|
|
5352
|
+
OidcProviderResponse,
|
|
5353
|
+
OidcProvidersService,
|
|
3717
5354
|
OnboardingService,
|
|
3718
5355
|
OpenAPI,
|
|
3719
5356
|
OrganizationsService,
|
|
3720
5357
|
PermissionsService,
|
|
5358
|
+
ProviderConnection,
|
|
3721
5359
|
RevokeAccessRequest,
|
|
3722
5360
|
RolesService,
|
|
3723
5361
|
RotateGpgKeyRequest,
|
|
5362
|
+
RotationPolicyResponse,
|
|
5363
|
+
RotationService,
|
|
5364
|
+
SamlProviderResponse,
|
|
5365
|
+
SamlProvidersService,
|
|
5366
|
+
SamlSsoService,
|
|
3724
5367
|
SecretVariableRollbackResponse,
|
|
3725
5368
|
SecretsPointInTimeService,
|
|
3726
5369
|
SecretsRollbackService,
|
|
3727
5370
|
SecretsService,
|
|
3728
5371
|
ServiceTokensService,
|
|
5372
|
+
SetupService,
|
|
5373
|
+
SetupStatusResponse,
|
|
3729
5374
|
SignDataRequest,
|
|
5375
|
+
SyncAuditEvent,
|
|
5376
|
+
SyncRun,
|
|
3730
5377
|
SystemService,
|
|
3731
5378
|
SystemStatusState,
|
|
3732
5379
|
TeamsService,
|
|
5380
|
+
UpdateProviderConnectionRequest,
|
|
3733
5381
|
UpdateTrustLevelRequest,
|
|
3734
5382
|
UpdateWebhookRequest,
|
|
3735
5383
|
UsersService,
|