svix 2.0.0-rc.2 → 2.0.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/dist/index.d.mts +434 -186
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +530 -254
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/ingestEndpoint.ts +1 -1
- package/src/api/ingestEndpointTransformation.ts +1 -1
- package/src/api/operationalWebhookEndpoint.ts +1 -1
- package/src/index.test.ts +1 -0
- package/src/models/azureBlobStorageConfigIn.ts +30 -0
- package/src/models/azureBlobStorageConfigOut.ts +22 -0
- package/src/models/{azureBlobStoragePatchConfig.ts → azureBlobStorageConfigPatch.ts} +4 -4
- package/src/models/{bigQueryConfig.ts → bigQueryConfigIn.ts} +4 -4
- package/src/models/bigQueryConfigOut.ts +25 -0
- package/src/models/{bigQueryPatchConfig.ts → bigQueryConfigPatch.ts} +4 -4
- package/src/models/clickhouseConfigIn.ts +44 -0
- package/src/models/clickhouseConfigOut.ts +28 -0
- package/src/models/{clickhousePatchConfig.ts → clickhouseConfigPatch.ts} +4 -4
- package/src/models/eventBridgeConfigIn.ts +48 -0
- package/src/models/eventBridgeConfigOut.ts +28 -0
- package/src/models/{eventBridgePatchConfig.ts → eventBridgeConfigPatch.ts} +4 -4
- package/src/models/{googleCloudPubSubConfig.ts → googleCloudPubSubConfigIn.ts} +4 -4
- package/src/models/googleCloudPubSubConfigOut.ts +22 -0
- package/src/models/{googleCloudPubSubPatchConfig.ts → googleCloudPubSubConfigPatch.ts} +4 -4
- package/src/models/{googleCloudStorageConfig.ts → googleCloudStorageConfigIn.ts} +4 -4
- package/src/models/googleCloudStorageConfigOut.ts +19 -0
- package/src/models/{googleCloudStoragePatchConfig.ts → googleCloudStorageConfigPatch.ts} +4 -4
- package/src/models/index.ts +42 -28
- package/src/models/ingestEndpointIn.ts +3 -0
- package/src/models/ingestEndpointSecretIn.ts +8 -0
- package/src/models/ingestEndpointTransformationOut.ts +3 -0
- package/src/models/ingestEndpointTransformationPatch.ts +3 -0
- package/src/models/operationalWebhookEndpointIn.ts +3 -0
- package/src/models/operationalWebhookEndpointSecretIn.ts +8 -0
- package/src/models/{sinkOtelV1Config.ts → otelTracingConfigIn.ts} +4 -4
- package/src/models/otelTracingConfigOut.ts +26 -0
- package/src/models/otelTracingConfigPatch.ts +19 -0
- package/src/models/{rabbitMqConfig.ts → rabbitMqConfigIn.ts} +4 -4
- package/src/models/rabbitMqConfigOut.ts +19 -0
- package/src/models/{rabbitMqPatchConfig.ts → rabbitMqConfigPatch.ts} +4 -4
- package/src/models/{redshiftConfig.ts → redshiftConfigIn.ts} +22 -7
- package/src/models/redshiftConfigOut.ts +55 -0
- package/src/models/{redshiftPatchConfig.ts → redshiftConfigPatch.ts} +4 -4
- package/src/models/s3ConfigIn.ts +46 -0
- package/src/models/{s3Config.ts → s3ConfigOut.ts} +4 -7
- package/src/models/{amazonS3PatchConfig.ts → s3ConfigPatch.ts} +4 -4
- package/src/models/{sinkHttpConfig.ts → sinkHttpConfigIn.ts} +4 -4
- package/src/models/sinkHttpConfigOut.ts +26 -0
- package/src/models/sinkHttpConfigPatch.ts +19 -0
- package/src/models/{snowflakeConfig.ts → snowflakeConfigIn.ts} +7 -5
- package/src/models/snowflakeConfigOut.ts +46 -0
- package/src/models/{snowflakePatchConfig.ts → snowflakeConfigPatch.ts} +4 -4
- package/src/models/snsConfigIn.ts +47 -0
- package/src/models/snsConfigOut.ts +25 -0
- package/src/models/{snsPatchConfig.ts → snsConfigPatch.ts} +4 -4
- package/src/models/sqsConfigIn.ts +47 -0
- package/src/models/{sqsConfig.ts → sqsConfigOut.ts} +4 -8
- package/src/models/{sqsPatchConfig.ts → sqsConfigPatch.ts} +4 -4
- package/src/models/streamSinkIn.ts +74 -62
- package/src/models/streamSinkOut.ts +108 -93
- package/src/models/streamSinkPatch.ts +81 -78
- package/src/request.test.ts +34 -0
- package/src/request.ts +7 -4
- package/src/models/azureBlobStorageConfig.ts +0 -25
- package/src/models/clickhouseConfig.ts +0 -36
- package/src/models/eventBridgeConfig.ts +0 -33
- package/src/models/httpPatchConfig.ts +0 -19
- package/src/models/otelTracingPatchConfig.ts +0 -19
- package/src/models/snsConfig.ts +0 -32
package/dist/index.d.mts
CHANGED
|
@@ -1239,6 +1239,9 @@ interface IngestEndpointIn {
|
|
|
1239
1239
|
metadata?: {
|
|
1240
1240
|
[key: string]: string;
|
|
1241
1241
|
};
|
|
1242
|
+
headers?: {
|
|
1243
|
+
[key: string]: string;
|
|
1244
|
+
} | null;
|
|
1242
1245
|
}
|
|
1243
1246
|
//#endregion
|
|
1244
1247
|
//#region src/models/ingestEndpointOut.d.ts
|
|
@@ -1272,6 +1275,12 @@ interface IngestEndpointSecretIn {
|
|
|
1272
1275
|
* It is recommended to not set this and let the server generate the secret.
|
|
1273
1276
|
*/
|
|
1274
1277
|
key?: string | null;
|
|
1278
|
+
/**
|
|
1279
|
+
* How long the old secret will be valid for, in seconds.
|
|
1280
|
+
*
|
|
1281
|
+
* Valid values are between 0 (immediate expiry) and 7 days. The default is 24 hours.
|
|
1282
|
+
*/
|
|
1283
|
+
gracePeriodSeconds?: number | null;
|
|
1275
1284
|
}
|
|
1276
1285
|
//#endregion
|
|
1277
1286
|
//#region src/models/ingestEndpointSecretOut.d.ts
|
|
@@ -1315,12 +1324,18 @@ interface ListResponseIngestEndpointOut {
|
|
|
1315
1324
|
interface IngestEndpointTransformationOut {
|
|
1316
1325
|
code?: string | null;
|
|
1317
1326
|
enabled?: boolean;
|
|
1327
|
+
variables?: {
|
|
1328
|
+
[key: string]: string;
|
|
1329
|
+
} | null;
|
|
1318
1330
|
}
|
|
1319
1331
|
//#endregion
|
|
1320
1332
|
//#region src/models/ingestEndpointTransformationPatch.d.ts
|
|
1321
1333
|
interface IngestEndpointTransformationPatch {
|
|
1322
1334
|
code?: string | null;
|
|
1323
1335
|
enabled?: boolean;
|
|
1336
|
+
variables?: {
|
|
1337
|
+
[key: string]: string;
|
|
1338
|
+
} | null;
|
|
1324
1339
|
}
|
|
1325
1340
|
//#endregion
|
|
1326
1341
|
//#region src/api/ingestEndpointTransformation.d.ts
|
|
@@ -1328,7 +1343,7 @@ declare class IngestEndpointTransformation {
|
|
|
1328
1343
|
private readonly requestCtx;
|
|
1329
1344
|
constructor(requestCtx: SvixRequestContext);
|
|
1330
1345
|
/** Get the transformation code associated with this ingest endpoint. */
|
|
1331
|
-
|
|
1346
|
+
get(sourceId: string, endpointId: string): Promise<IngestEndpointTransformationOut>;
|
|
1332
1347
|
/** Set or unset the transformation code associated with this ingest endpoint. */
|
|
1333
1348
|
patch(sourceId: string, endpointId: string, ingestEndpointTransformationPatch: IngestEndpointTransformationPatch): Promise<void>;
|
|
1334
1349
|
}
|
|
@@ -1372,7 +1387,7 @@ declare class IngestEndpoint {
|
|
|
1372
1387
|
/**
|
|
1373
1388
|
* Rotates an ingest endpoint's signing secret.
|
|
1374
1389
|
*
|
|
1375
|
-
* The previous secret will remain valid for the
|
|
1390
|
+
* The previous secret will remain valid for the specified grace period (default 24 hours).
|
|
1376
1391
|
*/
|
|
1377
1392
|
rotateSecret(sourceId: string, endpointId: string, ingestEndpointSecretIn?: IngestEndpointSecretIn, options?: IngestEndpointRotateSecretOptions): Promise<void>;
|
|
1378
1393
|
/** Get the additional headers to be sent with the ingest. */
|
|
@@ -2730,6 +2745,9 @@ interface OperationalWebhookEndpointIn {
|
|
|
2730
2745
|
metadata?: {
|
|
2731
2746
|
[key: string]: string;
|
|
2732
2747
|
};
|
|
2748
|
+
headers?: {
|
|
2749
|
+
[key: string]: string;
|
|
2750
|
+
} | null;
|
|
2733
2751
|
}
|
|
2734
2752
|
//#endregion
|
|
2735
2753
|
//#region src/models/operationalWebhookEndpointSecretIn.d.ts
|
|
@@ -2741,6 +2759,12 @@ interface OperationalWebhookEndpointSecretIn {
|
|
|
2741
2759
|
* It is recommended to not set this and let the server generate the secret.
|
|
2742
2760
|
*/
|
|
2743
2761
|
key?: string | null;
|
|
2762
|
+
/**
|
|
2763
|
+
* How long the old secret will be valid for, in seconds.
|
|
2764
|
+
*
|
|
2765
|
+
* Valid values are between 0 (immediate expiry) and 7 days. The default is 24 hours.
|
|
2766
|
+
*/
|
|
2767
|
+
gracePeriodSeconds?: number | null;
|
|
2744
2768
|
}
|
|
2745
2769
|
//#endregion
|
|
2746
2770
|
//#region src/models/operationalWebhookEndpointSecretOut.d.ts
|
|
@@ -2811,7 +2835,7 @@ declare class OperationalWebhookEndpoint {
|
|
|
2811
2835
|
/**
|
|
2812
2836
|
* Rotates an operational webhook endpoint's signing secret.
|
|
2813
2837
|
*
|
|
2814
|
-
* The previous secret will remain valid for the
|
|
2838
|
+
* The previous secret will remain valid for the specified grace period (default 24 hours).
|
|
2815
2839
|
*/
|
|
2816
2840
|
rotateSecret(endpointId: string, operationalWebhookEndpointSecretIn?: OperationalWebhookEndpointSecretIn, options?: OperationalWebhookEndpointRotateSecretOptions): Promise<void>;
|
|
2817
2841
|
/** Get the additional headers to be sent with the operational webhook. */
|
|
@@ -3073,90 +3097,63 @@ declare class StreamingEvents {
|
|
|
3073
3097
|
create(streamId: string, createStreamEventsIn: CreateStreamEventsIn, options?: StreamingEventsCreateOptions): Promise<CreateStreamEventsOut>;
|
|
3074
3098
|
}
|
|
3075
3099
|
//#endregion
|
|
3076
|
-
//#region src/models/
|
|
3077
|
-
interface
|
|
3100
|
+
//#region src/models/azureBlobStorageConfigOut.d.ts
|
|
3101
|
+
interface AzureBlobStorageConfigOut {
|
|
3078
3102
|
container: string;
|
|
3079
3103
|
account: string;
|
|
3080
|
-
accessKey: string;
|
|
3081
3104
|
}
|
|
3082
3105
|
//#endregion
|
|
3083
|
-
//#region src/models/
|
|
3084
|
-
|
|
3085
|
-
interface BigQueryConfig {
|
|
3106
|
+
//#region src/models/bigQueryConfigOut.d.ts
|
|
3107
|
+
interface BigQueryConfigOut {
|
|
3086
3108
|
projectId: string;
|
|
3087
3109
|
datasetId: string;
|
|
3088
3110
|
tableId: string;
|
|
3089
|
-
/** Google Cloud Credentials JSON Object as a string. */
|
|
3090
|
-
credentials: string;
|
|
3091
3111
|
}
|
|
3092
3112
|
//#endregion
|
|
3093
|
-
//#region src/models/
|
|
3094
|
-
interface
|
|
3095
|
-
/** The HTTP URL of the ClickHouse server (e.g. `https://my_clickhouse:8443`). */
|
|
3113
|
+
//#region src/models/clickhouseConfigOut.d.ts
|
|
3114
|
+
interface ClickhouseConfigOut {
|
|
3096
3115
|
url: string;
|
|
3097
|
-
/** Username to access Clickhouse */
|
|
3098
3116
|
username: string;
|
|
3099
|
-
|
|
3100
|
-
password: string;
|
|
3101
|
-
/** The Clickhouse database to connect to */
|
|
3102
|
-
database?: string;
|
|
3103
|
-
/** The Clickhouse table to write to */
|
|
3117
|
+
database: string;
|
|
3104
3118
|
tableName: string;
|
|
3105
3119
|
}
|
|
3106
3120
|
//#endregion
|
|
3107
|
-
//#region src/models/
|
|
3108
|
-
interface
|
|
3109
|
-
/** The name or ARN of the event bus to receive the event */
|
|
3121
|
+
//#region src/models/eventBridgeConfigOut.d.ts
|
|
3122
|
+
interface EventBridgeConfigOut {
|
|
3110
3123
|
eventBusName: string;
|
|
3111
|
-
|
|
3112
|
-
detailType?: string;
|
|
3124
|
+
detailType: string;
|
|
3113
3125
|
accessKeyId: string;
|
|
3114
|
-
secretAccessKey: string;
|
|
3115
3126
|
region: string;
|
|
3116
3127
|
}
|
|
3117
3128
|
//#endregion
|
|
3118
|
-
//#region src/models/
|
|
3119
|
-
interface
|
|
3129
|
+
//#region src/models/googleCloudPubSubConfigOut.d.ts
|
|
3130
|
+
interface GoogleCloudPubSubConfigOut {
|
|
3120
3131
|
projectId: string;
|
|
3121
3132
|
topicId: string;
|
|
3122
|
-
/** Google Cloud Credentials JSON Object as a string. */
|
|
3123
|
-
credentials: string;
|
|
3124
3133
|
}
|
|
3125
3134
|
//#endregion
|
|
3126
|
-
//#region src/models/
|
|
3127
|
-
|
|
3128
|
-
* Configuration for a Google Cloud Storage sink.
|
|
3129
|
-
*
|
|
3130
|
-
* Write stream events into the named bucket using the supplied Google Cloud credentials.
|
|
3131
|
-
*/
|
|
3132
|
-
interface GoogleCloudStorageConfig {
|
|
3135
|
+
//#region src/models/googleCloudStorageConfigOut.d.ts
|
|
3136
|
+
interface GoogleCloudStorageConfigOut {
|
|
3133
3137
|
bucket: string;
|
|
3134
|
-
/** Google Cloud Credentials JSON Object as a string. */
|
|
3135
|
-
credentials: string;
|
|
3136
3138
|
}
|
|
3137
3139
|
//#endregion
|
|
3138
|
-
//#region src/models/
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3140
|
+
//#region src/models/otelTracingConfigOut.d.ts
|
|
3141
|
+
interface OtelTracingConfigOut {
|
|
3142
|
+
url: string;
|
|
3143
|
+
headers: EndpointHeadersOut;
|
|
3144
|
+
}
|
|
3145
|
+
//#endregion
|
|
3146
|
+
//#region src/models/rabbitMqConfigOut.d.ts
|
|
3147
|
+
interface RabbitMqConfigOut {
|
|
3142
3148
|
routingKey: string;
|
|
3143
3149
|
}
|
|
3144
3150
|
//#endregion
|
|
3145
|
-
//#region src/models/
|
|
3146
|
-
|
|
3147
|
-
* Configuration parameters for defining a Redshift sink.
|
|
3148
|
-
*
|
|
3149
|
-
* For provisioned clusters, set `cluster_identifier` and `db_user`. For Redshift Serverless, set `workgroup_name`.
|
|
3150
|
-
*/
|
|
3151
|
-
interface RedshiftConfig {
|
|
3151
|
+
//#region src/models/redshiftConfigOut.d.ts
|
|
3152
|
+
interface RedshiftConfigOut {
|
|
3152
3153
|
accessKeyId: string;
|
|
3153
|
-
secretAccessKey: string;
|
|
3154
3154
|
region: string;
|
|
3155
|
-
/** Required for provisioned clusters. */
|
|
3156
3155
|
clusterIdentifier?: string | null;
|
|
3157
|
-
/** Required for provisioned clusters. */
|
|
3158
3156
|
dbUser?: string | null;
|
|
3159
|
-
/** Required for Redshift Serverless. */
|
|
3160
3157
|
workgroupName?: string | null;
|
|
3161
3158
|
/**
|
|
3162
3159
|
* Database name.
|
|
@@ -3178,30 +3175,18 @@ interface RedshiftConfig {
|
|
|
3178
3175
|
tableName?: string;
|
|
3179
3176
|
}
|
|
3180
3177
|
//#endregion
|
|
3181
|
-
//#region src/models/
|
|
3182
|
-
interface
|
|
3178
|
+
//#region src/models/s3ConfigOut.d.ts
|
|
3179
|
+
interface S3ConfigOut {
|
|
3183
3180
|
bucket: string;
|
|
3184
3181
|
accessKeyId: string;
|
|
3185
|
-
secretAccessKey: string;
|
|
3186
3182
|
region: string;
|
|
3187
3183
|
endpointUrl?: string | null;
|
|
3188
3184
|
}
|
|
3189
3185
|
//#endregion
|
|
3190
|
-
//#region src/models/
|
|
3191
|
-
interface
|
|
3186
|
+
//#region src/models/sinkHttpConfigOut.d.ts
|
|
3187
|
+
interface SinkHttpConfigOut {
|
|
3192
3188
|
url: string;
|
|
3193
|
-
headers
|
|
3194
|
-
[key: string]: string;
|
|
3195
|
-
};
|
|
3196
|
-
key?: string | null;
|
|
3197
|
-
}
|
|
3198
|
-
//#endregion
|
|
3199
|
-
//#region src/models/sinkOtelV1Config.d.ts
|
|
3200
|
-
interface SinkOtelV1Config {
|
|
3201
|
-
url: string;
|
|
3202
|
-
headers?: {
|
|
3203
|
-
[key: string]: string;
|
|
3204
|
-
};
|
|
3189
|
+
headers: EndpointHeadersOut;
|
|
3205
3190
|
}
|
|
3206
3191
|
//#endregion
|
|
3207
3192
|
//#region src/models/sinkStatus.d.ts
|
|
@@ -3212,18 +3197,9 @@ declare enum SinkStatus {
|
|
|
3212
3197
|
Retrying = "retrying"
|
|
3213
3198
|
}
|
|
3214
3199
|
//#endregion
|
|
3215
|
-
//#region src/models/
|
|
3216
|
-
|
|
3217
|
-
interface SnowflakeConfig {
|
|
3218
|
-
/**
|
|
3219
|
-
* PEM-encoded private key used for signing token-based requests to the Snowflake API.
|
|
3220
|
-
*
|
|
3221
|
-
* Beginning/end delimiters are not required.
|
|
3222
|
-
*/
|
|
3223
|
-
privateKey: string;
|
|
3224
|
-
/** Snowflake account identifier, which includes both the organization and account IDs separated by a hyphen. */
|
|
3200
|
+
//#region src/models/snowflakeConfigOut.d.ts
|
|
3201
|
+
interface SnowflakeConfigOut {
|
|
3225
3202
|
accountIdentifier: string;
|
|
3226
|
-
/** The Snowflake user id. */
|
|
3227
3203
|
userId: string;
|
|
3228
3204
|
/**
|
|
3229
3205
|
* Database name.
|
|
@@ -3245,23 +3221,18 @@ interface SnowflakeConfig {
|
|
|
3245
3221
|
tableName?: string;
|
|
3246
3222
|
}
|
|
3247
3223
|
//#endregion
|
|
3248
|
-
//#region src/models/
|
|
3249
|
-
|
|
3250
|
-
interface SnsConfig {
|
|
3224
|
+
//#region src/models/snsConfigOut.d.ts
|
|
3225
|
+
interface SnsConfigOut {
|
|
3251
3226
|
topicArn: string;
|
|
3252
3227
|
region: string;
|
|
3253
3228
|
accessKeyId: string;
|
|
3254
|
-
secretAccessKey: string;
|
|
3255
|
-
endpointUrl?: string | null;
|
|
3256
3229
|
}
|
|
3257
3230
|
//#endregion
|
|
3258
|
-
//#region src/models/
|
|
3259
|
-
|
|
3260
|
-
interface SqsConfig {
|
|
3231
|
+
//#region src/models/sqsConfigOut.d.ts
|
|
3232
|
+
interface SqsConfigOut {
|
|
3261
3233
|
queueUrl: string;
|
|
3262
3234
|
region: string;
|
|
3263
3235
|
accessKeyId: string;
|
|
3264
|
-
secretAccessKey: string;
|
|
3265
3236
|
endpointUrl?: string | null;
|
|
3266
3237
|
}
|
|
3267
3238
|
//#endregion
|
|
@@ -3279,6 +3250,7 @@ interface _StreamSinkOutFields {
|
|
|
3279
3250
|
batchSize: number;
|
|
3280
3251
|
maxWaitSecs: number;
|
|
3281
3252
|
eventTypes?: string[];
|
|
3253
|
+
channels?: string[];
|
|
3282
3254
|
nextRetryAt?: Date | null;
|
|
3283
3255
|
metadata: {
|
|
3284
3256
|
[key: string]: string;
|
|
@@ -3291,61 +3263,61 @@ interface StreamSinkOutPoller {
|
|
|
3291
3263
|
}
|
|
3292
3264
|
interface StreamSinkOutAzureBlobStorage {
|
|
3293
3265
|
type: "azureBlobStorage";
|
|
3294
|
-
config:
|
|
3266
|
+
config: AzureBlobStorageConfigOut;
|
|
3295
3267
|
}
|
|
3296
3268
|
interface StreamSinkOutOtelTracing {
|
|
3297
3269
|
type: "otelTracing";
|
|
3298
|
-
config:
|
|
3270
|
+
config: OtelTracingConfigOut;
|
|
3299
3271
|
}
|
|
3300
3272
|
interface StreamSinkOutHttp {
|
|
3301
3273
|
type: "http";
|
|
3302
|
-
config:
|
|
3274
|
+
config: SinkHttpConfigOut;
|
|
3303
3275
|
}
|
|
3304
3276
|
interface StreamSinkOutAmazonS3 {
|
|
3305
3277
|
type: "amazonS3";
|
|
3306
|
-
config:
|
|
3278
|
+
config: S3ConfigOut;
|
|
3279
|
+
}
|
|
3280
|
+
interface StreamSinkOutSnowflake {
|
|
3281
|
+
type: "snowflake";
|
|
3282
|
+
config: SnowflakeConfigOut;
|
|
3307
3283
|
}
|
|
3308
3284
|
interface StreamSinkOutGoogleCloudStorage {
|
|
3309
3285
|
type: "googleCloudStorage";
|
|
3310
|
-
config:
|
|
3286
|
+
config: GoogleCloudStorageConfigOut;
|
|
3311
3287
|
}
|
|
3312
3288
|
interface StreamSinkOutGoogleCloudPubSub {
|
|
3313
3289
|
type: "googleCloudPubSub";
|
|
3314
|
-
config:
|
|
3315
|
-
}
|
|
3316
|
-
interface StreamSinkOutSqs {
|
|
3317
|
-
type: "sqs";
|
|
3318
|
-
config: SqsConfig;
|
|
3290
|
+
config: GoogleCloudPubSubConfigOut;
|
|
3319
3291
|
}
|
|
3320
|
-
interface
|
|
3321
|
-
type: "
|
|
3322
|
-
config:
|
|
3292
|
+
interface StreamSinkOutRedshift {
|
|
3293
|
+
type: "redshift";
|
|
3294
|
+
config: RedshiftConfigOut;
|
|
3323
3295
|
}
|
|
3324
3296
|
interface StreamSinkOutBigQuery {
|
|
3325
3297
|
type: "bigQuery";
|
|
3326
|
-
config:
|
|
3298
|
+
config: BigQueryConfigOut;
|
|
3327
3299
|
}
|
|
3328
3300
|
interface StreamSinkOutClickhouse {
|
|
3329
3301
|
type: "clickhouse";
|
|
3330
|
-
config:
|
|
3331
|
-
}
|
|
3332
|
-
interface StreamSinkOutEventBridge {
|
|
3333
|
-
type: "eventBridge";
|
|
3334
|
-
config: EventBridgeConfig;
|
|
3335
|
-
}
|
|
3336
|
-
interface StreamSinkOutSnowflake {
|
|
3337
|
-
type: "snowflake";
|
|
3338
|
-
config: SnowflakeConfig;
|
|
3302
|
+
config: ClickhouseConfigOut;
|
|
3339
3303
|
}
|
|
3340
3304
|
interface StreamSinkOutRabbitMq {
|
|
3341
3305
|
type: "rabbitMq";
|
|
3342
|
-
config:
|
|
3306
|
+
config: RabbitMqConfigOut;
|
|
3343
3307
|
}
|
|
3344
|
-
interface
|
|
3345
|
-
type: "
|
|
3346
|
-
config:
|
|
3308
|
+
interface StreamSinkOutSqs {
|
|
3309
|
+
type: "sqs";
|
|
3310
|
+
config: SqsConfigOut;
|
|
3347
3311
|
}
|
|
3348
|
-
|
|
3312
|
+
interface StreamSinkOutEventBridge {
|
|
3313
|
+
type: "eventBridge";
|
|
3314
|
+
config: EventBridgeConfigOut;
|
|
3315
|
+
}
|
|
3316
|
+
interface StreamSinkOutSns {
|
|
3317
|
+
type: "sns";
|
|
3318
|
+
config: SnsConfigOut;
|
|
3319
|
+
}
|
|
3320
|
+
type StreamSinkOut = _StreamSinkOutFields & (StreamSinkOutPoller | StreamSinkOutAzureBlobStorage | StreamSinkOutOtelTracing | StreamSinkOutHttp | StreamSinkOutAmazonS3 | StreamSinkOutSnowflake | StreamSinkOutGoogleCloudStorage | StreamSinkOutGoogleCloudPubSub | StreamSinkOutRedshift | StreamSinkOutBigQuery | StreamSinkOutClickhouse | StreamSinkOutRabbitMq | StreamSinkOutSqs | StreamSinkOutEventBridge | StreamSinkOutSns);
|
|
3349
3321
|
//#endregion
|
|
3350
3322
|
//#region src/models/listResponseStreamSinkOut.d.ts
|
|
3351
3323
|
interface ListResponseStreamSinkOut {
|
|
@@ -3366,12 +3338,286 @@ interface SinkSecretOut {
|
|
|
3366
3338
|
key?: string | null;
|
|
3367
3339
|
}
|
|
3368
3340
|
//#endregion
|
|
3341
|
+
//#region src/models/azureBlobStorageConfigIn.d.ts
|
|
3342
|
+
interface AzureBlobStorageConfigIn {
|
|
3343
|
+
container: string;
|
|
3344
|
+
account: string;
|
|
3345
|
+
/**
|
|
3346
|
+
* Access key.
|
|
3347
|
+
*
|
|
3348
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3349
|
+
*/
|
|
3350
|
+
accessKey?: string | null;
|
|
3351
|
+
}
|
|
3352
|
+
//#endregion
|
|
3353
|
+
//#region src/models/bigQueryConfigIn.d.ts
|
|
3354
|
+
/** Configuration for a Google Cloud BigQuery sink. */
|
|
3355
|
+
interface BigQueryConfigIn {
|
|
3356
|
+
projectId: string;
|
|
3357
|
+
datasetId: string;
|
|
3358
|
+
tableId: string;
|
|
3359
|
+
/** Google Cloud Credentials JSON Object as a string. */
|
|
3360
|
+
credentials: string;
|
|
3361
|
+
}
|
|
3362
|
+
//#endregion
|
|
3363
|
+
//#region src/models/clickhouseConfigIn.d.ts
|
|
3364
|
+
interface ClickhouseConfigIn {
|
|
3365
|
+
/** The HTTP URL of the ClickHouse server (e.g. `https://my_clickhouse:8443`). */
|
|
3366
|
+
url: string;
|
|
3367
|
+
/**
|
|
3368
|
+
* Username to access Clickhouse.
|
|
3369
|
+
*
|
|
3370
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3371
|
+
*/
|
|
3372
|
+
username?: string | null;
|
|
3373
|
+
/**
|
|
3374
|
+
* Password to access Clickhouse.
|
|
3375
|
+
*
|
|
3376
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3377
|
+
*/
|
|
3378
|
+
password?: string | null;
|
|
3379
|
+
/** The Clickhouse database to connect to. */
|
|
3380
|
+
database?: string;
|
|
3381
|
+
/** The Clickhouse table to write to. */
|
|
3382
|
+
tableName: string;
|
|
3383
|
+
}
|
|
3384
|
+
//#endregion
|
|
3385
|
+
//#region src/models/eventBridgeConfigIn.d.ts
|
|
3386
|
+
interface EventBridgeConfigIn {
|
|
3387
|
+
/** The name or ARN of the event bus to receive the event */
|
|
3388
|
+
eventBusName: string;
|
|
3389
|
+
/** Free-form string, with a maximum of 128 characters */
|
|
3390
|
+
detailType?: string;
|
|
3391
|
+
/**
|
|
3392
|
+
* Access key ID.
|
|
3393
|
+
*
|
|
3394
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3395
|
+
*/
|
|
3396
|
+
accessKeyId?: string | null;
|
|
3397
|
+
/**
|
|
3398
|
+
* Secret access key.
|
|
3399
|
+
*
|
|
3400
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3401
|
+
*/
|
|
3402
|
+
secretAccessKey?: string | null;
|
|
3403
|
+
/**
|
|
3404
|
+
* The region of the EventBridge bus.
|
|
3405
|
+
*
|
|
3406
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
3407
|
+
*/
|
|
3408
|
+
region?: string | null;
|
|
3409
|
+
}
|
|
3410
|
+
//#endregion
|
|
3411
|
+
//#region src/models/googleCloudPubSubConfigIn.d.ts
|
|
3412
|
+
interface GoogleCloudPubSubConfigIn {
|
|
3413
|
+
projectId: string;
|
|
3414
|
+
topicId: string;
|
|
3415
|
+
/** Google Cloud Credentials JSON Object as a string. */
|
|
3416
|
+
credentials: string;
|
|
3417
|
+
}
|
|
3418
|
+
//#endregion
|
|
3419
|
+
//#region src/models/googleCloudStorageConfigIn.d.ts
|
|
3420
|
+
/**
|
|
3421
|
+
* Configuration for a Google Cloud Storage sink.
|
|
3422
|
+
*
|
|
3423
|
+
* Write stream events into the named bucket using the supplied Google Cloud credentials.
|
|
3424
|
+
*/
|
|
3425
|
+
interface GoogleCloudStorageConfigIn {
|
|
3426
|
+
bucket: string;
|
|
3427
|
+
/** Google Cloud Credentials JSON Object as a string. */
|
|
3428
|
+
credentials: string;
|
|
3429
|
+
}
|
|
3430
|
+
//#endregion
|
|
3431
|
+
//#region src/models/otelTracingConfigIn.d.ts
|
|
3432
|
+
interface OtelTracingConfigIn {
|
|
3433
|
+
url: string;
|
|
3434
|
+
headers?: {
|
|
3435
|
+
[key: string]: string;
|
|
3436
|
+
};
|
|
3437
|
+
}
|
|
3438
|
+
//#endregion
|
|
3439
|
+
//#region src/models/rabbitMqConfigIn.d.ts
|
|
3440
|
+
/** Configuration for a RabbitMq sink. */
|
|
3441
|
+
interface RabbitMqConfigIn {
|
|
3442
|
+
uri: string;
|
|
3443
|
+
routingKey: string;
|
|
3444
|
+
}
|
|
3445
|
+
//#endregion
|
|
3446
|
+
//#region src/models/redshiftConfigIn.d.ts
|
|
3447
|
+
/**
|
|
3448
|
+
* Configuration parameters for defining a Redshift sink.
|
|
3449
|
+
*
|
|
3450
|
+
* For provisioned clusters, set `cluster_identifier` and `db_user`. For Redshift Serverless, set `workgroup_name`.
|
|
3451
|
+
*/
|
|
3452
|
+
interface RedshiftConfigIn {
|
|
3453
|
+
/**
|
|
3454
|
+
* Access key ID.
|
|
3455
|
+
*
|
|
3456
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3457
|
+
*/
|
|
3458
|
+
accessKeyId?: string | null;
|
|
3459
|
+
/**
|
|
3460
|
+
* Secret access key.
|
|
3461
|
+
*
|
|
3462
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3463
|
+
*/
|
|
3464
|
+
secretAccessKey?: string | null;
|
|
3465
|
+
/**
|
|
3466
|
+
* The region of the Redshift DB.
|
|
3467
|
+
*
|
|
3468
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
3469
|
+
*/
|
|
3470
|
+
region?: string | null;
|
|
3471
|
+
/** Required for provisioned clusters. */
|
|
3472
|
+
clusterIdentifier?: string | null;
|
|
3473
|
+
/** Required for provisioned clusters. */
|
|
3474
|
+
dbUser?: string | null;
|
|
3475
|
+
/** Required for Redshift Serverless. */
|
|
3476
|
+
workgroupName?: string | null;
|
|
3477
|
+
/**
|
|
3478
|
+
* Database name.
|
|
3479
|
+
*
|
|
3480
|
+
* Only required if not using transformations.
|
|
3481
|
+
*/
|
|
3482
|
+
dbName?: string;
|
|
3483
|
+
/**
|
|
3484
|
+
* Schema name.
|
|
3485
|
+
*
|
|
3486
|
+
* Only used if not using transformations.
|
|
3487
|
+
*/
|
|
3488
|
+
schemaName?: string | null;
|
|
3489
|
+
/**
|
|
3490
|
+
* Table name.
|
|
3491
|
+
*
|
|
3492
|
+
* Only required if not using transformations.
|
|
3493
|
+
*/
|
|
3494
|
+
tableName?: string;
|
|
3495
|
+
}
|
|
3496
|
+
//#endregion
|
|
3497
|
+
//#region src/models/s3ConfigIn.d.ts
|
|
3498
|
+
interface S3ConfigIn {
|
|
3499
|
+
bucket: string;
|
|
3500
|
+
/**
|
|
3501
|
+
* Access key ID.
|
|
3502
|
+
*
|
|
3503
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3504
|
+
*/
|
|
3505
|
+
accessKeyId?: string | null;
|
|
3506
|
+
/**
|
|
3507
|
+
* Secret access key.
|
|
3508
|
+
*
|
|
3509
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3510
|
+
*/
|
|
3511
|
+
secretAccessKey?: string | null;
|
|
3512
|
+
/**
|
|
3513
|
+
* The region of the EventBridge bus.
|
|
3514
|
+
*
|
|
3515
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
3516
|
+
*/
|
|
3517
|
+
region?: string | null;
|
|
3518
|
+
endpointUrl?: string | null;
|
|
3519
|
+
}
|
|
3520
|
+
//#endregion
|
|
3521
|
+
//#region src/models/sinkHttpConfigIn.d.ts
|
|
3522
|
+
interface SinkHttpConfigIn {
|
|
3523
|
+
url: string;
|
|
3524
|
+
headers?: {
|
|
3525
|
+
[key: string]: string;
|
|
3526
|
+
};
|
|
3527
|
+
key?: string | null;
|
|
3528
|
+
}
|
|
3529
|
+
//#endregion
|
|
3369
3530
|
//#region src/models/sinkStatusIn.d.ts
|
|
3370
3531
|
declare enum SinkStatusIn {
|
|
3371
3532
|
Enabled = "enabled",
|
|
3372
3533
|
Disabled = "disabled"
|
|
3373
3534
|
}
|
|
3374
3535
|
//#endregion
|
|
3536
|
+
//#region src/models/snowflakeConfigIn.d.ts
|
|
3537
|
+
/** Configuration parameters for defining a Snowflake sink. */
|
|
3538
|
+
interface SnowflakeConfigIn {
|
|
3539
|
+
/**
|
|
3540
|
+
* PEM-encoded private key used for signing token-based requests to the Snowflake API.
|
|
3541
|
+
*
|
|
3542
|
+
* Beginning/end delimiters are not required.
|
|
3543
|
+
*
|
|
3544
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3545
|
+
*/
|
|
3546
|
+
privateKey?: string | null;
|
|
3547
|
+
/** Snowflake account identifier, which includes both the organization and account IDs separated by a hyphen. */
|
|
3548
|
+
accountIdentifier: string;
|
|
3549
|
+
/** The Snowflake user id. */
|
|
3550
|
+
userId: string;
|
|
3551
|
+
/**
|
|
3552
|
+
* Database name.
|
|
3553
|
+
*
|
|
3554
|
+
* Only required if not using transformations.
|
|
3555
|
+
*/
|
|
3556
|
+
dbName?: string;
|
|
3557
|
+
/**
|
|
3558
|
+
* Schema name.
|
|
3559
|
+
*
|
|
3560
|
+
* Only required if not using transformations.
|
|
3561
|
+
*/
|
|
3562
|
+
schemaName?: string;
|
|
3563
|
+
/**
|
|
3564
|
+
* Table name.
|
|
3565
|
+
*
|
|
3566
|
+
* Only required if not using transformations.
|
|
3567
|
+
*/
|
|
3568
|
+
tableName?: string;
|
|
3569
|
+
}
|
|
3570
|
+
//#endregion
|
|
3571
|
+
//#region src/models/snsConfigIn.d.ts
|
|
3572
|
+
/** Configuration for a SNS sink. */
|
|
3573
|
+
interface SnsConfigIn {
|
|
3574
|
+
topicArn: string;
|
|
3575
|
+
/**
|
|
3576
|
+
* The region of the SNS instance.
|
|
3577
|
+
*
|
|
3578
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
3579
|
+
*/
|
|
3580
|
+
region?: string | null;
|
|
3581
|
+
/**
|
|
3582
|
+
* Access key ID.
|
|
3583
|
+
*
|
|
3584
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3585
|
+
*/
|
|
3586
|
+
accessKeyId?: string | null;
|
|
3587
|
+
/**
|
|
3588
|
+
* Secret access key.
|
|
3589
|
+
*
|
|
3590
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3591
|
+
*/
|
|
3592
|
+
secretAccessKey?: string | null;
|
|
3593
|
+
endpointUrl?: string | null;
|
|
3594
|
+
}
|
|
3595
|
+
//#endregion
|
|
3596
|
+
//#region src/models/sqsConfigIn.d.ts
|
|
3597
|
+
/** Configuration for an SQS sink. */
|
|
3598
|
+
interface SqsConfigIn {
|
|
3599
|
+
queueUrl: string;
|
|
3600
|
+
/**
|
|
3601
|
+
* The region of the SQS queue.
|
|
3602
|
+
*
|
|
3603
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
3604
|
+
*/
|
|
3605
|
+
region?: string | null;
|
|
3606
|
+
/**
|
|
3607
|
+
* Access key ID.
|
|
3608
|
+
*
|
|
3609
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3610
|
+
*/
|
|
3611
|
+
accessKeyId?: string | null;
|
|
3612
|
+
/**
|
|
3613
|
+
* Secret access key.
|
|
3614
|
+
*
|
|
3615
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3616
|
+
*/
|
|
3617
|
+
secretAccessKey?: string | null;
|
|
3618
|
+
endpointUrl?: string | null;
|
|
3619
|
+
}
|
|
3620
|
+
//#endregion
|
|
3375
3621
|
//#region src/models/streamSinkIn.d.ts
|
|
3376
3622
|
interface _StreamSinkInFields {
|
|
3377
3623
|
/** An optional unique identifier for the sink. */
|
|
@@ -3396,6 +3642,7 @@ interface _StreamSinkInFields {
|
|
|
3396
3642
|
maxWaitSecs?: number;
|
|
3397
3643
|
/** A list of event types that filter which events are dispatched to the Sink. An empty list (or null) will not filter out any events. */
|
|
3398
3644
|
eventTypes?: string[];
|
|
3645
|
+
channels?: string[];
|
|
3399
3646
|
metadata?: {
|
|
3400
3647
|
[key: string]: string;
|
|
3401
3648
|
};
|
|
@@ -3407,88 +3654,79 @@ interface StreamSinkInPoller {
|
|
|
3407
3654
|
}
|
|
3408
3655
|
interface StreamSinkInAzureBlobStorage {
|
|
3409
3656
|
type: "azureBlobStorage";
|
|
3410
|
-
config:
|
|
3657
|
+
config: AzureBlobStorageConfigIn;
|
|
3411
3658
|
}
|
|
3412
3659
|
interface StreamSinkInOtelTracing {
|
|
3413
3660
|
type: "otelTracing";
|
|
3414
|
-
config:
|
|
3661
|
+
config: OtelTracingConfigIn;
|
|
3415
3662
|
}
|
|
3416
3663
|
interface StreamSinkInHttp {
|
|
3417
3664
|
type: "http";
|
|
3418
|
-
config:
|
|
3665
|
+
config: SinkHttpConfigIn;
|
|
3419
3666
|
}
|
|
3420
3667
|
interface StreamSinkInAmazonS3 {
|
|
3421
3668
|
type: "amazonS3";
|
|
3422
|
-
config:
|
|
3669
|
+
config: S3ConfigIn;
|
|
3423
3670
|
}
|
|
3424
3671
|
interface StreamSinkInGoogleCloudStorage {
|
|
3425
3672
|
type: "googleCloudStorage";
|
|
3426
|
-
config:
|
|
3673
|
+
config: GoogleCloudStorageConfigIn;
|
|
3427
3674
|
}
|
|
3428
3675
|
interface StreamSinkInGoogleCloudPubSub {
|
|
3429
3676
|
type: "googleCloudPubSub";
|
|
3430
|
-
config:
|
|
3677
|
+
config: GoogleCloudPubSubConfigIn;
|
|
3431
3678
|
}
|
|
3432
3679
|
interface StreamSinkInSqs {
|
|
3433
3680
|
type: "sqs";
|
|
3434
|
-
config:
|
|
3681
|
+
config: SqsConfigIn;
|
|
3435
3682
|
}
|
|
3436
3683
|
interface StreamSinkInSns {
|
|
3437
3684
|
type: "sns";
|
|
3438
|
-
config:
|
|
3685
|
+
config: SnsConfigIn;
|
|
3439
3686
|
}
|
|
3440
3687
|
interface StreamSinkInBigQuery {
|
|
3441
3688
|
type: "bigQuery";
|
|
3442
|
-
config:
|
|
3689
|
+
config: BigQueryConfigIn;
|
|
3443
3690
|
}
|
|
3444
3691
|
interface StreamSinkInClickhouse {
|
|
3445
3692
|
type: "clickhouse";
|
|
3446
|
-
config:
|
|
3693
|
+
config: ClickhouseConfigIn;
|
|
3447
3694
|
}
|
|
3448
3695
|
interface StreamSinkInEventBridge {
|
|
3449
3696
|
type: "eventBridge";
|
|
3450
|
-
config:
|
|
3697
|
+
config: EventBridgeConfigIn;
|
|
3451
3698
|
}
|
|
3452
3699
|
interface StreamSinkInSnowflake {
|
|
3453
3700
|
type: "snowflake";
|
|
3454
|
-
config:
|
|
3701
|
+
config: SnowflakeConfigIn;
|
|
3455
3702
|
}
|
|
3456
3703
|
interface StreamSinkInRabbitMq {
|
|
3457
3704
|
type: "rabbitMq";
|
|
3458
|
-
config:
|
|
3705
|
+
config: RabbitMqConfigIn;
|
|
3459
3706
|
}
|
|
3460
3707
|
interface StreamSinkInRedshift {
|
|
3461
3708
|
type: "redshift";
|
|
3462
|
-
config:
|
|
3709
|
+
config: RedshiftConfigIn;
|
|
3463
3710
|
}
|
|
3464
3711
|
type StreamSinkIn = _StreamSinkInFields & (StreamSinkInPoller | StreamSinkInAzureBlobStorage | StreamSinkInOtelTracing | StreamSinkInHttp | StreamSinkInAmazonS3 | StreamSinkInGoogleCloudStorage | StreamSinkInGoogleCloudPubSub | StreamSinkInSqs | StreamSinkInSns | StreamSinkInBigQuery | StreamSinkInClickhouse | StreamSinkInEventBridge | StreamSinkInSnowflake | StreamSinkInRabbitMq | StreamSinkInRedshift);
|
|
3465
3712
|
//#endregion
|
|
3466
|
-
//#region src/models/
|
|
3467
|
-
interface
|
|
3468
|
-
bucket?: string;
|
|
3469
|
-
accessKeyId?: string;
|
|
3470
|
-
secretAccessKey?: string;
|
|
3471
|
-
region?: string;
|
|
3472
|
-
endpointUrl?: string;
|
|
3473
|
-
}
|
|
3474
|
-
//#endregion
|
|
3475
|
-
//#region src/models/azureBlobStoragePatchConfig.d.ts
|
|
3476
|
-
interface AzureBlobStoragePatchConfig {
|
|
3713
|
+
//#region src/models/azureBlobStorageConfigPatch.d.ts
|
|
3714
|
+
interface AzureBlobStorageConfigPatch {
|
|
3477
3715
|
container?: string;
|
|
3478
3716
|
account?: string;
|
|
3479
3717
|
accessKey?: string;
|
|
3480
3718
|
}
|
|
3481
3719
|
//#endregion
|
|
3482
|
-
//#region src/models/
|
|
3483
|
-
interface
|
|
3720
|
+
//#region src/models/bigQueryConfigPatch.d.ts
|
|
3721
|
+
interface BigQueryConfigPatch {
|
|
3484
3722
|
projectId?: string;
|
|
3485
3723
|
datasetId?: string;
|
|
3486
3724
|
tableId?: string;
|
|
3487
3725
|
credentials?: string;
|
|
3488
3726
|
}
|
|
3489
3727
|
//#endregion
|
|
3490
|
-
//#region src/models/
|
|
3491
|
-
interface
|
|
3728
|
+
//#region src/models/clickhouseConfigPatch.d.ts
|
|
3729
|
+
interface ClickhouseConfigPatch {
|
|
3492
3730
|
url?: string;
|
|
3493
3731
|
username?: string;
|
|
3494
3732
|
password?: string;
|
|
@@ -3496,8 +3734,8 @@ interface ClickhousePatchConfig {
|
|
|
3496
3734
|
tableName?: string;
|
|
3497
3735
|
}
|
|
3498
3736
|
//#endregion
|
|
3499
|
-
//#region src/models/
|
|
3500
|
-
interface
|
|
3737
|
+
//#region src/models/eventBridgeConfigPatch.d.ts
|
|
3738
|
+
interface EventBridgeConfigPatch {
|
|
3501
3739
|
eventBusName?: string;
|
|
3502
3740
|
detailType?: string;
|
|
3503
3741
|
accessKeyId?: string;
|
|
@@ -3505,37 +3743,32 @@ interface EventBridgePatchConfig {
|
|
|
3505
3743
|
region?: string;
|
|
3506
3744
|
}
|
|
3507
3745
|
//#endregion
|
|
3508
|
-
//#region src/models/
|
|
3509
|
-
interface
|
|
3746
|
+
//#region src/models/googleCloudPubSubConfigPatch.d.ts
|
|
3747
|
+
interface GoogleCloudPubSubConfigPatch {
|
|
3510
3748
|
projectId?: string;
|
|
3511
3749
|
topicId?: string;
|
|
3512
3750
|
credentials?: string;
|
|
3513
3751
|
}
|
|
3514
3752
|
//#endregion
|
|
3515
|
-
//#region src/models/
|
|
3516
|
-
interface
|
|
3753
|
+
//#region src/models/googleCloudStorageConfigPatch.d.ts
|
|
3754
|
+
interface GoogleCloudStorageConfigPatch {
|
|
3517
3755
|
bucket?: string;
|
|
3518
3756
|
credentials?: string;
|
|
3519
3757
|
}
|
|
3520
3758
|
//#endregion
|
|
3521
|
-
//#region src/models/
|
|
3522
|
-
interface
|
|
3759
|
+
//#region src/models/otelTracingConfigPatch.d.ts
|
|
3760
|
+
interface OtelTracingConfigPatch {
|
|
3523
3761
|
url?: string;
|
|
3524
3762
|
}
|
|
3525
3763
|
//#endregion
|
|
3526
|
-
//#region src/models/
|
|
3527
|
-
interface
|
|
3528
|
-
url?: string;
|
|
3529
|
-
}
|
|
3530
|
-
//#endregion
|
|
3531
|
-
//#region src/models/rabbitMqPatchConfig.d.ts
|
|
3532
|
-
interface RabbitMqPatchConfig {
|
|
3764
|
+
//#region src/models/rabbitMqConfigPatch.d.ts
|
|
3765
|
+
interface RabbitMqConfigPatch {
|
|
3533
3766
|
routingKey?: string;
|
|
3534
3767
|
uri?: string;
|
|
3535
3768
|
}
|
|
3536
3769
|
//#endregion
|
|
3537
|
-
//#region src/models/
|
|
3538
|
-
interface
|
|
3770
|
+
//#region src/models/redshiftConfigPatch.d.ts
|
|
3771
|
+
interface RedshiftConfigPatch {
|
|
3539
3772
|
accessKeyId?: string;
|
|
3540
3773
|
secretAccessKey?: string;
|
|
3541
3774
|
region?: string;
|
|
@@ -3559,8 +3792,22 @@ interface RedshiftPatchConfig {
|
|
|
3559
3792
|
tableName?: string;
|
|
3560
3793
|
}
|
|
3561
3794
|
//#endregion
|
|
3562
|
-
//#region src/models/
|
|
3563
|
-
interface
|
|
3795
|
+
//#region src/models/s3ConfigPatch.d.ts
|
|
3796
|
+
interface S3ConfigPatch {
|
|
3797
|
+
bucket?: string;
|
|
3798
|
+
accessKeyId?: string;
|
|
3799
|
+
secretAccessKey?: string;
|
|
3800
|
+
region?: string;
|
|
3801
|
+
endpointUrl?: string;
|
|
3802
|
+
}
|
|
3803
|
+
//#endregion
|
|
3804
|
+
//#region src/models/sinkHttpConfigPatch.d.ts
|
|
3805
|
+
interface SinkHttpConfigPatch {
|
|
3806
|
+
url?: string;
|
|
3807
|
+
}
|
|
3808
|
+
//#endregion
|
|
3809
|
+
//#region src/models/snowflakeConfigPatch.d.ts
|
|
3810
|
+
interface SnowflakeConfigPatch {
|
|
3564
3811
|
privateKey?: string;
|
|
3565
3812
|
accountIdentifier?: string;
|
|
3566
3813
|
userId?: string;
|
|
@@ -3584,8 +3831,8 @@ interface SnowflakePatchConfig {
|
|
|
3584
3831
|
tableName?: string;
|
|
3585
3832
|
}
|
|
3586
3833
|
//#endregion
|
|
3587
|
-
//#region src/models/
|
|
3588
|
-
interface
|
|
3834
|
+
//#region src/models/snsConfigPatch.d.ts
|
|
3835
|
+
interface SnsConfigPatch {
|
|
3589
3836
|
topicArn?: string;
|
|
3590
3837
|
region?: string;
|
|
3591
3838
|
accessKeyId?: string;
|
|
@@ -3593,8 +3840,8 @@ interface SnsPatchConfig {
|
|
|
3593
3840
|
endpointUrl?: string | null;
|
|
3594
3841
|
}
|
|
3595
3842
|
//#endregion
|
|
3596
|
-
//#region src/models/
|
|
3597
|
-
interface
|
|
3843
|
+
//#region src/models/sqsConfigPatch.d.ts
|
|
3844
|
+
interface SqsConfigPatch {
|
|
3598
3845
|
queueUrl?: string;
|
|
3599
3846
|
region?: string;
|
|
3600
3847
|
accessKeyId?: string;
|
|
@@ -3610,6 +3857,7 @@ interface _StreamSinkPatchFields {
|
|
|
3610
3857
|
batchSize?: number | null;
|
|
3611
3858
|
maxWaitSecs?: number | null;
|
|
3612
3859
|
eventTypes?: string[];
|
|
3860
|
+
channels?: string[];
|
|
3613
3861
|
metadata?: {
|
|
3614
3862
|
[key: string]: string;
|
|
3615
3863
|
};
|
|
@@ -3621,59 +3869,59 @@ interface StreamSinkPatchPoller {
|
|
|
3621
3869
|
}
|
|
3622
3870
|
interface StreamSinkPatchAzureBlobStorage {
|
|
3623
3871
|
type: "azureBlobStorage";
|
|
3624
|
-
config:
|
|
3872
|
+
config: AzureBlobStorageConfigPatch;
|
|
3625
3873
|
}
|
|
3626
3874
|
interface StreamSinkPatchOtelTracing {
|
|
3627
3875
|
type: "otelTracing";
|
|
3628
|
-
config:
|
|
3876
|
+
config: OtelTracingConfigPatch;
|
|
3629
3877
|
}
|
|
3630
3878
|
interface StreamSinkPatchHttp {
|
|
3631
3879
|
type: "http";
|
|
3632
|
-
config:
|
|
3880
|
+
config: SinkHttpConfigPatch;
|
|
3633
3881
|
}
|
|
3634
3882
|
interface StreamSinkPatchAmazonS3 {
|
|
3635
3883
|
type: "amazonS3";
|
|
3636
|
-
config:
|
|
3884
|
+
config: S3ConfigPatch;
|
|
3637
3885
|
}
|
|
3638
3886
|
interface StreamSinkPatchGoogleCloudStorage {
|
|
3639
3887
|
type: "googleCloudStorage";
|
|
3640
|
-
config:
|
|
3888
|
+
config: GoogleCloudStorageConfigPatch;
|
|
3641
3889
|
}
|
|
3642
3890
|
interface StreamSinkPatchGoogleCloudPubSub {
|
|
3643
3891
|
type: "googleCloudPubSub";
|
|
3644
|
-
config:
|
|
3892
|
+
config: GoogleCloudPubSubConfigPatch;
|
|
3645
3893
|
}
|
|
3646
3894
|
interface StreamSinkPatchSqs {
|
|
3647
3895
|
type: "sqs";
|
|
3648
|
-
config:
|
|
3896
|
+
config: SqsConfigPatch;
|
|
3649
3897
|
}
|
|
3650
3898
|
interface StreamSinkPatchSns {
|
|
3651
3899
|
type: "sns";
|
|
3652
|
-
config:
|
|
3900
|
+
config: SnsConfigPatch;
|
|
3653
3901
|
}
|
|
3654
3902
|
interface StreamSinkPatchBigQuery {
|
|
3655
3903
|
type: "bigQuery";
|
|
3656
|
-
config:
|
|
3904
|
+
config: BigQueryConfigPatch;
|
|
3657
3905
|
}
|
|
3658
3906
|
interface StreamSinkPatchClickhouse {
|
|
3659
3907
|
type: "clickhouse";
|
|
3660
|
-
config:
|
|
3908
|
+
config: ClickhouseConfigPatch;
|
|
3661
3909
|
}
|
|
3662
3910
|
interface StreamSinkPatchEventBridge {
|
|
3663
3911
|
type: "eventBridge";
|
|
3664
|
-
config:
|
|
3912
|
+
config: EventBridgeConfigPatch;
|
|
3665
3913
|
}
|
|
3666
3914
|
interface StreamSinkPatchSnowflake {
|
|
3667
3915
|
type: "snowflake";
|
|
3668
|
-
config:
|
|
3916
|
+
config: SnowflakeConfigPatch;
|
|
3669
3917
|
}
|
|
3670
3918
|
interface StreamSinkPatchRabbitMq {
|
|
3671
3919
|
type: "rabbitMq";
|
|
3672
|
-
config:
|
|
3920
|
+
config: RabbitMqConfigPatch;
|
|
3673
3921
|
}
|
|
3674
3922
|
interface StreamSinkPatchRedshift {
|
|
3675
3923
|
type: "redshift";
|
|
3676
|
-
config:
|
|
3924
|
+
config: RedshiftConfigPatch;
|
|
3677
3925
|
}
|
|
3678
3926
|
type StreamSinkPatch = _StreamSinkPatchFields & (StreamSinkPatchPoller | StreamSinkPatchAzureBlobStorage | StreamSinkPatchOtelTracing | StreamSinkPatchHttp | StreamSinkPatchAmazonS3 | StreamSinkPatchGoogleCloudStorage | StreamSinkPatchGoogleCloudPubSub | StreamSinkPatchSqs | StreamSinkPatchSns | StreamSinkPatchBigQuery | StreamSinkPatchClickhouse | StreamSinkPatchEventBridge | StreamSinkPatchSnowflake | StreamSinkPatchRabbitMq | StreamSinkPatchRedshift);
|
|
3679
3927
|
//#endregion
|
|
@@ -4060,5 +4308,5 @@ declare class Svix {
|
|
|
4060
4308
|
get streaming(): Streaming;
|
|
4061
4309
|
}
|
|
4062
4310
|
//#endregion
|
|
4063
|
-
export { type AdobeSignConfig, type AdobeSignConfigOut, type AggregateEventTypesOut, type AirwallexConfig, type AirwallexConfigOut,
|
|
4311
|
+
export { type AdobeSignConfig, type AdobeSignConfigOut, type AggregateEventTypesOut, type AirwallexConfig, type AirwallexConfigOut, ApiException, type ApiTokenOut, type AppPortalAccessIn, type AppPortalAccessOut, AppPortalCapability, type AppUsageStatsIn, type AppUsageStatsOut, type ApplicationIn, type ApplicationListOptions, type ApplicationOut, type ApplicationPatch, type ApplicationTokenExpireIn, AutoConfig, AutoConfigConsumer, AutoConfigError, type AzureBlobStorageConfigIn, type AzureBlobStorageConfigOut, type AzureBlobStorageConfigPatch, type BackgroundTaskListOptions, type BackgroundTaskOut, BackgroundTaskStatus, BackgroundTaskType, type BigQueryConfigIn, type BigQueryConfigOut, type BigQueryConfigPatch, type BulkReplayIn, type CheckbookConfig, type CheckbookConfigOut, type ClickhouseConfigIn, type ClickhouseConfigOut, type ClickhouseConfigPatch, type ConnectorIn, ConnectorKind, type ConnectorOut, type ConnectorPatch, ConnectorProduct, type ConnectorUpsertIn, type CreateStreamEventsIn, type CreateStreamEventsOut, type CronConfig, type DocusignConfig, type DocusignConfigOut, type EasypostConfig, type EasypostConfigOut, type EmptyResponse, type EndpointGetStatsOptions, type EndpointHeadersIn, type EndpointHeadersOut, type EndpointHeadersPatchIn, type EndpointIn, type EndpointListOptions, type EndpointMessageOut, type EndpointOut, type EndpointPatch, type EndpointSecretOut, type EndpointSecretRotateIn, type EndpointStats, type EndpointTransformationIn, type EndpointTransformationOut, type EndpointTransformationPatch, type EndpointUpsertIn, type EnvironmentIn, type EnvironmentOut, type EventBridgeConfigIn, type EventBridgeConfigOut, type EventBridgeConfigPatch, type EventExampleIn, type EventIn, type EventOut, type EventStreamOut, type EventTypeFromOpenApi, type EventTypeImportOpenApiIn, type EventTypeImportOpenApiOut, type EventTypeImportOpenApiOutData, type EventTypeIn, type EventTypeListOptions, type EventTypeOut, type EventTypePatch, type EventTypeUpsertIn, type ExpungeAllContentsOut, type GithubConfig, type GithubConfigOut, type GoogleCloudPubSubConfigIn, type GoogleCloudPubSubConfigOut, type GoogleCloudPubSubConfigPatch, type GoogleCloudStorageConfigIn, type GoogleCloudStorageConfigOut, type GoogleCloudStorageConfigPatch, HTTPValidationError, HttpErrorOut, type HttpSinkHeadersPatchIn, type HubspotConfig, type HubspotConfigOut, type IngestEndpointHeadersIn, type IngestEndpointHeadersOut, type IngestEndpointIn, type IngestEndpointOut, type IngestEndpointSecretIn, type IngestEndpointSecretOut, type IngestEndpointTransformationOut, type IngestEndpointTransformationPatch, type IngestEndpointUpsertIn, type IngestSourceConsumerPortalAccessIn, type IngestSourceIn, type IngestSourceOut, type IntegrationIn, type IntegrationKeyOut, type IntegrationListOptions, type IntegrationOut, type IntegrationUpdate, type ListResponseApplicationOut, type ListResponseBackgroundTaskOut, type ListResponseConnectorOut, type ListResponseEndpointMessageOut, type ListResponseEndpointOut, type ListResponseEventTypeOut, type ListResponseIngestEndpointOut, type ListResponseIngestSourceOut, type ListResponseIntegrationOut, type ListResponseMessageAttemptOut, type ListResponseMessageEndpointOut, type ListResponseMessageOut, type ListResponseOperationalWebhookEndpointOut, type ListResponseStreamEventTypeOut, type ListResponseStreamOut, type ListResponseStreamSinkOut, type MessageAttemptListByEndpointOptions, type MessageAttemptOut, MessageAttemptTriggerType, type MessageEndpointOut, type MessageIn, type MessageListOptions, type MessageOut, type MessagePrecheckIn, type MessagePrecheckOut, MessageStatus, MessageStatusText, type MetaConfig, type MetaConfigOut, type NangoConfig, type NangoConfigOut, type OpenClawConfig, type OpenClawConfigOut, type OperationalWebhookEndpointHeadersIn, type OperationalWebhookEndpointHeadersOut, type OperationalWebhookEndpointIn, type OperationalWebhookEndpointOut, type OperationalWebhookEndpointSecretIn, type OperationalWebhookEndpointSecretOut, type OperationalWebhookEndpointUpsertIn, Ordering, type OrumIoConfig, type OrumIoConfigOut, type OtelTracingConfigIn, type OtelTracingConfigOut, type OtelTracingConfigPatch, type PandaDocConfig, type PandaDocConfigOut, type PollingEndpointConsumerSeekIn, type PollingEndpointConsumerSeekOut, type PollingEndpointMessageOut, type PollingEndpointOut, type PortIoConfig, type PortIoConfigOut, type PostOptions, type RabbitMqConfigIn, type RabbitMqConfigOut, type RabbitMqConfigPatch, type RecoverIn, type RecoverOut, type RedshiftConfigIn, type RedshiftConfigOut, type RedshiftConfigPatch, type ReplayIn, type ReplayOut, type RotatePollerTokenIn, type RotateTokenOut, type RutterConfig, type RutterConfigOut, type S3ConfigIn, type S3ConfigOut, type S3ConfigPatch, type SegmentConfig, type SegmentConfigOut, type ShopifyConfig, type ShopifyConfigOut, type SinkHttpConfigIn, type SinkHttpConfigOut, type SinkHttpConfigPatch, type SinkSecretOut, SinkStatus, SinkStatusIn, type SinkTransformIn, type SinkTransformationOut, type SlackConfig, type SlackConfigOut, type SnowflakeConfigIn, type SnowflakeConfigOut, type SnowflakeConfigPatch, type SnsConfigIn, type SnsConfigOut, type SnsConfigPatch, type SqsConfigIn, type SqsConfigOut, type SqsConfigPatch, StatusCodeClass, type StreamEventTypeIn, type StreamEventTypeOut, type StreamEventTypePatch, type StreamIn, type StreamOut, type StreamPatch, type StreamPortalAccessIn, type StreamSinkIn, type StreamSinkOut, type StreamSinkPatch, type StreamTokenExpireIn, type StripeConfig, type StripeConfigOut, Svix, type SvixConfig, type SvixConfigOut, SvixOptions, type TailscaleConfig, type TailscaleConfigOut, type TelnyxConfig, type TelnyxConfigOut, ValidationError, type VapiConfig, type VapiConfigOut, type VeriffConfig, type VeriffConfigOut, type VgsConfig, type VgsConfigOut, Webhook, WebhookOptions, WebhookRequiredHeaders, WebhookUnbrandedRequiredHeaders, WebhookVerificationError, type ZoomConfig, type ZoomConfigOut, messageInRaw };
|
|
4064
4312
|
//# sourceMappingURL=index.d.mts.map
|