@temps-sdk/node-sdk 0.0.1-alpha.4 → 0.0.2

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.
Files changed (53) hide show
  1. package/README.md +499 -7
  2. package/dist/client/client/client.gen.d.ts +0 -1
  3. package/dist/client/client/index.d.ts +0 -1
  4. package/dist/client/client/types.gen.d.ts +0 -1
  5. package/dist/client/client/utils.gen.d.ts +0 -1
  6. package/dist/client/client.gen.d.ts +0 -1
  7. package/dist/client/client.gen.js +3 -1
  8. package/dist/client/core/auth.gen.d.ts +0 -1
  9. package/dist/client/core/bodySerializer.gen.d.ts +0 -1
  10. package/dist/client/core/params.gen.d.ts +0 -1
  11. package/dist/client/core/pathSerializer.gen.d.ts +0 -1
  12. package/dist/client/core/serverSentEvents.gen.d.ts +0 -1
  13. package/dist/client/core/types.gen.d.ts +0 -1
  14. package/dist/client/core/utils.gen.d.ts +0 -1
  15. package/dist/client/index.d.ts +0 -1
  16. package/dist/client/sdk.gen.d.ts +805 -241
  17. package/dist/client/sdk.gen.js +2556 -1266
  18. package/dist/client/types.gen.d.ts +11881 -5262
  19. package/dist/errors/client.d.ts +46 -0
  20. package/dist/errors/client.js +261 -0
  21. package/dist/errors/hub.d.ts +22 -0
  22. package/dist/errors/hub.js +102 -0
  23. package/dist/errors/index.d.ts +35 -0
  24. package/dist/errors/index.js +167 -0
  25. package/dist/errors/scope.d.ts +23 -0
  26. package/dist/errors/scope.js +82 -0
  27. package/dist/errors/stacktrace.d.ts +5 -0
  28. package/dist/errors/stacktrace.js +113 -0
  29. package/dist/errors/transaction.d.ts +57 -0
  30. package/dist/errors/transaction.js +163 -0
  31. package/dist/errors/transport.d.ts +23 -0
  32. package/dist/errors/transport.js +72 -0
  33. package/dist/errors/types.d.ts +200 -0
  34. package/dist/errors/types.js +1 -0
  35. package/dist/index.d.ts +1727 -798
  36. package/dist/index.js +371 -280
  37. package/package.json +6 -4
  38. package/dist/client/client/client.gen.d.ts.map +0 -1
  39. package/dist/client/client/index.d.ts.map +0 -1
  40. package/dist/client/client/types.gen.d.ts.map +0 -1
  41. package/dist/client/client/utils.gen.d.ts.map +0 -1
  42. package/dist/client/client.gen.d.ts.map +0 -1
  43. package/dist/client/core/auth.gen.d.ts.map +0 -1
  44. package/dist/client/core/bodySerializer.gen.d.ts.map +0 -1
  45. package/dist/client/core/params.gen.d.ts.map +0 -1
  46. package/dist/client/core/pathSerializer.gen.d.ts.map +0 -1
  47. package/dist/client/core/serverSentEvents.gen.d.ts.map +0 -1
  48. package/dist/client/core/types.gen.d.ts.map +0 -1
  49. package/dist/client/core/utils.gen.d.ts.map +0 -1
  50. package/dist/client/index.d.ts.map +0 -1
  51. package/dist/client/sdk.gen.d.ts.map +0 -1
  52. package/dist/client/types.gen.d.ts.map +0 -1
  53. package/dist/index.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  import { createClient, createConfig } from './client/client';
2
2
  import * as sdk from './client/sdk.gen';
3
3
  export * from './client/types.gen';
