@convex-dev/platform 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/client.cjs +47 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.cts +14 -0
- package/dist/client.d.cts.map +1 -0
- package/dist/client.d.ts +14 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +39 -0
- package/dist/client.js.map +1 -0
- package/dist/generatedDeploymentApi.cjs +7 -0
- package/dist/generatedDeploymentApi.cjs.map +1 -0
- package/dist/generatedDeploymentApi.d.cts +787 -0
- package/dist/generatedDeploymentApi.d.cts.map +1 -0
- package/dist/generatedDeploymentApi.d.ts +787 -0
- package/dist/generatedDeploymentApi.d.ts.map +1 -0
- package/dist/generatedDeploymentApi.js +6 -0
- package/dist/generatedDeploymentApi.js.map +1 -0
- package/dist/generatedLogStreamApi.cjs +7 -0
- package/dist/generatedLogStreamApi.cjs.map +1 -0
- package/dist/generatedLogStreamApi.d.cts +149 -0
- package/dist/generatedLogStreamApi.d.cts.map +1 -0
- package/dist/generatedLogStreamApi.d.ts +149 -0
- package/dist/generatedLogStreamApi.d.ts.map +1 -0
- package/dist/generatedLogStreamApi.js +6 -0
- package/dist/generatedLogStreamApi.js.map +1 -0
- package/dist/generatedManagementApi.cjs +7 -0
- package/dist/generatedManagementApi.cjs.map +1 -0
- package/dist/generatedManagementApi.d.cts +924 -0
- package/dist/generatedManagementApi.d.cts.map +1 -0
- package/dist/generatedManagementApi.d.ts +924 -0
- package/dist/generatedManagementApi.d.ts.map +1 -0
- package/dist/generatedManagementApi.js +6 -0
- package/dist/generatedManagementApi.js.map +1 -0
- package/dist/index.cjs +18 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/version.cjs +5 -0
- package/dist/version.cjs.map +1 -0
- package/dist/version.d.cts +2 -0
- package/dist/version.d.cts.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/package.json +69 -0
|
@@ -0,0 +1,787 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/update_environment_variables": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
get?: never;
|
|
14
|
+
put?: never;
|
|
15
|
+
/**
|
|
16
|
+
* Update environment variables
|
|
17
|
+
* @description Update one or many environment variables in a deployment.
|
|
18
|
+
* This will invalidate all subscriptions, since environment variables
|
|
19
|
+
* are accessible in queries but are not part of the cache key of a query
|
|
20
|
+
* result.
|
|
21
|
+
*/
|
|
22
|
+
post: operations["update_environment_variables"];
|
|
23
|
+
delete?: never;
|
|
24
|
+
options?: never;
|
|
25
|
+
head?: never;
|
|
26
|
+
patch?: never;
|
|
27
|
+
trace?: never;
|
|
28
|
+
};
|
|
29
|
+
"/list_environment_variables": {
|
|
30
|
+
parameters: {
|
|
31
|
+
query?: never;
|
|
32
|
+
header?: never;
|
|
33
|
+
path?: never;
|
|
34
|
+
cookie?: never;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* List environment variables
|
|
38
|
+
* @description Get all environment variables in a deployment.
|
|
39
|
+
* In the future this might not include "secret" environment
|
|
40
|
+
* variables.
|
|
41
|
+
*/
|
|
42
|
+
get: operations["list_environment_variables"];
|
|
43
|
+
put?: never;
|
|
44
|
+
post?: never;
|
|
45
|
+
delete?: never;
|
|
46
|
+
options?: never;
|
|
47
|
+
head?: never;
|
|
48
|
+
patch?: never;
|
|
49
|
+
trace?: never;
|
|
50
|
+
};
|
|
51
|
+
"/update_canonical_url": {
|
|
52
|
+
parameters: {
|
|
53
|
+
query?: never;
|
|
54
|
+
header?: never;
|
|
55
|
+
path?: never;
|
|
56
|
+
cookie?: never;
|
|
57
|
+
};
|
|
58
|
+
get?: never;
|
|
59
|
+
put?: never;
|
|
60
|
+
/**
|
|
61
|
+
* Update canonical URL
|
|
62
|
+
* @description Set or unset the canonical URL for a deployment's convex.cloud or
|
|
63
|
+
* convex.site domain. This allows you to customize the CONVEX_SITE_URL and
|
|
64
|
+
* CONVEX_CLOUD_URL environment variables in your deployment.
|
|
65
|
+
*/
|
|
66
|
+
post: operations["update_canonical_url"];
|
|
67
|
+
delete?: never;
|
|
68
|
+
options?: never;
|
|
69
|
+
head?: never;
|
|
70
|
+
patch?: never;
|
|
71
|
+
trace?: never;
|
|
72
|
+
};
|
|
73
|
+
"/get_canonical_urls": {
|
|
74
|
+
parameters: {
|
|
75
|
+
query?: never;
|
|
76
|
+
header?: never;
|
|
77
|
+
path?: never;
|
|
78
|
+
cookie?: never;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Get canonical URLs
|
|
82
|
+
* @description Get the canonical URLs for a deployment.
|
|
83
|
+
*/
|
|
84
|
+
get: operations["get_canonical_urls"];
|
|
85
|
+
put?: never;
|
|
86
|
+
post?: never;
|
|
87
|
+
delete?: never;
|
|
88
|
+
options?: never;
|
|
89
|
+
head?: never;
|
|
90
|
+
patch?: never;
|
|
91
|
+
trace?: never;
|
|
92
|
+
};
|
|
93
|
+
"/list_log_streams": {
|
|
94
|
+
parameters: {
|
|
95
|
+
query?: never;
|
|
96
|
+
header?: never;
|
|
97
|
+
path?: never;
|
|
98
|
+
cookie?: never;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* List log streams
|
|
102
|
+
* @description List configs for all existing log streams in a deployment.
|
|
103
|
+
*/
|
|
104
|
+
get: operations["list_log_streams"];
|
|
105
|
+
put?: never;
|
|
106
|
+
post?: never;
|
|
107
|
+
delete?: never;
|
|
108
|
+
options?: never;
|
|
109
|
+
head?: never;
|
|
110
|
+
patch?: never;
|
|
111
|
+
trace?: never;
|
|
112
|
+
};
|
|
113
|
+
"/get_log_stream/{id}": {
|
|
114
|
+
parameters: {
|
|
115
|
+
query?: never;
|
|
116
|
+
header?: never;
|
|
117
|
+
path?: never;
|
|
118
|
+
cookie?: never;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Get log stream
|
|
122
|
+
* @description Get the config for a specific log stream by id.
|
|
123
|
+
*/
|
|
124
|
+
get: operations["get_log_stream"];
|
|
125
|
+
put?: never;
|
|
126
|
+
post?: never;
|
|
127
|
+
delete?: never;
|
|
128
|
+
options?: never;
|
|
129
|
+
head?: never;
|
|
130
|
+
patch?: never;
|
|
131
|
+
trace?: never;
|
|
132
|
+
};
|
|
133
|
+
"/delete_log_stream/{id}": {
|
|
134
|
+
parameters: {
|
|
135
|
+
query?: never;
|
|
136
|
+
header?: never;
|
|
137
|
+
path?: never;
|
|
138
|
+
cookie?: never;
|
|
139
|
+
};
|
|
140
|
+
get?: never;
|
|
141
|
+
put?: never;
|
|
142
|
+
/**
|
|
143
|
+
* Delete log stream
|
|
144
|
+
* @description Delete the deployment's log stream with the given id.
|
|
145
|
+
*/
|
|
146
|
+
post: operations["delete_log_stream"];
|
|
147
|
+
delete?: never;
|
|
148
|
+
options?: never;
|
|
149
|
+
head?: never;
|
|
150
|
+
patch?: never;
|
|
151
|
+
trace?: never;
|
|
152
|
+
};
|
|
153
|
+
"/create_log_stream": {
|
|
154
|
+
parameters: {
|
|
155
|
+
query?: never;
|
|
156
|
+
header?: never;
|
|
157
|
+
path?: never;
|
|
158
|
+
cookie?: never;
|
|
159
|
+
};
|
|
160
|
+
get?: never;
|
|
161
|
+
put?: never;
|
|
162
|
+
/**
|
|
163
|
+
* Create log stream
|
|
164
|
+
* @description Create a new log stream for the deployment. Errors if a log stream of the
|
|
165
|
+
* given type already exists.
|
|
166
|
+
*/
|
|
167
|
+
post: operations["create_log_stream"];
|
|
168
|
+
delete?: never;
|
|
169
|
+
options?: never;
|
|
170
|
+
head?: never;
|
|
171
|
+
patch?: never;
|
|
172
|
+
trace?: never;
|
|
173
|
+
};
|
|
174
|
+
"/update_log_stream/{id}": {
|
|
175
|
+
parameters: {
|
|
176
|
+
query?: never;
|
|
177
|
+
header?: never;
|
|
178
|
+
path?: never;
|
|
179
|
+
cookie?: never;
|
|
180
|
+
};
|
|
181
|
+
get?: never;
|
|
182
|
+
put?: never;
|
|
183
|
+
/**
|
|
184
|
+
* Update log stream
|
|
185
|
+
* @description Update an existing log stream for the deployment. Omit a field to keep the
|
|
186
|
+
* existing value, and use `null` to unset a field.
|
|
187
|
+
*/
|
|
188
|
+
post: operations["update_log_stream"];
|
|
189
|
+
delete?: never;
|
|
190
|
+
options?: never;
|
|
191
|
+
head?: never;
|
|
192
|
+
patch?: never;
|
|
193
|
+
trace?: never;
|
|
194
|
+
};
|
|
195
|
+
"/rotate_webhook_secret/{id}": {
|
|
196
|
+
parameters: {
|
|
197
|
+
query?: never;
|
|
198
|
+
header?: never;
|
|
199
|
+
path?: never;
|
|
200
|
+
cookie?: never;
|
|
201
|
+
};
|
|
202
|
+
get?: never;
|
|
203
|
+
put?: never;
|
|
204
|
+
/**
|
|
205
|
+
* Rotate webhook log stream secret
|
|
206
|
+
* @description Rotate the secret for the webhook log stream.
|
|
207
|
+
*/
|
|
208
|
+
post: operations["rotate_webhook_secret"];
|
|
209
|
+
delete?: never;
|
|
210
|
+
options?: never;
|
|
211
|
+
head?: never;
|
|
212
|
+
patch?: never;
|
|
213
|
+
trace?: never;
|
|
214
|
+
};
|
|
215
|
+
"/pause_deployment": {
|
|
216
|
+
parameters: {
|
|
217
|
+
query?: never;
|
|
218
|
+
header?: never;
|
|
219
|
+
path?: never;
|
|
220
|
+
cookie?: never;
|
|
221
|
+
};
|
|
222
|
+
get?: never;
|
|
223
|
+
put?: never;
|
|
224
|
+
/**
|
|
225
|
+
* Pause deployment
|
|
226
|
+
* @description Disables a deployment without deleting any data. The deployment will not
|
|
227
|
+
* operate until it is unpaused. While a deployment is paused, new functions
|
|
228
|
+
* calls will return an error, scheduled jobs will queue and run when the
|
|
229
|
+
* deployment is resumed, and cron jobs will be skipped. This means that no
|
|
230
|
+
* function calls or bandwidth usage will be charged while the deployment is
|
|
231
|
+
* paused, but storage costs will still apply.
|
|
232
|
+
*/
|
|
233
|
+
post: operations["pause_deployment"];
|
|
234
|
+
delete?: never;
|
|
235
|
+
options?: never;
|
|
236
|
+
head?: never;
|
|
237
|
+
patch?: never;
|
|
238
|
+
trace?: never;
|
|
239
|
+
};
|
|
240
|
+
"/unpause_deployment": {
|
|
241
|
+
parameters: {
|
|
242
|
+
query?: never;
|
|
243
|
+
header?: never;
|
|
244
|
+
path?: never;
|
|
245
|
+
cookie?: never;
|
|
246
|
+
};
|
|
247
|
+
get?: never;
|
|
248
|
+
put?: never;
|
|
249
|
+
/**
|
|
250
|
+
* Unpause deployment
|
|
251
|
+
* @description Reenables a deployment that was previously paused. The deployment will
|
|
252
|
+
* resume normal operation, including any scheduled jobs that were queued while
|
|
253
|
+
* paused.
|
|
254
|
+
*/
|
|
255
|
+
post: operations["unpause_deployment"];
|
|
256
|
+
delete?: never;
|
|
257
|
+
options?: never;
|
|
258
|
+
head?: never;
|
|
259
|
+
patch?: never;
|
|
260
|
+
trace?: never;
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
export type webhooks = Record<string, never>;
|
|
264
|
+
export interface components {
|
|
265
|
+
schemas: {
|
|
266
|
+
AxiomAttribute: {
|
|
267
|
+
key: string;
|
|
268
|
+
value: string;
|
|
269
|
+
};
|
|
270
|
+
/** AxiomConfig */
|
|
271
|
+
AxiomLogStreamConfig: {
|
|
272
|
+
/** @description Optional list of attributes. These are extra fields and values sent to
|
|
273
|
+
* Axiom in each log event. */
|
|
274
|
+
attributes: components["schemas"]["AxiomAttribute"][];
|
|
275
|
+
/** @description Name of the dataset in Axiom. This is where the logs will be sent. */
|
|
276
|
+
datasetName: string;
|
|
277
|
+
id: string;
|
|
278
|
+
/** @description Optional ingest endpoint for Axiom */
|
|
279
|
+
ingestUrl?: string | null;
|
|
280
|
+
/** @description Status of the log stream */
|
|
281
|
+
status: components["schemas"]["LogStreamStatus"];
|
|
282
|
+
};
|
|
283
|
+
CreateAxiomLogStreamArgs: {
|
|
284
|
+
/** @description Axiom API key for authentication. */
|
|
285
|
+
apiKey: string;
|
|
286
|
+
/** @description Optional list of attributes. These are extra fields and values sent to
|
|
287
|
+
* Axiom in each log event. */
|
|
288
|
+
attributes: components["schemas"]["AxiomAttribute"][];
|
|
289
|
+
/** @description Name of the dataset in Axiom. This is where the logs will be sent. */
|
|
290
|
+
datasetName: string;
|
|
291
|
+
/** @description Optional ingest endpoint for Axiom */
|
|
292
|
+
ingestUrl?: string | null;
|
|
293
|
+
};
|
|
294
|
+
CreateDatadogLogStreamArgs: {
|
|
295
|
+
/** @description Datadog API key for authentication. */
|
|
296
|
+
ddApiKey: string;
|
|
297
|
+
/** @description Optional comma-separated list of tags. These are sent to Datadog in each
|
|
298
|
+
* log event via the `ddtags` field. */
|
|
299
|
+
ddTags: string[];
|
|
300
|
+
/** @description Service name used as a special tag in Datadog. */
|
|
301
|
+
service?: string | null;
|
|
302
|
+
/** @description Location of your Datadog deployment. */
|
|
303
|
+
siteLocation: components["schemas"]["DatadogSiteLocation"];
|
|
304
|
+
};
|
|
305
|
+
CreateLogStreamArgs: (components["schemas"]["CreateDatadogLogStreamArgs"] & {
|
|
306
|
+
/** @enum {string} */
|
|
307
|
+
logStreamType: "datadog";
|
|
308
|
+
}) | (components["schemas"]["CreateWebhookLogStreamArgs"] & {
|
|
309
|
+
/** @enum {string} */
|
|
310
|
+
logStreamType: "webhook";
|
|
311
|
+
}) | (components["schemas"]["CreateAxiomLogStreamArgs"] & {
|
|
312
|
+
/** @enum {string} */
|
|
313
|
+
logStreamType: "axiom";
|
|
314
|
+
}) | (components["schemas"]["CreateSentryLogStreamArgs"] & {
|
|
315
|
+
/** @enum {string} */
|
|
316
|
+
logStreamType: "sentry";
|
|
317
|
+
});
|
|
318
|
+
CreateLogStreamResponse: (components["schemas"]["CreateWebhookLogStreamResponse"] & {
|
|
319
|
+
/** @enum {string} */
|
|
320
|
+
logStreamType: "webhook";
|
|
321
|
+
}) | {
|
|
322
|
+
id: string;
|
|
323
|
+
/** @enum {string} */
|
|
324
|
+
logStreamType: "datadog";
|
|
325
|
+
} | {
|
|
326
|
+
id: string;
|
|
327
|
+
/** @enum {string} */
|
|
328
|
+
logStreamType: "axiom";
|
|
329
|
+
} | {
|
|
330
|
+
id: string;
|
|
331
|
+
/** @enum {string} */
|
|
332
|
+
logStreamType: "sentry";
|
|
333
|
+
};
|
|
334
|
+
CreateSentryLogStreamArgs: {
|
|
335
|
+
/** @description Sentry Data Source Name (DSN) to route exceptions to. */
|
|
336
|
+
dsn: string;
|
|
337
|
+
/** @description Tags to add to all events routed to Sentry. */
|
|
338
|
+
tags?: {
|
|
339
|
+
[key: string]: string;
|
|
340
|
+
} | null;
|
|
341
|
+
};
|
|
342
|
+
CreateWebhookLogStreamArgs: {
|
|
343
|
+
/** @description Format for the webhook payload. JSONL sends one object per line of
|
|
344
|
+
* request, JSON sends one array per request. */
|
|
345
|
+
format: components["schemas"]["WebhookFormat"];
|
|
346
|
+
/** @description URL to send logs to. */
|
|
347
|
+
url: string;
|
|
348
|
+
};
|
|
349
|
+
CreateWebhookLogStreamResponse: {
|
|
350
|
+
/** @description Use this secret to verify webhook signatures. */
|
|
351
|
+
hmacSecret: string;
|
|
352
|
+
id: string;
|
|
353
|
+
};
|
|
354
|
+
/** DatadogConfig */
|
|
355
|
+
DatadogLogStreamConfig: {
|
|
356
|
+
/** @description Optional comma-separated list of tags. These are sent to Datadog in each
|
|
357
|
+
* log event via the `ddtags` field. */
|
|
358
|
+
ddTags: string[];
|
|
359
|
+
id: string;
|
|
360
|
+
/** @description Service name used as a special tag in Datadog. */
|
|
361
|
+
service?: string | null;
|
|
362
|
+
/** @description Location of your Datadog deployment. */
|
|
363
|
+
siteLocation: components["schemas"]["DatadogSiteLocation"];
|
|
364
|
+
/** @description Status of the log stream */
|
|
365
|
+
status: components["schemas"]["LogStreamStatus"];
|
|
366
|
+
};
|
|
367
|
+
/**
|
|
368
|
+
* @description The Datadog deployment locations, used to construct URLs
|
|
369
|
+
* @enum {string}
|
|
370
|
+
*/
|
|
371
|
+
DatadogSiteLocation: "US1" | "US3" | "US5" | "EU" | "US1_FED" | "AP1";
|
|
372
|
+
GetCanonicalUrlsResponse: {
|
|
373
|
+
convexCloudUrl: string;
|
|
374
|
+
convexSiteUrl: string;
|
|
375
|
+
};
|
|
376
|
+
ListEnvVarsResponse: {
|
|
377
|
+
environmentVariables: {
|
|
378
|
+
[key: string]: string;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
LogStreamConfig: (components["schemas"]["DatadogLogStreamConfig"] & {
|
|
382
|
+
/** @enum {string} */
|
|
383
|
+
logStreamType: "datadog";
|
|
384
|
+
}) | (components["schemas"]["WebhookLogStreamConfig"] & {
|
|
385
|
+
/** @enum {string} */
|
|
386
|
+
logStreamType: "webhook";
|
|
387
|
+
}) | (components["schemas"]["AxiomLogStreamConfig"] & {
|
|
388
|
+
/** @enum {string} */
|
|
389
|
+
logStreamType: "axiom";
|
|
390
|
+
}) | (components["schemas"]["SentryLogStreamConfig"] & {
|
|
391
|
+
/** @enum {string} */
|
|
392
|
+
logStreamType: "sentry";
|
|
393
|
+
});
|
|
394
|
+
/** @description Status of a log stream */
|
|
395
|
+
LogStreamStatus: {
|
|
396
|
+
/** @enum {string} */
|
|
397
|
+
type: "pending";
|
|
398
|
+
} | {
|
|
399
|
+
/** @enum {string} */
|
|
400
|
+
type: "restarting";
|
|
401
|
+
} | {
|
|
402
|
+
reason: string;
|
|
403
|
+
/** @enum {string} */
|
|
404
|
+
type: "failed";
|
|
405
|
+
} | {
|
|
406
|
+
/** @enum {string} */
|
|
407
|
+
type: "active";
|
|
408
|
+
} | {
|
|
409
|
+
/** @enum {string} */
|
|
410
|
+
type: "deleting";
|
|
411
|
+
};
|
|
412
|
+
/** @enum {string} */
|
|
413
|
+
RequestDestination: "convexCloud" | "convexSite";
|
|
414
|
+
RotateLogStreamSecretResponse: {
|
|
415
|
+
hmacSecret: string;
|
|
416
|
+
/** @enum {string} */
|
|
417
|
+
logStreamType: "webhook";
|
|
418
|
+
};
|
|
419
|
+
/** SentryConfig */
|
|
420
|
+
SentryLogStreamConfig: {
|
|
421
|
+
id: string;
|
|
422
|
+
/** @description Status of the log stream */
|
|
423
|
+
status: components["schemas"]["LogStreamStatus"];
|
|
424
|
+
/** @description Tags to add to all events routed to Sentry. */
|
|
425
|
+
tags?: {
|
|
426
|
+
[key: string]: string;
|
|
427
|
+
} | null;
|
|
428
|
+
};
|
|
429
|
+
UpdateAxiomSinkArgs: {
|
|
430
|
+
/** @description Axiom API key for authentication. */
|
|
431
|
+
apiKey?: string | null;
|
|
432
|
+
/** @description Optional list of attributes. These are extra fields and values sent to
|
|
433
|
+
* Axiom in each log event. */
|
|
434
|
+
attributes?: components["schemas"]["AxiomAttribute"][] | null;
|
|
435
|
+
/** @description Name of the dataset in Axiom. This is where the logs will be sent. */
|
|
436
|
+
datasetName?: string | null;
|
|
437
|
+
/** @description Optional ingest endpoint for Axiom */
|
|
438
|
+
ingestUrl?: string | null;
|
|
439
|
+
};
|
|
440
|
+
UpdateCanonicalUrlRequest: {
|
|
441
|
+
/** @description Whether to update the canonical URL for convex.cloud or convex.site */
|
|
442
|
+
requestDestination: components["schemas"]["RequestDestination"];
|
|
443
|
+
/** @description The new canonical URL. Omit this to reset the canonical URl to the
|
|
444
|
+
* default value. */
|
|
445
|
+
url?: string | null;
|
|
446
|
+
};
|
|
447
|
+
UpdateDatadogSinkArgs: {
|
|
448
|
+
/** @description Datadog API key for authentication. */
|
|
449
|
+
ddApiKey?: string | null;
|
|
450
|
+
/** @description Optional comma-separated list of tags. These are sent to Datadog in each
|
|
451
|
+
* log event via the `ddtags` field. */
|
|
452
|
+
ddTags?: string[] | null;
|
|
453
|
+
/** @description Service name used as a special tag in Datadog. */
|
|
454
|
+
service?: string | null;
|
|
455
|
+
siteLocation?: null | components["schemas"]["DatadogSiteLocation"];
|
|
456
|
+
};
|
|
457
|
+
UpdateEnvVarRequest: {
|
|
458
|
+
name: string;
|
|
459
|
+
value?: string | null;
|
|
460
|
+
};
|
|
461
|
+
UpdateEnvVarsRequest: {
|
|
462
|
+
changes: components["schemas"]["UpdateEnvVarRequest"][];
|
|
463
|
+
};
|
|
464
|
+
UpdateLogStreamArgs: (components["schemas"]["UpdateDatadogSinkArgs"] & {
|
|
465
|
+
/** @enum {string} */
|
|
466
|
+
logStreamType: "datadog";
|
|
467
|
+
}) | (components["schemas"]["UpdateWebhookSinkArgs"] & {
|
|
468
|
+
/** @enum {string} */
|
|
469
|
+
logStreamType: "webhook";
|
|
470
|
+
}) | (components["schemas"]["UpdateAxiomSinkArgs"] & {
|
|
471
|
+
/** @enum {string} */
|
|
472
|
+
logStreamType: "axiom";
|
|
473
|
+
}) | (components["schemas"]["UpdateSentrySinkArgs"] & {
|
|
474
|
+
/** @enum {string} */
|
|
475
|
+
logStreamType: "sentry";
|
|
476
|
+
});
|
|
477
|
+
UpdateSentrySinkArgs: {
|
|
478
|
+
/** @description Sentry Data Source Name (DSN) to route exceptions to. */
|
|
479
|
+
dsn?: string | null;
|
|
480
|
+
/** @description Tags to add to all events routed to Sentry. */
|
|
481
|
+
tags?: {
|
|
482
|
+
[key: string]: string;
|
|
483
|
+
} | null;
|
|
484
|
+
};
|
|
485
|
+
UpdateWebhookSinkArgs: {
|
|
486
|
+
format?: null | components["schemas"]["WebhookFormat"];
|
|
487
|
+
/** @description URL to send logs to. */
|
|
488
|
+
url?: string | null;
|
|
489
|
+
};
|
|
490
|
+
/** @enum {string} */
|
|
491
|
+
WebhookFormat: "json" | "jsonl";
|
|
492
|
+
/** WebhookConfig */
|
|
493
|
+
WebhookLogStreamConfig: {
|
|
494
|
+
/** @description Format for the webhook payload. JSONL sends one object per line of
|
|
495
|
+
* request, JSON sends one array per request. */
|
|
496
|
+
format: components["schemas"]["WebhookFormat"];
|
|
497
|
+
/** @description Use this secret to verify webhook signatures. */
|
|
498
|
+
hmacSecret: string;
|
|
499
|
+
id: string;
|
|
500
|
+
/** @description Status of the log stream */
|
|
501
|
+
status: components["schemas"]["LogStreamStatus"];
|
|
502
|
+
/** @description URL to send logs to. */
|
|
503
|
+
url: string;
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
responses: never;
|
|
507
|
+
parameters: never;
|
|
508
|
+
requestBodies: never;
|
|
509
|
+
headers: never;
|
|
510
|
+
pathItems: never;
|
|
511
|
+
}
|
|
512
|
+
export type AxiomAttribute = components['schemas']['AxiomAttribute'];
|
|
513
|
+
export type AxiomLogStreamConfig = components['schemas']['AxiomLogStreamConfig'];
|
|
514
|
+
export type CreateAxiomLogStreamArgs = components['schemas']['CreateAxiomLogStreamArgs'];
|
|
515
|
+
export type CreateDatadogLogStreamArgs = components['schemas']['CreateDatadogLogStreamArgs'];
|
|
516
|
+
export type CreateLogStreamArgs = components['schemas']['CreateLogStreamArgs'];
|
|
517
|
+
export type CreateLogStreamResponse = components['schemas']['CreateLogStreamResponse'];
|
|
518
|
+
export type CreateSentryLogStreamArgs = components['schemas']['CreateSentryLogStreamArgs'];
|
|
519
|
+
export type CreateWebhookLogStreamArgs = components['schemas']['CreateWebhookLogStreamArgs'];
|
|
520
|
+
export type CreateWebhookLogStreamResponse = components['schemas']['CreateWebhookLogStreamResponse'];
|
|
521
|
+
export type DatadogLogStreamConfig = components['schemas']['DatadogLogStreamConfig'];
|
|
522
|
+
export type DatadogSiteLocation = components['schemas']['DatadogSiteLocation'];
|
|
523
|
+
export type GetCanonicalUrlsResponse = components['schemas']['GetCanonicalUrlsResponse'];
|
|
524
|
+
export type ListEnvVarsResponse = components['schemas']['ListEnvVarsResponse'];
|
|
525
|
+
export type LogStreamConfig = components['schemas']['LogStreamConfig'];
|
|
526
|
+
export type LogStreamStatus = components['schemas']['LogStreamStatus'];
|
|
527
|
+
export type RequestDestination = components['schemas']['RequestDestination'];
|
|
528
|
+
export type RotateLogStreamSecretResponse = components['schemas']['RotateLogStreamSecretResponse'];
|
|
529
|
+
export type SentryLogStreamConfig = components['schemas']['SentryLogStreamConfig'];
|
|
530
|
+
export type UpdateAxiomSinkArgs = components['schemas']['UpdateAxiomSinkArgs'];
|
|
531
|
+
export type UpdateCanonicalUrlRequest = components['schemas']['UpdateCanonicalUrlRequest'];
|
|
532
|
+
export type UpdateDatadogSinkArgs = components['schemas']['UpdateDatadogSinkArgs'];
|
|
533
|
+
export type UpdateEnvVarRequest = components['schemas']['UpdateEnvVarRequest'];
|
|
534
|
+
export type UpdateEnvVarsRequest = components['schemas']['UpdateEnvVarsRequest'];
|
|
535
|
+
export type UpdateLogStreamArgs = components['schemas']['UpdateLogStreamArgs'];
|
|
536
|
+
export type UpdateSentrySinkArgs = components['schemas']['UpdateSentrySinkArgs'];
|
|
537
|
+
export type UpdateWebhookSinkArgs = components['schemas']['UpdateWebhookSinkArgs'];
|
|
538
|
+
export type WebhookFormat = components['schemas']['WebhookFormat'];
|
|
539
|
+
export type WebhookLogStreamConfig = components['schemas']['WebhookLogStreamConfig'];
|
|
540
|
+
export type $defs = Record<string, never>;
|
|
541
|
+
export interface operations {
|
|
542
|
+
update_environment_variables: {
|
|
543
|
+
parameters: {
|
|
544
|
+
query?: never;
|
|
545
|
+
header?: never;
|
|
546
|
+
path?: never;
|
|
547
|
+
cookie?: never;
|
|
548
|
+
};
|
|
549
|
+
requestBody: {
|
|
550
|
+
content: {
|
|
551
|
+
"application/json": components["schemas"]["UpdateEnvVarsRequest"];
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
responses: {
|
|
555
|
+
200: {
|
|
556
|
+
headers: {
|
|
557
|
+
[name: string]: unknown;
|
|
558
|
+
};
|
|
559
|
+
content?: never;
|
|
560
|
+
};
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
list_environment_variables: {
|
|
564
|
+
parameters: {
|
|
565
|
+
query?: never;
|
|
566
|
+
header?: never;
|
|
567
|
+
path?: never;
|
|
568
|
+
cookie?: never;
|
|
569
|
+
};
|
|
570
|
+
requestBody?: never;
|
|
571
|
+
responses: {
|
|
572
|
+
200: {
|
|
573
|
+
headers: {
|
|
574
|
+
[name: string]: unknown;
|
|
575
|
+
};
|
|
576
|
+
content: {
|
|
577
|
+
"application/json": components["schemas"]["ListEnvVarsResponse"];
|
|
578
|
+
};
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
update_canonical_url: {
|
|
583
|
+
parameters: {
|
|
584
|
+
query?: never;
|
|
585
|
+
header?: never;
|
|
586
|
+
path?: never;
|
|
587
|
+
cookie?: never;
|
|
588
|
+
};
|
|
589
|
+
requestBody: {
|
|
590
|
+
content: {
|
|
591
|
+
"application/json": components["schemas"]["UpdateCanonicalUrlRequest"];
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
responses: {
|
|
595
|
+
200: {
|
|
596
|
+
headers: {
|
|
597
|
+
[name: string]: unknown;
|
|
598
|
+
};
|
|
599
|
+
content?: never;
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
get_canonical_urls: {
|
|
604
|
+
parameters: {
|
|
605
|
+
query?: never;
|
|
606
|
+
header?: never;
|
|
607
|
+
path?: never;
|
|
608
|
+
cookie?: never;
|
|
609
|
+
};
|
|
610
|
+
requestBody?: never;
|
|
611
|
+
responses: {
|
|
612
|
+
200: {
|
|
613
|
+
headers: {
|
|
614
|
+
[name: string]: unknown;
|
|
615
|
+
};
|
|
616
|
+
content: {
|
|
617
|
+
"application/json": components["schemas"]["GetCanonicalUrlsResponse"];
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
list_log_streams: {
|
|
623
|
+
parameters: {
|
|
624
|
+
query?: never;
|
|
625
|
+
header?: never;
|
|
626
|
+
path?: never;
|
|
627
|
+
cookie?: never;
|
|
628
|
+
};
|
|
629
|
+
requestBody?: never;
|
|
630
|
+
responses: {
|
|
631
|
+
200: {
|
|
632
|
+
headers: {
|
|
633
|
+
[name: string]: unknown;
|
|
634
|
+
};
|
|
635
|
+
content: {
|
|
636
|
+
"application/json": components["schemas"]["LogStreamConfig"][];
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
get_log_stream: {
|
|
642
|
+
parameters: {
|
|
643
|
+
query?: never;
|
|
644
|
+
header?: never;
|
|
645
|
+
path: {
|
|
646
|
+
/** @description id of the log stream to retrieve */
|
|
647
|
+
id: string;
|
|
648
|
+
};
|
|
649
|
+
cookie?: never;
|
|
650
|
+
};
|
|
651
|
+
requestBody?: never;
|
|
652
|
+
responses: {
|
|
653
|
+
200: {
|
|
654
|
+
headers: {
|
|
655
|
+
[name: string]: unknown;
|
|
656
|
+
};
|
|
657
|
+
content: {
|
|
658
|
+
"application/json": components["schemas"]["LogStreamConfig"];
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
delete_log_stream: {
|
|
664
|
+
parameters: {
|
|
665
|
+
query?: never;
|
|
666
|
+
header?: never;
|
|
667
|
+
path: {
|
|
668
|
+
/** @description id of the log stream to delete */
|
|
669
|
+
id: string;
|
|
670
|
+
};
|
|
671
|
+
cookie?: never;
|
|
672
|
+
};
|
|
673
|
+
requestBody?: never;
|
|
674
|
+
responses: {
|
|
675
|
+
200: {
|
|
676
|
+
headers: {
|
|
677
|
+
[name: string]: unknown;
|
|
678
|
+
};
|
|
679
|
+
content?: never;
|
|
680
|
+
};
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
create_log_stream: {
|
|
684
|
+
parameters: {
|
|
685
|
+
query?: never;
|
|
686
|
+
header?: never;
|
|
687
|
+
path?: never;
|
|
688
|
+
cookie?: never;
|
|
689
|
+
};
|
|
690
|
+
requestBody: {
|
|
691
|
+
content: {
|
|
692
|
+
"application/json": components["schemas"]["CreateLogStreamArgs"];
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
responses: {
|
|
696
|
+
200: {
|
|
697
|
+
headers: {
|
|
698
|
+
[name: string]: unknown;
|
|
699
|
+
};
|
|
700
|
+
content: {
|
|
701
|
+
"application/json": components["schemas"]["CreateLogStreamResponse"];
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
update_log_stream: {
|
|
707
|
+
parameters: {
|
|
708
|
+
query?: never;
|
|
709
|
+
header?: never;
|
|
710
|
+
path: {
|
|
711
|
+
/** @description id of the log stream to update */
|
|
712
|
+
id: string;
|
|
713
|
+
};
|
|
714
|
+
cookie?: never;
|
|
715
|
+
};
|
|
716
|
+
requestBody: {
|
|
717
|
+
content: {
|
|
718
|
+
"application/json": components["schemas"]["UpdateLogStreamArgs"];
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
responses: {
|
|
722
|
+
200: {
|
|
723
|
+
headers: {
|
|
724
|
+
[name: string]: unknown;
|
|
725
|
+
};
|
|
726
|
+
content?: never;
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
rotate_webhook_secret: {
|
|
731
|
+
parameters: {
|
|
732
|
+
query?: never;
|
|
733
|
+
header?: never;
|
|
734
|
+
path: {
|
|
735
|
+
/** @description id of the webhook log stream for which to rotate the secret */
|
|
736
|
+
id: string;
|
|
737
|
+
};
|
|
738
|
+
cookie?: never;
|
|
739
|
+
};
|
|
740
|
+
requestBody?: never;
|
|
741
|
+
responses: {
|
|
742
|
+
200: {
|
|
743
|
+
headers: {
|
|
744
|
+
[name: string]: unknown;
|
|
745
|
+
};
|
|
746
|
+
content: {
|
|
747
|
+
"application/json": components["schemas"]["RotateLogStreamSecretResponse"];
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
};
|
|
751
|
+
};
|
|
752
|
+
pause_deployment: {
|
|
753
|
+
parameters: {
|
|
754
|
+
query?: never;
|
|
755
|
+
header?: never;
|
|
756
|
+
path?: never;
|
|
757
|
+
cookie?: never;
|
|
758
|
+
};
|
|
759
|
+
requestBody?: never;
|
|
760
|
+
responses: {
|
|
761
|
+
200: {
|
|
762
|
+
headers: {
|
|
763
|
+
[name: string]: unknown;
|
|
764
|
+
};
|
|
765
|
+
content?: never;
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
unpause_deployment: {
|
|
770
|
+
parameters: {
|
|
771
|
+
query?: never;
|
|
772
|
+
header?: never;
|
|
773
|
+
path?: never;
|
|
774
|
+
cookie?: never;
|
|
775
|
+
};
|
|
776
|
+
requestBody?: never;
|
|
777
|
+
responses: {
|
|
778
|
+
200: {
|
|
779
|
+
headers: {
|
|
780
|
+
[name: string]: unknown;
|
|
781
|
+
};
|
|
782
|
+
content?: never;
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
};
|
|
786
|
+
}
|
|
787
|
+
//# sourceMappingURL=generatedDeploymentApi.d.ts.map
|