@envsync-cloud/envsync-ts-sdk 0.7.1 → 0.7.3
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.d.mts +357 -10
- package/dist/index.d.ts +357 -10
- package/dist/index.js +415 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +411 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -409,7 +409,7 @@ var AccessService = class {
|
|
|
409
409
|
}
|
|
410
410
|
/**
|
|
411
411
|
* Web Login Callback
|
|
412
|
-
* Handle web login callback from
|
|
412
|
+
* Handle web login callback from Keycloak
|
|
413
413
|
* @param code
|
|
414
414
|
* @returns void
|
|
415
415
|
* @throws ApiError
|
|
@@ -422,7 +422,22 @@ var AccessService = class {
|
|
|
422
422
|
"code": code
|
|
423
423
|
},
|
|
424
424
|
errors: {
|
|
425
|
-
302: `Redirect
|
|
425
|
+
302: `Redirect after establishing the browser session`,
|
|
426
|
+
500: `Internal server error`
|
|
427
|
+
}
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* Logout Web Session
|
|
432
|
+
* Clear API-managed web session cookies and return the Keycloak logout URL
|
|
433
|
+
* @returns LogoutUrlResponse Web logout prepared successfully
|
|
434
|
+
* @throws ApiError
|
|
435
|
+
*/
|
|
436
|
+
logoutWebLogin() {
|
|
437
|
+
return this.httpRequest.request({
|
|
438
|
+
method: "POST",
|
|
439
|
+
url: "/api/access/web/logout",
|
|
440
|
+
errors: {
|
|
426
441
|
500: `Internal server error`
|
|
427
442
|
}
|
|
428
443
|
});
|
|
@@ -444,7 +459,7 @@ var AccessService = class {
|
|
|
444
459
|
}
|
|
445
460
|
/**
|
|
446
461
|
* API Login Callback
|
|
447
|
-
* Handle API login callback from
|
|
462
|
+
* Handle API login callback from Keycloak
|
|
448
463
|
* @param code
|
|
449
464
|
* @returns CallbackResponse API login callback successful
|
|
450
465
|
* @throws ApiError
|
|
@@ -880,6 +895,50 @@ var CertificatesService = class {
|
|
|
880
895
|
}
|
|
881
896
|
});
|
|
882
897
|
}
|
|
898
|
+
/**
|
|
899
|
+
* Renew Certificate
|
|
900
|
+
* Issue a renewed replacement certificate linked to the existing certificate lineage.
|
|
901
|
+
* @param id
|
|
902
|
+
* @param requestBody
|
|
903
|
+
* @returns MemberCertResponse Certificate renewed successfully
|
|
904
|
+
* @throws ApiError
|
|
905
|
+
*/
|
|
906
|
+
renewCertificate(id, requestBody) {
|
|
907
|
+
return this.httpRequest.request({
|
|
908
|
+
method: "POST",
|
|
909
|
+
url: "/api/certificate/{id}/renew",
|
|
910
|
+
path: {
|
|
911
|
+
"id": id
|
|
912
|
+
},
|
|
913
|
+
body: requestBody,
|
|
914
|
+
mediaType: "application/json",
|
|
915
|
+
errors: {
|
|
916
|
+
500: `Internal server error`
|
|
917
|
+
}
|
|
918
|
+
});
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Rotate Certificate
|
|
922
|
+
* Rotate a certificate by issuing a replacement and optionally revoking the previous certificate.
|
|
923
|
+
* @param id
|
|
924
|
+
* @param requestBody
|
|
925
|
+
* @returns MemberCertResponse Certificate rotated successfully
|
|
926
|
+
* @throws ApiError
|
|
927
|
+
*/
|
|
928
|
+
rotateCertificate(id, requestBody) {
|
|
929
|
+
return this.httpRequest.request({
|
|
930
|
+
method: "POST",
|
|
931
|
+
url: "/api/certificate/{id}/rotate",
|
|
932
|
+
path: {
|
|
933
|
+
"id": id
|
|
934
|
+
},
|
|
935
|
+
body: requestBody,
|
|
936
|
+
mediaType: "application/json",
|
|
937
|
+
errors: {
|
|
938
|
+
500: `Internal server error`
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
}
|
|
883
942
|
/**
|
|
884
943
|
* Check OCSP Status
|
|
885
944
|
* Check the OCSP status of a certificate
|
|
@@ -901,6 +960,134 @@ var CertificatesService = class {
|
|
|
901
960
|
}
|
|
902
961
|
};
|
|
903
962
|
|
|
963
|
+
// src/services/ChangeRequestsService.ts
|
|
964
|
+
var ChangeRequestsService = class {
|
|
965
|
+
constructor(httpRequest) {
|
|
966
|
+
this.httpRequest = httpRequest;
|
|
967
|
+
}
|
|
968
|
+
/**
|
|
969
|
+
* Create Direct Change Request
|
|
970
|
+
* Create a protected-environment change request with explicit env and secret changes.
|
|
971
|
+
* @param requestBody
|
|
972
|
+
* @returns ChangeRequestResponse Direct change request created
|
|
973
|
+
* @throws ApiError
|
|
974
|
+
*/
|
|
975
|
+
createDirectChangeRequest(requestBody) {
|
|
976
|
+
return this.httpRequest.request({
|
|
977
|
+
method: "POST",
|
|
978
|
+
url: "/api/change_request/direct",
|
|
979
|
+
body: requestBody,
|
|
980
|
+
mediaType: "application/json",
|
|
981
|
+
errors: {
|
|
982
|
+
422: `Validation error`
|
|
983
|
+
}
|
|
984
|
+
});
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* Create Promotion Change Request
|
|
988
|
+
* Create a promotion request from one app environment to another protected environment.
|
|
989
|
+
* @param requestBody
|
|
990
|
+
* @returns ChangeRequestResponse Promotion change request created
|
|
991
|
+
* @throws ApiError
|
|
992
|
+
*/
|
|
993
|
+
createPromotionChangeRequest(requestBody) {
|
|
994
|
+
return this.httpRequest.request({
|
|
995
|
+
method: "POST",
|
|
996
|
+
url: "/api/change_request/promotion",
|
|
997
|
+
body: requestBody,
|
|
998
|
+
mediaType: "application/json"
|
|
999
|
+
});
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* List Change Requests
|
|
1003
|
+
* List change requests for the current organization.
|
|
1004
|
+
* @returns ChangeRequestListResponse Change requests listed
|
|
1005
|
+
* @throws ApiError
|
|
1006
|
+
*/
|
|
1007
|
+
listChangeRequests() {
|
|
1008
|
+
return this.httpRequest.request({
|
|
1009
|
+
method: "GET",
|
|
1010
|
+
url: "/api/change_request"
|
|
1011
|
+
});
|
|
1012
|
+
}
|
|
1013
|
+
/**
|
|
1014
|
+
* Get Change Request
|
|
1015
|
+
* Fetch a single change request including env and secret item diffs.
|
|
1016
|
+
* @param id
|
|
1017
|
+
* @returns ChangeRequestResponse Change request fetched
|
|
1018
|
+
* @throws ApiError
|
|
1019
|
+
*/
|
|
1020
|
+
getChangeRequest(id) {
|
|
1021
|
+
return this.httpRequest.request({
|
|
1022
|
+
method: "GET",
|
|
1023
|
+
url: "/api/change_request/{id}",
|
|
1024
|
+
path: {
|
|
1025
|
+
"id": id
|
|
1026
|
+
}
|
|
1027
|
+
});
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* Approve Change Request
|
|
1031
|
+
* Approve a pending change request and apply it atomically to the target environment.
|
|
1032
|
+
* @param id
|
|
1033
|
+
* @returns ChangeRequestResponse Change request approved and applied
|
|
1034
|
+
* @throws ApiError
|
|
1035
|
+
*/
|
|
1036
|
+
approveChangeRequest(id) {
|
|
1037
|
+
return this.httpRequest.request({
|
|
1038
|
+
method: "POST",
|
|
1039
|
+
url: "/api/change_request/{id}/approve",
|
|
1040
|
+
path: {
|
|
1041
|
+
"id": id
|
|
1042
|
+
},
|
|
1043
|
+
errors: {
|
|
1044
|
+
404: `Change request not found`
|
|
1045
|
+
}
|
|
1046
|
+
});
|
|
1047
|
+
}
|
|
1048
|
+
/**
|
|
1049
|
+
* Reject Change Request
|
|
1050
|
+
* Reject a pending change request without mutating the target environment.
|
|
1051
|
+
* @param id
|
|
1052
|
+
* @param requestBody
|
|
1053
|
+
* @returns ChangeRequestResponse Change request rejected
|
|
1054
|
+
* @throws ApiError
|
|
1055
|
+
*/
|
|
1056
|
+
rejectChangeRequest(id, requestBody) {
|
|
1057
|
+
return this.httpRequest.request({
|
|
1058
|
+
method: "POST",
|
|
1059
|
+
url: "/api/change_request/{id}/reject",
|
|
1060
|
+
path: {
|
|
1061
|
+
"id": id
|
|
1062
|
+
},
|
|
1063
|
+
body: requestBody,
|
|
1064
|
+
mediaType: "application/json",
|
|
1065
|
+
errors: {
|
|
1066
|
+
404: `Change request not found`
|
|
1067
|
+
}
|
|
1068
|
+
});
|
|
1069
|
+
}
|
|
1070
|
+
/**
|
|
1071
|
+
* Cancel Change Request
|
|
1072
|
+
* Cancel a pending change request created by the current user.
|
|
1073
|
+
* @param id
|
|
1074
|
+
* @returns ChangeRequestResponse Change request cancelled
|
|
1075
|
+
* @throws ApiError
|
|
1076
|
+
*/
|
|
1077
|
+
cancelChangeRequest(id) {
|
|
1078
|
+
return this.httpRequest.request({
|
|
1079
|
+
method: "POST",
|
|
1080
|
+
url: "/api/change_request/{id}/cancel",
|
|
1081
|
+
path: {
|
|
1082
|
+
"id": id
|
|
1083
|
+
},
|
|
1084
|
+
errors: {
|
|
1085
|
+
404: `Change request not found`
|
|
1086
|
+
}
|
|
1087
|
+
});
|
|
1088
|
+
}
|
|
1089
|
+
};
|
|
1090
|
+
|
|
904
1091
|
// src/services/EnvironmentTypesService.ts
|
|
905
1092
|
var EnvironmentTypesService = class {
|
|
906
1093
|
constructor(httpRequest) {
|
|
@@ -1006,6 +1193,24 @@ var EnvironmentVariablesService = class {
|
|
|
1006
1193
|
constructor(httpRequest) {
|
|
1007
1194
|
this.httpRequest = httpRequest;
|
|
1008
1195
|
}
|
|
1196
|
+
/**
|
|
1197
|
+
* Export Environment
|
|
1198
|
+
* Export environment variables and optionally secrets for an application environment in a single payload.
|
|
1199
|
+
* @param requestBody
|
|
1200
|
+
* @returns ExportEnvResponse Environment exported successfully
|
|
1201
|
+
* @throws ApiError
|
|
1202
|
+
*/
|
|
1203
|
+
exportEnvironment(requestBody) {
|
|
1204
|
+
return this.httpRequest.request({
|
|
1205
|
+
method: "POST",
|
|
1206
|
+
url: "/api/env/export",
|
|
1207
|
+
body: requestBody,
|
|
1208
|
+
mediaType: "application/json",
|
|
1209
|
+
errors: {
|
|
1210
|
+
400: `Invalid export request`
|
|
1211
|
+
}
|
|
1212
|
+
});
|
|
1213
|
+
}
|
|
1009
1214
|
/**
|
|
1010
1215
|
* Get Environment Variables
|
|
1011
1216
|
* Retrieve all environment variables for an application and environment type
|
|
@@ -1544,6 +1749,50 @@ var GpgKeysService = class {
|
|
|
1544
1749
|
}
|
|
1545
1750
|
});
|
|
1546
1751
|
}
|
|
1752
|
+
/**
|
|
1753
|
+
* Rotate GPG Key
|
|
1754
|
+
* Create a replacement GPG key, optionally promote it to default, and supersede the original key.
|
|
1755
|
+
* @param id
|
|
1756
|
+
* @param requestBody
|
|
1757
|
+
* @returns GpgKeyDetailResponse GPG key rotated successfully
|
|
1758
|
+
* @throws ApiError
|
|
1759
|
+
*/
|
|
1760
|
+
rotateGpgKey(id, requestBody) {
|
|
1761
|
+
return this.httpRequest.request({
|
|
1762
|
+
method: "POST",
|
|
1763
|
+
url: "/api/gpg_key/{id}/rotate",
|
|
1764
|
+
path: {
|
|
1765
|
+
"id": id
|
|
1766
|
+
},
|
|
1767
|
+
body: requestBody,
|
|
1768
|
+
mediaType: "application/json",
|
|
1769
|
+
errors: {
|
|
1770
|
+
500: `Internal server error`
|
|
1771
|
+
}
|
|
1772
|
+
});
|
|
1773
|
+
}
|
|
1774
|
+
/**
|
|
1775
|
+
* Extend GPG Key Expiry
|
|
1776
|
+
* Extend the expiry date of an active GPG key without rotating it.
|
|
1777
|
+
* @param id
|
|
1778
|
+
* @param requestBody
|
|
1779
|
+
* @returns GpgKeyDetailResponse GPG key expiry extended successfully
|
|
1780
|
+
* @throws ApiError
|
|
1781
|
+
*/
|
|
1782
|
+
extendGpgKeyExpiry(id, requestBody) {
|
|
1783
|
+
return this.httpRequest.request({
|
|
1784
|
+
method: "POST",
|
|
1785
|
+
url: "/api/gpg_key/{id}/extend-expiry",
|
|
1786
|
+
path: {
|
|
1787
|
+
"id": id
|
|
1788
|
+
},
|
|
1789
|
+
body: requestBody,
|
|
1790
|
+
mediaType: "application/json",
|
|
1791
|
+
errors: {
|
|
1792
|
+
500: `Internal server error`
|
|
1793
|
+
}
|
|
1794
|
+
});
|
|
1795
|
+
}
|
|
1547
1796
|
/**
|
|
1548
1797
|
* Update Trust Level
|
|
1549
1798
|
* Update the trust level of a GPG key
|
|
@@ -1872,6 +2121,38 @@ var PermissionsService = class {
|
|
|
1872
2121
|
}
|
|
1873
2122
|
});
|
|
1874
2123
|
}
|
|
2124
|
+
/**
|
|
2125
|
+
* List App Grants
|
|
2126
|
+
* List direct user and team grants on an app
|
|
2127
|
+
* @param appId
|
|
2128
|
+
* @returns GrantsListResponse App grants listed successfully
|
|
2129
|
+
* @throws ApiError
|
|
2130
|
+
*/
|
|
2131
|
+
listAppGrants(appId) {
|
|
2132
|
+
return this.httpRequest.request({
|
|
2133
|
+
method: "GET",
|
|
2134
|
+
url: "/api/permission/app/{app_id}/grants",
|
|
2135
|
+
path: {
|
|
2136
|
+
"app_id": appId
|
|
2137
|
+
}
|
|
2138
|
+
});
|
|
2139
|
+
}
|
|
2140
|
+
/**
|
|
2141
|
+
* Get App Effective Access
|
|
2142
|
+
* List user effective access for an app including team inheritance
|
|
2143
|
+
* @param appId
|
|
2144
|
+
* @returns EffectiveAccessResponse Effective app access returned successfully
|
|
2145
|
+
* @throws ApiError
|
|
2146
|
+
*/
|
|
2147
|
+
getAppEffectiveAccess(appId) {
|
|
2148
|
+
return this.httpRequest.request({
|
|
2149
|
+
method: "GET",
|
|
2150
|
+
url: "/api/permission/app/{app_id}/effective-access",
|
|
2151
|
+
path: {
|
|
2152
|
+
"app_id": appId
|
|
2153
|
+
}
|
|
2154
|
+
});
|
|
2155
|
+
}
|
|
1875
2156
|
/**
|
|
1876
2157
|
* Grant Env Type Access
|
|
1877
2158
|
* Grant a user or team access to an environment type
|
|
@@ -1916,6 +2197,22 @@ var PermissionsService = class {
|
|
|
1916
2197
|
}
|
|
1917
2198
|
});
|
|
1918
2199
|
}
|
|
2200
|
+
/**
|
|
2201
|
+
* List Env Type Grants
|
|
2202
|
+
* List direct user and team grants on an environment type
|
|
2203
|
+
* @param id
|
|
2204
|
+
* @returns GrantsListResponse Env type grants listed successfully
|
|
2205
|
+
* @throws ApiError
|
|
2206
|
+
*/
|
|
2207
|
+
listEnvTypeGrants(id) {
|
|
2208
|
+
return this.httpRequest.request({
|
|
2209
|
+
method: "GET",
|
|
2210
|
+
url: "/api/permission/env_type/{id}/grants",
|
|
2211
|
+
path: {
|
|
2212
|
+
"id": id
|
|
2213
|
+
}
|
|
2214
|
+
});
|
|
2215
|
+
}
|
|
1919
2216
|
};
|
|
1920
2217
|
|
|
1921
2218
|
// src/services/RolesService.ts
|
|
@@ -2539,6 +2836,63 @@ var TeamsService = class {
|
|
|
2539
2836
|
}
|
|
2540
2837
|
});
|
|
2541
2838
|
}
|
|
2839
|
+
/**
|
|
2840
|
+
* Assign Team Role
|
|
2841
|
+
* Assign an organization role to a team so members inherit its permissions.
|
|
2842
|
+
* @param id
|
|
2843
|
+
* @param requestBody
|
|
2844
|
+
* @returns TeamMessageResponse Team role assigned successfully
|
|
2845
|
+
* @throws ApiError
|
|
2846
|
+
*/
|
|
2847
|
+
assignTeamRole(id, requestBody) {
|
|
2848
|
+
return this.httpRequest.request({
|
|
2849
|
+
method: "POST",
|
|
2850
|
+
url: "/api/team/{id}/assign-role",
|
|
2851
|
+
path: {
|
|
2852
|
+
"id": id
|
|
2853
|
+
},
|
|
2854
|
+
body: requestBody,
|
|
2855
|
+
mediaType: "application/json",
|
|
2856
|
+
errors: {
|
|
2857
|
+
500: `Internal server error`
|
|
2858
|
+
}
|
|
2859
|
+
});
|
|
2860
|
+
}
|
|
2861
|
+
/**
|
|
2862
|
+
* Unassign Team Role
|
|
2863
|
+
* Remove the inherited organization role from a team.
|
|
2864
|
+
* @param id
|
|
2865
|
+
* @returns TeamMessageResponse Team role removed successfully
|
|
2866
|
+
* @throws ApiError
|
|
2867
|
+
*/
|
|
2868
|
+
unassignTeamRole(id) {
|
|
2869
|
+
return this.httpRequest.request({
|
|
2870
|
+
method: "POST",
|
|
2871
|
+
url: "/api/team/{id}/unassign-role",
|
|
2872
|
+
path: {
|
|
2873
|
+
"id": id
|
|
2874
|
+
},
|
|
2875
|
+
errors: {
|
|
2876
|
+
500: `Internal server error`
|
|
2877
|
+
}
|
|
2878
|
+
});
|
|
2879
|
+
}
|
|
2880
|
+
/**
|
|
2881
|
+
* Get Team Effective Permissions
|
|
2882
|
+
* Get the org-level permissions inherited by team members through the team role
|
|
2883
|
+
* @param id
|
|
2884
|
+
* @returns EffectivePermissionsResponse Team effective permissions returned successfully
|
|
2885
|
+
* @throws ApiError
|
|
2886
|
+
*/
|
|
2887
|
+
getTeamEffectivePermissions(id) {
|
|
2888
|
+
return this.httpRequest.request({
|
|
2889
|
+
method: "GET",
|
|
2890
|
+
url: "/api/team/{id}/effective-permissions",
|
|
2891
|
+
path: {
|
|
2892
|
+
"id": id
|
|
2893
|
+
}
|
|
2894
|
+
});
|
|
2895
|
+
}
|
|
2542
2896
|
};
|
|
2543
2897
|
|
|
2544
2898
|
// src/services/UsersService.ts
|
|
@@ -2772,6 +3126,7 @@ var EnvSyncAPISDK = class {
|
|
|
2772
3126
|
auditLogs;
|
|
2773
3127
|
authentication;
|
|
2774
3128
|
certificates;
|
|
3129
|
+
changeRequests;
|
|
2775
3130
|
environmentTypes;
|
|
2776
3131
|
environmentVariables;
|
|
2777
3132
|
environmentVariablesPointInTime;
|
|
@@ -2792,7 +3147,7 @@ var EnvSyncAPISDK = class {
|
|
|
2792
3147
|
constructor(config, HttpRequest = FetchHttpRequest) {
|
|
2793
3148
|
this.request = new HttpRequest({
|
|
2794
3149
|
BASE: config?.BASE ?? "http://localhost:4000",
|
|
2795
|
-
VERSION: config?.VERSION ?? "0.
|
|
3150
|
+
VERSION: config?.VERSION ?? "0.7.2",
|
|
2796
3151
|
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
2797
3152
|
CREDENTIALS: config?.CREDENTIALS ?? "include",
|
|
2798
3153
|
TOKEN: config?.TOKEN,
|
|
@@ -2807,6 +3162,7 @@ var EnvSyncAPISDK = class {
|
|
|
2807
3162
|
this.auditLogs = new AuditLogsService(this.request);
|
|
2808
3163
|
this.authentication = new AuthenticationService(this.request);
|
|
2809
3164
|
this.certificates = new CertificatesService(this.request);
|
|
3165
|
+
this.changeRequests = new ChangeRequestsService(this.request);
|
|
2810
3166
|
this.environmentTypes = new EnvironmentTypesService(this.request);
|
|
2811
3167
|
this.environmentVariables = new EnvironmentVariablesService(this.request);
|
|
2812
3168
|
this.environmentVariablesPointInTime = new EnvironmentVariablesPointInTimeService(this.request);
|
|
@@ -2829,7 +3185,7 @@ var EnvSyncAPISDK = class {
|
|
|
2829
3185
|
// src/core/OpenAPI.ts
|
|
2830
3186
|
var OpenAPI = {
|
|
2831
3187
|
BASE: "http://localhost:4000",
|
|
2832
|
-
VERSION: "0.
|
|
3188
|
+
VERSION: "0.7.2",
|
|
2833
3189
|
WITH_CREDENTIALS: false,
|
|
2834
3190
|
CREDENTIALS: "include",
|
|
2835
3191
|
TOKEN: void 0,
|
|
@@ -2839,6 +3195,23 @@ var OpenAPI = {
|
|
|
2839
3195
|
ENCODE_PATH: void 0
|
|
2840
3196
|
};
|
|
2841
3197
|
|
|
3198
|
+
// src/models/ChangeRequestResponse.ts
|
|
3199
|
+
var ChangeRequestResponse;
|
|
3200
|
+
((ChangeRequestResponse2) => {
|
|
3201
|
+
let request_kind;
|
|
3202
|
+
((request_kind2) => {
|
|
3203
|
+
request_kind2["DIRECT"] = "direct";
|
|
3204
|
+
request_kind2["PROMOTION"] = "promotion";
|
|
3205
|
+
})(request_kind = ChangeRequestResponse2.request_kind || (ChangeRequestResponse2.request_kind = {}));
|
|
3206
|
+
let status;
|
|
3207
|
+
((status2) => {
|
|
3208
|
+
status2["PENDING"] = "pending";
|
|
3209
|
+
status2["APPROVED"] = "approved";
|
|
3210
|
+
status2["REJECTED"] = "rejected";
|
|
3211
|
+
status2["CANCELLED"] = "cancelled";
|
|
3212
|
+
})(status = ChangeRequestResponse2.status || (ChangeRequestResponse2.status = {}));
|
|
3213
|
+
})(ChangeRequestResponse || (ChangeRequestResponse = {}));
|
|
3214
|
+
|
|
2842
3215
|
// src/models/CreateWebhookRequest.ts
|
|
2843
3216
|
var CreateWebhookRequest;
|
|
2844
3217
|
((CreateWebhookRequest2) => {
|
|
@@ -2855,6 +3228,23 @@ var CreateWebhookRequest;
|
|
|
2855
3228
|
})(linked_to = CreateWebhookRequest2.linked_to || (CreateWebhookRequest2.linked_to = {}));
|
|
2856
3229
|
})(CreateWebhookRequest || (CreateWebhookRequest = {}));
|
|
2857
3230
|
|
|
3231
|
+
// src/models/ExportEnvRequest.ts
|
|
3232
|
+
var ExportEnvRequest;
|
|
3233
|
+
((ExportEnvRequest2) => {
|
|
3234
|
+
let enable_secrets;
|
|
3235
|
+
((enable_secrets2) => {
|
|
3236
|
+
enable_secrets2["AUTO"] = "auto";
|
|
3237
|
+
enable_secrets2["TRUE"] = "true";
|
|
3238
|
+
enable_secrets2["FALSE"] = "false";
|
|
3239
|
+
})(enable_secrets = ExportEnvRequest2.enable_secrets || (ExportEnvRequest2.enable_secrets = {}));
|
|
3240
|
+
let is_secret_managed;
|
|
3241
|
+
((is_secret_managed2) => {
|
|
3242
|
+
is_secret_managed2["AUTO"] = "auto";
|
|
3243
|
+
is_secret_managed2["TRUE"] = "true";
|
|
3244
|
+
is_secret_managed2["FALSE"] = "false";
|
|
3245
|
+
})(is_secret_managed = ExportEnvRequest2.is_secret_managed || (ExportEnvRequest2.is_secret_managed = {}));
|
|
3246
|
+
})(ExportEnvRequest || (ExportEnvRequest = {}));
|
|
3247
|
+
|
|
2858
3248
|
// src/models/GenerateGpgKeyRequest.ts
|
|
2859
3249
|
var GenerateGpgKeyRequest;
|
|
2860
3250
|
((GenerateGpgKeyRequest2) => {
|
|
@@ -2899,6 +3289,18 @@ var RevokeAccessRequest;
|
|
|
2899
3289
|
})(relation = RevokeAccessRequest2.relation || (RevokeAccessRequest2.relation = {}));
|
|
2900
3290
|
})(RevokeAccessRequest || (RevokeAccessRequest = {}));
|
|
2901
3291
|
|
|
3292
|
+
// src/models/RotateGpgKeyRequest.ts
|
|
3293
|
+
var RotateGpgKeyRequest;
|
|
3294
|
+
((RotateGpgKeyRequest2) => {
|
|
3295
|
+
let algorithm;
|
|
3296
|
+
((algorithm2) => {
|
|
3297
|
+
algorithm2["RSA"] = "rsa";
|
|
3298
|
+
algorithm2["ECC_CURVE25519"] = "ecc-curve25519";
|
|
3299
|
+
algorithm2["ECC_P256"] = "ecc-p256";
|
|
3300
|
+
algorithm2["ECC_P384"] = "ecc-p384";
|
|
3301
|
+
})(algorithm = RotateGpgKeyRequest2.algorithm || (RotateGpgKeyRequest2.algorithm = {}));
|
|
3302
|
+
})(RotateGpgKeyRequest || (RotateGpgKeyRequest = {}));
|
|
3303
|
+
|
|
2902
3304
|
// src/models/SecretVariableRollbackResponse.ts
|
|
2903
3305
|
var SecretVariableRollbackResponse;
|
|
2904
3306
|
((SecretVariableRollbackResponse2) => {
|
|
@@ -2987,12 +3389,15 @@ export {
|
|
|
2987
3389
|
CancelError,
|
|
2988
3390
|
CancelablePromise,
|
|
2989
3391
|
CertificatesService,
|
|
3392
|
+
ChangeRequestResponse,
|
|
3393
|
+
ChangeRequestsService,
|
|
2990
3394
|
CreateWebhookRequest,
|
|
2991
3395
|
EnvSyncAPISDK,
|
|
2992
3396
|
EnvironmentTypesService,
|
|
2993
3397
|
EnvironmentVariablesPointInTimeService,
|
|
2994
3398
|
EnvironmentVariablesRollbackService,
|
|
2995
3399
|
EnvironmentVariablesService,
|
|
3400
|
+
ExportEnvRequest,
|
|
2996
3401
|
FileUploadService,
|
|
2997
3402
|
GenerateGpgKeyRequest,
|
|
2998
3403
|
GpgKeysService,
|
|
@@ -3003,6 +3408,7 @@ export {
|
|
|
3003
3408
|
PermissionsService,
|
|
3004
3409
|
RevokeAccessRequest,
|
|
3005
3410
|
RolesService,
|
|
3411
|
+
RotateGpgKeyRequest,
|
|
3006
3412
|
SecretVariableRollbackResponse,
|
|
3007
3413
|
SecretsPointInTimeService,
|
|
3008
3414
|
SecretsRollbackService,
|