@temps-sdk/node-sdk 0.0.1-alpha.3 → 0.0.1-alpha.6
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/client/client/client.gen.d.ts +2 -0
- package/dist/client/client/client.gen.js +217 -0
- package/dist/client/client/index.d.ts +7 -0
- package/dist/client/client/index.js +5 -0
- package/dist/client/client/types.gen.d.ts +124 -0
- package/dist/client/client/types.gen.js +2 -0
- package/dist/client/client/utils.gen.d.ts +38 -0
- package/dist/client/client/utils.gen.js +229 -0
- package/dist/client/client.gen.d.ts +12 -0
- package/dist/client/client.gen.js +5 -0
- package/dist/client/core/auth.gen.d.ts +18 -0
- package/dist/client/core/auth.gen.js +14 -0
- package/dist/client/core/bodySerializer.gen.d.ts +17 -0
- package/dist/client/core/bodySerializer.gen.js +57 -0
- package/dist/client/core/params.gen.d.ts +33 -0
- package/dist/client/core/params.gen.js +88 -0
- package/dist/client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/client/core/pathSerializer.gen.js +114 -0
- package/dist/client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/client/core/serverSentEvents.gen.js +135 -0
- package/dist/client/core/types.gen.d.ts +78 -0
- package/dist/client/core/types.gen.js +2 -0
- package/dist/client/core/utils.gen.d.ts +14 -0
- package/dist/client/core/utils.gen.js +69 -0
- package/dist/client/index.d.ts +2 -0
- package/dist/client/index.js +3 -0
- package/dist/client/sdk.gen.d.ts +1323 -0
- package/dist/client/sdk.gen.js +4659 -0
- package/dist/client/types.gen.d.ts +16792 -0
- package/dist/client/types.gen.js +2 -0
- package/dist/errors/client.d.ts +46 -0
- package/dist/errors/client.js +261 -0
- package/dist/errors/hub.d.ts +22 -0
- package/dist/errors/hub.js +102 -0
- package/dist/errors/index.d.ts +35 -0
- package/dist/errors/index.js +167 -0
- package/dist/errors/scope.d.ts +23 -0
- package/dist/errors/scope.js +82 -0
- package/dist/errors/stacktrace.d.ts +5 -0
- package/dist/errors/stacktrace.js +113 -0
- package/dist/errors/transaction.d.ts +57 -0
- package/dist/errors/transaction.js +163 -0
- package/dist/errors/transport.d.ts +23 -0
- package/dist/errors/transport.js +72 -0
- package/dist/errors/types.d.ts +200 -0
- package/dist/errors/types.js +1 -0
- package/dist/index.d.ts +4796 -0
- package/dist/index.js +595 -0
- package/package.json +6 -4
package/dist/index.js
ADDED
|
@@ -0,0 +1,595 @@
|
|
|
1
|
+
import { createClient, createConfig } from './client/client';
|
|
2
|
+
import * as sdk from './client/sdk.gen';
|
|
3
|
+
export * from './client/types.gen';
|
|
4
|
+
export * from './client/sdk.gen';
|
|
5
|
+
export * as ErrorTracking from './errors';
|
|
6
|
+
export class TempsClient {
|
|
7
|
+
client;
|
|
8
|
+
// Namespace properties
|
|
9
|
+
apiKeys;
|
|
10
|
+
analytics;
|
|
11
|
+
auditLogs;
|
|
12
|
+
authentication;
|
|
13
|
+
backups;
|
|
14
|
+
crons;
|
|
15
|
+
deployments;
|
|
16
|
+
dns;
|
|
17
|
+
domains;
|
|
18
|
+
email;
|
|
19
|
+
externalServices;
|
|
20
|
+
files;
|
|
21
|
+
funnels;
|
|
22
|
+
git;
|
|
23
|
+
loadBalancer;
|
|
24
|
+
monitoring;
|
|
25
|
+
notifications;
|
|
26
|
+
performance;
|
|
27
|
+
platform;
|
|
28
|
+
projects;
|
|
29
|
+
proxyLogs;
|
|
30
|
+
repositories;
|
|
31
|
+
sessionReplay;
|
|
32
|
+
settings;
|
|
33
|
+
users;
|
|
34
|
+
constructor(config) {
|
|
35
|
+
const clientConfig = createConfig({
|
|
36
|
+
baseUrl: config.baseUrl,
|
|
37
|
+
headers: config.apiKey ? {
|
|
38
|
+
Authorization: `Bearer ${config.apiKey}`
|
|
39
|
+
} : undefined
|
|
40
|
+
});
|
|
41
|
+
this.client = createClient(clientConfig);
|
|
42
|
+
// Initialize namespaces
|
|
43
|
+
this.apiKeys = new APIKeys(this.client);
|
|
44
|
+
this.analytics = new Analytics(this.client);
|
|
45
|
+
this.auditLogs = new AuditLogs(this.client);
|
|
46
|
+
this.authentication = new Authentication(this.client);
|
|
47
|
+
this.backups = new Backups(this.client);
|
|
48
|
+
this.crons = new Crons(this.client);
|
|
49
|
+
this.deployments = new Deployments(this.client);
|
|
50
|
+
this.dns = new DNS(this.client);
|
|
51
|
+
this.domains = new Domains(this.client);
|
|
52
|
+
this.email = new Email(this.client);
|
|
53
|
+
this.externalServices = new ExternalServices(this.client);
|
|
54
|
+
this.files = new Files(this.client);
|
|
55
|
+
this.funnels = new Funnels(this.client);
|
|
56
|
+
this.git = new Git(this.client);
|
|
57
|
+
this.loadBalancer = new LoadBalancer(this.client);
|
|
58
|
+
this.monitoring = new Monitoring(this.client);
|
|
59
|
+
this.notifications = new Notifications(this.client);
|
|
60
|
+
this.performance = new Performance(this.client);
|
|
61
|
+
this.platform = new Platform(this.client);
|
|
62
|
+
this.projects = new Projects(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);
|
|
67
|
+
this.users = new Users(this.client);
|
|
68
|
+
}
|
|
69
|
+
// Direct client access for advanced usage
|
|
70
|
+
get rawClient() {
|
|
71
|
+
return this.client;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
// Namespace classes
|
|
75
|
+
class APIKeys {
|
|
76
|
+
client;
|
|
77
|
+
constructor(client) {
|
|
78
|
+
this.client = client;
|
|
79
|
+
}
|
|
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 });
|
|
88
|
+
}
|
|
89
|
+
class Analytics {
|
|
90
|
+
client;
|
|
91
|
+
constructor(client) {
|
|
92
|
+
this.client = client;
|
|
93
|
+
}
|
|
94
|
+
enrichVisitor = (options) => sdk.enrichVisitor({ ...options, client: this.client });
|
|
95
|
+
getActiveVisitors = (options) => sdk.getActiveVisitors({ ...options, client: this.client });
|
|
96
|
+
getEventsCount = (options) => sdk.getEventsCount({ ...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 });
|
|
101
|
+
getSessionDetails = (options) => sdk.getSessionDetails({ ...options, client: this.client });
|
|
102
|
+
getSessionEvents = (options) => sdk.getSessionEvents({ ...options, client: this.client });
|
|
103
|
+
getSessionLogs = (options) => sdk.getSessionLogs({ ...options, client: this.client });
|
|
104
|
+
getVisitorByGuid = (options) => sdk.getVisitorByGuid({ ...options, client: this.client });
|
|
105
|
+
getVisitorById = (options) => sdk.getVisitorById({ ...options, client: this.client });
|
|
106
|
+
getVisitorDetails = (options) => sdk.getVisitorDetails({ ...options, client: this.client });
|
|
107
|
+
getVisitorInfo = (options) => sdk.getVisitorInfo({ ...options, client: this.client });
|
|
108
|
+
getVisitors = (options) => sdk.getVisitors({ ...options, client: this.client });
|
|
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
|
+
}
|
|
113
|
+
class AuditLogs {
|
|
114
|
+
client;
|
|
115
|
+
constructor(client) {
|
|
116
|
+
this.client = client;
|
|
117
|
+
}
|
|
118
|
+
get = (options) => sdk.getAuditLog({ ...options, client: this.client });
|
|
119
|
+
list = (options) => sdk.listAuditLogs({ ...options, client: this.client });
|
|
120
|
+
}
|
|
121
|
+
class Authentication {
|
|
122
|
+
client;
|
|
123
|
+
constructor(client) {
|
|
124
|
+
this.client = client;
|
|
125
|
+
}
|
|
126
|
+
emailStatus = (options) => sdk.emailStatus({ ...options, client: this.client });
|
|
127
|
+
getCurrentUser = (options) => sdk.getCurrentUser({ ...options, client: this.client });
|
|
128
|
+
login = (options) => sdk.login({ ...options, client: this.client });
|
|
129
|
+
logout = (options) => sdk.logout({ ...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
|
+
verifyMfaChallenge = (options) => sdk.verifyMfaChallenge({ ...options, client: this.client });
|
|
136
|
+
}
|
|
137
|
+
class Backups {
|
|
138
|
+
client;
|
|
139
|
+
constructor(client) {
|
|
140
|
+
this.client = client;
|
|
141
|
+
}
|
|
142
|
+
createSchedule = (options) => sdk.createBackupSchedule({ ...options, client: this.client });
|
|
143
|
+
createS3Source = (options) => sdk.createS3Source({ ...options, client: this.client });
|
|
144
|
+
deleteSchedule = (options) => sdk.deleteBackupSchedule({ ...options, client: this.client });
|
|
145
|
+
deleteS3Source = (options) => sdk.deleteS3Source({ ...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
|
+
getS3Source = (options) => sdk.getS3Source({ ...options, client: this.client });
|
|
151
|
+
listSchedules = (options) => sdk.listBackupSchedules({ ...options, client: this.client });
|
|
152
|
+
listBackupsForSchedule = (options) => sdk.listBackupsForSchedule({ ...options, client: this.client });
|
|
153
|
+
listS3Sources = (options) => sdk.listS3Sources({ ...options, client: this.client });
|
|
154
|
+
listSourceBackups = (options) => sdk.listSourceBackups({ ...options, client: this.client });
|
|
155
|
+
runBackupForSource = (options) => sdk.runBackupForSource({ ...options, client: this.client });
|
|
156
|
+
runExternalServiceBackup = (options) => sdk.runExternalServiceBackup({ ...options, client: this.client });
|
|
157
|
+
updateS3Source = (options) => sdk.updateS3Source({ ...options, client: this.client });
|
|
158
|
+
}
|
|
159
|
+
class Crons {
|
|
160
|
+
client;
|
|
161
|
+
constructor(client) {
|
|
162
|
+
this.client = client;
|
|
163
|
+
}
|
|
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 });
|
|
167
|
+
}
|
|
168
|
+
class Deployments {
|
|
169
|
+
client;
|
|
170
|
+
constructor(client) {
|
|
171
|
+
this.client = client;
|
|
172
|
+
}
|
|
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 });
|
|
186
|
+
}
|
|
187
|
+
class DNS {
|
|
188
|
+
client;
|
|
189
|
+
constructor(client) {
|
|
190
|
+
this.client = client;
|
|
191
|
+
}
|
|
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 });
|
|
207
|
+
}
|
|
208
|
+
class Domains {
|
|
209
|
+
client;
|
|
210
|
+
constructor(client) {
|
|
211
|
+
this.client = client;
|
|
212
|
+
}
|
|
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 });
|
|
230
|
+
}
|
|
231
|
+
class Email {
|
|
232
|
+
client;
|
|
233
|
+
constructor(client) {
|
|
234
|
+
this.client = client;
|
|
235
|
+
}
|
|
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 });
|
|
253
|
+
}
|
|
254
|
+
class ExternalServices {
|
|
255
|
+
client;
|
|
256
|
+
constructor(client) {
|
|
257
|
+
this.client = client;
|
|
258
|
+
}
|
|
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 });
|
|
286
|
+
}
|
|
287
|
+
class Files {
|
|
288
|
+
client;
|
|
289
|
+
constructor(client) {
|
|
290
|
+
this.client = client;
|
|
291
|
+
}
|
|
292
|
+
get = (options) => sdk.getFile({ ...options, client: this.client });
|
|
293
|
+
}
|
|
294
|
+
class Funnels {
|
|
295
|
+
client;
|
|
296
|
+
constructor(client) {
|
|
297
|
+
this.client = client;
|
|
298
|
+
}
|
|
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 });
|
|
305
|
+
}
|
|
306
|
+
class Git {
|
|
307
|
+
client;
|
|
308
|
+
constructor(client) {
|
|
309
|
+
this.client = client;
|
|
310
|
+
}
|
|
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 });
|
|
335
|
+
}
|
|
336
|
+
class LoadBalancer {
|
|
337
|
+
client;
|
|
338
|
+
constructor(client) {
|
|
339
|
+
this.client = client;
|
|
340
|
+
}
|
|
341
|
+
listRoutes = (options) => sdk.listRoutes({ ...options, client: this.client });
|
|
342
|
+
createRoute = (options) => sdk.createRoute({ ...options, client: this.client });
|
|
343
|
+
deleteRoute = (options) => sdk.deleteRoute({ ...options, client: this.client });
|
|
344
|
+
getRoute = (options) => sdk.getRoute({ ...options, client: this.client });
|
|
345
|
+
updateRoute = (options) => sdk.updateRoute({ ...options, client: this.client });
|
|
346
|
+
}
|
|
347
|
+
class Monitoring {
|
|
348
|
+
client;
|
|
349
|
+
constructor(client) {
|
|
350
|
+
this.client = client;
|
|
351
|
+
}
|
|
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 });
|
|
368
|
+
}
|
|
369
|
+
class Notifications {
|
|
370
|
+
client;
|
|
371
|
+
constructor(client) {
|
|
372
|
+
this.client = client;
|
|
373
|
+
}
|
|
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 });
|
|
391
|
+
}
|
|
392
|
+
class Performance {
|
|
393
|
+
client;
|
|
394
|
+
constructor(client) {
|
|
395
|
+
this.client = client;
|
|
396
|
+
}
|
|
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 });
|
|
401
|
+
recordSpeedMetrics = (options) => sdk.recordSpeedMetrics({ ...options, client: this.client });
|
|
402
|
+
updateSpeedMetrics = (options) => sdk.updateSpeedMetrics({ ...options, client: this.client });
|
|
403
|
+
}
|
|
404
|
+
class Platform {
|
|
405
|
+
client;
|
|
406
|
+
constructor(client) {
|
|
407
|
+
this.client = client;
|
|
408
|
+
}
|
|
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 });
|
|
416
|
+
}
|
|
417
|
+
class Projects {
|
|
418
|
+
client;
|
|
419
|
+
constructor(client) {
|
|
420
|
+
this.client = client;
|
|
421
|
+
}
|
|
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 });
|
|
503
|
+
createWebhook = (options) => sdk.createWebhook({ ...options, client: this.client });
|
|
504
|
+
deleteWebhook = (options) => sdk.deleteWebhook({ ...options, client: this.client });
|
|
505
|
+
getWebhook = (options) => sdk.getWebhook({ ...options, client: this.client });
|
|
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 });
|
|
523
|
+
}
|
|
524
|
+
class ProxyLogs {
|
|
525
|
+
client;
|
|
526
|
+
constructor(client) {
|
|
527
|
+
this.client = client;
|
|
528
|
+
}
|
|
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 });
|
|
534
|
+
}
|
|
535
|
+
class Repositories {
|
|
536
|
+
client;
|
|
537
|
+
constructor(client) {
|
|
538
|
+
this.client = client;
|
|
539
|
+
}
|
|
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 });
|
|
550
|
+
}
|
|
551
|
+
class SessionReplay {
|
|
552
|
+
client;
|
|
553
|
+
constructor(client) {
|
|
554
|
+
this.client = client;
|
|
555
|
+
}
|
|
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 });
|
|
565
|
+
}
|
|
566
|
+
class Settings {
|
|
567
|
+
client;
|
|
568
|
+
constructor(client) {
|
|
569
|
+
this.client = client;
|
|
570
|
+
}
|
|
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 });
|
|
574
|
+
}
|
|
575
|
+
class Users {
|
|
576
|
+
client;
|
|
577
|
+
constructor(client) {
|
|
578
|
+
this.client = client;
|
|
579
|
+
}
|
|
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 });
|
|
586
|
+
updateSelf = (options) => sdk.updateSelf({ ...options, client: this.client });
|
|
587
|
+
// MFA
|
|
588
|
+
setupMfa = (options) => sdk.setupMfa({ ...options, client: this.client });
|
|
589
|
+
verifyAndEnableMfa = (options) => sdk.verifyAndEnableMfa({ ...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 });
|
|
594
|
+
}
|
|
595
|
+
export default TempsClient;
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temps-sdk/node-sdk",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.6",
|
|
4
4
|
"private": false,
|
|
5
|
+
"type": "module",
|
|
5
6
|
"main": "./dist/index.js",
|
|
6
7
|
"types": "./dist/index.d.ts",
|
|
7
8
|
"exports": {
|
|
@@ -17,12 +18,13 @@
|
|
|
17
18
|
"test": "vitest",
|
|
18
19
|
"test:watch": "vitest --watch",
|
|
19
20
|
"test:coverage": "vitest --coverage",
|
|
20
|
-
"build": "tsc",
|
|
21
|
-
"generate": "npx @hey-api/openapi-ts -i openapi.json -o src/client -c @hey-api/client-fetch"
|
|
21
|
+
"build": "tsc -p tsconfig.build.json",
|
|
22
|
+
"generate": "npx @hey-api/openapi-ts@0.82.4 -i ./scripts/openapi.json -o src/client -c @hey-api/client-fetch"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
24
25
|
"@hey-api/openapi-ts": "^0.82.4",
|
|
25
26
|
"@types/bun": "latest",
|
|
27
|
+
"@types/node": "^24.10.1",
|
|
26
28
|
"@vitest/coverage-v8": "^3.2.4",
|
|
27
29
|
"vitest": "^3.2.4"
|
|
28
30
|
},
|
|
@@ -32,4 +34,4 @@
|
|
|
32
34
|
"dependencies": {
|
|
33
35
|
"@hey-api/client-fetch": "^0.13.1"
|
|
34
36
|
}
|
|
35
|
-
}
|
|
37
|
+
}
|