@envsync-cloud/envsync-ts-sdk 0.3.0 → 0.3.1

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.js CHANGED
@@ -31,13 +31,20 @@ __export(src_exports, {
31
31
  CancelablePromise: () => CancelablePromise,
32
32
  EnvSyncAPISDK: () => EnvSyncAPISDK,
33
33
  EnvironmentTypesService: () => EnvironmentTypesService,
34
+ EnvironmentVariablesPointInTimeService: () => EnvironmentVariablesPointInTimeService,
35
+ EnvironmentVariablesRollbackService: () => EnvironmentVariablesRollbackService,
34
36
  EnvironmentVariablesService: () => EnvironmentVariablesService,
35
37
  FileUploadService: () => FileUploadService,
36
38
  OnboardingService: () => OnboardingService,
37
39
  OpenAPI: () => OpenAPI,
38
40
  OrganizationsService: () => OrganizationsService,
39
41
  RolesService: () => RolesService,
40
- UsersService: () => UsersService
42
+ SecretVariableRollbackResponse: () => SecretVariableRollbackResponse,
43
+ SecretsPointInTimeService: () => SecretsPointInTimeService,
44
+ SecretsRollbackService: () => SecretsRollbackService,
45
+ SecretsService: () => SecretsService,
46
+ UsersService: () => UsersService,
47
+ VariableRollbackResponse: () => VariableRollbackResponse
41
48
  });
42
49
  module.exports = __toCommonJS(src_exports);
43
50
 
