@envsync-cloud/envsync-management-ts-sdk 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -372,6 +372,212 @@ var FetchHttpRequest = class extends BaseHttpRequest {
372
372
  }
373
373
  };
374
374
 
375
+ // src/services/DynamicSecretsService.ts
376
+ var DynamicSecretsService = class {
377
+ constructor(httpRequest) {
378
+ this.httpRequest = httpRequest;
379
+ }
380
+ /**
381
+ * Create Dynamic Secret Engine
382
+ * Create a new dynamic secret engine for short-lived credential generation
383
+ * @param requestBody
384
+ * @returns DynamicSecretEngineResponse Engine created successfully
385
+ * @throws ApiError
386
+ */
387
+ createDynamicSecretEngine(requestBody) {
388
+ return this.httpRequest.request({
389
+ method: "POST",
390
+ url: "/api/dynamic_secret/engines",
391
+ body: requestBody,
392
+ mediaType: "application/json",
393
+ errors: {
394
+ 400: `Validation error`,
395
+ 409: `Engine name conflict`,
396
+ 500: `Internal server error`
397
+ }
398
+ });
399
+ }
400
+ /**
401
+ * Get All Dynamic Secret Engines
402
+ * Retrieve all dynamic secret engines for the organization
403
+ * @returns DynamicSecretEnginesResponse Engines retrieved successfully
404
+ * @throws ApiError
405
+ */
406
+ getAllDynamicSecretEngines() {
407
+ return this.httpRequest.request({
408
+ method: "GET",
409
+ url: "/api/dynamic_secret/engines",
410
+ errors: {
411
+ 500: `Internal server error`
412
+ }
413
+ });
414
+ }
415
+ /**
416
+ * Get Dynamic Secret Engine
417
+ * Retrieve a specific dynamic secret engine by ID
418
+ * @param id
419
+ * @returns DynamicSecretEngineResponse Engine retrieved successfully
420
+ * @throws ApiError
421
+ */
422
+ getDynamicSecretEngine(id) {
423
+ return this.httpRequest.request({
424
+ method: "GET",
425
+ url: "/api/dynamic_secret/engines/{id}",
426
+ path: {
427
+ "id": id
428
+ },
429
+ errors: {
430
+ 404: `Engine not found`,
431
+ 500: `Internal server error`
432
+ }
433
+ });
434
+ }
435
+ /**
436
+ * Update Dynamic Secret Engine
437
+ * Update an existing dynamic secret engine
438
+ * @param id
439
+ * @param requestBody
440
+ * @returns DynamicSecretEngineResponse Engine updated successfully
441
+ * @throws ApiError
442
+ */
443
+ updateDynamicSecretEngine(id, requestBody) {
444
+ return this.httpRequest.request({
445
+ method: "PATCH",
446
+ url: "/api/dynamic_secret/engines/{id}",
447
+ path: {
448
+ "id": id
449
+ },
450
+ body: requestBody,
451
+ mediaType: "application/json",
452
+ errors: {
453
+ 404: `Engine not found`,
454
+ 500: `Internal server error`
455
+ }
456
+ });
457
+ }
458
+ /**
459
+ * Delete Dynamic Secret Engine
460
+ * Delete a dynamic secret engine (must have no active leases)
461
+ * @param id
462
+ * @returns ErrorResponse Engine deleted successfully
463
+ * @throws ApiError
464
+ */
465
+ deleteDynamicSecretEngine(id) {
466
+ return this.httpRequest.request({
467
+ method: "DELETE",
468
+ url: "/api/dynamic_secret/engines/{id}",
469
+ path: {
470
+ "id": id
471
+ },
472
+ errors: {
473
+ 404: `Engine not found`,
474
+ 409: `Engine has active leases`,
475
+ 500: `Internal server error`
476
+ }
477
+ });
478
+ }
479
+ /**
480
+ * Create Dynamic Secret Lease
481
+ * Generate short-lived credentials by creating a lease on an engine
482
+ * @param id
483
+ * @param requestBody
484
+ * @returns DynamicSecretLeaseResponse Lease created successfully
485
+ * @throws ApiError
486
+ */
487
+ createDynamicSecretLease(id, requestBody) {
488
+ return this.httpRequest.request({
489
+ method: "POST",
490
+ url: "/api/dynamic_secret/engines/{id}/leases",
491
+ path: {
492
+ "id": id
493
+ },
494
+ body: requestBody,
495
+ mediaType: "application/json",
496
+ errors: {
497
+ 400: `Validation error`,
498
+ 404: `Engine not found`,
499
+ 500: `Internal server error`
500
+ }
501
+ });
502
+ }
503
+ /**
504
+ * Get Leases for Engine
505
+ * Retrieve all leases for a specific dynamic secret engine
506
+ * @param id
507
+ * @returns DynamicSecretLeasesResponse Leases retrieved successfully
508
+ * @throws ApiError
509
+ */
510
+ getDynamicSecretLeases(id) {
511
+ return this.httpRequest.request({
512
+ method: "GET",
513
+ url: "/api/dynamic_secret/engines/{id}/leases",
514
+ path: {
515
+ "id": id
516
+ },
517
+ errors: {
518
+ 404: `Engine not found`,
519
+ 500: `Internal server error`
520
+ }
521
+ });
522
+ }
523
+ /**
524
+ * Get Dynamic Secret Lease
525
+ * Retrieve a specific lease by ID
526
+ * @param leaseId
527
+ * @returns DynamicSecretLeaseResponse Lease retrieved successfully
528
+ * @throws ApiError
529
+ */
530
+ getDynamicSecretLease(leaseId) {
531
+ return this.httpRequest.request({
532
+ method: "GET",
533
+ url: "/api/dynamic_secret/leases/{leaseId}",
534
+ path: {
535
+ "leaseId": leaseId
536
+ },
537
+ errors: {
538
+ 404: `Lease not found`,
539
+ 500: `Internal server error`
540
+ }
541
+ });
542
+ }
543
+ /**
544
+ * Revoke Dynamic Secret Lease
545
+ * Revoke a lease and its associated credentials
546
+ * @param leaseId
547
+ * @returns RevokeLeaseResponse Lease revoked successfully
548
+ * @throws ApiError
549
+ */
550
+ revokeDynamicSecretLease(leaseId) {
551
+ return this.httpRequest.request({
552
+ method: "POST",
553
+ url: "/api/dynamic_secret/leases/{leaseId}/revoke",
554
+ path: {
555
+ "leaseId": leaseId
556
+ },
557
+ errors: {
558
+ 404: `Lease not found`,
559
+ 409: `Lease already revoked`,
560
+ 500: `Internal server error`
561
+ }
562
+ });
563
+ }
564
+ /**
565
+ * Cleanup Expired Leases
566
+ * Mark all expired leases as revoked (admin operation)
567
+ * @returns CleanupResponse Cleanup completed
568
+ * @throws ApiError
569
+ */
570
+ cleanupExpiredLeases() {
571
+ return this.httpRequest.request({
572
+ method: "POST",
573
+ url: "/api/dynamic_secret/leases/cleanup",
574
+ errors: {
575
+ 500: `Internal server error`
576
+ }
577
+ });
578
+ }
579
+ };
580
+
375
581
  // src/services/EnterpriseService.ts