4
+ export * from './client/sdk.gen';
5
+ export * as ErrorTracking from './errors';
4
6
  export class TempsClient {
5
7
  client;
6
8
  // Namespace properties
@@ -11,26 +13,24 @@ export class TempsClient {
11
13
  backups;
12
14
  crons;
13
15
  deployments;
14
- develop;
16
+ dns;
15
17
  domains;
18
+ email;
16
19
  externalServices;
17
- featureFlags;
18
20
  files;
19
21
  funnels;
20
- github;
22
+ git;
21
23
  loadBalancer;
22
- logs;
23
- mcp;
24
- metrics;
24
+ monitoring;
25
25
  notifications;
26
- opentelemetry;
27
- payments;
28
- pipelines;
26
+ performance;
29
27
  platform;
30
28
  projects;
31
- speedInsights;
29
+ proxyLogs;
30
+ repositories;
31
+ sessionReplay;
32
+ settings;
32
33
  users;
33
- websocket;
34
34
  constructor(config) {
35
35
  const clientConfig = createConfig({
36
36
  baseUrl: config.baseUrl,
@@ -47,26 +47,24 @@ export class TempsClient {
47
47
  this.backups = new Backups(this.client);
48
48
  this.crons = new Crons(this.client);
49
49
  this.deployments = new Deployments(this.client);
50
- this.develop = new Develop(this.client);
50
+ this.dns = new DNS(this.client);
51
51
  this.domains = new Domains(this.client);
52
+ this.email = new Email(this.client);
52
53
  this.externalServices = new ExternalServices(this.client);
53
- this.featureFlags = new FeatureFlags(this.client);
54
54
  this.files = new Files(this.client);
55
55
  this.funnels = new Funnels(this.client);
56
- this.github = new Github(this.client);
56
+ this.git = new Git(this.client);
57
57
  this.loadBalancer = new LoadBalancer(this.client);
58
- this.logs = new Logs(this.client);
59
- this.mcp = new MCP(this.client);
60
- this.metrics = new Metrics(this.client);
58
+ this.monitoring = new Monitoring(this.client);
61
59
  this.notifications = new Notifications(this.client);
62
- this.opentelemetry = new OpenTelemetry(this.client);
63
- this.payments = new Payments(this.client);
64
- this.pipelines = new Pipelines(this.client);
60
+ this.performance = new Performance(this.client);
65
61
  this.platform = new Platform(this.client);
66
62
  this.projects = new Projects(this.client);
67
- this.speedInsights = new SpeedInsights(this.client);
63
+ this.proxyLogs = new ProxyLogs(this.client);
64
+ this.repositories = new Repositories(this.client);
65
+ this.sessionReplay = new SessionReplay(this.client);
66
+ this.settings = new Settings(this.client);
68
67
  this.users = new Users(this.client);
69
- this.websocket = new WebSocket(this.client);
70
68
  }
71
69
  // Direct client access for advanced usage
72
70
  get rawClient() {
@@ -79,14 +77,14 @@ class APIKeys {
79
77
  constructor(client) {
80
78
  this.client = client;
81
79
  }
82
- activateApiKey = (options) => sdk.activateApiKey({ ...options, client: this.client });
83
- createApiKey = (options) => sdk.createApiKey({ ...options, client: this.client });
84
- deactivateApiKey = (options) => sdk.deactivateApiKey({ ...options, client: this.client });
85
- deleteApiKey = (options) => sdk.deleteApiKey({ ...options, client: this.client });
86
- getApiKey = (options) => sdk.getApiKey({ ...options, client: this.client });
87
- getApiKeyPermissions = (options) => sdk.getApiKeyPermissions({ ...options, client: this.client });
88
- listApiKeys = (options) => sdk.listApiKeys({ ...options, client: this.client });
89
- updateApiKey = (options) => sdk.updateApiKey({ ...options, client: this.client });
80
+ activate = (options) => sdk.activateApiKey({ ...options, client: this.client });
81
+ create = (options) => sdk.createApiKey({ ...options, client: this.client });
82
+ deactivate = (options) => sdk.deactivateApiKey({ ...options, client: this.client });
83
+ delete = (options) => sdk.deleteApiKey({ ...options, client: this.client });
84
+ get = (options) => sdk.getApiKey({ ...options, client: this.client });
85
+ getPermissions = (options) => sdk.getApiKeyPermissions({ ...options, client: this.client });
86
+ list = (options) => sdk.listApiKeys({ ...options, client: this.client });
87
+ update = (options) => sdk.updateApiKey({ ...options, client: this.client });
90
88
  }
91
89
  class Analytics {
92
90
  client;
@@ -94,44 +92,46 @@ class Analytics {
94
92
  this.client = client;
95
93
  }
96
94
  enrichVisitor = (options) => sdk.enrichVisitor({ ...options, client: this.client });
97
- getAnalyticsMetrics = (options) => sdk.getAnalyticsMetrics({ ...options, client: this.client });
98
- getBrowsers = (options) => sdk.getBrowsers({ ...options, client: this.client });
95
+ getActiveVisitors = (options) => sdk.getActiveVisitors({ ...options, client: this.client });
99
96
  getEventsCount = (options) => sdk.getEventsCount({ ...options, client: this.client });
100
- getPathVisitors = (options) => sdk.getPathVisitors({ ...options, client: this.client });
101
- getReferrers = (options) => sdk.getReferrers({ ...options, client: this.client });
97
+ getGeneralStats = (options) => sdk.getGeneralStats({ ...options, client: this.client });
98
+ getLiveVisitorsList = (options) => sdk.getLiveVisitorsList({ ...options, client: this.client });
99
+ getPageHourlySessions = (options) => sdk.getPageHourlySessions({ ...options, client: this.client });
100
+ getPagePaths = (options) => sdk.getPagePaths({ ...options, client: this.client });
102
101
  getSessionDetails = (options) => sdk.getSessionDetails({ ...options, client: this.client });
103
102
  getSessionEvents = (options) => sdk.getSessionEvents({ ...options, client: this.client });
104
103
  getSessionLogs = (options) => sdk.getSessionLogs({ ...options, client: this.client });
105
- getSessionMetrics = (options) => sdk.getSessionMetrics({ ...options, client: this.client });
106
- getStatusCodes = (options) => sdk.getStatusCodes({ ...options, client: this.client });
107
- getViewsOverTime = (options) => sdk.getViewsOverTime({ ...options, client: this.client });
104
+ getVisitorByGuid = (options) => sdk.getVisitorByGuid({ ...options, client: this.client });
105
+ getVisitorById = (options) => sdk.getVisitorById({ ...options, client: this.client });
108
106
  getVisitorDetails = (options) => sdk.getVisitorDetails({ ...options, client: this.client });
109
- getVisitorLocations = (options) => sdk.getVisitorLocations({ ...options, client: this.client });
107
+ getVisitorInfo = (options) => sdk.getVisitorInfo({ ...options, client: this.client });
110
108
  getVisitors = (options) => sdk.getVisitors({ ...options, client: this.client });
111
109
  getVisitorSessions = (options) => sdk.getVisitorSessions({ ...options, client: this.client });
110
+ getVisitorStats = (options) => sdk.getVisitorStats({ ...options, client: this.client });
111
+ recordEvent = (options) => sdk.recordEventMetrics({ ...options, client: this.client });
112
112
  }
113
113
  class AuditLogs {
114
114
  client;
115
115
  constructor(client) {
116
116
  this.client = client;
117
117
  }
118
- getAuditLog = (options) => sdk.getAuditLog({ ...options, client: this.client });
119
- listAuditLogs = (options) => sdk.listAuditLogs({ ...options, client: this.client });
118
+ get = (options) => sdk.getAuditLog({ ...options, client: this.client });
119
+ list = (options) => sdk.listAuditLogs({ ...options, client: this.client });
120
120
  }
121
121
  class Authentication {
122
122
  client;
123
123
  constructor(client) {
124
124
  this.client = client;
125
125
  }
126
- authStatus = (options) => sdk.authStatus({ ...options, client: this.client });
127
- cliLogin = (options) => sdk.cliLogin({ ...options, client: this.client });
126
+ emailStatus = (options) => sdk.emailStatus({ ...options, client: this.client });
128
127
  getCurrentUser = (options) => sdk.getCurrentUser({ ...options, client: this.client });
129
- githubAppCallback = (options) => sdk.githubAppCallback({ ...options, client: this.client });
130
- githubCallback = (options) => sdk.githubCallback({ ...options, client: this.client });
131
- initAuth = (options) => sdk.initAuth({ ...options, client: this.client });
132
128
  login = (options) => sdk.login({ ...options, client: this.client });
133
129
  logout = (options) => sdk.logout({ ...options, client: this.client });
134
- renewToken = (options) => sdk.renewToken({ ...options, client: this.client });
130
+ requestMagicLink = (options) => sdk.requestMagicLink({ ...options, client: this.client });
131
+ requestPasswordReset = (options) => sdk.requestPasswordReset({ ...options, client: this.client });
132
+ resetPassword = (options) => sdk.resetPassword({ ...options, client: this.client });
133
+ verifyEmail = (options) => sdk.verifyEmail({ ...options, client: this.client });
134
+ verifyMagicLink = (options) => sdk.verifyMagicLink({ ...options, client: this.client });
135
135
  verifyMfaChallenge = (options) => sdk.verifyMfaChallenge({ ...options, client: this.client });
136
136
  }
137
137
  class Backups {
@@ -139,20 +139,21 @@ class Backups {
139
139
  constructor(client) {
140
140
  this.client = client;
141
141
  }
142
- createBackupSchedule = (options) => sdk.createBackupSchedule({ ...options, client: this.client });
142
+ createSchedule = (options) => sdk.createBackupSchedule({ ...options, client: this.client });
143
143
  createS3Source = (options) => sdk.createS3Source({ ...options, client: this.client });
144
- deleteBackupSchedule = (options) => sdk.deleteBackupSchedule({ ...options, client: this.client });
144
+ deleteSchedule = (options) => sdk.deleteBackupSchedule({ ...options, client: this.client });
145
145
  deleteS3Source = (options) => sdk.deleteS3Source({ ...options, client: this.client });
146
- disableBackupSchedule = (options) => sdk.disableBackupSchedule({ ...options, client: this.client });
147
- enableBackupSchedule = (options) => sdk.enableBackupSchedule({ ...options, client: this.client });
148
- getBackup = (options) => sdk.getBackup({ ...options, client: this.client });
149
- getBackupSchedule = (options) => sdk.getBackupSchedule({ ...options, client: this.client });
146
+ disableSchedule = (options) => sdk.disableBackupSchedule({ ...options, client: this.client });
147
+ enableSchedule = (options) => sdk.enableBackupSchedule({ ...options, client: this.client });
148
+ get = (options) => sdk.getBackup({ ...options, client: this.client });
149
+ getSchedule = (options) => sdk.getBackupSchedule({ ...options, client: this.client });
150
150
  getS3Source = (options) => sdk.getS3Source({ ...options, client: this.client });
151
- listBackupSchedules = (options) => sdk.listBackupSchedules({ ...options, client: this.client });
151
+ listSchedules = (options) => sdk.listBackupSchedules({ ...options, client: this.client });
152
152
  listBackupsForSchedule = (options) => sdk.listBackupsForSchedule({ ...options, client: this.client });
153
153
  listS3Sources = (options) => sdk.listS3Sources({ ...options, client: this.client });
154
154
  listSourceBackups = (options) => sdk.listSourceBackups({ ...options, client: this.client });
155
155
  runBackupForSource = (options) => sdk.runBackupForSource({ ...options, client: this.client });
156
+ runExternalServiceBackup = (options) => sdk.runExternalServiceBackup({ ...options, client: this.client });
156
157
  updateS3Source = (options) => sdk.updateS3Source({ ...options, client: this.client });
157
158
  }
158
159
  class Crons {
@@ -160,345 +161,435 @@ class Crons {
160
161
  constructor(client) {
161
162
  this.client = client;
162
163
  }
163
- getCronById = (options) => sdk.getCronById({ ...options, client: this.client });
164
- getCronExecutions = (options) => sdk.getCronExecutions({ ...options, client: this.client });
165
- getEnvironmentCrons = (options) => sdk.getEnvironmentCrons({ ...options, client: this.client });
164
+ get = (options) => sdk.getCronById({ ...options, client: this.client });
165
+ getExecutions = (options) => sdk.getCronExecutions({ ...options, client: this.client });
166
+ listForEnvironment = (options) => sdk.getEnvironmentCrons({ ...options, client: this.client });
166
167
  }
167
168
  class Deployments {
168
169
  client;
169
170
  constructor(client) {
170
171
  this.client = client;
171
172
  }
172
- getDeployment = (options) => sdk.getDeployment({ ...options, client: this.client });
173
- getDeploymentMetricsHistogram = (options) => sdk.getDeploymentMetricsHistogram({ ...options, client: this.client });
174
- getDeploymentStageLogs = (options) => sdk.getDeploymentStageLogs({ ...options, client: this.client });
175
- getDeploymentStages = (options) => sdk.getDeploymentStages({ ...options, client: this.client });
176
- getLastDeployment = (options) => sdk.getLastDeployment({ ...options, client: this.client });
177
- tailDeploymentStageLogs = (options) => sdk.tailDeploymentStageLogs({ ...options, client: this.client });
173
+ cancel = (options) => sdk.cancelDeployment({ ...options, client: this.client });
174
+ get = (options) => sdk.getDeployment({ ...options, client: this.client });
175
+ getJobs = (options) => sdk.getDeploymentJobs({ ...options, client: this.client });
176
+ getJobLogs = (options) => sdk.getDeploymentJobLogs({ ...options, client: this.client });
177
+ getLast = (options) => sdk.getLastDeployment({ ...options, client: this.client });
178
+ getOperations = (options) => sdk.getDeploymentOperations({ ...options, client: this.client });
179
+ getOperationStatus = (options) => sdk.getDeploymentOperationStatus({ ...options, client: this.client });
180
+ executeOperation = (options) => sdk.executeDeploymentOperation({ ...options, client: this.client });
181
+ pause = (options) => sdk.pauseDeployment({ ...options, client: this.client });
182
+ resume = (options) => sdk.resumeDeployment({ ...options, client: this.client });
183
+ rollback = (options) => sdk.rollbackToDeployment({ ...options, client: this.client });
184
+ teardown = (options) => sdk.teardownDeployment({ ...options, client: this.client });
185
+ tailJobLogs = (options) => sdk.tailDeploymentJobLogs({ ...options, client: this.client });
178
186
  }
179
- class Develop {
187
+ class DNS {
180
188
  client;
181
189
  constructor(client) {
182
190
  this.client = client;
183
191
  }
184
- buildDevContainer = (options) => sdk.buildDevContainer({ ...options, client: this.client });
185
- createBranch = (options) => sdk.createBranch({ ...options, client: this.client });
186
- createDevProject = (options) => sdk.createDevProject({ ...options, client: this.client });
187
- createDirectory = (options) => sdk.createDirectory({ ...options, client: this.client });
188
- createFile = (options) => sdk.createFile({ ...options, client: this.client });
189
- deleteDevProject = (options) => sdk.deleteDevProject({ ...options, client: this.client });
190
- deleteFileOrDirectory = (options) => sdk.deleteFileOrDirectory({ ...options, client: this.client });
191
- devTerminalWs = (options) => sdk.devTerminalWs({ ...options, client: this.client });
192
- getBranches = (options) => sdk.getBranches({ ...options, client: this.client });
193
- getDevProject = (options) => sdk.getDevProject({ ...options, client: this.client });
194
- getDevProjects = (options) => sdk.getDevProjects({ ...options, client: this.client });
195
- getGitLog = (options) => sdk.getGitLog({ ...options, client: this.client });
196
- getGitStatus = (options) => sdk.getGitStatus({ ...options, client: this.client });
197
- gitAdd = (options) => sdk.gitAdd({ ...options, client: this.client });
198
- gitCommit = (options) => sdk.gitCommit({ ...options, client: this.client });
199
- gitPull = (options) => sdk.gitPull({ ...options, client: this.client });
200
- gitPush = (options) => sdk.gitPush({ ...options, client: this.client });
201
- gitRemove = (options) => sdk.gitRemove({ ...options, client: this.client });
202
- gitUnstage = (options) => sdk.gitUnstage({ ...options, client: this.client });
203
- listDirectory = (options) => sdk.listDirectory({ ...options, client: this.client });
204
- pullDevProject = (options) => sdk.pullDevProject({ ...options, client: this.client });
205
- readFile = (options) => sdk.readFile({ ...options, client: this.client });
206
- startDevContainer = (options) => sdk.startDevContainer({ ...options, client: this.client });
207
- stopDevContainer = (options) => sdk.stopDevContainer({ ...options, client: this.client });
208
- switchBranch = (options) => sdk.switchBranch({ ...options, client: this.client });
209
- writeFile = (options) => sdk.writeFile({ ...options, client: this.client });
192
+ // DNS Providers
193
+ listProviders = (options) => sdk.listProviders({ ...options, client: this.client });
194
+ createProvider = (options) => sdk.createProvider({ ...options, client: this.client });
195
+ deleteProvider = (options) => sdk.deleteProvider({ ...options, client: this.client });
196
+ getProvider = (options) => sdk.getProvider({ ...options, client: this.client });
197
+ updateProvider = (options) => sdk.updateProvider({ ...options, client: this.client });
198
+ testProviderConnection = (options) => sdk.testProviderConnection({ ...options, client: this.client });
199
+ listProviderZones = (options) => sdk.listProviderZones({ ...options, client: this.client });
200
+ // Managed Domains
201
+ listManagedDomains = (options) => sdk.listManagedDomains({ ...options, client: this.client });
202
+ addManagedDomain = (options) => sdk.addManagedDomain({ ...options, client: this.client });
203
+ removeManagedDomain = (options) => sdk.removeManagedDomain({ ...options, client: this.client });
204
+ verifyManagedDomain = (options) => sdk.verifyManagedDomain({ ...options, client: this.client });
205
+ // DNS Lookup
206
+ lookupARecords = (options) => sdk.lookupDnsARecords({ ...options, client: this.client });
210
207
  }
211
208
  class Domains {
212
209
  client;
213
210
  constructor(client) {
214
211
  this.client = client;
215
212
  }
216
- checkDomainStatus = (options) => sdk.checkDomainStatus({ ...options, client: this.client });
217
- completeDnsChallenge = (options) => sdk.completeDnsChallenge({ ...options, client: this.client });
218
- createDomain = (options) => sdk.createDomain({ ...options, client: this.client });
219
- deleteDomain = (options) => sdk.deleteDomain({ ...options, client: this.client });
220
- getDomainByHost = (options) => sdk.getDomainByHost({ ...options, client: this.client });
221
- getDomainById = (options) => sdk.getDomainById({ ...options, client: this.client });
222
- listDomains = (options) => sdk.listDomains({ ...options, client: this.client });
223
- provisionDomain = (options) => sdk.provisionDomain({ ...options, client: this.client });
224
- renewDomain = (options) => sdk.renewDomain({ ...options, client: this.client });
213
+ // SSL/TLS Domains
214
+ list = (options) => sdk.listDomains({ ...options, client: this.client });
215
+ create = (options) => sdk.createDomain({ ...options, client: this.client });
216
+ delete = (options) => sdk.deleteDomain({ ...options, client: this.client });
217
+ getByHost = (options) => sdk.getDomainByHost({ ...options, client: this.client });
218
+ getById = (options) => sdk.getDomainById({ ...options, client: this.client });
219
+ checkStatus = (options) => sdk.checkDomainStatus({ ...options, client: this.client });
220
+ provision = (options) => sdk.provisionDomain({ ...options, client: this.client });
221
+ renew = (options) => sdk.renewDomain({ ...options, client: this.client });
222
+ // Domain Orders
223
+ getOrder = (options) => sdk.getDomainOrder({ ...options, client: this.client });
224
+ createOrRecreateOrder = (options) => sdk.createOrRecreateOrder({ ...options, client: this.client });
225
+ cancelOrder = (options) => sdk.cancelDomainOrder({ ...options, client: this.client });
226
+ finalizeOrder = (options) => sdk.finalizeOrder({ ...options, client: this.client });
227
+ getChallengeToken = (options) => sdk.getChallengeToken({ ...options, client: this.client });
228
+ getHttpChallengeDebug = (options) => sdk.getHttpChallengeDebug({ ...options, client: this.client });
229
+ listOrders = (options) => sdk.listOrders({ ...options, client: this.client });
225
230
  }
226
- class ExternalServices {
231
+ class Email {
227
232
  client;
228
233
  constructor(client) {
229
234
  this.client = client;
230
235
  }
231
- createService = (options) => sdk.createService({ ...options, client: this.client });
232
- deleteService = (options) => sdk.deleteService({ ...options, client: this.client });
233
- getProjectServiceEnvironmentVariables = (options) => sdk.getProjectServiceEnvironmentVariables({ ...options, client: this.client });
234
- getService = (options) => sdk.getService({ ...options, client: this.client });
235
- getServiceBySlug = (options) => sdk.getServiceBySlug({ ...options, client: this.client });
236
- getServiceEnvironmentVariable = (options) => sdk.getServiceEnvironmentVariable({ ...options, client: this.client });
237
- getServiceEnvironmentVariables = (options) => sdk.getServiceEnvironmentVariables({ ...options, client: this.client });
238
- getServiceTypeParameters = (options) => sdk.getServiceTypeParameters({ ...options, client: this.client });
239
- getServiceTypes = (options) => sdk.getServiceTypes({ ...options, client: this.client });
240
- linkServiceToProject = (options) => sdk.linkServiceToProject({ ...options, client: this.client });
241
- listProjectServices = (options) => sdk.listProjectServices({ ...options, client: this.client });
242
- listServiceProjects = (options) => sdk.listServiceProjects({ ...options, client: this.client });
243
- listServices = (options) => sdk.listServices({ ...options, client: this.client });
244
- startService = (options) => sdk.startService({ ...options, client: this.client });
245
- stopService = (options) => sdk.stopService({ ...options, client: this.client });
246
- unlinkServiceFromProject = (options) => sdk.unlinkServiceFromProject({ ...options, client: this.client });
247
- updateService = (options) => sdk.updateService({ ...options, client: this.client });
236
+ // Email Providers
237
+ listProviders = (options) => sdk.listProviders2({ ...options, client: this.client });
238
+ createProvider = (options) => sdk.createProvider2({ ...options, client: this.client });
239
+ deleteProvider = (options) => sdk.deleteProvider2({ ...options, client: this.client });
240
+ getProvider = (options) => sdk.getProvider2({ ...options, client: this.client });
241
+ testProvider = (options) => sdk.testProvider({ ...options, client: this.client });
242
+ // Email Domains
243
+ listDomains = (options) => sdk.listDomains2({ ...options, client: this.client });
244
+ createDomain = (options) => sdk.createDomain2({ ...options, client: this.client });
245
+ deleteDomain = (options) => sdk.deleteDomain2({ ...options, client: this.client });
246
+ getDomain = (options) => sdk.getDomain({ ...options, client: this.client });
247
+ verifyDomain = (options) => sdk.verifyDomain({ ...options, client: this.client });
248
+ // Emails
249
+ send = (options) => sdk.sendEmail({ ...options, client: this.client });
250
+ list = (options) => sdk.listEmails({ ...options, client: this.client });
251
+ get = (options) => sdk.getEmail({ ...options, client: this.client });
252
+ getStats = (options) => sdk.getEmailStats({ ...options, client: this.client });
248
253
  }
249
- class FeatureFlags {
254
+ class ExternalServices {
250
255
  client;
251
256
  constructor(client) {
252
257
  this.client = client;
253
258
  }
254
- getFeatureFlags = (options) => sdk.getFeatureFlags({ ...options, client: this.client });
255
- updateAutomaticAnalytics = (options) => sdk.updateAutomaticAnalytics({ ...options, client: this.client });
259
+ list = (options) => sdk.listServices({ ...options, client: this.client });
260
+ create = (options) => sdk.createService({ ...options, client: this.client });
261
+ delete = (options) => sdk.deleteService({ ...options, client: this.client });
262
+ get = (options) => sdk.getService({ ...options, client: this.client });
263
+ getBySlug = (options) => sdk.getServiceBySlug({ ...options, client: this.client });
264
+ update = (options) => sdk.updateService({ ...options, client: this.client });
265
+ start = (options) => sdk.startService({ ...options, client: this.client });
266
+ stop = (options) => sdk.stopService({ ...options, client: this.client });
267
+ upgrade = (options) => sdk.upgradeService({ ...options, client: this.client });
268
+ import = (options) => sdk.importExternalService({ ...options, client: this.client });
269
+ // Service Types
270
+ getTypes = (options) => sdk.getServiceTypes({ ...options, client: this.client });
271
+ getTypeParameters = (options) => sdk.getServiceTypeParameters({ ...options, client: this.client });
272
+ // Environment Variables
273
+ getEnvironmentVariables = (options) => sdk.getServiceEnvironmentVariables({ ...options, client: this.client });
274
+ getEnvironmentVariable = (options) => sdk.getServiceEnvironmentVariable({ ...options, client: this.client });
275
+ // Project linking
276
+ listProjects = (options) => sdk.listServiceProjects({ ...options, client: this.client });
277
+ linkToProject = (options) => sdk.linkServiceToProject({ ...options, client: this.client });
278
+ unlinkFromProject = (options) => sdk.unlinkServiceFromProject({ ...options, client: this.client });
279
+ listForProject = (options) => sdk.listProjectServices({ ...options, client: this.client });
280
+ getProjectEnvironmentVariables = (options) => sdk.getProjectServiceEnvironmentVariables({ ...options, client: this.client });
281
+ // Containers
282
+ listAvailableContainers = (options) => sdk.listAvailableContainers({ ...options, client: this.client });
283
+ // Providers Metadata
284
+ getProvidersMetadata = (options) => sdk.getProvidersMetadata({ ...options, client: this.client });
285
+ getProviderMetadata = (options) => sdk.getProviderMetadata({ ...options, client: this.client });
256
286
  }
257
287
  class Files {
258
288
  client;
259
289
  constructor(client) {
260
290
  this.client = client;
261
291
  }
262
- getFile = (options) => sdk.getFile({ ...options, client: this.client });
292
+ get = (options) => sdk.getFile({ ...options, client: this.client });
263
293
  }
264
294
  class Funnels {
265
295
  client;
266
296
  constructor(client) {
267
297
  this.client = client;
268
298
  }
269
- createFunnel = (options) => sdk.createFunnel({ ...options, client: this.client });
270
- deleteFunnel = (options) => sdk.deleteFunnel({ ...options, client: this.client });
271
- getFunnelMetrics = (options) => sdk.getFunnelMetrics({ ...options, client: this.client });
272
- listFunnels = (options) => sdk.listFunnels({ ...options, client: this.client });
273
- updateFunnel = (options) => sdk.updateFunnel({ ...options, client: this.client });
299
+ list = (options) => sdk.listFunnels({ ...options, client: this.client });
300
+ create = (options) => sdk.createFunnel({ ...options, client: this.client });
301
+ delete = (options) => sdk.deleteFunnel({ ...options, client: this.client });
302
+ update = (options) => sdk.updateFunnel({ ...options, client: this.client });
303
+ getMetrics = (options) => sdk.getFunnelMetrics({ ...options, client: this.client });
304
+ previewMetrics = (options) => sdk.previewFunnelMetrics({ ...options, client: this.client });
274
305
  }
275
- class Github {
306
+ class Git {
276
307
  client;
277
308
  constructor(client) {
278
309
  this.client = client;
279
310
  }
280
- deleteGithubInstallation = (options) => sdk.deleteGithubInstallation({ ...options, client: this.client });
281
- getAllGithubApps = (options) => sdk.getAllGithubApps({ ...options, client: this.client });
282
- getAllGithubInstallations = (options) => sdk.getAllGithubInstallations({ ...options, client: this.client });
283
- getAllGithubRepos = (options) => sdk.getAllGithubRepos({ ...options, client: this.client });
284
- getGithubRepoByOwnerName = (options) => sdk.getGithubRepoByOwnerName({ ...options, client: this.client });
285
- getGithubRepoPreset = (options) => sdk.getGithubRepoPreset({ ...options, client: this.client });
286
- getRepoBranches = (options) => sdk.getRepoBranches({ ...options, client: this.client });
287
- getRepoSources = (options) => sdk.getRepoSources({ ...options, client: this.client });
288
- redirectToGithubInstall = (options) => sdk.redirectToGithubInstall({ ...options, client: this.client });
289
- setupStatus = (options) => sdk.setupStatus({ ...options, client: this.client });
290
- syncGithubInstallation = (options) => sdk.syncGithubInstallation({ ...options, client: this.client });
291
- githubWebhook = (options) => sdk.githubWebhook({ ...options, client: this.client });
311
+ // Git Providers
312
+ listProviders = (options) => sdk.listGitProviders({ ...options, client: this.client });
313
+ createProvider = (options) => sdk.createGitProvider({ ...options, client: this.client });
314
+ createGithubPatProvider = (options) => sdk.createGithubPatProvider({ ...options, client: this.client });
315
+ createGitlabOauthProvider = (options) => sdk.createGitlabOauthProvider({ ...options, client: this.client });
316
+ createGitlabPatProvider = (options) => sdk.createGitlabPatProvider({ ...options, client: this.client });
317
+ deleteProvider = (options) => sdk.deleteProvider3({ ...options, client: this.client });
318
+ getProvider = (options) => sdk.getGitProvider({ ...options, client: this.client });
319
+ activateProvider = (options) => sdk.activateProvider({ ...options, client: this.client });
320
+ deactivateProvider = (options) => sdk.deactivateProvider({ ...options, client: this.client });
321
+ getProviderConnections = (options) => sdk.getProviderConnections({ ...options, client: this.client });
322
+ checkProviderDeletionSafety = (options) => sdk.checkProviderDeletionSafety({ ...options, client: this.client });
323
+ deleteProviderSafely = (options) => sdk.deleteProviderSafely({ ...options, client: this.client });
324
+ startProviderOauth = (options) => sdk.startGitProviderOauth({ ...options, client: this.client });
325
+ handleProviderOauthCallback = (options) => sdk.handleGitProviderOauthCallback({ ...options, client: this.client });
326
+ // Connections
327
+ listConnections = (options) => sdk.listConnections({ ...options, client: this.client });
328
+ deleteConnection = (options) => sdk.deleteConnection({ ...options, client: this.client });
329
+ activateConnection = (options) => sdk.activateConnection({ ...options, client: this.client });
330
+ deactivateConnection = (options) => sdk.deactivateConnection({ ...options, client: this.client });
331
+ listRepositoriesByConnection = (options) => sdk.listRepositoriesByConnection({ ...options, client: this.client });
332
+ syncRepositories = (options) => sdk.syncRepositories({ ...options, client: this.client });
333
+ updateConnectionToken = (options) => sdk.updateConnectionToken({ ...options, client: this.client });
334
+ validateConnection = (options) => sdk.validateConnection({ ...options, client: this.client });
292
335
  }
293
336
  class LoadBalancer {
294
337
  client;
295
338
  constructor(client) {
296
339
  this.client = client;
297
340
  }
341
+ listRoutes = (options) => sdk.listRoutes({ ...options, client: this.client });
298
342
  createRoute = (options) => sdk.createRoute({ ...options, client: this.client });
299
343
  deleteRoute = (options) => sdk.deleteRoute({ ...options, client: this.client });
300
344
  getRoute = (options) => sdk.getRoute({ ...options, client: this.client });
301
- listRoutes = (options) => sdk.listRoutes({ ...options, client: this.client });
302
- provisionLbCertificate = (options) => sdk.provisionLbCertificate({ ...options, client: this.client });
303
- renewCertificate = (options) => sdk.renewCertificate({ ...options, client: this.client });
304
345
  updateRoute = (options) => sdk.updateRoute({ ...options, client: this.client });
305
346
  }
306
- class Logs {
347
+ class Monitoring {
307
348
  client;
308
349
  constructor(client) {
309
350
  this.client = client;
310
351
  }
311
- getLogById = (options) => sdk.getLogById({ ...options, client: this.client });
312
- getLogs = (options) => sdk.getLogs({ ...options, client: this.client });
313
- getTodayErrorsCount = (options) => sdk.getTodayErrorsCount({ ...options, client: this.client });
314
- streamLogs = (options) => sdk.streamLogs({ ...options, client: this.client });
352
+ // Monitors
353
+ listMonitors = (options) => sdk.listMonitors({ ...options, client: this.client });
354
+ createMonitor = (options) => sdk.createMonitor({ ...options, client: this.client });
355
+ deleteMonitor = (options) => sdk.deleteMonitor({ ...options, client: this.client });
356
+ getMonitor = (options) => sdk.getMonitor({ ...options, client: this.client });
357
+ getBucketedStatus = (options) => sdk.getBucketedStatus({ ...options, client: this.client });
358
+ getCurrentStatus = (options) => sdk.getCurrentMonitorStatus({ ...options, client: this.client });
359
+ getUptimeHistory = (options) => sdk.getUptimeHistory({ ...options, client: this.client });
360
+ // Incidents
361
+ listIncidents = (options) => sdk.listIncidents({ ...options, client: this.client });
362
+ createIncident = (options) => sdk.createIncident({ ...options, client: this.client });
363
+ getIncident = (options) => sdk.getIncident({ ...options, client: this.client });
364
+ updateIncidentStatus = (options) => sdk.updateIncidentStatus({ ...options, client: this.client });
365
+ getIncidentUpdates = (options) => sdk.getIncidentUpdates({ ...options, client: this.client });
366
+ getBucketedIncidents = (options) => sdk.getBucketedIncidents({ ...options, client: this.client });
367
+ getStatusOverview = (options) => sdk.getStatusOverview({ ...options, client: this.client });
315
368
  }
316
- class MCP {
369
+ class Notifications {
317
370
  client;
318
371
  constructor(client) {
319
372
  this.client = client;
320
373
  }
321
- addClient = (options) => sdk.addClient({ ...options, client: this.client });
322
- connectClient = (options) => sdk.connectClient({ ...options, client: this.client });
323
- listClients = (options) => sdk.listClients({ ...options, client: this.client });
324
- removeClient = (options) => sdk.removeClient({ ...options, client: this.client });
374
+ // Preferences
375
+ getPreferences = (options) => sdk.getPreferences({ ...options, client: this.client });
376
+ updatePreferences = (options) => sdk.updatePreferences({ ...options, client: this.client });
377
+ deletePreferences = (options) => sdk.deletePreferences({ ...options, client: this.client });
378
+ // Notification Providers
379
+ listProviders = (options) => sdk.listNotificationProviders({ ...options, client: this.client });
380
+ createProvider = (options) => sdk.createNotificationProvider({ ...options, client: this.client });
381
+ getProvider = (options) => sdk.getNotificationProvider({ ...options, client: this.client });
382
+ deleteProvider = (options) => sdk.deleteProvider4({ ...options, client: this.client });
383
+ updateProvider = (options) => sdk.updateProvider2({ ...options, client: this.client });
384
+ testProvider = (options) => sdk.testProvider2({ ...options, client: this.client });
385
+ // Email Provider
386
+ createEmailProvider = (options) => sdk.createEmailProvider({ ...options, client: this.client });
387
+ updateEmailProvider = (options) => sdk.updateEmailProvider({ ...options, client: this.client });
388
+ // Slack Provider
389
+ createSlackProvider = (options) => sdk.createSlackProvider({ ...options, client: this.client });
390
+ updateSlackProvider = (options) => sdk.updateSlackProvider({ ...options, client: this.client });
325
391
  }
326
- class Metrics {
392
+ class Performance {
327
393
  client;
328
394
  constructor(client) {
329
395
  this.client = client;
330
396
  }
331
- getAnalyticsScript = (options) => sdk.getAnalyticsScript({ ...options, client: this.client });
332
- getPerformanceScript = (options) => sdk.getPerformanceScript({ ...options, client: this.client });
333
- recordEventMetrics = (options) => sdk.recordEventMetrics({ ...options, client: this.client });
397
+ hasMetrics = (options) => sdk.hasPerformanceMetrics({ ...options, client: this.client });
398
+ getMetrics = (options) => sdk.getPerformanceMetrics({ ...options, client: this.client });
399
+ getMetricsOverTime = (options) => sdk.getMetricsOverTime({ ...options, client: this.client });
400
+ getGroupedPageMetrics = (options) => sdk.getGroupedPageMetrics({ ...options, client: this.client });
334
401
  recordSpeedMetrics = (options) => sdk.recordSpeedMetrics({ ...options, client: this.client });
335
402
  updateSpeedMetrics = (options) => sdk.updateSpeedMetrics({ ...options, client: this.client });
336
403
  }
337
- class Notifications {
338
- client;
339
- constructor(client) {
340
- this.client = client;
341
- }
342
- createEmailProvider = (options) => sdk.createEmailProvider({ ...options, client: this.client });
343
- createProvider = (options) => sdk.createProvider({ ...options, client: this.client });
344
- createSlackProvider = (options) => sdk.createSlackProvider({ ...options, client: this.client });
345
- deletePreferences = (options) => sdk.deletePreferences({ ...options, client: this.client });
346
- deleteProvider = (options) => sdk.deleteProvider({ ...options, client: this.client });
347
- getPreferences = (options) => sdk.getPreferences({ ...options, client: this.client });
348
- getProvider = (options) => sdk.getProvider({ ...options, client: this.client });
349
- listProviders = (options) => sdk.listProviders({ ...options, client: this.client });
350
- testProvider = (options) => sdk.testProvider({ ...options, client: this.client });
351
- updateEmailProvider = (options) => sdk.updateEmailProvider({ ...options, client: this.client });
352
- updatePreferences = (options) => sdk.updatePreferences({ ...options, client: this.client });
353
- updateProvider = (options) => sdk.updateProvider({ ...options, client: this.client });
354
- updateSlackProvider = (options) => sdk.updateSlackProvider({ ...options, client: this.client });
355
- }
356
- class OpenTelemetry {
404
+ class Platform {
357
405
  client;
358
406
  constructor(client) {
359
407
  this.client = client;
360
408
  }
361
- getOpentelemetryLogs = (options) => sdk.getOpentelemetryLogs({ ...options, client: this.client });
362
- getOpentelemetryTraces = (options) => sdk.getOpentelemetryTraces({ ...options, client: this.client });
363
- getTraceDetails = (options) => sdk.getTraceDetails({ ...options, client: this.client });
364
- getTracePercentiles = (options) => sdk.getTracePercentiles({ ...options, client: this.client });
365
- ingestLogs = (options) => sdk.ingestLogs({ ...options, client: this.client });
366
- ingestTraces = (options) => sdk.ingestTraces({ ...options, client: this.client });
409
+ getInfo = (options) => sdk.getPlatformInfo({ ...options, client: this.client });
410
+ getAccessInfo = (options) => sdk.getAccessInfo({ ...options, client: this.client });
411
+ getPrivateIp = (options) => sdk.getPrivateIp({ ...options, client: this.client });
412
+ getPublicIp = (options) => sdk.getPublicIp({ ...options, client: this.client });
413
+ getIpGeolocation = (options) => sdk.getIpGeolocation({ ...options, client: this.client });
414
+ getActivityGraph = (options) => sdk.getActivityGraph({ ...options, client: this.client });
415
+ listPresets = (options) => sdk.listPresets({ ...options, client: this.client });
367
416
  }
368
- class Payments {
417
+ class Projects {
369
418
  client;
370
419
  constructor(client) {
371
420
  this.client = client;
372
421
  }
373
- createPaymentProvider = (options) => sdk.createPaymentProvider({ ...options, client: this.client });
374
- createProduct = (options) => sdk.createProduct({ ...options, client: this.client });
422
+ list = (options) => sdk.getProjects({ ...options, client: this.client });
423
+ create = (options) => sdk.createProject({ ...options, client: this.client });
424
+ delete = (options) => sdk.deleteProject({ ...options, client: this.client });
425
+ get = (options) => sdk.getProject({ ...options, client: this.client });
426
+ getBySlug = (options) => sdk.getProjectBySlug({ ...options, client: this.client });
427
+ update = (options) => sdk.updateProject({ ...options, client: this.client });
428
+ getStatistics = (options) => sdk.getProjectStatistics({ ...options, client: this.client });
429
+ updateSettings = (options) => sdk.updateProjectSettings({ ...options, client: this.client });
430
+ // Deployments
431
+ getDeployments = (options) => sdk.getProjectDeployments({ ...options, client: this.client });
432
+ triggerPipeline = (options) => sdk.triggerProjectPipeline({ ...options, client: this.client });
433
+ updateAutomaticDeploy = (options) => sdk.updateAutomaticDeploy({ ...options, client: this.client });
434
+ updateDeploymentConfig = (options) => sdk.updateProjectDeploymentConfig({ ...options, client: this.client });
435
+ // Git Settings
436
+ updateGitSettings = (options) => sdk.updateGitSettings({ ...options, client: this.client });
437
+ // Environments
438
+ getEnvironments = (options) => sdk.getEnvironments({ ...options, client: this.client });
439
+ createEnvironment = (options) => sdk.createEnvironment({ ...options, client: this.client });
440
+ deleteEnvironment = (options) => sdk.deleteEnvironment({ ...options, client: this.client });
441
+ getEnvironment = (options) => sdk.getEnvironment({ ...options, client: this.client });
442
+ updateEnvironmentSettings = (options) => sdk.updateEnvironmentSettings({ ...options, client: this.client });
443
+ teardownEnvironment = (options) => sdk.teardownEnvironment({ ...options, client: this.client });
444
+ // Environment Domains
445
+ getEnvironmentDomains = (options) => sdk.getEnvironmentDomains({ ...options, client: this.client });
446
+ addEnvironmentDomain = (options) => sdk.addEnvironmentDomain({ ...options, client: this.client });
447
+ deleteEnvironmentDomain = (options) => sdk.deleteEnvironmentDomain({ ...options, client: this.client });
448
+ // Environment Variables
449
+ getEnvironmentVariables = (options) => sdk.getEnvironmentVariables({ ...options, client: this.client });
450
+ createEnvironmentVariable = (options) => sdk.createEnvironmentVariable({ ...options, client: this.client });
451
+ deleteEnvironmentVariable = (options) => sdk.deleteEnvironmentVariable({ ...options, client: this.client });
452
+ updateEnvironmentVariable = (options) => sdk.updateEnvironmentVariable({ ...options, client: this.client });
453
+ getEnvironmentVariableValue = (options) => sdk.getEnvironmentVariableValue({ ...options, client: this.client });
454
+ // Custom Domains
455
+ listCustomDomains = (options) => sdk.listCustomDomainsForProject({ ...options, client: this.client });
456
+ createCustomDomain = (options) => sdk.createCustomDomain({ ...options, client: this.client });
457
+ deleteCustomDomain = (options) => sdk.deleteCustomDomain({ ...options, client: this.client });
458
+ getCustomDomain = (options) => sdk.getCustomDomain({ ...options, client: this.client });
459
+ updateCustomDomain = (options) => sdk.updateCustomDomain({ ...options, client: this.client });
460
+ linkCustomDomainToCertificate = (options) => sdk.linkCustomDomainToCertificate({ ...options, client: this.client });
461
+ // Containers
462
+ listContainers = (options) => sdk.listContainers({ ...options, client: this.client });
463
+ getContainerDetail = (options) => sdk.getContainerDetail({ ...options, client: this.client });
464
+ getContainerLogs = (options) => sdk.getContainerLogs({ ...options, client: this.client });
465
+ getContainerLogsById = (options) => sdk.getContainerLogsById({ ...options, client: this.client });
466
+ getContainerMetrics = (options) => sdk.getContainerMetrics({ ...options, client: this.client });
467
+ streamContainerMetrics = (options) => sdk.streamContainerMetrics({ ...options, client: this.client });
468
+ restartContainer = (options) => sdk.restartContainer({ ...options, client: this.client });
469
+ startContainer = (options) => sdk.startContainer({ ...options, client: this.client });
470
+ stopContainer = (options) => sdk.stopContainer({ ...options, client: this.client });
471
+ // Analytics
472
+ getActiveVisitors = (options) => sdk.getActiveVisitors2({ ...options, client: this.client });
473
+ getAggregatedBuckets = (options) => sdk.getAggregatedBuckets({ ...options, client: this.client });
474
+ getHourlyVisits = (options) => sdk.getHourlyVisits({ ...options, client: this.client });
475
+ getUniqueCounts = (options) => sdk.getUniqueCounts({ ...options, client: this.client });
476
+ // Errors
477
+ getErrorDashboardStats = (options) => sdk.getErrorDashboardStats({ ...options, client: this.client });
478
+ listErrorGroups = (options) => sdk.listErrorGroups({ ...options, client: this.client });
479
+ getErrorGroup = (options) => sdk.getErrorGroup({ ...options, client: this.client });
480
+ updateErrorGroup = (options) => sdk.updateErrorGroup({ ...options, client: this.client });
481
+ listErrorEvents = (options) => sdk.listErrorEvents({ ...options, client: this.client });
482
+ getErrorEvent = (options) => sdk.getErrorEvent({ ...options, client: this.client });
483
+ getErrorStats = (options) => sdk.getErrorStats({ ...options, client: this.client });
484
+ getErrorTimeSeries = (options) => sdk.getErrorTimeSeries({ ...options, client: this.client });
485
+ hasErrorGroups = (options) => sdk.hasErrorGroups({ ...options, client: this.client });
486
+ hasAnalyticsEvents = (options) => sdk.hasAnalyticsEvents({ ...options, client: this.client });
487
+ // Events
488
+ getEventsCount = (options) => sdk.getEventsCount2({ ...options, client: this.client });
489
+ getEventTypeBreakdown = (options) => sdk.getEventTypeBreakdown({ ...options, client: this.client });
490
+ getPropertyBreakdown = (options) => sdk.getPropertyBreakdown({ ...options, client: this.client });
491
+ getPropertyTimeline = (options) => sdk.getPropertyTimeline({ ...options, client: this.client });
492
+ getEventsTimeline = (options) => sdk.getEventsTimeline({ ...options, client: this.client });
493
+ getUniqueEvents = (options) => sdk.getUniqueEvents({ ...options, client: this.client });
494
+ // Session Replay
495
+ getSessionReplays = (options) => sdk.getProjectSessionReplays({ ...options, client: this.client });
496
+ getSessionEvents = (options) => sdk.getSessionEvents2({ ...options, client: this.client });
497
+ // External Images
498
+ listExternalImages = (options) => sdk.listExternalImages({ ...options, client: this.client });
499
+ pushExternalImage = (options) => sdk.pushExternalImage({ ...options, client: this.client });
500
+ getExternalImage = (options) => sdk.getExternalImage({ ...options, client: this.client });
501
+ // Webhooks
502
+ listWebhooks = (options) => sdk.listWebhooks({ ...options, client: this.client });
375
503
  createWebhook = (options) => sdk.createWebhook({ ...options, client: this.client });
376
- deletePaymentProvider = (options) => sdk.deletePaymentProvider({ ...options, client: this.client });
377
- deleteProduct = (options) => sdk.deleteProduct({ ...options, client: this.client });
378
504
  deleteWebhook = (options) => sdk.deleteWebhook({ ...options, client: this.client });
379
- getPaymentEnvironmentVariables = (options) => sdk.getPaymentEnvironmentVariables({ ...options, client: this.client });
380
- getPaymentMetrics = (options) => sdk.getPaymentMetrics({ ...options, client: this.client });
381
- getPaymentProvider = (options) => sdk.getPaymentProvider({ ...options, client: this.client });
382
- getPaymentSettings = (options) => sdk.getPaymentSettings({ ...options, client: this.client });
383
- getProduct = (options) => sdk.getProduct({ ...options, client: this.client });
384
- getProducts = (options) => sdk.getProducts({ ...options, client: this.client });
385
- getProjectPaymentProvider = (options) => sdk.getProjectPaymentProvider({ ...options, client: this.client });
386
- getTodayRevenue = (options) => sdk.getTodayRevenue({ ...options, client: this.client });
387
- getTotalRevenue = (options) => sdk.getTotalRevenue({ ...options, client: this.client });
388
505
  getWebhook = (options) => sdk.getWebhook({ ...options, client: this.client });
389
- getWebhookLog = (options) => sdk.getWebhookLog({ ...options, client: this.client });
390
- getWebhookLogs = (options) => sdk.getWebhookLogs({ ...options, client: this.client });
391
- listPaymentProviders = (options) => sdk.listPaymentProviders({ ...options, client: this.client });
392
- listWebhooks = (options) => sdk.listWebhooks({ ...options, client: this.client });
393
- retryWebhook = (options) => sdk.retryWebhook({ ...options, client: this.client });
394
- setDefaultPaymentProvider = (options) => sdk.setDefaultPaymentProvider({ ...options, client: this.client });
395
- setEnvironmentMode = (options) => sdk.setEnvironmentMode({ ...options, client: this.client });
396
- setProjectPaymentProvider = (options) => sdk.setProjectPaymentProvider({ ...options, client: this.client });
397
- testPaymentProvider = (options) => sdk.testPaymentProvider({ ...options, client: this.client });
398
- updatePaymentProvider = (options) => sdk.updatePaymentProvider({ ...options, client: this.client });
399
- updateProduct = (options) => sdk.updateProduct({ ...options, client: this.client });
400
506
  updateWebhook = (options) => sdk.updateWebhook({ ...options, client: this.client });
507
+ listDeliveries = (options) => sdk.listDeliveries({ ...options, client: this.client });
508
+ getDelivery = (options) => sdk.getDelivery({ ...options, client: this.client });
509
+ retryDelivery = (options) => sdk.retryDelivery({ ...options, client: this.client });
510
+ // DSN (Sentry-compatible)
511
+ listDsns = (options) => sdk.listDsns({ ...options, client: this.client });
512
+ createDsn = (options) => sdk.createDsn({ ...options, client: this.client });
513
+ getOrCreateDsn = (options) => sdk.getOrCreateDsn({ ...options, client: this.client });
514
+ regenerateDsn = (options) => sdk.regenerateDsn({ ...options, client: this.client });
515
+ revokeDsn = (options) => sdk.revokeDsn({ ...options, client: this.client });
516
+ // IP Access Control
517
+ listIpAccessControl = (options) => sdk.listIpAccessControl({ ...options, client: this.client });
518
+ createIpAccessControl = (options) => sdk.createIpAccessControl({ ...options, client: this.client });
519
+ deleteIpAccessControl = (options) => sdk.deleteIpAccessControl({ ...options, client: this.client });
520
+ getIpAccessControl = (options) => sdk.getIpAccessControl({ ...options, client: this.client });
521
+ updateIpAccessControl = (options) => sdk.updateIpAccessControl({ ...options, client: this.client });
522
+ checkIpBlocked = (options) => sdk.checkIpBlocked({ ...options, client: this.client });
401
523
  }
402
- class Pipelines {
524
+ class ProxyLogs {
403
525
  client;
404
526
  constructor(client) {
405
527
  this.client = client;
406
528
  }
407
- getPipelineLogs = (options) => sdk.getPipelineLogs({ ...options, client: this.client });
408
- getProjectPipelines = (options) => sdk.getProjectPipelines({ ...options, client: this.client });
529
+ list = (options) => sdk.getProxyLogs({ ...options, client: this.client });
530
+ getByRequestId = (options) => sdk.getProxyLogByRequestId({ ...options, client: this.client });
531
+ getById = (options) => sdk.getProxyLogById({ ...options, client: this.client });
532
+ getTimeBucketStats = (options) => sdk.getTimeBucketStats({ ...options, client: this.client });
533
+ getTodayStats = (options) => sdk.getTodayStats({ ...options, client: this.client });
409
534
  }
410
- class Platform {
535
+ class Repositories {
411
536
  client;
412
537
  constructor(client) {
413
538
  this.client = client;
414
539
  }
415
- getPlatformInfo = (options) => sdk.getPlatformInfo({ ...options, client: this.client });
540
+ listSynced = (options) => sdk.listSyncedRepositories({ ...options, client: this.client });
541
+ getByName = (options) => sdk.getRepositoryByName({ ...options, client: this.client });
542
+ getAllByName = (options) => sdk.getAllRepositoriesByName({ ...options, client: this.client });
543
+ getPresetByName = (options) => sdk.getRepositoryPresetByName({ ...options, client: this.client });
544
+ getBranches = (options) => sdk.getRepositoryBranches({ ...options, client: this.client });
545
+ getTags = (options) => sdk.getRepositoryTags({ ...options, client: this.client });
546
+ getPresetLive = (options) => sdk.getRepositoryPresetLive({ ...options, client: this.client });
547
+ getBranchesById = (options) => sdk.getBranchesByRepositoryId({ ...options, client: this.client });
548
+ checkCommitExists = (options) => sdk.checkCommitExists({ ...options, client: this.client });
549
+ getTagsById = (options) => sdk.getTagsByRepositoryId({ ...options, client: this.client });
416
550
  }
417
- class Projects {
551
+ class SessionReplay {
418
552
  client;
419
553
  constructor(client) {
420
554
  this.client = client;
421
555
  }
422
- addEnvironmentDomain = (options) => sdk.addEnvironmentDomain({ ...options, client: this.client });
423
- checkCustomDomainConfiguration = (options) => sdk.checkCustomDomainConfiguration({ ...options, client: this.client });
424
- createCustomDomain = (options) => sdk.createCustomDomain({ ...options, client: this.client });
425
- createEnvironment = (options) => sdk.createEnvironment({ ...options, client: this.client });
426
- createEnvironmentVariable = (options) => sdk.createEnvironmentVariable({ ...options, client: this.client });
427
- createProject = (options) => sdk.createProject({ ...options, client: this.client });
428
- createProjectFromTemplate = (options) => sdk.createProjectFromTemplate({ ...options, client: this.client });
429
- deleteCustomDomain = (options) => sdk.deleteCustomDomain({ ...options, client: this.client });
430
- deleteEnvironmentDomain = (options) => sdk.deleteEnvironmentDomain({ ...options, client: this.client });
431
- deleteEnvironmentVariable = (options) => sdk.deleteEnvironmentVariable({ ...options, client: this.client });
432
- deleteProject = (options) => sdk.deleteProject({ ...options, client: this.client });
433
- getContainerLogs = (options) => sdk.getContainerLogs({ ...options, client: this.client });
434
- getCustomDomains = (options) => sdk.getCustomDomains({ ...options, client: this.client });
435
- getEnvironment = (options) => sdk.getEnvironment({ ...options, client: this.client });
436
- getEnvironmentDomains = (options) => sdk.getEnvironmentDomains({ ...options, client: this.client });
437
- getEnvironments = (options) => sdk.getEnvironments({ ...options, client: this.client });
438
- getEnvironmentVariables = (options) => sdk.getEnvironmentVariables({ ...options, client: this.client });
439
- getEnvironmentVariableValue = (options) => sdk.getEnvironmentVariableValue({ ...options, client: this.client });
440
- getHourlyVisitorStats = (options) => sdk.getHourlyVisitorStats({ ...options, client: this.client });
441
- getProject = (options) => sdk.getProject({ ...options, client: this.client });
442
- getProjectBySlug = (options) => sdk.getProjectBySlug({ ...options, client: this.client });
443
- getProjectDeployments = (options) => sdk.getProjectDeployments({ ...options, client: this.client });
444
- getProjectErrorStats = (options) => sdk.getProjectErrorStats({ ...options, client: this.client });
445
- getProjectFavicon = (options) => sdk.getProjectFavicon({ ...options, client: this.client });
446
- getProjectRevenueStats = (options) => sdk.getProjectRevenueStats({ ...options, client: this.client });
447
- getProjects = (options) => sdk.getProjects({ ...options, client: this.client });
448
- getProjectStats = (options) => sdk.getProjectStats({ ...options, client: this.client });
449
- getProjectVisitorStats = (options) => sdk.getProjectVisitorStats({ ...options, client: this.client });
450
- getTemplateByName = (options) => sdk.getTemplateByName({ ...options, client: this.client });
451
- getTemplatePreview = (options) => sdk.getTemplatePreview({ ...options, client: this.client });
452
- getTemplates = (options) => sdk.getTemplates({ ...options, client: this.client });
453
- getTotalVisitorStats = (options) => sdk.getTotalVisitorStats({ ...options, client: this.client });
454
- manualDockerDeployment = (options) => sdk.manualDockerDeployment({ ...options, client: this.client });
455
- manualStaticDeployment = (options) => sdk.manualStaticDeployment({ ...options, client: this.client });
456
- pauseDeployment = (options) => sdk.pauseDeployment({ ...options, client: this.client });
457
- provisionCertificate = (options) => sdk.provisionCertificate({ ...options, client: this.client });
458
- resumeDeployment = (options) => sdk.resumeDeployment({ ...options, client: this.client });
459
- rollbackToDeployment = (options) => sdk.rollbackToDeployment({ ...options, client: this.client });
460
- teardownDeployment = (options) => sdk.teardownDeployment({ ...options, client: this.client });
461
- teardownEnvironment = (options) => sdk.teardownEnvironment({ ...options, client: this.client });
462
- triggerProjectPipeline = (options) => sdk.triggerProjectPipeline({ ...options, client: this.client });
463
- updateAutomaticDeploy = (options) => sdk.updateAutomaticDeploy({ ...options, client: this.client });
464
- updateCustomDomain = (options) => sdk.updateCustomDomain({ ...options, client: this.client });
465
- updateDeploymentSettings = (options) => sdk.updateDeploymentSettings({ ...options, client: this.client });
466
- updateEnvironmentSettings = (options) => sdk.updateEnvironmentSettings({ ...options, client: this.client });
467
- updateEnvironmentVariable = (options) => sdk.updateEnvironmentVariable({ ...options, client: this.client });
468
- updateGithubRepo = (options) => sdk.updateGithubRepo({ ...options, client: this.client });
469
- updateProject = (options) => sdk.updateProject({ ...options, client: this.client });
470
- updateProjectSettings = (options) => sdk.updateProjectSettings({ ...options, client: this.client });
556
+ init = (options) => sdk.initSessionReplay({ ...options, client: this.client });
557
+ addEvents = (options) => sdk.addSessionReplayEvents({ ...options, client: this.client });
558
+ addEventsLegacy = (options) => sdk.addEvents({ ...options, client: this.client });
559
+ delete = (options) => sdk.deleteSessionReplay({ ...options, client: this.client });
560
+ get = (options) => sdk.getSessionReplay({ ...options, client: this.client });
561
+ getEvents = (options) => sdk.getSessionReplayEvents({ ...options, client: this.client });
562
+ updateDuration = (options) => sdk.updateSessionDuration({ ...options, client: this.client });
563
+ getVisitorSessions = (options) => sdk.getVisitorSessions2({ ...options, client: this.client });
564
+ listEventTypes = (options) => sdk.listEventTypes({ ...options, client: this.client });
471
565
  }
472
- class SpeedInsights {
566
+ class Settings {
473
567
  client;
474
568
  constructor(client) {
475
569
  this.client = client;
476
570
  }
477
- getSpeedMetricsOverTime = (options) => sdk.getSpeedMetricsOverTime({ ...options, client: this.client });
478
- getSpeedPerformanceMetrics = (options) => sdk.getSpeedPerformanceMetrics({ ...options, client: this.client });
571
+ get = (options) => sdk.getSettings({ ...options, client: this.client });
572
+ update = (options) => sdk.updateSettings({ ...options, client: this.client });
573
+ triggerWeeklyDigest = (options) => sdk.triggerWeeklyDigest({ ...options, client: this.client });
479
574
  }
480
575
  class Users {
481
576
  client;
482
577
  constructor(client) {
483
578
  this.client = client;
484
579
  }
485
- assignRole = (options) => sdk.assignRole({ ...options, client: this.client });
486
- createUser = (options) => sdk.createUser({ ...options, client: this.client });
487
- deleteUser = (options) => sdk.deleteUser({ ...options, client: this.client });
488
- disableMfa = (options) => sdk.disableMfa({ ...options, client: this.client });
489
- listUsers = (options) => sdk.listUsers({ ...options, client: this.client });
490
- removeRole = (options) => sdk.removeRole({ ...options, client: this.client });
491
- restoreUser = (options) => sdk.restoreUser({ ...options, client: this.client });
492
- setupMfa = (options) => sdk.setupMfa({ ...options, client: this.client });
580
+ list = (options) => sdk.listUsers({ ...options, client: this.client });
581
+ create = (options) => sdk.createUser({ ...options, client: this.client });
582
+ delete = (options) => sdk.deleteUser({ ...options, client: this.client });
583
+ update = (options) => sdk.updateUser({ ...options, client: this.client });
584
+ restore = (options) => sdk.restoreUser({ ...options, client: this.client });
585
+ getCurrentUser = (options) => sdk.getCurrentUser({ ...options, client: this.client });
493
586
  updateSelf = (options) => sdk.updateSelf({ ...options, client: this.client });
494
- updateUser = (options) => sdk.updateUser({ ...options, client: this.client });
587
+ // MFA
588
+ setupMfa = (options) => sdk.setupMfa({ ...options, client: this.client });
495
589
  verifyAndEnableMfa = (options) => sdk.verifyAndEnableMfa({ ...options, client: this.client });
496
- }
497
- class WebSocket {
498
- client;
499
- constructor(client) {
500
- this.client = client;
501
- }
502
- wsHandler = (options) => sdk.wsHandler({ ...options, client: this.client });
590
+ disableMfa = (options) => sdk.disableMfa({ ...options, client: this.client });
591
+ // Roles
592
+ assignRole = (options) => sdk.assignRole({ ...options, client: this.client });
593
+ removeRole = (options) => sdk.removeRole({ ...options, client: this.client });
503
594
  }
504
595
  export default TempsClient;