@@ -927,7 +934,29 @@ var EnvironmentVariablesService = class {
927
934
  getEnv(key, requestBody) {
928
935
  return this.httpRequest.request({
929
936
  method: "POST",
930
- url: "/api/env/{key}",
937
+ url: "/api/env/i/{key}",
938
+ path: {
939
+ "key": key
940
+ },
941
+ body: requestBody,
942
+ mediaType: "application/json",
943
+ errors: {
944
+ 500: `Internal server error`
945
+ }
946
+ });
947
+ }
948
+ /**
949
+ * Update Environment Variable
950
+ * Update an existing environment variable
951
+ * @param key
952
+ * @param requestBody
953
+ * @returns EnvResponse Environment variable updated successfully
954
+ * @throws ApiError
955
+ */
956
+ updateEnv(key, requestBody) {
957
+ return this.httpRequest.request({
958
+ method: "PATCH",
959
+ url: "/api/env/i/{key}",
931
960
  path: {
932
961
  "key": key
933
962
  },
@@ -1010,18 +1039,184 @@ var EnvironmentVariablesService = class {
1010
1039
  }
1011
1040
  });
1012
1041
  }
1042
+ };
1043
+
1044
+ // src/services/EnvironmentVariablesPointInTimeService.ts
1045
+ var EnvironmentVariablesPointInTimeService = class {
1046
+ constructor(httpRequest) {
1047
+ this.httpRequest = httpRequest;
1048
+ }
1013
1049
  /**
1014
- * Update Environment Variable
1015
- * Update an existing environment variable
1050
+ * Get Environment Variables History
1051
+ * Retrieve paginated history of environment variable changes
1052
+ * @param requestBody
1053
+ * @returns EnvHistoryResponse Environment variables history retrieved successfully
1054
+ * @throws ApiError
1055
+ */
1056
+ getEnvHistory(requestBody) {
1057
+ return this.httpRequest.request({
1058
+ method: "POST",
1059
+ url: "/api/env/history",
1060
+ body: requestBody,
1061
+ mediaType: "application/json",
1062
+ errors: {
1063
+ 500: `Internal server error`
1064
+ }
1065
+ });
1066
+ }
1067
+ /**
1068
+ * Get Environment Variables at Point in Time
1069
+ * Retrieve environment variables state at a specific point in time
1070
+ * @param requestBody
1071
+ * @returns EnvPitStateResponse Environment variables at point in time retrieved successfully
1072
+ * @throws ApiError
1073
+ */
1074
+ getEnvsAtPointInTime(requestBody) {
1075
+ return this.httpRequest.request({
1076
+ method: "POST",
1077
+ url: "/api/env/pit",
1078
+ body: requestBody,
1079
+ mediaType: "application/json",
1080
+ errors: {
1081
+ 500: `Internal server error`
1082
+ }
1083
+ });
1084
+ }
1085
+ /**
1086
+ * Get Environment Variables at Timestamp
1087
+ * Retrieve environment variables state at a specific timestamp
1088
+ * @param requestBody
1089
+ * @returns EnvPitStateResponse Environment variables at timestamp retrieved successfully
1090
+ * @throws ApiError
1091
+ */
1092
+ getEnvsAtTimestamp(requestBody) {
1093
+ return this.httpRequest.request({
1094
+ method: "POST",
1095
+ url: "/api/env/timestamp",
1096
+ body: requestBody,
1097
+ mediaType: "application/json",
1098
+ errors: {
1099
+ 500: `Internal server error`
1100
+ }
1101
+ });
1102
+ }
1103
+ /**
1104
+ * Get Environment Variables Diff
1105
+ * Compare environment variables between two points in time
1106
+ * @param requestBody
1107
+ * @returns EnvDiffResponse Environment variables diff retrieved successfully
1108
+ * @throws ApiError
1109
+ */
1110
+ getEnvDiff(requestBody) {
1111
+ return this.httpRequest.request({
1112
+ method: "POST",
1113
+ url: "/api/env/diff",
1114
+ body: requestBody,
1115
+ mediaType: "application/json",
1116
+ errors: {
1117
+ 500: `Internal server error`
1118
+ }
1119
+ });
1120
+ }
1121
+ /**
1122
+ * Get Variable Timeline
1123
+ * Get timeline of changes for a specific environment variable
1016
1124
  * @param key
1017
1125
  * @param requestBody
1018
- * @returns EnvResponse Environment variable updated successfully
1126
+ * @returns VariableTimelineResponse Variable timeline retrieved successfully
1019
1127
  * @throws ApiError
1020
1128
  */
1021
- updateEnv(key, requestBody) {
1129
+ getVariableTimeline(key, requestBody) {
1022
1130
  return this.httpRequest.request({
1023
- method: "PATCH",
1024
- url: "/api/env/i/{key}",
1131
+ method: "POST",
1132
+ url: "/api/env/timeline/{key}",
1133
+ path: {
1134
+ "key": key
1135
+ },
1136
+ body: requestBody,
1137
+ mediaType: "application/json",
1138
+ errors: {
1139
+ 500: `Internal server error`
1140
+ }
1141
+ });
1142
+ }
1143
+ };
1144
+
1145
+ // src/services/EnvironmentVariablesRollbackService.ts
1146
+ var EnvironmentVariablesRollbackService = class {
1147
+ constructor(httpRequest) {
1148
+ this.httpRequest = httpRequest;
1149
+ }
1150
+ /**
1151
+ * Rollback Environment Variables to Point in Time
1152
+ * Rollback all environment variables to a specific point in time
1153
+ * @param requestBody
1154
+ * @returns RollbackResponse Environment variables rolled back successfully
1155
+ * @throws ApiError
1156
+ */
1157
+ rollbackEnvsToPitId(requestBody) {
1158
+ return this.httpRequest.request({
1159
+ method: "POST",
1160
+ url: "/api/env/rollback/pit",
1161
+ body: requestBody,
1162
+ mediaType: "application/json",
1163
+ errors: {
1164
+ 500: `Internal server error`
1165
+ }
1166
+ });
1167
+ }
1168
+ /**
1169
+ * Rollback Environment Variables to Timestamp
1170
+ * Rollback all environment variables to a specific timestamp
1171
+ * @param requestBody
1172
+ * @returns RollbackResponse Environment variables rolled back successfully
1173
+ * @throws ApiError
1174
+ */
1175
+ rollbackEnvsToTimestamp(requestBody) {
1176
+ return this.httpRequest.request({
1177
+ method: "POST",
1178
+ url: "/api/env/rollback/timestamp",
1179
+ body: requestBody,
1180
+ mediaType: "application/json",
1181
+ errors: {
1182
+ 500: `Internal server error`
1183
+ }
1184
+ });
1185
+ }
1186
+ /**
1187
+ * Rollback Single Variable to Point in Time
1188
+ * Rollback a specific environment variable to a point in time
1189
+ * @param key
1190
+ * @param requestBody
1191
+ * @returns VariableRollbackResponse Variable rolled back successfully
1192
+ * @throws ApiError
1193
+ */
1194
+ rollbackVariableToPitId(key, requestBody) {
1195
+ return this.httpRequest.request({
1196
+ method: "POST",
1197
+ url: "/api/env/rollback/variable/{key}/pit",
1198
+ path: {
1199
+ "key": key
1200
+ },
1201
+ body: requestBody,
1202
+ mediaType: "application/json",
1203
+ errors: {
1204
+ 500: `Internal server error`
1205
+ }
1206
+ });
1207
+ }
1208
+ /**
1209
+ * Rollback Single Variable to Timestamp
1210
+ * Rollback a specific environment variable to a timestamp
1211
+ * @param key
1212
+ * @param requestBody
1213
+ * @returns VariableRollbackResponse Variable rolled back successfully
1214
+ * @throws ApiError
1215
+ */
1216
+ rollbackVariableToTimestamp(key, requestBody) {
1217
+ return this.httpRequest.request({
1218
+ method: "POST",
1219
+ url: "/api/env/rollback/variable/{key}/timestamp",
1025
1220
  path: {
1026
1221
  "key": key
1027
1222
  },
@@ -1417,6 +1612,371 @@ var RolesService = class {
1417
1612
  }
1418
1613
  };
1419
1614
 
1615
+ // src/services/SecretsService.ts
1616
+ var SecretsService = class {
1617
+ constructor(httpRequest) {
1618
+ this.httpRequest = httpRequest;
1619
+ }
1620
+ /**
1621
+ * Get Secrets
1622
+ * Retrieve all secrets for an application and environment type
1623
+ * @param requestBody
1624
+ * @returns SecretsResponse Secrets retrieved successfully
1625
+ * @throws ApiError
1626
+ */
1627
+ getSecrets(requestBody) {
1628
+ return this.httpRequest.request({
1629
+ method: "POST",
1630
+ url: "/api/secret",
1631
+ body: requestBody,
1632
+ mediaType: "application/json",
1633
+ errors: {
1634
+ 500: `Internal server error`
1635
+ }
1636
+ });
1637
+ }
1638
+ /**
1639
+ * Delete Secret
1640
+ * Delete an existing secret
1641
+ * @param requestBody
1642
+ * @returns BatchSecretsResponse Secret deleted successfully
1643
+ * @throws ApiError
1644
+ */
1645
+ deleteSecret(requestBody) {
1646
+ return this.httpRequest.request({
1647
+ method: "DELETE",
1648
+ url: "/api/secret",
1649
+ body: requestBody,
1650
+ mediaType: "application/json",
1651
+ errors: {
1652
+ 500: `Internal server error`
1653
+ }
1654
+ });
1655
+ }
1656
+ /**
1657
+ * Get Single Secret
1658
+ * Retrieve a specific secret
1659
+ * @param key
1660
+ * @param requestBody
1661
+ * @returns SecretResponse Secret retrieved successfully
1662
+ * @throws ApiError
1663
+ */
1664
+ getSecret(key, requestBody) {
1665
+ return this.httpRequest.request({
1666
+ method: "POST",
1667
+ url: "/api/secret/i/{key}",
1668
+ path: {
1669
+ "key": key
1670
+ },
1671
+ body: requestBody,
1672
+ mediaType: "application/json",
1673
+ errors: {
1674
+ 500: `Internal server error`
1675
+ }
1676
+ });
1677
+ }
1678
+ /**
1679
+ * Update Secret
1680
+ * Update an existing secret
1681
+ * @param key
1682
+ * @param requestBody
1683
+ * @returns BatchSecretsResponse Secret updated successfully
1684
+ * @throws ApiError
1685
+ */
1686
+ updateSecret(key, requestBody) {
1687
+ return this.httpRequest.request({
1688
+ method: "PATCH",
1689
+ url: "/api/secret/i/{key}",
1690
+ path: {
1691
+ "key": key
1692
+ },
1693
+ body: requestBody,
1694
+ mediaType: "application/json",
1695
+ errors: {
1696
+ 500: `Internal server error`
1697
+ }
1698
+ });
1699
+ }
1700
+ /**
1701
+ * Create Secret
1702
+ * Create a new secret
1703
+ * @param requestBody
1704
+ * @returns SecretResponse Secret created successfully
1705
+ * @throws ApiError
1706
+ */
1707
+ createSecret(requestBody) {
1708
+ return this.httpRequest.request({
1709
+ method: "PUT",
1710
+ url: "/api/secret/single",
1711
+ body: requestBody,
1712
+ mediaType: "application/json",
1713
+ errors: {
1714
+ 500: `Internal server error`
1715
+ }
1716
+ });
1717
+ }
1718
+ /**
1719
+ * Batch Create Secrets
1720
+ * Create multiple secrets in a single request
1721
+ * @param requestBody
1722
+ * @returns BatchSecretsResponse Secrets created successfully
1723
+ * @throws ApiError
1724
+ */
1725
+ batchCreateSecrets(requestBody) {
1726
+ return this.httpRequest.request({
1727
+ method: "PUT",
1728
+ url: "/api/secret/batch",
1729
+ body: requestBody,
1730
+ mediaType: "application/json",
1731
+ errors: {
1732
+ 500: `Internal server error`
1733
+ }
1734
+ });
1735
+ }
1736
+ /**
1737
+ * Batch Update Secrets
1738
+ * Update multiple secrets in a single request
1739
+ * @param requestBody
1740
+ * @returns BatchSecretsResponse Secrets updated successfully
1741
+ * @throws ApiError
1742
+ */
1743
+ batchUpdateSecrets(requestBody) {
1744
+ return this.httpRequest.request({
1745
+ method: "PATCH",
1746
+ url: "/api/secret/batch",
1747
+ body: requestBody,
1748
+ mediaType: "application/json",
1749
+ errors: {
1750
+ 500: `Internal server error`
1751
+ }
1752
+ });
1753
+ }
1754
+ /**
1755
+ * Batch Delete Secrets
1756
+ * Delete multiple secrets in a single request
1757
+ * @param requestBody
1758
+ * @returns BatchSecretsResponse Secrets deleted successfully
1759
+ * @throws ApiError
1760
+ */
1761
+ deleteBatchSecrets(requestBody) {
1762
+ return this.httpRequest.request({
1763
+ method: "DELETE",
1764
+ url: "/api/secret/batch",
1765
+ body: requestBody,
1766
+ mediaType: "application/json",
1767
+ errors: {
1768
+ 500: `Internal server error`
1769
+ }
1770
+ });
1771
+ }
1772
+ /**
1773
+ * Reveal Secrets
1774
+ * Decrypt and reveal secret values for managed apps
1775
+ * @param requestBody
1776
+ * @returns RevealSecretsResponse Secrets revealed successfully
1777
+ * @throws ApiError
1778
+ */
1779
+ revealSecrets(requestBody) {
1780
+ return this.httpRequest.request({
1781
+ method: "POST",
1782
+ url: "/api/secret/reveal",
1783
+ body: requestBody,
1784
+ mediaType: "application/json",
1785
+ errors: {
1786
+ 500: `Internal server error`
1787
+ }
1788
+ });
1789
+ }
1790
+ };
1791
+
1792
+ // src/services/SecretsPointInTimeService.ts
1793
+ var SecretsPointInTimeService = class {
1794
+ constructor(httpRequest) {
1795
+ this.httpRequest = httpRequest;
1796
+ }
1797
+ /**
1798
+ * Get Secrets History
1799
+ * Retrieve paginated history of secret changes
1800
+ * @param requestBody
1801
+ * @returns SecretHistoryResponse Secrets history retrieved successfully
1802
+ * @throws ApiError
1803
+ */
1804
+ getSecretHistory(requestBody) {
1805
+ return this.httpRequest.request({
1806
+ method: "POST",
1807
+ url: "/api/secret/history",
1808
+ body: requestBody,
1809
+ mediaType: "application/json",
1810
+ errors: {
1811
+ 500: `Internal server error`
1812
+ }
1813
+ });
1814
+ }
1815
+ /**
1816
+ * Get Secrets at Point in Time
1817
+ * Retrieve secrets state at a specific point in time
1818
+ * @param requestBody
1819
+ * @returns SecretPitStateResponse Secrets at point in time retrieved successfully
1820
+ * @throws ApiError
1821
+ */
1822
+ getSecretsAtPointInTime(requestBody) {
1823
+ return this.httpRequest.request({
1824
+ method: "POST",
1825
+ url: "/api/secret/pit",
1826
+ body: requestBody,
1827
+ mediaType: "application/json",
1828
+ errors: {
1829
+ 500: `Internal server error`
1830
+ }
1831
+ });
1832
+ }
1833
+ /**
1834
+ * Get Secrets at Timestamp
1835
+ * Retrieve secrets state at a specific timestamp
1836
+ * @param requestBody
1837
+ * @returns SecretPitStateResponse Secrets at timestamp retrieved successfully
1838
+ * @throws ApiError
1839
+ */
1840
+ getSecretsAtTimestamp(requestBody) {
1841
+ return this.httpRequest.request({
1842
+ method: "POST",
1843
+ url: "/api/secret/timestamp",
1844
+ body: requestBody,
1845
+ mediaType: "application/json",
1846
+ errors: {
1847
+ 500: `Internal server error`
1848
+ }
1849
+ });
1850
+ }
1851
+ /**
1852
+ * Get Secrets Diff
1853
+ * Compare secrets between two points in time
1854
+ * @param requestBody
1855
+ * @returns SecretDiffResponse Secrets diff retrieved successfully
1856
+ * @throws ApiError
1857
+ */
1858
+ getSecretDiff(requestBody) {
1859
+ return this.httpRequest.request({
1860
+ method: "POST",
1861
+ url: "/api/secret/diff",
1862
+ body: requestBody,
1863
+ mediaType: "application/json",
1864
+ errors: {
1865
+ 500: `Internal server error`
1866
+ }
1867
+ });
1868
+ }
1869
+ /**
1870
+ * Get Secret Variable Timeline
1871
+ * Get timeline of changes for a specific secret variable
1872
+ * @param key
1873
+ * @param requestBody
1874
+ * @returns SecretVariableTimelineResponse Secret variable timeline retrieved successfully
1875
+ * @throws ApiError
1876
+ */
1877
+ getSecretVariableTimeline(key, requestBody) {
1878
+ return this.httpRequest.request({
1879
+ method: "POST",
1880
+ url: "/api/secret/timeline/{key}",
1881
+ path: {
1882
+ "key": key
1883
+ },
1884
+ body: requestBody,
1885
+ mediaType: "application/json",
1886
+ errors: {
1887
+ 500: `Internal server error`
1888
+ }
1889
+ });
1890
+ }
1891
+ };
1892
+
1893
+ // src/services/SecretsRollbackService.ts
1894
+ var SecretsRollbackService = class {
1895
+ constructor(httpRequest) {
1896
+ this.httpRequest = httpRequest;
1897
+ }
1898
+ /**
1899
+ * Rollback Secrets to Point in Time
1900
+ * Rollback all secrets to a specific point in time
1901
+ * @param requestBody
1902
+ * @returns RollbackSecretsResponse Secrets rolled back successfully
1903
+ * @throws ApiError
1904
+ */
1905
+ rollbackSecretsToPitId(requestBody) {
1906
+ return this.httpRequest.request({
1907
+ method: "POST",
1908
+ url: "/api/secret/rollback/pit",
1909
+ body: requestBody,
1910
+ mediaType: "application/json",
1911
+ errors: {
1912
+ 500: `Internal server error`
1913
+ }
1914
+ });
1915
+ }
1916
+ /**
1917
+ * Rollback Secrets to Timestamp
1918
+ * Rollback all secrets to a specific timestamp
1919
+ * @param requestBody
1920
+ * @returns RollbackSecretsResponse Secrets rolled back successfully
1921
+ * @throws ApiError
1922
+ */
1923
+ rollbackSecretsToTimestamp(requestBody) {
1924
+ return this.httpRequest.request({
1925
+ method: "POST",
1926
+ url: "/api/secret/rollback/timestamp",
1927
+ body: requestBody,
1928
+ mediaType: "application/json",
1929
+ errors: {
1930
+ 500: `Internal server error`
1931
+ }
1932
+ });
1933
+ }
1934
+ /**
1935
+ * Rollback Single Secret Variable to Point in Time
1936
+ * Rollback a specific secret variable to a point in time
1937
+ * @param key
1938
+ * @param requestBody
1939
+ * @returns SecretVariableRollbackResponse Secret variable rolled back successfully
1940
+ * @throws ApiError
1941
+ */
1942
+ rollbackSecretVariableToPitId(key, requestBody) {
1943
+ return this.httpRequest.request({
1944
+ method: "POST",
1945
+ url: "/api/secret/rollback/variable/{key}/pit",
1946
+ path: {
1947
+ "key": key
1948
+ },
1949
+ body: requestBody,
1950
+ mediaType: "application/json",
1951
+ errors: {
1952
+ 500: `Internal server error`
1953
+ }
1954
+ });
1955
+ }
1956
+ /**
1957
+ * Rollback Single Secret Variable to Timestamp
1958
+ * Rollback a specific secret variable to a timestamp
1959
+ * @param key
1960
+ * @param requestBody
1961
+ * @returns SecretVariableRollbackResponse Secret variable rolled back successfully
1962
+ * @throws ApiError
1963
+ */
1964
+ rollbackSecretVariableToTimestamp(key, requestBody) {
1965
+ return this.httpRequest.request({
1966
+ method: "POST",
1967
+ url: "/api/secret/rollback/variable/{key}/timestamp",
1968
+ path: {
1969
+ "key": key
1970
+ },
1971
+ body: requestBody,
1972
+ mediaType: "application/json",
1973
+ errors: {
1974
+ 500: `Internal server error`
1975
+ }
1976
+ });
1977
+ }
1978
+ };
1979
+
1420
1980
  // src/services/UsersService.ts
1421
1981
  var UsersService = class {
1422
1982
  constructor(httpRequest) {
@@ -1549,16 +2109,21 @@ var EnvSyncAPISDK = class {
1549
2109
  authentication;
1550
2110
  environmentTypes;
1551
2111
  environmentVariables;
2112
+ environmentVariablesPointInTime;
2113
+ environmentVariablesRollback;
1552
2114
  fileUpload;
1553
2115
  onboarding;
1554
2116
  organizations;
1555
2117
  roles;
2118
+ secrets;
2119
+ secretsPointInTime;
2120
+ secretsRollback;
1556
2121
  users;
1557
2122
  request;
1558
2123
  constructor(config, HttpRequest = FetchHttpRequest) {
1559
2124
  this.request = new HttpRequest({
1560
2125
  BASE: config?.BASE ?? "http://localhost:8600",
1561
- VERSION: config?.VERSION ?? "0.3.0",
2126
+ VERSION: config?.VERSION ?? "0.3.1",
1562
2127
  WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
1563
2128
  CREDENTIALS: config?.CREDENTIALS ?? "include",
1564
2129
  TOKEN: config?.TOKEN,
@@ -1574,10 +2139,15 @@ var EnvSyncAPISDK = class {
1574
2139
  this.authentication = new AuthenticationService(this.request);
1575
2140
  this.environmentTypes = new EnvironmentTypesService(this.request);
1576
2141
  this.environmentVariables = new EnvironmentVariablesService(this.request);
2142
+ this.environmentVariablesPointInTime = new EnvironmentVariablesPointInTimeService(this.request);
2143
+ this.environmentVariablesRollback = new EnvironmentVariablesRollbackService(this.request);
1577
2144
  this.fileUpload = new FileUploadService(this.request);
1578
2145
  this.onboarding = new OnboardingService(this.request);
1579
2146
  this.organizations = new OrganizationsService(this.request);
1580
2147
  this.roles = new RolesService(this.request);
2148
+ this.secrets = new SecretsService(this.request);
2149
+ this.secretsPointInTime = new SecretsPointInTimeService(this.request);
2150
+ this.secretsRollback = new SecretsRollbackService(this.request);
1581
2151
  this.users = new UsersService(this.request);
1582
2152
  }
1583
2153
  };
@@ -1585,7 +2155,7 @@ var EnvSyncAPISDK = class {
1585
2155
  // src/core/OpenAPI.ts
1586
2156
  var OpenAPI = {
1587
2157
  BASE: "http://localhost:8600",
1588
- VERSION: "0.3.0",
2158
+ VERSION: "0.3.1",
1589
2159
  WITH_CREDENTIALS: false,
1590
2160
  CREDENTIALS: "include",
1591
2161
  TOKEN: void 0,
@@ -1594,6 +2164,28 @@ var OpenAPI = {
1594
2164
  HEADERS: void 0,
1595
2165
  ENCODE_PATH: void 0
1596
2166
  };
2167
+
2168
+ // src/models/SecretVariableRollbackResponse.ts
2169
+ var SecretVariableRollbackResponse;
2170
+ ((SecretVariableRollbackResponse2) => {
2171
+ let operation;
2172
+ ((operation2) => {
2173
+ operation2["CREATE"] = "CREATE";
2174
+ operation2["UPDATE"] = "UPDATE";
2175
+ operation2["DELETE"] = "DELETE";
2176
+ })(operation = SecretVariableRollbackResponse2.operation || (SecretVariableRollbackResponse2.operation = {}));
2177
+ })(SecretVariableRollbackResponse || (SecretVariableRollbackResponse = {}));
2178
+
2179
+ // src/models/VariableRollbackResponse.ts
2180
+ var VariableRollbackResponse;
2181
+ ((VariableRollbackResponse2) => {
2182
+ let operation;
2183
+ ((operation2) => {
2184
+ operation2["CREATE"] = "CREATE";
2185
+ operation2["UPDATE"] = "UPDATE";
2186
+ operation2["DELETE"] = "DELETE";
2187
+ })(operation = VariableRollbackResponse2.operation || (VariableRollbackResponse2.operation = {}));
2188
+ })(VariableRollbackResponse || (VariableRollbackResponse = {}));
1597
2189
  // Annotate the CommonJS export names for ESM import in node:
1598
2190
  0 && (module.exports = {
1599
2191
  AccessService,
@@ -1607,11 +2199,18 @@ var OpenAPI = {
1607
2199
  CancelablePromise,
1608
2200
  EnvSyncAPISDK,
1609
2201
  EnvironmentTypesService,
2202
+ EnvironmentVariablesPointInTimeService,
2203
+ EnvironmentVariablesRollbackService,
1610
2204
  EnvironmentVariablesService,
1611
2205
  FileUploadService,
1612
2206
  OnboardingService,
1613
2207
  OpenAPI,
1614
2208
  OrganizationsService,
1615
2209
  RolesService,
1616
- UsersService
2210
+ SecretVariableRollbackResponse,
2211
+ SecretsPointInTimeService,
2212
+ SecretsRollbackService,
2213
+ SecretsService,
2214
+ UsersService,
2215
+ VariableRollbackResponse
1617
2216
  });