376
582
  var EnterpriseService = class {
377
583
  constructor(httpRequest) {
@@ -733,22 +939,22 @@ var LicenseService = class {
733
939
  }
734
940
  };
735
941
 
736
- // src/services/OnboardingService.ts
737
- var OnboardingService = class {
942
+ // src/services/LogForwardingService.ts
943
+ var LogForwardingService = class {
738
944
  constructor(httpRequest) {
739
945
  this.httpRequest = httpRequest;
740
946
  }
741
947
  /**
742
- * Create Organization Invite
743
- * Create an organization invite
948
+ * Create Log Forwarding Config
949
+ * Create a new log forwarding configuration for the organization
744
950
  * @param requestBody
745
- * @returns CreateOrgInviteResponse Successful greeting response
951
+ * @returns LogForwardingResponse Log forwarding config created successfully
746
952
  * @throws ApiError
747
953
  */
748
- createOrgInvite(requestBody) {
954
+ createLogForwardingConfig(requestBody) {
749
955
  return this.httpRequest.request({
750
956
  method: "POST",
751
- url: "/api/onboarding/org",
957
+ url: "/api/log_forwarding",
752
958
  body: requestBody,
753
959
  mediaType: "application/json",
754
960
  errors: {
@@ -757,80 +963,77 @@ var OnboardingService = class {
757
963
  });
758
964
  }
759
965
  /**
760
- * Get Organization Invite by Code
761
- * Get organization invite by code
762
- * @param inviteCode
763
- * @returns GetOrgInviteByCodeResponse Organization invite retrieved successfully
966
+ * Get All Log Forwarding Configs
967
+ * Retrieve all log forwarding configurations for the organization
968
+ * @returns LogForwardingsResponse Log forwarding configs retrieved successfully
764
969
  * @throws ApiError
765
970
  */
766
- getOrgInviteByCode(inviteCode) {
971
+ getLogForwardingConfigs() {
767
972
  return this.httpRequest.request({
768
973
  method: "GET",
769
- url: "/api/onboarding/org/{invite_code}",
770
- path: {
771
- "invite_code": inviteCode
772
- },
974
+ url: "/api/log_forwarding",
773
975
  errors: {
774
976
  500: `Internal server error`
775
977
  }
776
978
  });
777
979
  }
778
980
  /**
779
- * Accept Organization Invite
780
- * Accept organization invite
781
- * @param inviteCode
782
- * @param requestBody
783
- * @returns AcceptOrgInviteResponse Organization invite accepted successfully
981
+ * Get Log Forwarding Config
982
+ * Retrieve a specific log forwarding configuration
983
+ * @param id
984
+ * @returns LogForwardingResponse Log forwarding config retrieved successfully
784
985
  * @throws ApiError
785
986
  */
786
- acceptOrgInvite(inviteCode, requestBody) {
987
+ getLogForwardingConfig(id) {
787
988
  return this.httpRequest.request({
788
- method: "PUT",
789
- url: "/api/onboarding/org/{invite_code}/accept",
989
+ method: "GET",
990
+ url: "/api/log_forwarding/{id}",
790
991
  path: {
791
- "invite_code": inviteCode
992
+ "id": id
792
993
  },
793
- body: requestBody,
794
- mediaType: "application/json",
795
994
  errors: {
995
+ 404: `Config not found`,
796
996
  500: `Internal server error`
797
997
  }
798
998
  });
799
999
  }
800
1000
  /**
801
- * Get User Invite by Code
802
- * Get user invite by code
803
- * @param inviteCode
804
- * @returns GetUserInviteByTokenResponse User invite retrieved successfully
1001
+ * Delete Log Forwarding Config
1002
+ * Delete a log forwarding configuration
1003
+ * @param id
1004
+ * @returns ErrorResponse Log forwarding config deleted successfully
805
1005
  * @throws ApiError
806
1006
  */
807
- getUserInviteByCode(inviteCode) {
1007
+ deleteLogForwardingConfig(id) {
808
1008
  return this.httpRequest.request({
809
- method: "GET",
810
- url: "/api/onboarding/user/{invite_code}",
1009
+ method: "DELETE",
1010
+ url: "/api/log_forwarding/{id}",
811
1011
  path: {
812
- "invite_code": inviteCode
1012
+ "id": id
813
1013
  },
814
1014
  errors: {
815
1015
  500: `Internal server error`
816
1016
  }
817
1017
  });
818
1018
  }
1019
+ };
1020
+
1021
+ // src/services/OidcProvidersService.ts
1022
+ var OidcProvidersService = class {
1023
+ constructor(httpRequest) {
1024
+ this.httpRequest = httpRequest;
1025
+ }
819
1026
  /**
820
- * Update User Invite
821
- * Update user invite
822
- * @param inviteCode
1027
+ * Register OIDC Provider
1028
+ * Register a new OIDC provider for CI/CD machine authentication
823
1029
  * @param requestBody
824
- * @returns UpdateUserInviteResponse User invite updated successfully
1030
+ * @returns OidcProviderResponse OIDC provider created successfully
825
1031
  * @throws ApiError
826
1032
  */
827
- updateUserInvite(inviteCode, requestBody) {
1033
+ createOidcProvider(requestBody) {
828
1034
  return this.httpRequest.request({
829
- method: "PATCH",
830
- url: "/api/onboarding/user/{invite_code}",
831
- path: {
832
- "invite_code": inviteCode
833
- },
1035
+ method: "POST",
1036
+ url: "/api/oidc",
834
1037
  body: requestBody,
835
1038
  mediaType: "application/json",
836
1039
  errors: {
@@ -839,73 +1042,74 @@ var OnboardingService = class {
839
1042
  });
840
1043
  }
841
1044
  /**
842
- * Accept User Invite
843
- * Accept user invite
844
- * @param inviteCode
845
- * @param requestBody
846
- * @returns AcceptUserInviteResponse User invite accepted successfully
1045
+ * Get All OIDC Providers
1046
+ * Retrieve all OIDC providers for the organization
1047
+ * @returns OidcProvidersResponse OIDC providers retrieved successfully
847
1048
  * @throws ApiError
848
1049
  */
849
- acceptUserInvite(inviteCode, requestBody) {
1050
+ getAllOidcProviders() {
850
1051
  return this.httpRequest.request({
851
- method: "PUT",
852
- url: "/api/onboarding/user/{invite_code}/accept",
853
- path: {
854
- "invite_code": inviteCode
855
- },
856
- body: requestBody,
857
- mediaType: "application/json",
1052
+ method: "GET",
1053
+ url: "/api/oidc",
858
1054
  errors: {
859
1055
  500: `Internal server error`
860
1056
  }
861
1057
  });
862
1058
  }
863
1059
  /**
864
- * Create User Invite
865
- * Create a user invite
866
- * @param requestBody
867
- * @returns CreateUserInviteResponse User invite created successfully
1060
+ * Get OIDC Provider
1061
+ * Retrieve a specific OIDC provider
1062
+ * @param id
1063
+ * @returns OidcProviderResponse OIDC provider retrieved successfully
868
1064
  * @throws ApiError
869
1065
  */
870
- createUserInvite(requestBody) {
1066
+ getOidcProvider(id) {
871
1067
  return this.httpRequest.request({
872
- method: "POST",
873
- url: "/api/onboarding/user",
874
- body: requestBody,
875
- mediaType: "application/json",
1068
+ method: "GET",
1069
+ url: "/api/oidc/{id}",
1070
+ path: {
1071
+ "id": id
1072
+ },
876
1073
  errors: {
877
1074
  500: `Internal server error`
878
1075
  }
879
1076
  });
880
1077
  }
881
1078
  /**
882
- * Get All User Invites
883
- * Get all user invites
884
- * @returns GetUserInviteByTokenResponse User invites retrieved successfully
1079
+ * Update OIDC Provider
1080
+ * Update an existing OIDC provider
1081
+ * @param id
1082
+ * @param requestBody
1083
+ * @returns ErrorResponse OIDC provider updated successfully
885
1084
  * @throws ApiError
886
1085
  */
887
- getAllUserInvites() {
1086
+ updateOidcProvider(id, requestBody) {
888
1087
  return this.httpRequest.request({
889
- method: "GET",
890
- url: "/api/onboarding/user",
1088
+ method: "PUT",
1089
+ url: "/api/oidc/{id}",
1090
+ path: {
1091
+ "id": id
1092
+ },
1093
+ body: requestBody,
1094
+ mediaType: "application/json",
891
1095
  errors: {
892
1096
  500: `Internal server error`
893
1097
  }
894
1098
  });
895
1099
  }
896
1100
  /**
897
- * Delete User Invite
898
- * Delete user invite
899
- * @param inviteId
900
- * @returns DeleteUserInviteResponse User invite deleted successfully
1101
+ * Delete OIDC Provider
1102
+ * Delete an existing OIDC provider
1103
+ * @param id
1104
+ * @returns ErrorResponse OIDC provider deleted successfully
901
1105
  * @throws ApiError
902
1106
  */
903
- deleteUserInvite(inviteId) {
1107
+ deleteOidcProvider(id) {
904
1108
  return this.httpRequest.request({
905
1109
  method: "DELETE",
906
- url: "/api/onboarding/user/{invite_id}",
1110
+ url: "/api/oidc/{id}",
907
1111
  path: {
908
- "invite_id": inviteId
1112
+ "id": id
909
1113
  },
910
1114
  errors: {
911
1115
  500: `Internal server error`
@@ -914,14 +1118,528 @@ var OnboardingService = class {
914
1118
  }
915
1119
  };
916
1120
 
917
- // src/services/SystemService.ts
918
- var SystemService = class {
1121
+ // src/services/OnboardingService.ts
1122
+ var OnboardingService = class {
919
1123
  constructor(httpRequest) {
920
1124
  this.httpRequest = httpRequest;
921
1125
  }
922
1126
  /**
923
- * Get Management System Status
924
- * @returns SystemStatusResponse Management system status
1127
+ * Create Organization Invite
1128
+ * Create an organization invite
1129
+ * @param requestBody
1130
+ * @returns CreateOrgInviteResponse Successful greeting response
1131
+ * @throws ApiError
1132
+ */
1133
+ createOrgInvite(requestBody) {
1134
+ return this.httpRequest.request({
1135
+ method: "POST",
1136
+ url: "/api/onboarding/org",
1137
+ body: requestBody,
1138
+ mediaType: "application/json",
1139
+ errors: {
1140
+ 500: `Internal server error`
1141
+ }
1142
+ });
1143
+ }
1144
+ /**
1145
+ * Get Organization Invite by Code
1146
+ * Get organization invite by code
1147
+ * @param inviteCode
1148
+ * @returns GetOrgInviteByCodeResponse Organization invite retrieved successfully
1149
+ * @throws ApiError
1150
+ */
1151
+ getOrgInviteByCode(inviteCode) {
1152
+ return this.httpRequest.request({
1153
+ method: "GET",
1154
+ url: "/api/onboarding/org/{invite_code}",
1155
+ path: {
1156
+ "invite_code": inviteCode
1157
+ },
1158
+ errors: {
1159
+ 500: `Internal server error`
1160
+ }
1161
+ });
1162
+ }
1163
+ /**
1164
+ * Accept Organization Invite
1165
+ * Accept organization invite
1166
+ * @param inviteCode
1167
+ * @param requestBody
1168
+ * @returns AcceptOrgInviteResponse Organization invite accepted successfully
1169
+ * @throws ApiError
1170
+ */
1171
+ acceptOrgInvite(inviteCode, requestBody) {
1172
+ return this.httpRequest.request({
1173
+ method: "PUT",
1174
+ url: "/api/onboarding/org/{invite_code}/accept",
1175
+ path: {
1176
+ "invite_code": inviteCode
1177
+ },
1178
+ body: requestBody,
1179
+ mediaType: "application/json",
1180
+ errors: {
1181
+ 500: `Internal server error`
1182
+ }
1183
+ });
1184
+ }
1185
+ /**
1186
+ * Get User Invite by Code
1187
+ * Get user invite by code
1188
+ * @param inviteCode
1189
+ * @returns GetUserInviteByTokenResponse User invite retrieved successfully
1190
+ * @throws ApiError
1191
+ */
1192
+ getUserInviteByCode(inviteCode) {
1193
+ return this.httpRequest.request({
1194
+ method: "GET",
1195
+ url: "/api/onboarding/user/{invite_code}",
1196
+ path: {
1197
+ "invite_code": inviteCode
1198
+ },
1199
+ errors: {
1200
+ 500: `Internal server error`
1201
+ }
1202
+ });
1203
+ }
1204
+ /**
1205
+ * Update User Invite
1206
+ * Update user invite
1207
+ * @param inviteCode
1208
+ * @param requestBody
1209
+ * @returns UpdateUserInviteResponse User invite updated successfully
1210
+ * @throws ApiError
1211
+ */
1212
+ updateUserInvite(inviteCode, requestBody) {
1213
+ return this.httpRequest.request({
1214
+ method: "PATCH",
1215
+ url: "/api/onboarding/user/{invite_code}",
1216
+ path: {
1217
+ "invite_code": inviteCode
1218
+ },
1219
+ body: requestBody,
1220
+ mediaType: "application/json",
1221
+ errors: {
1222
+ 500: `Internal server error`
1223
+ }
1224
+ });
1225
+ }
1226
+ /**
1227
+ * Accept User Invite
1228
+ * Accept user invite
1229
+ * @param inviteCode
1230
+ * @param requestBody
1231
+ * @returns AcceptUserInviteResponse User invite accepted successfully
1232
+ * @throws ApiError
1233
+ */
1234
+ acceptUserInvite(inviteCode, requestBody) {
1235
+ return this.httpRequest.request({
1236
+ method: "PUT",
1237
+ url: "/api/onboarding/user/{invite_code}/accept",
1238
+ path: {
1239
+ "invite_code": inviteCode
1240
+ },
1241
+ body: requestBody,
1242
+ mediaType: "application/json",
1243
+ errors: {
1244
+ 500: `Internal server error`
1245
+ }
1246
+ });
1247
+ }
1248
+ /**
1249
+ * Create User Invite
1250
+ * Create a user invite
1251
+ * @param requestBody
1252
+ * @returns CreateUserInviteResponse User invite created successfully
1253
+ * @throws ApiError
1254
+ */
1255
+ createUserInvite(requestBody) {
1256
+ return this.httpRequest.request({
1257
+ method: "POST",
1258
+ url: "/api/onboarding/user",
1259
+ body: requestBody,
1260
+ mediaType: "application/json",
1261
+ errors: {
1262
+ 500: `Internal server error`
1263
+ }
1264
+ });
1265
+ }
1266
+ /**
1267
+ * Get All User Invites
1268
+ * Get all user invites
1269
+ * @returns GetUserInviteByTokenResponse User invites retrieved successfully
1270
+ * @throws ApiError
1271
+ */
1272
+ getAllUserInvites() {
1273
+ return this.httpRequest.request({
1274
+ method: "GET",
1275
+ url: "/api/onboarding/user",
1276
+ errors: {
1277
+ 500: `Internal server error`
1278
+ }
1279
+ });
1280
+ }
1281
+ /**
1282
+ * Delete User Invite
1283
+ * Delete user invite
1284
+ * @param inviteId
1285
+ * @returns DeleteUserInviteResponse User invite deleted successfully
1286
+ * @throws ApiError
1287
+ */
1288
+ deleteUserInvite(inviteId) {
1289
+ return this.httpRequest.request({
1290
+ method: "DELETE",
1291
+ url: "/api/onboarding/user/{invite_id}",
1292
+ path: {
1293
+ "invite_id": inviteId
1294
+ },
1295
+ errors: {
1296
+ 500: `Internal server error`
1297
+ }
1298
+ });
1299
+ }
1300
+ };
1301
+
1302
+ // src/services/RotationService.ts
1303
+ var RotationService = class {
1304
+ constructor(httpRequest) {
1305
+ this.httpRequest = httpRequest;
1306
+ }
1307
+ /**
1308
+ * Create Rotation Policy
1309
+ * Create a new secret rotation policy for a variable
1310
+ * @param requestBody
1311
+ * @returns RotationPolicyResponse Rotation policy created successfully
1312
+ * @throws ApiError
1313
+ */
1314
+ createRotationPolicy(requestBody) {
1315
+ return this.httpRequest.request({
1316
+ method: "POST",
1317
+ url: "/api/rotation",
1318
+ body: requestBody,
1319
+ mediaType: "application/json",
1320
+ errors: {
1321
+ 400: `Bad request`,
1322
+ 403: `Forbidden`,
1323
+ 409: `Conflict - policy already exists`,
1324
+ 500: `Internal server error`
1325
+ }
1326
+ });
1327
+ }
1328
+ /**
1329
+ * Get Rotation Policies
1330
+ * List all rotation policies for the organization
1331
+ * @param appId
1332
+ * @param envTypeId
1333
+ * @param enabled
1334
+ * @returns RotationPoliciesResponse Rotation policies retrieved successfully
1335
+ * @throws ApiError
1336
+ */
1337
+ getRotationPolicies(appId, envTypeId, enabled) {
1338
+ return this.httpRequest.request({
1339
+ method: "GET",
1340
+ url: "/api/rotation",
1341
+ query: {
1342
+ "app_id": appId,
1343
+ "env_type_id": envTypeId,
1344
+ "enabled": enabled
1345
+ },
1346
+ errors: {
1347
+ 500: `Internal server error`
1348
+ }
1349
+ });
1350
+ }
1351
+ /**
1352
+ * Get Rotation Policy
1353
+ * Get a specific rotation policy by ID
1354
+ * @param id
1355
+ * @returns RotationPolicyResponse Rotation policy retrieved successfully
1356
+ * @throws ApiError
1357
+ */
1358
+ getRotationPolicy(id) {
1359
+ return this.httpRequest.request({
1360
+ method: "GET",
1361
+ url: "/api/rotation/{id}",
1362
+ path: {
1363
+ "id": id
1364
+ },
1365
+ errors: {
1366
+ 404: `Not found`,
1367
+ 500: `Internal server error`
1368
+ }
1369
+ });
1370
+ }
1371
+ /**
1372
+ * Update Rotation Policy
1373
+ * Update an existing rotation policy
1374
+ * @param id
1375
+ * @param requestBody
1376
+ * @returns RotationPolicyResponse Rotation policy updated successfully
1377
+ * @throws ApiError
1378
+ */
1379
+ updateRotationPolicy(id, requestBody) {
1380
+ return this.httpRequest.request({
1381
+ method: "PATCH",
1382
+ url: "/api/rotation/{id}",
1383
+ path: {
1384
+ "id": id
1385
+ },
1386
+ body: requestBody,
1387
+ mediaType: "application/json",
1388
+ errors: {
1389
+ 403: `Forbidden`,
1390
+ 404: `Not found`,
1391
+ 500: `Internal server error`
1392
+ }
1393
+ });
1394
+ }
1395
+ /**
1396
+ * Delete Rotation Policy
1397
+ * Delete a rotation policy
1398
+ * @param id
1399
+ * @returns ErrorResponse Rotation policy deleted successfully
1400
+ * @throws ApiError
1401
+ */
1402
+ deleteRotationPolicy(id) {
1403
+ return this.httpRequest.request({
1404
+ method: "DELETE",
1405
+ url: "/api/rotation/{id}",
1406
+ path: {
1407
+ "id": id
1408
+ },
1409
+ errors: {
1410
+ 403: `Forbidden`,
1411
+ 404: `Not found`,
1412
+ 500: `Internal server error`
1413
+ }
1414
+ });
1415
+ }
1416
+ /**
1417
+ * Trigger Rotation
1418
+ * Manually trigger a secret rotation for a policy
1419
+ * @param id
1420
+ * @returns TriggerRotationResponse Rotation executed successfully
1421
+ * @throws ApiError
1422
+ */
1423
+ triggerRotation(id) {
1424
+ return this.httpRequest.request({
1425
+ method: "POST",
1426
+ url: "/api/rotation/{id}/rotate",
1427
+ path: {
1428
+ "id": id
1429
+ },
1430
+ errors: {
1431
+ 403: `Forbidden`,
1432
+ 404: `Not found`,
1433
+ 409: `Conflict - policy disabled`,
1434
+ 500: `Internal server error`
1435
+ }
1436
+ });
1437
+ }
1438
+ /**
1439
+ * Get Rotation States
1440
+ * Get the rotation state history for a policy
1441
+ * @param id
1442
+ * @returns RotationStatesResponse Rotation states retrieved successfully
1443
+ * @throws ApiError
1444
+ */
1445
+ getRotationStates(id) {
1446
+ return this.httpRequest.request({
1447
+ method: "GET",
1448
+ url: "/api/rotation/{id}/states",
1449
+ path: {
1450
+ "id": id
1451
+ },
1452
+ errors: {
1453
+ 404: `Not found`,
1454
+ 500: `Internal server error`
1455
+ }
1456
+ });
1457
+ }
1458
+ /**
1459
+ * Revoke Expired Credentials
1460
+ * Revoke old credentials that have passed their dual-credential window
1461
+ * @returns RevokeOldCredentialResponse Expired credentials revoked successfully
1462
+ * @throws ApiError
1463
+ */
1464
+ revokeExpiredCredentials() {
1465
+ return this.httpRequest.request({
1466
+ method: "POST",
1467
+ url: "/api/rotation/revoke-expired",
1468
+ errors: {
1469
+ 500: `Internal server error`
1470
+ }
1471
+ });
1472
+ }
1473
+ };
1474
+
1475
+ // src/services/SamlProvidersService.ts
1476
+ var SamlProvidersService = class {
1477
+ constructor(httpRequest) {
1478
+ this.httpRequest = httpRequest;
1479
+ }
1480
+ /**
1481
+ * Register SAML Provider
1482
+ * Register a new SAML identity provider for SSO authentication
1483
+ * @param requestBody
1484
+ * @returns SamlProviderResponse SAML provider created successfully
1485
+ * @throws ApiError
1486
+ */
1487
+ createSamlProvider(requestBody) {
1488
+ return this.httpRequest.request({
1489
+ method: "POST",
1490
+ url: "/api/saml",
1491
+ body: requestBody,
1492
+ mediaType: "application/json",
1493
+ errors: {
1494
+ 500: `Internal server error`
1495
+ }
1496
+ });
1497
+ }
1498
+ /**
1499
+ * Get All SAML Providers
1500
+ * Retrieve all SAML providers for the organization
1501
+ * @returns SamlProvidersResponse SAML providers retrieved successfully
1502
+ * @throws ApiError
1503
+ */
1504
+ getAllSamlProviders() {
1505
+ return this.httpRequest.request({
1506
+ method: "GET",
1507
+ url: "/api/saml",
1508
+ errors: {
1509
+ 500: `Internal server error`
1510
+ }
1511
+ });
1512
+ }
1513
+ /**
1514
+ * Get SAML Provider
1515
+ * Retrieve a specific SAML provider
1516
+ * @param id
1517
+ * @returns SamlProviderResponse SAML provider retrieved successfully
1518
+ * @throws ApiError
1519
+ */
1520
+ getSamlProvider(id) {
1521
+ return this.httpRequest.request({
1522
+ method: "GET",
1523
+ url: "/api/saml/{id}",
1524
+ path: {
1525
+ "id": id
1526
+ },
1527
+ errors: {
1528
+ 500: `Internal server error`
1529
+ }
1530
+ });
1531
+ }
1532
+ /**
1533
+ * Update SAML Provider
1534
+ * Update an existing SAML provider
1535
+ * @param id
1536
+ * @param requestBody
1537
+ * @returns ErrorResponse SAML provider updated successfully
1538
+ * @throws ApiError
1539
+ */
1540
+ updateSamlProvider(id, requestBody) {
1541
+ return this.httpRequest.request({
1542
+ method: "PUT",
1543
+ url: "/api/saml/{id}",
1544
+ path: {
1545
+ "id": id
1546
+ },
1547
+ body: requestBody,
1548
+ mediaType: "application/json",
1549
+ errors: {
1550
+ 500: `Internal server error`
1551
+ }
1552
+ });
1553
+ }
1554
+ /**
1555
+ * Delete SAML Provider
1556
+ * Delete an existing SAML provider
1557
+ * @param id
1558
+ * @returns ErrorResponse SAML provider deleted successfully
1559
+ * @throws ApiError
1560
+ */
1561
+ deleteSamlProvider(id) {
1562
+ return this.httpRequest.request({
1563
+ method: "DELETE",
1564
+ url: "/api/saml/{id}",
1565
+ path: {
1566
+ "id": id
1567
+ },
1568
+ errors: {
1569
+ 500: `Internal server error`
1570
+ }
1571
+ });
1572
+ }
1573
+ /**
1574
+ * Get SAML SP Metadata
1575
+ * Retrieve SAML Service Provider metadata XML for the organization
1576
+ * @param id
1577
+ * @returns string SP metadata XML
1578
+ * @throws ApiError
1579
+ */
1580
+ getSamlMetadata(id) {
1581
+ return this.httpRequest.request({
1582
+ method: "GET",
1583
+ url: "/api/saml/{id}/metadata",
1584
+ path: {
1585
+ "id": id
1586
+ }
1587
+ });
1588
+ }
1589
+ };
1590
+
1591
+ // src/services/SamlSsoService.ts
1592
+ var SamlSsoService = class {
1593
+ constructor(httpRequest) {
1594
+ this.httpRequest = httpRequest;
1595
+ }
1596
+ /**
1597
+ * Initiate SAML SSO
1598
+ * Start SP-initiated SAML SSO flow by generating an AuthnRequest redirect URL
1599
+ * @param requestBody
1600
+ * @returns SamlSsoResponse Redirect URL generated
1601
+ * @throws ApiError
1602
+ */
1603
+ initiateSamlSso(requestBody) {
1604
+ return this.httpRequest.request({
1605
+ method: "POST",
1606
+ url: "/api/saml/sso",
1607
+ body: requestBody,
1608
+ mediaType: "application/json",
1609
+ errors: {
1610
+ 500: `Internal server error`
1611
+ }
1612
+ });
1613
+ }
1614
+ /**
1615
+ * SAML Assertion Consumer Service
1616
+ * Receive and validate SAML Response from the identity provider (ACS endpoint)
1617
+ * @param orgId
1618
+ * @returns any Authentication successful
1619
+ * @throws ApiError
1620
+ */
1621
+ handleSamlAcs(orgId) {
1622
+ return this.httpRequest.request({
1623
+ method: "POST",
1624
+ url: "/api/saml/acs/{orgId}",
1625
+ path: {
1626
+ "orgId": orgId
1627
+ },
1628
+ errors: {
1629
+ 401: `Authentication failed`
1630
+ }
1631
+ });
1632
+ }
1633
+ };
1634
+
1635
+ // src/services/SystemService.ts
1636
+ var SystemService = class {
1637
+ constructor(httpRequest) {
1638
+ this.httpRequest = httpRequest;
1639
+ }
1640
+ /**
1641
+ * Get Management System Status
1642
+ * @returns SystemStatusResponse Management system status
925
1643
  * @throws ApiError
926
1644
  */
927
1645
  getManagementSystemStatus() {
@@ -937,15 +1655,21 @@ var SystemService = class {
937
1655
 
938
1656
  // src/EnvSyncManagementAPISDK.ts
939
1657
  var EnvSyncManagementAPISDK = class {
1658
+ dynamicSecrets;
940
1659
  enterprise;
941
1660
  license;
1661
+ logForwarding;
1662
+ oidcProviders;
942
1663
  onboarding;
1664
+ rotation;
1665
+ samlProviders;
1666
+ samlSso;
943
1667
  system;
944
1668
  request;
945
1669
  constructor(config, HttpRequest = FetchHttpRequest) {
946
1670
  this.request = new HttpRequest({
947
1671
  BASE: config?.BASE ?? "http://localhost:4001",
948
- VERSION: config?.VERSION ?? "0.8.7",
1672
+ VERSION: config?.VERSION ?? "0.10.0",
949
1673
  WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
950
1674
  CREDENTIALS: config?.CREDENTIALS ?? "include",
951
1675
  TOKEN: config?.TOKEN,
@@ -954,9 +1678,15 @@ var EnvSyncManagementAPISDK = class {
954
1678
  HEADERS: config?.HEADERS,
955
1679
  ENCODE_PATH: config?.ENCODE_PATH
956
1680
  });
1681
+ this.dynamicSecrets = new DynamicSecretsService(this.request);
957
1682
  this.enterprise = new EnterpriseService(this.request);
958
1683
  this.license = new LicenseService(this.request);
1684
+ this.logForwarding = new LogForwardingService(this.request);
1685
+ this.oidcProviders = new OidcProvidersService(this.request);
959
1686
  this.onboarding = new OnboardingService(this.request);
1687
+ this.rotation = new RotationService(this.request);
1688
+ this.samlProviders = new SamlProvidersService(this.request);
1689
+ this.samlSso = new SamlSsoService(this.request);
960
1690
  this.system = new SystemService(this.request);
961
1691
  }
962
1692
  };
@@ -964,7 +1694,7 @@ var EnvSyncManagementAPISDK = class {
964
1694
  // src/core/OpenAPI.ts
965
1695
  var OpenAPI = {
966
1696
  BASE: "http://localhost:4001",
967
- VERSION: "0.8.7",
1697
+ VERSION: "0.10.0",
968
1698
  WITH_CREDENTIALS: false,
969
1699
  CREDENTIALS: "include",
970
1700
  TOKEN: void 0,
@@ -974,6 +1704,18 @@ var OpenAPI = {
974
1704
  ENCODE_PATH: void 0
975
1705
  };
976
1706
 
1707
+ // src/models/CreateDynamicSecretEngineRequest.ts
1708
+ var CreateDynamicSecretEngineRequest;
1709
+ ((CreateDynamicSecretEngineRequest2) => {
1710
+ let engine_type;
1711
+ ((engine_type2) => {
1712
+ engine_type2["POSTGRES"] = "postgres";
1713
+ engine_type2["MYSQL"] = "mysql";
1714
+ engine_type2["AWS_IAM"] = "aws-iam";
1715
+ engine_type2["AZURE_SP"] = "azure-sp";
1716
+ })(engine_type = CreateDynamicSecretEngineRequest2.engine_type || (CreateDynamicSecretEngineRequest2.engine_type = {}));
1717
+ })(CreateDynamicSecretEngineRequest || (CreateDynamicSecretEngineRequest = {}));
1718
+
977
1719
  // src/models/CreateIntegrationBindingRequest.ts
978
1720
  var CreateIntegrationBindingRequest;
979
1721
  ((CreateIntegrationBindingRequest2) => {
@@ -987,6 +1729,17 @@ var CreateIntegrationBindingRequest;
987
1729
  })(provider_type = CreateIntegrationBindingRequest2.provider_type || (CreateIntegrationBindingRequest2.provider_type = {}));
988
1730
  })(CreateIntegrationBindingRequest || (CreateIntegrationBindingRequest = {}));
989
1731
 
1732
+ // src/models/CreateLogForwardingRequest.ts
1733
+ var CreateLogForwardingRequest;
1734
+ ((CreateLogForwardingRequest2) => {
1735
+ let provider_type;
1736
+ ((provider_type2) => {
1737
+ provider_type2["DATADOG"] = "datadog";
1738
+ provider_type2["SPLUNK"] = "splunk";
1739
+ provider_type2["SUMO_LOGIC"] = "sumo-logic";
1740
+ })(provider_type = CreateLogForwardingRequest2.provider_type || (CreateLogForwardingRequest2.provider_type = {}));
1741
+ })(CreateLogForwardingRequest || (CreateLogForwardingRequest = {}));
1742
+
990
1743
  // src/models/CreateManualSyncRunRequest.ts
991
1744
  var CreateManualSyncRunRequest;
992
1745
  ((CreateManualSyncRunRequest2) => {
@@ -1000,6 +1753,18 @@ var CreateManualSyncRunRequest;
1000
1753
  })(provider_type = CreateManualSyncRunRequest2.provider_type || (CreateManualSyncRunRequest2.provider_type = {}));
1001
1754
  })(CreateManualSyncRunRequest || (CreateManualSyncRunRequest = {}));
1002
1755
 
1756
+ // src/models/CreateOidcProviderRequest.ts
1757
+ var CreateOidcProviderRequest;
1758
+ ((CreateOidcProviderRequest2) => {
1759
+ let provider_type;
1760
+ ((provider_type2) => {
1761
+ provider_type2["GITHUB_ACTIONS"] = "github_actions";
1762
+ provider_type2["GITLAB_CI"] = "gitlab_ci";
1763
+ provider_type2["KUBERNETES"] = "kubernetes";
1764
+ provider_type2["GENERIC"] = "generic";
1765
+ })(provider_type = CreateOidcProviderRequest2.provider_type || (CreateOidcProviderRequest2.provider_type = {}));
1766
+ })(CreateOidcProviderRequest || (CreateOidcProviderRequest = {}));
1767
+
1003
1768
  // src/models/CreateProviderConnectionRequest.ts
1004
1769
  var CreateProviderConnectionRequest;
1005
1770
  ((CreateProviderConnectionRequest2) => {
@@ -1019,6 +1784,50 @@ var CreateProviderConnectionRequest;
1019
1784
  })(status = CreateProviderConnectionRequest2.status || (CreateProviderConnectionRequest2.status = {}));
1020
1785
  })(CreateProviderConnectionRequest || (CreateProviderConnectionRequest = {}));
1021
1786
 
1787
+ // src/models/CreateRotationPolicyRequest.ts
1788
+ var CreateRotationPolicyRequest;
1789
+ ((CreateRotationPolicyRequest2) => {
1790
+ let engine_type;
1791
+ ((engine_type2) => {
1792
+ engine_type2["POSTGRES"] = "postgres";
1793
+ engine_type2["MYSQL"] = "mysql";
1794
+ engine_type2["AWS_IAM"] = "aws-iam";
1795
+ engine_type2["AZURE_SP"] = "azure-sp";
1796
+ engine_type2["GCP_SERVICE_ACCOUNT"] = "gcp-service-account";
1797
+ engine_type2["CLOUDFLARE_PAGES"] = "cloudflare-pages";
1798
+ engine_type2["SENDGRID"] = "sendgrid";
1799
+ engine_type2["TWILIO"] = "twilio";
1800
+ })(engine_type = CreateRotationPolicyRequest2.engine_type || (CreateRotationPolicyRequest2.engine_type = {}));
1801
+ })(CreateRotationPolicyRequest || (CreateRotationPolicyRequest = {}));
1802
+
1803
+ // src/models/CreateSamlProviderRequest.ts
1804
+ var CreateSamlProviderRequest;
1805
+ ((CreateSamlProviderRequest2) => {
1806
+ let provider_type;
1807
+ ((provider_type2) => {
1808
+ provider_type2["OKTA"] = "okta";
1809
+ provider_type2["ONELOGIN"] = "onelogin";
1810
+ provider_type2["AZURE_AD"] = "azure-ad";
1811
+ provider_type2["GOOGLE_WORKSPACE"] = "google-workspace";
1812
+ provider_type2["DUO"] = "duo";
1813
+ provider_type2["RIPPLING"] = "rippling";
1814
+ provider_type2["ORACLE"] = "oracle";
1815
+ provider_type2["PING_IDENTITY"] = "ping-identity";
1816
+ })(provider_type = CreateSamlProviderRequest2.provider_type || (CreateSamlProviderRequest2.provider_type = {}));
1817
+ })(CreateSamlProviderRequest || (CreateSamlProviderRequest = {}));
1818
+
1819
+ // src/models/DynamicSecretEngineResponse.ts
1820
+ var DynamicSecretEngineResponse;
1821
+ ((DynamicSecretEngineResponse2) => {
1822
+ let engine_type;
1823
+ ((engine_type2) => {
1824
+ engine_type2["POSTGRES"] = "postgres";
1825
+ engine_type2["MYSQL"] = "mysql";
1826
+ engine_type2["AWS_IAM"] = "aws-iam";
1827
+ engine_type2["AZURE_SP"] = "azure-sp";
1828
+ })(engine_type = DynamicSecretEngineResponse2.engine_type || (DynamicSecretEngineResponse2.engine_type = {}));
1829
+ })(DynamicSecretEngineResponse || (DynamicSecretEngineResponse = {}));
1830
+
1022
1831
  // src/models/EnterpriseProviderProfile.ts
1023
1832
  var EnterpriseProviderProfile;
1024
1833
  ((EnterpriseProviderProfile2) => {
@@ -1057,8 +1866,37 @@ var LicenseState;
1057
1866
  status2["ERROR"] = "error";
1058
1867
  status2["LOCKED"] = "locked";
1059
1868
  })(status = LicenseState2.status || (LicenseState2.status = {}));
1869
+ let validation_mode;
1870
+ ((validation_mode2) => {
1871
+ validation_mode2["NONE"] = "none";
1872
+ validation_mode2["LEASE"] = "lease";
1873
+ validation_mode2["CERTIFICATE"] = "certificate";
1874
+ })(validation_mode = LicenseState2.validation_mode || (LicenseState2.validation_mode = {}));
1060
1875
  })(LicenseState || (LicenseState = {}));
1061
1876
 
1877
+ // src/models/LogForwardingResponse.ts
1878
+ var LogForwardingResponse;
1879
+ ((LogForwardingResponse2) => {
1880
+ let provider_type;
1881
+ ((provider_type2) => {
1882
+ provider_type2["DATADOG"] = "datadog";
1883
+ provider_type2["SPLUNK"] = "splunk";
1884
+ provider_type2["SUMO_LOGIC"] = "sumo-logic";
1885
+ })(provider_type = LogForwardingResponse2.provider_type || (LogForwardingResponse2.provider_type = {}));
1886
+ })(LogForwardingResponse || (LogForwardingResponse = {}));
1887
+
1888
+ // src/models/OidcProviderResponse.ts
1889
+ var OidcProviderResponse;
1890
+ ((OidcProviderResponse2) => {
1891
+ let provider_type;
1892
+ ((provider_type2) => {
1893
+ provider_type2["GITHUB_ACTIONS"] = "github_actions";
1894
+ provider_type2["GITLAB_CI"] = "gitlab_ci";
1895
+ provider_type2["KUBERNETES"] = "kubernetes";
1896
+ provider_type2["GENERIC"] = "generic";
1897
+ })(provider_type = OidcProviderResponse2.provider_type || (OidcProviderResponse2.provider_type = {}));
1898
+ })(OidcProviderResponse || (OidcProviderResponse = {}));
1899
+
1062
1900
  // src/models/ProviderConnection.ts
1063
1901
  var ProviderConnection;
1064
1902
  ((ProviderConnection2) => {
@@ -1078,6 +1916,38 @@ var ProviderConnection;
1078
1916
  })(status = ProviderConnection2.status || (ProviderConnection2.status = {}));
1079
1917
  })(ProviderConnection || (ProviderConnection = {}));
1080
1918
 
1919
+ // src/models/RotationPolicyResponse.ts
1920
+ var RotationPolicyResponse;
1921
+ ((RotationPolicyResponse2) => {
1922
+ let engine_type;
1923
+ ((engine_type2) => {
1924
+ engine_type2["POSTGRES"] = "postgres";
1925
+ engine_type2["MYSQL"] = "mysql";
1926
+ engine_type2["AWS_IAM"] = "aws-iam";
1927
+ engine_type2["AZURE_SP"] = "azure-sp";
1928
+ engine_type2["GCP_SERVICE_ACCOUNT"] = "gcp-service-account";
1929
+ engine_type2["CLOUDFLARE_PAGES"] = "cloudflare-pages";
1930
+ engine_type2["SENDGRID"] = "sendgrid";
1931
+ engine_type2["TWILIO"] = "twilio";
1932
+ })(engine_type = RotationPolicyResponse2.engine_type || (RotationPolicyResponse2.engine_type = {}));
1933
+ })(RotationPolicyResponse || (RotationPolicyResponse = {}));
1934
+
1935
+ // src/models/SamlProviderResponse.ts
1936
+ var SamlProviderResponse;
1937
+ ((SamlProviderResponse2) => {
1938
+ let provider_type;
1939
+ ((provider_type2) => {
1940
+ provider_type2["OKTA"] = "okta";
1941
+ provider_type2["ONELOGIN"] = "onelogin";
1942
+ provider_type2["AZURE_AD"] = "azure-ad";
1943
+ provider_type2["GOOGLE_WORKSPACE"] = "google-workspace";
1944
+ provider_type2["DUO"] = "duo";
1945
+ provider_type2["RIPPLING"] = "rippling";
1946
+ provider_type2["ORACLE"] = "oracle";
1947
+ provider_type2["PING_IDENTITY"] = "ping-identity";
1948
+ })(provider_type = SamlProviderResponse2.provider_type || (SamlProviderResponse2.provider_type = {}));
1949
+ })(SamlProviderResponse || (SamlProviderResponse = {}));
1950
+
1081
1951
  // src/models/SyncAuditEvent.ts
1082
1952
  var SyncAuditEvent;
1083
1953
  ((SyncAuditEvent2) => {
@@ -1142,18 +2012,34 @@ export {
1142
2012
  BaseHttpRequest,
1143
2013
  CancelError,
1144
2014
  CancelablePromise,
2015
+ CreateDynamicSecretEngineRequest,
1145
2016
  CreateIntegrationBindingRequest,
2017
+ CreateLogForwardingRequest,
1146
2018
  CreateManualSyncRunRequest,
2019
+ CreateOidcProviderRequest,
1147
2020
  CreateProviderConnectionRequest,
2021
+ CreateRotationPolicyRequest,
2022
+ CreateSamlProviderRequest,
2023
+ DynamicSecretEngineResponse,
2024
+ DynamicSecretsService,
1148
2025
  EnterpriseProviderProfile,
1149
2026
  EnterpriseService,
1150
2027
  EnvSyncManagementAPISDK,
1151
2028
  IntegrationBinding,
1152
2029
  LicenseService,
1153
2030
  LicenseState,
2031
+ LogForwardingResponse,
2032
+ LogForwardingService,
2033
+ OidcProviderResponse,
2034
+ OidcProvidersService,
1154
2035
  OnboardingService,
1155
2036
  OpenAPI,
1156
2037
  ProviderConnection,
2038
+ RotationPolicyResponse,
2039
+ RotationService,
2040
+ SamlProviderResponse,
2041
+ SamlProvidersService,
2042
+ SamlSsoService,
1157
2043
  SyncAuditEvent,
1158
2044
  SyncRun,
1159
2045
  SystemService,