svix 2.0.0-rc.2 → 2.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/dist/index.d.mts +467 -187
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +582 -256
- 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/message.ts +41 -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/bulkExpungeContentsIn.ts +20 -0
- package/src/models/bulkExpungeContentsOut.ts +33 -0
- package/src/models/bulkExpungeStatus.ts +16 -0
- 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 +45 -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. */
|
|
@@ -2109,6 +2124,26 @@ declare class Integration {
|
|
|
2109
2124
|
rotateKey(appId: string, integId: string, options?: IntegrationRotateKeyOptions): Promise<IntegrationKeyOut>;
|
|
2110
2125
|
}
|
|
2111
2126
|
//#endregion
|
|
2127
|
+
//#region src/models/bulkExpungeContentsIn.d.ts
|
|
2128
|
+
interface BulkExpungeContentsIn {
|
|
2129
|
+
/** Message ID or UID to delete */
|
|
2130
|
+
ids?: string[];
|
|
2131
|
+
}
|
|
2132
|
+
//#endregion
|
|
2133
|
+
//#region src/models/bulkExpungeStatus.d.ts
|
|
2134
|
+
declare enum BulkExpungeStatus {
|
|
2135
|
+
Expunged = "expunged",
|
|
2136
|
+
NotFound = "not-found"
|
|
2137
|
+
}
|
|
2138
|
+
//#endregion
|
|
2139
|
+
//#region src/models/bulkExpungeContentsOut.d.ts
|
|
2140
|
+
interface BulkExpungeContentsOut {
|
|
2141
|
+
/** Results of expunging (by ID) */
|
|
2142
|
+
results: {
|
|
2143
|
+
[key: string]: BulkExpungeStatus;
|
|
2144
|
+
};
|
|
2145
|
+
}
|
|
2146
|
+
//#endregion
|
|
2112
2147
|
//#region src/models/expungeAllContentsOut.d.ts
|
|
2113
2148
|
interface ExpungeAllContentsOut {
|
|
2114
2149
|
/** The QueueBackgroundTask's ID. */
|
|
@@ -2290,6 +2325,9 @@ interface MessageGetOptions {
|
|
|
2290
2325
|
*/
|
|
2291
2326
|
withContent?: boolean;
|
|
2292
2327
|
}
|
|
2328
|
+
interface MessageBulkExpungeContentOptions {
|
|
2329
|
+
idempotencyKey?: string;
|
|
2330
|
+
}
|
|
2293
2331
|
interface MessageExpungeAllContentsOptions {
|
|
2294
2332
|
idempotencyKey?: string;
|
|
2295
2333
|
}
|
|
@@ -2336,9 +2374,18 @@ declare class Message {
|
|
|
2336
2374
|
* Delete the given message's payload.
|
|
2337
2375
|
*
|
|
2338
2376
|
* Useful in cases when a message was accidentally sent with sensitive content.
|
|
2339
|
-
* The message can't be replayed or resent once its payload has been deleted
|
|
2377
|
+
* The message can't be replayed or resent once its payload has been deleted
|
|
2378
|
+
* (or has expired).
|
|
2340
2379
|
*/
|
|
2341
2380
|
expungeContent(appId: string, msgId: string): Promise<void>;
|
|
2381
|
+
/**
|
|
2382
|
+
* Delete the payloads from the given messages under the current application
|
|
2383
|
+
*
|
|
2384
|
+
* Useful in cases when a message was accidentally sent with sensitive content.
|
|
2385
|
+
* A message can't be replayed or resent once its payload has been deleted
|
|
2386
|
+
* (or has expired).
|
|
2387
|
+
*/
|
|
2388
|
+
bulkExpungeContent(appId: string, bulkExpungeContentsIn?: BulkExpungeContentsIn, options?: MessageBulkExpungeContentOptions): Promise<BulkExpungeContentsOut>;
|
|
2342
2389
|
/**
|
|
2343
2390
|
* Delete all message payloads for the application.
|
|
2344
2391
|
*
|
|
@@ -2730,6 +2777,9 @@ interface OperationalWebhookEndpointIn {
|
|
|
2730
2777
|
metadata?: {
|
|
2731
2778
|
[key: string]: string;
|
|
2732
2779
|
};
|
|
2780
|
+
headers?: {
|
|
2781
|
+
[key: string]: string;
|
|
2782
|
+
} | null;
|
|
2733
2783
|
}
|
|
2734
2784
|
//#endregion
|
|
2735
2785
|
//#region src/models/operationalWebhookEndpointSecretIn.d.ts
|
|
@@ -2741,6 +2791,12 @@ interface OperationalWebhookEndpointSecretIn {
|
|
|
2741
2791
|
* It is recommended to not set this and let the server generate the secret.
|
|
2742
2792
|
*/
|
|
2743
2793
|
key?: string | null;
|
|
2794
|
+
/**
|
|
2795
|
+
* How long the old secret will be valid for, in seconds.
|
|
2796
|
+
*
|
|
2797
|
+
* Valid values are between 0 (immediate expiry) and 7 days. The default is 24 hours.
|
|
2798
|
+
*/
|
|
2799
|
+
gracePeriodSeconds?: number | null;
|
|
2744
2800
|
}
|
|
2745
2801
|
//#endregion
|
|
2746
2802
|
//#region src/models/operationalWebhookEndpointSecretOut.d.ts
|
|
@@ -2811,7 +2867,7 @@ declare class OperationalWebhookEndpoint {
|
|
|
2811
2867
|
/**
|
|
2812
2868
|
* Rotates an operational webhook endpoint's signing secret.
|
|
2813
2869
|
*
|
|
2814
|
-
* The previous secret will remain valid for the
|
|
2870
|
+
* The previous secret will remain valid for the specified grace period (default 24 hours).
|
|
2815
2871
|
*/
|
|
2816
2872
|
rotateSecret(endpointId: string, operationalWebhookEndpointSecretIn?: OperationalWebhookEndpointSecretIn, options?: OperationalWebhookEndpointRotateSecretOptions): Promise<void>;
|
|
2817
2873
|
/** Get the additional headers to be sent with the operational webhook. */
|
|
@@ -3073,90 +3129,63 @@ declare class StreamingEvents {
|
|
|
3073
3129
|
create(streamId: string, createStreamEventsIn: CreateStreamEventsIn, options?: StreamingEventsCreateOptions): Promise<CreateStreamEventsOut>;
|
|
3074
3130
|
}
|
|
3075
3131
|
//#endregion
|
|
3076
|
-
//#region src/models/
|
|
3077
|
-
interface
|
|
3132
|
+
//#region src/models/azureBlobStorageConfigOut.d.ts
|
|
3133
|
+
interface AzureBlobStorageConfigOut {
|
|
3078
3134
|
container: string;
|
|
3079
3135
|
account: string;
|
|
3080
|
-
accessKey: string;
|
|
3081
3136
|
}
|
|
3082
3137
|
//#endregion
|
|
3083
|
-
//#region src/models/
|
|
3084
|
-
|
|
3085
|
-
interface BigQueryConfig {
|
|
3138
|
+
//#region src/models/bigQueryConfigOut.d.ts
|
|
3139
|
+
interface BigQueryConfigOut {
|
|
3086
3140
|
projectId: string;
|
|
3087
3141
|
datasetId: string;
|
|
3088
3142
|
tableId: string;
|
|
3089
|
-
/** Google Cloud Credentials JSON Object as a string. */
|
|
3090
|
-
credentials: string;
|
|
3091
3143
|
}
|
|
3092
3144
|
//#endregion
|
|
3093
|
-
//#region src/models/
|
|
3094
|
-
interface
|
|
3095
|
-
/** The HTTP URL of the ClickHouse server (e.g. `https://my_clickhouse:8443`). */
|
|
3145
|
+
//#region src/models/clickhouseConfigOut.d.ts
|
|
3146
|
+
interface ClickhouseConfigOut {
|
|
3096
3147
|
url: string;
|
|
3097
|
-
/** Username to access Clickhouse */
|
|
3098
3148
|
username: string;
|
|
3099
|
-
|
|
3100
|
-
password: string;
|
|
3101
|
-
/** The Clickhouse database to connect to */
|
|
3102
|
-
database?: string;
|
|
3103
|
-
/** The Clickhouse table to write to */
|
|
3149
|
+
database: string;
|
|
3104
3150
|
tableName: string;
|
|
3105
3151
|
}
|
|
3106
3152
|
//#endregion
|
|
3107
|
-
//#region src/models/
|
|
3108
|
-
interface
|
|
3109
|
-
/** The name or ARN of the event bus to receive the event */
|
|
3153
|
+
//#region src/models/eventBridgeConfigOut.d.ts
|
|
3154
|
+
interface EventBridgeConfigOut {
|
|
3110
3155
|
eventBusName: string;
|
|
3111
|
-
|
|
3112
|
-
detailType?: string;
|
|
3156
|
+
detailType: string;
|
|
3113
3157
|
accessKeyId: string;
|
|
3114
|
-
secretAccessKey: string;
|
|
3115
3158
|
region: string;
|
|
3116
3159
|
}
|
|
3117
3160
|
//#endregion
|
|
3118
|
-
//#region src/models/
|
|
3119
|
-
interface
|
|
3161
|
+
//#region src/models/googleCloudPubSubConfigOut.d.ts
|
|
3162
|
+
interface GoogleCloudPubSubConfigOut {
|
|
3120
3163
|
projectId: string;
|
|
3121
3164
|
topicId: string;
|
|
3122
|
-
/** Google Cloud Credentials JSON Object as a string. */
|
|
3123
|
-
credentials: string;
|
|
3124
3165
|
}
|
|
3125
3166
|
//#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 {
|
|
3167
|
+
//#region src/models/googleCloudStorageConfigOut.d.ts
|
|
3168
|
+
interface GoogleCloudStorageConfigOut {
|
|
3133
3169
|
bucket: string;
|
|
3134
|
-
/** Google Cloud Credentials JSON Object as a string. */
|
|
3135
|
-
credentials: string;
|
|
3136
3170
|
}
|
|
3137
3171
|
//#endregion
|
|
3138
|
-
//#region src/models/
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3172
|
+
//#region src/models/otelTracingConfigOut.d.ts
|
|
3173
|
+
interface OtelTracingConfigOut {
|
|
3174
|
+
url: string;
|
|
3175
|
+
headers: EndpointHeadersOut;
|
|
3176
|
+
}
|
|
3177
|
+
//#endregion
|
|
3178
|
+
//#region src/models/rabbitMqConfigOut.d.ts
|
|
3179
|
+
interface RabbitMqConfigOut {
|
|
3142
3180
|
routingKey: string;
|
|
3143
3181
|
}
|
|
3144
3182
|
//#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 {
|
|
3183
|
+
//#region src/models/redshiftConfigOut.d.ts
|
|
3184
|
+
interface RedshiftConfigOut {
|
|
3152
3185
|
accessKeyId: string;
|
|
3153
|
-
secretAccessKey: string;
|
|
3154
3186
|
region: string;
|
|
3155
|
-
/** Required for provisioned clusters. */
|
|
3156
3187
|
clusterIdentifier?: string | null;
|
|
3157
|
-
/** Required for provisioned clusters. */
|
|
3158
3188
|
dbUser?: string | null;
|
|
3159
|
-
/** Required for Redshift Serverless. */
|
|
3160
3189
|
workgroupName?: string | null;
|
|
3161
3190
|
/**
|
|
3162
3191
|
* Database name.
|
|
@@ -3178,30 +3207,18 @@ interface RedshiftConfig {
|
|
|
3178
3207
|
tableName?: string;
|
|
3179
3208
|
}
|
|
3180
3209
|
//#endregion
|
|
3181
|
-
//#region src/models/
|
|
3182
|
-
interface
|
|
3210
|
+
//#region src/models/s3ConfigOut.d.ts
|
|
3211
|
+
interface S3ConfigOut {
|
|
3183
3212
|
bucket: string;
|
|
3184
3213
|
accessKeyId: string;
|
|
3185
|
-
secretAccessKey: string;
|
|
3186
3214
|
region: string;
|
|
3187
3215
|
endpointUrl?: string | null;
|
|
3188
3216
|
}
|
|
3189
3217
|
//#endregion
|
|
3190
|
-
//#region src/models/
|
|
3191
|
-
interface
|
|
3192
|
-
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 {
|
|
3218
|
+
//#region src/models/sinkHttpConfigOut.d.ts
|
|
3219
|
+
interface SinkHttpConfigOut {
|
|
3201
3220
|
url: string;
|
|
3202
|
-
headers
|
|
3203
|
-
[key: string]: string;
|
|
3204
|
-
};
|
|
3221
|
+
headers: EndpointHeadersOut;
|
|
3205
3222
|
}
|
|
3206
3223
|
//#endregion
|
|
3207
3224
|
//#region src/models/sinkStatus.d.ts
|
|
@@ -3212,18 +3229,9 @@ declare enum SinkStatus {
|
|
|
3212
3229
|
Retrying = "retrying"
|
|
3213
3230
|
}
|
|
3214
3231
|
//#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. */
|
|
3232
|
+
//#region src/models/snowflakeConfigOut.d.ts
|
|
3233
|
+
interface SnowflakeConfigOut {
|
|
3225
3234
|
accountIdentifier: string;
|
|
3226
|
-
/** The Snowflake user id. */
|
|
3227
3235
|
userId: string;
|
|
3228
3236
|
/**
|
|
3229
3237
|
* Database name.
|
|
@@ -3245,23 +3253,18 @@ interface SnowflakeConfig {
|
|
|
3245
3253
|
tableName?: string;
|
|
3246
3254
|
}
|
|
3247
3255
|
//#endregion
|
|
3248
|
-
//#region src/models/
|
|
3249
|
-
|
|
3250
|
-
interface SnsConfig {
|
|
3256
|
+
//#region src/models/snsConfigOut.d.ts
|
|
3257
|
+
interface SnsConfigOut {
|
|
3251
3258
|
topicArn: string;
|
|
3252
3259
|
region: string;
|
|
3253
3260
|
accessKeyId: string;
|
|
3254
|
-
secretAccessKey: string;
|
|
3255
|
-
endpointUrl?: string | null;
|
|
3256
3261
|
}
|
|
3257
3262
|
//#endregion
|
|
3258
|
-
//#region src/models/
|
|
3259
|
-
|
|
3260
|
-
interface SqsConfig {
|
|
3263
|
+
//#region src/models/sqsConfigOut.d.ts
|
|
3264
|
+
interface SqsConfigOut {
|
|
3261
3265
|
queueUrl: string;
|
|
3262
3266
|
region: string;
|
|
3263
3267
|
accessKeyId: string;
|
|
3264
|
-
secretAccessKey: string;
|
|
3265
3268
|
endpointUrl?: string | null;
|
|
3266
3269
|
}
|
|
3267
3270
|
//#endregion
|
|
@@ -3279,6 +3282,7 @@ interface _StreamSinkOutFields {
|
|
|
3279
3282
|
batchSize: number;
|
|
3280
3283
|
maxWaitSecs: number;
|
|
3281
3284
|
eventTypes?: string[];
|
|
3285
|
+
channels?: string[];
|
|
3282
3286
|
nextRetryAt?: Date | null;
|
|
3283
3287
|
metadata: {
|
|
3284
3288
|
[key: string]: string;
|
|
@@ -3291,61 +3295,61 @@ interface StreamSinkOutPoller {
|
|
|
3291
3295
|
}
|
|
3292
3296
|
interface StreamSinkOutAzureBlobStorage {
|
|
3293
3297
|
type: "azureBlobStorage";
|
|
3294
|
-
config:
|
|
3298
|
+
config: AzureBlobStorageConfigOut;
|
|
3295
3299
|
}
|
|
3296
3300
|
interface StreamSinkOutOtelTracing {
|
|
3297
3301
|
type: "otelTracing";
|
|
3298
|
-
config:
|
|
3302
|
+
config: OtelTracingConfigOut;
|
|
3299
3303
|
}
|
|
3300
3304
|
interface StreamSinkOutHttp {
|
|
3301
3305
|
type: "http";
|
|
3302
|
-
config:
|
|
3306
|
+
config: SinkHttpConfigOut;
|
|
3303
3307
|
}
|
|
3304
3308
|
interface StreamSinkOutAmazonS3 {
|
|
3305
3309
|
type: "amazonS3";
|
|
3306
|
-
config:
|
|
3310
|
+
config: S3ConfigOut;
|
|
3311
|
+
}
|
|
3312
|
+
interface StreamSinkOutSnowflake {
|
|
3313
|
+
type: "snowflake";
|
|
3314
|
+
config: SnowflakeConfigOut;
|
|
3307
3315
|
}
|
|
3308
3316
|
interface StreamSinkOutGoogleCloudStorage {
|
|
3309
3317
|
type: "googleCloudStorage";
|
|
3310
|
-
config:
|
|
3318
|
+
config: GoogleCloudStorageConfigOut;
|
|
3311
3319
|
}
|
|
3312
3320
|
interface StreamSinkOutGoogleCloudPubSub {
|
|
3313
3321
|
type: "googleCloudPubSub";
|
|
3314
|
-
config:
|
|
3322
|
+
config: GoogleCloudPubSubConfigOut;
|
|
3315
3323
|
}
|
|
3316
|
-
interface
|
|
3317
|
-
type: "
|
|
3318
|
-
config:
|
|
3319
|
-
}
|
|
3320
|
-
interface StreamSinkOutSns {
|
|
3321
|
-
type: "sns";
|
|
3322
|
-
config: SnsConfig;
|
|
3324
|
+
interface StreamSinkOutRedshift {
|
|
3325
|
+
type: "redshift";
|
|
3326
|
+
config: RedshiftConfigOut;
|
|
3323
3327
|
}
|
|
3324
3328
|
interface StreamSinkOutBigQuery {
|
|
3325
3329
|
type: "bigQuery";
|
|
3326
|
-
config:
|
|
3330
|
+
config: BigQueryConfigOut;
|
|
3327
3331
|
}
|
|
3328
3332
|
interface StreamSinkOutClickhouse {
|
|
3329
3333
|
type: "clickhouse";
|
|
3330
|
-
config:
|
|
3331
|
-
}
|
|
3332
|
-
interface StreamSinkOutEventBridge {
|
|
3333
|
-
type: "eventBridge";
|
|
3334
|
-
config: EventBridgeConfig;
|
|
3335
|
-
}
|
|
3336
|
-
interface StreamSinkOutSnowflake {
|
|
3337
|
-
type: "snowflake";
|
|
3338
|
-
config: SnowflakeConfig;
|
|
3334
|
+
config: ClickhouseConfigOut;
|
|
3339
3335
|
}
|
|
3340
3336
|
interface StreamSinkOutRabbitMq {
|
|
3341
3337
|
type: "rabbitMq";
|
|
3342
|
-
config:
|
|
3338
|
+
config: RabbitMqConfigOut;
|
|
3343
3339
|
}
|
|
3344
|
-
interface
|
|
3345
|
-
type: "
|
|
3346
|
-
config:
|
|
3340
|
+
interface StreamSinkOutSqs {
|
|
3341
|
+
type: "sqs";
|
|
3342
|
+
config: SqsConfigOut;
|
|
3343
|
+
}
|
|
3344
|
+
interface StreamSinkOutEventBridge {
|
|
3345
|
+
type: "eventBridge";
|
|
3346
|
+
config: EventBridgeConfigOut;
|
|
3347
3347
|
}
|
|
3348
|
-
|
|
3348
|
+
interface StreamSinkOutSns {
|
|
3349
|
+
type: "sns";
|
|
3350
|
+
config: SnsConfigOut;
|
|
3351
|
+
}
|
|
3352
|
+
type StreamSinkOut = _StreamSinkOutFields & (StreamSinkOutPoller | StreamSinkOutAzureBlobStorage | StreamSinkOutOtelTracing | StreamSinkOutHttp | StreamSinkOutAmazonS3 | StreamSinkOutSnowflake | StreamSinkOutGoogleCloudStorage | StreamSinkOutGoogleCloudPubSub | StreamSinkOutRedshift | StreamSinkOutBigQuery | StreamSinkOutClickhouse | StreamSinkOutRabbitMq | StreamSinkOutSqs | StreamSinkOutEventBridge | StreamSinkOutSns);
|
|
3349
3353
|
//#endregion
|
|
3350
3354
|
//#region src/models/listResponseStreamSinkOut.d.ts
|
|
3351
3355
|
interface ListResponseStreamSinkOut {
|
|
@@ -3366,12 +3370,286 @@ interface SinkSecretOut {
|
|
|
3366
3370
|
key?: string | null;
|
|
3367
3371
|
}
|
|
3368
3372
|
//#endregion
|
|
3373
|
+
//#region src/models/azureBlobStorageConfigIn.d.ts
|
|
3374
|
+
interface AzureBlobStorageConfigIn {
|
|
3375
|
+
container: string;
|
|
3376
|
+
account: string;
|
|
3377
|
+
/**
|
|
3378
|
+
* Access key.
|
|
3379
|
+
*
|
|
3380
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3381
|
+
*/
|
|
3382
|
+
accessKey?: string | null;
|
|
3383
|
+
}
|
|
3384
|
+
//#endregion
|
|
3385
|
+
//#region src/models/bigQueryConfigIn.d.ts
|
|
3386
|
+
/** Configuration for a Google Cloud BigQuery sink. */
|
|
3387
|
+
interface BigQueryConfigIn {
|
|
3388
|
+
projectId: string;
|
|
3389
|
+
datasetId: string;
|
|
3390
|
+
tableId: string;
|
|
3391
|
+
/** Google Cloud Credentials JSON Object as a string. */
|
|
3392
|
+
credentials: string;
|
|
3393
|
+
}
|
|
3394
|
+
//#endregion
|
|
3395
|
+
//#region src/models/clickhouseConfigIn.d.ts
|
|
3396
|
+
interface ClickhouseConfigIn {
|
|
3397
|
+
/** The HTTP URL of the ClickHouse server (e.g. `https://my_clickhouse:8443`). */
|
|
3398
|
+
url: string;
|
|
3399
|
+
/**
|
|
3400
|
+
* Username to access Clickhouse.
|
|
3401
|
+
*
|
|
3402
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3403
|
+
*/
|
|
3404
|
+
username?: string | null;
|
|
3405
|
+
/**
|
|
3406
|
+
* Password to access Clickhouse.
|
|
3407
|
+
*
|
|
3408
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3409
|
+
*/
|
|
3410
|
+
password?: string | null;
|
|
3411
|
+
/** The Clickhouse database to connect to. */
|
|
3412
|
+
database?: string;
|
|
3413
|
+
/** The Clickhouse table to write to. */
|
|
3414
|
+
tableName: string;
|
|
3415
|
+
}
|
|
3416
|
+
//#endregion
|
|
3417
|
+
//#region src/models/eventBridgeConfigIn.d.ts
|
|
3418
|
+
interface EventBridgeConfigIn {
|
|
3419
|
+
/** The name or ARN of the event bus to receive the event */
|
|
3420
|
+
eventBusName: string;
|
|
3421
|
+
/** Free-form string, with a maximum of 128 characters */
|
|
3422
|
+
detailType?: string;
|
|
3423
|
+
/**
|
|
3424
|
+
* Access key ID.
|
|
3425
|
+
*
|
|
3426
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3427
|
+
*/
|
|
3428
|
+
accessKeyId?: string | null;
|
|
3429
|
+
/**
|
|
3430
|
+
* Secret access key.
|
|
3431
|
+
*
|
|
3432
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3433
|
+
*/
|
|
3434
|
+
secretAccessKey?: string | null;
|
|
3435
|
+
/**
|
|
3436
|
+
* The region of the EventBridge bus.
|
|
3437
|
+
*
|
|
3438
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
3439
|
+
*/
|
|
3440
|
+
region?: string | null;
|
|
3441
|
+
}
|
|
3442
|
+
//#endregion
|
|
3443
|
+
//#region src/models/googleCloudPubSubConfigIn.d.ts
|
|
3444
|
+
interface GoogleCloudPubSubConfigIn {
|
|
3445
|
+
projectId: string;
|
|
3446
|
+
topicId: string;
|
|
3447
|
+
/** Google Cloud Credentials JSON Object as a string. */
|
|
3448
|
+
credentials: string;
|
|
3449
|
+
}
|
|
3450
|
+
//#endregion
|
|
3451
|
+
//#region src/models/googleCloudStorageConfigIn.d.ts
|
|
3452
|
+
/**
|
|
3453
|
+
* Configuration for a Google Cloud Storage sink.
|
|
3454
|
+
*
|
|
3455
|
+
* Write stream events into the named bucket using the supplied Google Cloud credentials.
|
|
3456
|
+
*/
|
|
3457
|
+
interface GoogleCloudStorageConfigIn {
|
|
3458
|
+
bucket: string;
|
|
3459
|
+
/** Google Cloud Credentials JSON Object as a string. */
|
|
3460
|
+
credentials: string;
|
|
3461
|
+
}
|
|
3462
|
+
//#endregion
|
|
3463
|
+
//#region src/models/otelTracingConfigIn.d.ts
|
|
3464
|
+
interface OtelTracingConfigIn {
|
|
3465
|
+
url: string;
|
|
3466
|
+
headers?: {
|
|
3467
|
+
[key: string]: string;
|
|
3468
|
+
};
|
|
3469
|
+
}
|
|
3470
|
+
//#endregion
|
|
3471
|
+
//#region src/models/rabbitMqConfigIn.d.ts
|
|
3472
|
+
/** Configuration for a RabbitMq sink. */
|
|
3473
|
+
interface RabbitMqConfigIn {
|
|
3474
|
+
uri: string;
|
|
3475
|
+
routingKey: string;
|
|
3476
|
+
}
|
|
3477
|
+
//#endregion
|
|
3478
|
+
//#region src/models/redshiftConfigIn.d.ts
|
|
3479
|
+
/**
|
|
3480
|
+
* Configuration parameters for defining a Redshift sink.
|
|
3481
|
+
*
|
|
3482
|
+
* For provisioned clusters, set `cluster_identifier` and `db_user`. For Redshift Serverless, set `workgroup_name`.
|
|
3483
|
+
*/
|
|
3484
|
+
interface RedshiftConfigIn {
|
|
3485
|
+
/**
|
|
3486
|
+
* Access key ID.
|
|
3487
|
+
*
|
|
3488
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3489
|
+
*/
|
|
3490
|
+
accessKeyId?: string | null;
|
|
3491
|
+
/**
|
|
3492
|
+
* Secret access key.
|
|
3493
|
+
*
|
|
3494
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3495
|
+
*/
|
|
3496
|
+
secretAccessKey?: string | null;
|
|
3497
|
+
/**
|
|
3498
|
+
* The region of the Redshift DB.
|
|
3499
|
+
*
|
|
3500
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
3501
|
+
*/
|
|
3502
|
+
region?: string | null;
|
|
3503
|
+
/** Required for provisioned clusters. */
|
|
3504
|
+
clusterIdentifier?: string | null;
|
|
3505
|
+
/** Required for provisioned clusters. */
|
|
3506
|
+
dbUser?: string | null;
|
|
3507
|
+
/** Required for Redshift Serverless. */
|
|
3508
|
+
workgroupName?: string | null;
|
|
3509
|
+
/**
|
|
3510
|
+
* Database name.
|
|
3511
|
+
*
|
|
3512
|
+
* Only required if not using transformations.
|
|
3513
|
+
*/
|
|
3514
|
+
dbName?: string;
|
|
3515
|
+
/**
|
|
3516
|
+
* Schema name.
|
|
3517
|
+
*
|
|
3518
|
+
* Only used if not using transformations.
|
|
3519
|
+
*/
|
|
3520
|
+
schemaName?: string | null;
|
|
3521
|
+
/**
|
|
3522
|
+
* Table name.
|
|
3523
|
+
*
|
|
3524
|
+
* Only required if not using transformations.
|
|
3525
|
+
*/
|
|
3526
|
+
tableName?: string;
|
|
3527
|
+
}
|
|
3528
|
+
//#endregion
|
|
3529
|
+
//#region src/models/s3ConfigIn.d.ts
|
|
3530
|
+
interface S3ConfigIn {
|
|
3531
|
+
bucket: string;
|
|
3532
|
+
/**
|
|
3533
|
+
* Access key ID.
|
|
3534
|
+
*
|
|
3535
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3536
|
+
*/
|
|
3537
|
+
accessKeyId?: string | null;
|
|
3538
|
+
/**
|
|
3539
|
+
* Secret access key.
|
|
3540
|
+
*
|
|
3541
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3542
|
+
*/
|
|
3543
|
+
secretAccessKey?: string | null;
|
|
3544
|
+
/**
|
|
3545
|
+
* The region of the EventBridge bus.
|
|
3546
|
+
*
|
|
3547
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
3548
|
+
*/
|
|
3549
|
+
region?: string | null;
|
|
3550
|
+
endpointUrl?: string | null;
|
|
3551
|
+
}
|
|
3552
|
+
//#endregion
|
|
3553
|
+
//#region src/models/sinkHttpConfigIn.d.ts
|
|
3554
|
+
interface SinkHttpConfigIn {
|
|
3555
|
+
url: string;
|
|
3556
|
+
headers?: {
|
|
3557
|
+
[key: string]: string;
|
|
3558
|
+
};
|
|
3559
|
+
key?: string | null;
|
|
3560
|
+
}
|
|
3561
|
+
//#endregion
|
|
3369
3562
|
//#region src/models/sinkStatusIn.d.ts
|
|
3370
3563
|
declare enum SinkStatusIn {
|
|
3371
3564
|
Enabled = "enabled",
|
|
3372
3565
|
Disabled = "disabled"
|
|
3373
3566
|
}
|
|
3374
3567
|
//#endregion
|
|
3568
|
+
//#region src/models/snowflakeConfigIn.d.ts
|
|
3569
|
+
/** Configuration parameters for defining a Snowflake sink. */
|
|
3570
|
+
interface SnowflakeConfigIn {
|
|
3571
|
+
/**
|
|
3572
|
+
* PEM-encoded private key used for signing token-based requests to the Snowflake API.
|
|
3573
|
+
*
|
|
3574
|
+
* Beginning/end delimiters are not required.
|
|
3575
|
+
*
|
|
3576
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3577
|
+
*/
|
|
3578
|
+
privateKey?: string | null;
|
|
3579
|
+
/** Snowflake account identifier, which includes both the organization and account IDs separated by a hyphen. */
|
|
3580
|
+
accountIdentifier: string;
|
|
3581
|
+
/** The Snowflake user id. */
|
|
3582
|
+
userId: string;
|
|
3583
|
+
/**
|
|
3584
|
+
* Database name.
|
|
3585
|
+
*
|
|
3586
|
+
* Only required if not using transformations.
|
|
3587
|
+
*/
|
|
3588
|
+
dbName?: string;
|
|
3589
|
+
/**
|
|
3590
|
+
* Schema name.
|
|
3591
|
+
*
|
|
3592
|
+
* Only required if not using transformations.
|
|
3593
|
+
*/
|
|
3594
|
+
schemaName?: string;
|
|
3595
|
+
/**
|
|
3596
|
+
* Table name.
|
|
3597
|
+
*
|
|
3598
|
+
* Only required if not using transformations.
|
|
3599
|
+
*/
|
|
3600
|
+
tableName?: string;
|
|
3601
|
+
}
|
|
3602
|
+
//#endregion
|
|
3603
|
+
//#region src/models/snsConfigIn.d.ts
|
|
3604
|
+
/** Configuration for a SNS sink. */
|
|
3605
|
+
interface SnsConfigIn {
|
|
3606
|
+
topicArn: string;
|
|
3607
|
+
/**
|
|
3608
|
+
* The region of the SNS instance.
|
|
3609
|
+
*
|
|
3610
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
3611
|
+
*/
|
|
3612
|
+
region?: string | null;
|
|
3613
|
+
/**
|
|
3614
|
+
* Access key ID.
|
|
3615
|
+
*
|
|
3616
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3617
|
+
*/
|
|
3618
|
+
accessKeyId?: string | null;
|
|
3619
|
+
/**
|
|
3620
|
+
* Secret access key.
|
|
3621
|
+
*
|
|
3622
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3623
|
+
*/
|
|
3624
|
+
secretAccessKey?: string | null;
|
|
3625
|
+
endpointUrl?: string | null;
|
|
3626
|
+
}
|
|
3627
|
+
//#endregion
|
|
3628
|
+
//#region src/models/sqsConfigIn.d.ts
|
|
3629
|
+
/** Configuration for an SQS sink. */
|
|
3630
|
+
interface SqsConfigIn {
|
|
3631
|
+
queueUrl: string;
|
|
3632
|
+
/**
|
|
3633
|
+
* The region of the SQS queue.
|
|
3634
|
+
*
|
|
3635
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
3636
|
+
*/
|
|
3637
|
+
region?: string | null;
|
|
3638
|
+
/**
|
|
3639
|
+
* Access key ID.
|
|
3640
|
+
*
|
|
3641
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3642
|
+
*/
|
|
3643
|
+
accessKeyId?: string | null;
|
|
3644
|
+
/**
|
|
3645
|
+
* Secret access key.
|
|
3646
|
+
*
|
|
3647
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
3648
|
+
*/
|
|
3649
|
+
secretAccessKey?: string | null;
|
|
3650
|
+
endpointUrl?: string | null;
|
|
3651
|
+
}
|
|
3652
|
+
//#endregion
|
|
3375
3653
|
//#region src/models/streamSinkIn.d.ts
|
|
3376
3654
|
interface _StreamSinkInFields {
|
|
3377
3655
|
/** An optional unique identifier for the sink. */
|
|
@@ -3396,6 +3674,7 @@ interface _StreamSinkInFields {
|
|
|
3396
3674
|
maxWaitSecs?: number;
|
|
3397
3675
|
/** 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
3676
|
eventTypes?: string[];
|
|
3677
|
+
channels?: string[];
|
|
3399
3678
|
metadata?: {
|
|
3400
3679
|
[key: string]: string;
|
|
3401
3680
|
};
|
|
@@ -3407,88 +3686,79 @@ interface StreamSinkInPoller {
|
|
|
3407
3686
|
}
|
|
3408
3687
|
interface StreamSinkInAzureBlobStorage {
|
|
3409
3688
|
type: "azureBlobStorage";
|
|
3410
|
-
config:
|
|
3689
|
+
config: AzureBlobStorageConfigIn;
|
|
3411
3690
|
}
|
|
3412
3691
|
interface StreamSinkInOtelTracing {
|
|
3413
3692
|
type: "otelTracing";
|
|
3414
|
-
config:
|
|
3693
|
+
config: OtelTracingConfigIn;
|
|
3415
3694
|
}
|
|
3416
3695
|
interface StreamSinkInHttp {
|
|
3417
3696
|
type: "http";
|
|
3418
|
-
config:
|
|
3697
|
+
config: SinkHttpConfigIn;
|
|
3419
3698
|
}
|
|
3420
3699
|
interface StreamSinkInAmazonS3 {
|
|
3421
3700
|
type: "amazonS3";
|
|
3422
|
-
config:
|
|
3701
|
+
config: S3ConfigIn;
|
|
3423
3702
|
}
|
|
3424
3703
|
interface StreamSinkInGoogleCloudStorage {
|
|
3425
3704
|
type: "googleCloudStorage";
|
|
3426
|
-
config:
|
|
3705
|
+
config: GoogleCloudStorageConfigIn;
|
|
3427
3706
|
}
|
|
3428
3707
|
interface StreamSinkInGoogleCloudPubSub {
|
|
3429
3708
|
type: "googleCloudPubSub";
|
|
3430
|
-
config:
|
|
3709
|
+
config: GoogleCloudPubSubConfigIn;
|
|
3431
3710
|
}
|
|
3432
3711
|
interface StreamSinkInSqs {
|
|
3433
3712
|
type: "sqs";
|
|
3434
|
-
config:
|
|
3713
|
+
config: SqsConfigIn;
|
|
3435
3714
|
}
|
|
3436
3715
|
interface StreamSinkInSns {
|
|
3437
3716
|
type: "sns";
|
|
3438
|
-
config:
|
|
3717
|
+
config: SnsConfigIn;
|
|
3439
3718
|
}
|
|
3440
3719
|
interface StreamSinkInBigQuery {
|
|
3441
3720
|
type: "bigQuery";
|
|
3442
|
-
config:
|
|
3721
|
+
config: BigQueryConfigIn;
|
|
3443
3722
|
}
|
|
3444
3723
|
interface StreamSinkInClickhouse {
|
|
3445
3724
|
type: "clickhouse";
|
|
3446
|
-
config:
|
|
3725
|
+
config: ClickhouseConfigIn;
|
|
3447
3726
|
}
|
|
3448
3727
|
interface StreamSinkInEventBridge {
|
|
3449
3728
|
type: "eventBridge";
|
|
3450
|
-
config:
|
|
3729
|
+
config: EventBridgeConfigIn;
|
|
3451
3730
|
}
|
|
3452
3731
|
interface StreamSinkInSnowflake {
|
|
3453
3732
|
type: "snowflake";
|
|
3454
|
-
config:
|
|
3733
|
+
config: SnowflakeConfigIn;
|
|
3455
3734
|
}
|
|
3456
3735
|
interface StreamSinkInRabbitMq {
|
|
3457
3736
|
type: "rabbitMq";
|
|
3458
|
-
config:
|
|
3737
|
+
config: RabbitMqConfigIn;
|
|
3459
3738
|
}
|
|
3460
3739
|
interface StreamSinkInRedshift {
|
|
3461
3740
|
type: "redshift";
|
|
3462
|
-
config:
|
|
3741
|
+
config: RedshiftConfigIn;
|
|
3463
3742
|
}
|
|
3464
3743
|
type StreamSinkIn = _StreamSinkInFields & (StreamSinkInPoller | StreamSinkInAzureBlobStorage | StreamSinkInOtelTracing | StreamSinkInHttp | StreamSinkInAmazonS3 | StreamSinkInGoogleCloudStorage | StreamSinkInGoogleCloudPubSub | StreamSinkInSqs | StreamSinkInSns | StreamSinkInBigQuery | StreamSinkInClickhouse | StreamSinkInEventBridge | StreamSinkInSnowflake | StreamSinkInRabbitMq | StreamSinkInRedshift);
|
|
3465
3744
|
//#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 {
|
|
3745
|
+
//#region src/models/azureBlobStorageConfigPatch.d.ts
|
|
3746
|
+
interface AzureBlobStorageConfigPatch {
|
|
3477
3747
|
container?: string;
|
|
3478
3748
|
account?: string;
|
|
3479
3749
|
accessKey?: string;
|
|
3480
3750
|
}
|
|
3481
3751
|
//#endregion
|
|
3482
|
-
//#region src/models/
|
|
3483
|
-
interface
|
|
3752
|
+
//#region src/models/bigQueryConfigPatch.d.ts
|
|
3753
|
+
interface BigQueryConfigPatch {
|
|
3484
3754
|
projectId?: string;
|
|
3485
3755
|
datasetId?: string;
|
|
3486
3756
|
tableId?: string;
|
|
3487
3757
|
credentials?: string;
|
|
3488
3758
|
}
|
|
3489
3759
|
//#endregion
|
|
3490
|
-
//#region src/models/
|
|
3491
|
-
interface
|
|
3760
|
+
//#region src/models/clickhouseConfigPatch.d.ts
|
|
3761
|
+
interface ClickhouseConfigPatch {
|
|
3492
3762
|
url?: string;
|
|
3493
3763
|
username?: string;
|
|
3494
3764
|
password?: string;
|
|
@@ -3496,8 +3766,8 @@ interface ClickhousePatchConfig {
|
|
|
3496
3766
|
tableName?: string;
|
|
3497
3767
|
}
|
|
3498
3768
|
//#endregion
|
|
3499
|
-
//#region src/models/
|
|
3500
|
-
interface
|
|
3769
|
+
//#region src/models/eventBridgeConfigPatch.d.ts
|
|
3770
|
+
interface EventBridgeConfigPatch {
|
|
3501
3771
|
eventBusName?: string;
|
|
3502
3772
|
detailType?: string;
|
|
3503
3773
|
accessKeyId?: string;
|
|
@@ -3505,37 +3775,32 @@ interface EventBridgePatchConfig {
|
|
|
3505
3775
|
region?: string;
|
|
3506
3776
|
}
|
|
3507
3777
|
//#endregion
|
|
3508
|
-
//#region src/models/
|
|
3509
|
-
interface
|
|
3778
|
+
//#region src/models/googleCloudPubSubConfigPatch.d.ts
|
|
3779
|
+
interface GoogleCloudPubSubConfigPatch {
|
|
3510
3780
|
projectId?: string;
|
|
3511
3781
|
topicId?: string;
|
|
3512
3782
|
credentials?: string;
|
|
3513
3783
|
}
|
|
3514
3784
|
//#endregion
|
|
3515
|
-
//#region src/models/
|
|
3516
|
-
interface
|
|
3785
|
+
//#region src/models/googleCloudStorageConfigPatch.d.ts
|
|
3786
|
+
interface GoogleCloudStorageConfigPatch {
|
|
3517
3787
|
bucket?: string;
|
|
3518
3788
|
credentials?: string;
|
|
3519
3789
|
}
|
|
3520
3790
|
//#endregion
|
|
3521
|
-
//#region src/models/
|
|
3522
|
-
interface
|
|
3523
|
-
url?: string;
|
|
3524
|
-
}
|
|
3525
|
-
//#endregion
|
|
3526
|
-
//#region src/models/otelTracingPatchConfig.d.ts
|
|
3527
|
-
interface OtelTracingPatchConfig {
|
|
3791
|
+
//#region src/models/otelTracingConfigPatch.d.ts
|
|
3792
|
+
interface OtelTracingConfigPatch {
|
|
3528
3793
|
url?: string;
|
|
3529
3794
|
}
|
|
3530
3795
|
//#endregion
|
|
3531
|
-
//#region src/models/
|
|
3532
|
-
interface
|
|
3796
|
+
//#region src/models/rabbitMqConfigPatch.d.ts
|
|
3797
|
+
interface RabbitMqConfigPatch {
|
|
3533
3798
|
routingKey?: string;
|
|
3534
3799
|
uri?: string;
|
|
3535
3800
|
}
|
|
3536
3801
|
//#endregion
|
|
3537
|
-
//#region src/models/
|
|
3538
|
-
interface
|
|
3802
|
+
//#region src/models/redshiftConfigPatch.d.ts
|
|
3803
|
+
interface RedshiftConfigPatch {
|
|
3539
3804
|
accessKeyId?: string;
|
|
3540
3805
|
secretAccessKey?: string;
|
|
3541
3806
|
region?: string;
|
|
@@ -3559,8 +3824,22 @@ interface RedshiftPatchConfig {
|
|
|
3559
3824
|
tableName?: string;
|
|
3560
3825
|
}
|
|
3561
3826
|
//#endregion
|
|
3562
|
-
//#region src/models/
|
|
3563
|
-
interface
|
|
3827
|
+
//#region src/models/s3ConfigPatch.d.ts
|
|
3828
|
+
interface S3ConfigPatch {
|
|
3829
|
+
bucket?: string;
|
|
3830
|
+
accessKeyId?: string;
|
|
3831
|
+
secretAccessKey?: string;
|
|
3832
|
+
region?: string;
|
|
3833
|
+
endpointUrl?: string;
|
|
3834
|
+
}
|
|
3835
|
+
//#endregion
|
|
3836
|
+
//#region src/models/sinkHttpConfigPatch.d.ts
|
|
3837
|
+
interface SinkHttpConfigPatch {
|
|
3838
|
+
url?: string;
|
|
3839
|
+
}
|
|
3840
|
+
//#endregion
|
|
3841
|
+
//#region src/models/snowflakeConfigPatch.d.ts
|
|
3842
|
+
interface SnowflakeConfigPatch {
|
|
3564
3843
|
privateKey?: string;
|
|
3565
3844
|
accountIdentifier?: string;
|
|
3566
3845
|
userId?: string;
|
|
@@ -3584,8 +3863,8 @@ interface SnowflakePatchConfig {
|
|
|
3584
3863
|
tableName?: string;
|
|
3585
3864
|
}
|
|
3586
3865
|
//#endregion
|
|
3587
|
-
//#region src/models/
|
|
3588
|
-
interface
|
|
3866
|
+
//#region src/models/snsConfigPatch.d.ts
|
|
3867
|
+
interface SnsConfigPatch {
|
|
3589
3868
|
topicArn?: string;
|
|
3590
3869
|
region?: string;
|
|
3591
3870
|
accessKeyId?: string;
|
|
@@ -3593,8 +3872,8 @@ interface SnsPatchConfig {
|
|
|
3593
3872
|
endpointUrl?: string | null;
|
|
3594
3873
|
}
|
|
3595
3874
|
//#endregion
|
|
3596
|
-
//#region src/models/
|
|
3597
|
-
interface
|
|
3875
|
+
//#region src/models/sqsConfigPatch.d.ts
|
|
3876
|
+
interface SqsConfigPatch {
|
|
3598
3877
|
queueUrl?: string;
|
|
3599
3878
|
region?: string;
|
|
3600
3879
|
accessKeyId?: string;
|
|
@@ -3610,6 +3889,7 @@ interface _StreamSinkPatchFields {
|
|
|
3610
3889
|
batchSize?: number | null;
|
|
3611
3890
|
maxWaitSecs?: number | null;
|
|
3612
3891
|
eventTypes?: string[];
|
|
3892
|
+
channels?: string[];
|
|
3613
3893
|
metadata?: {
|
|
3614
3894
|
[key: string]: string;
|
|
3615
3895
|
};
|
|
@@ -3621,59 +3901,59 @@ interface StreamSinkPatchPoller {
|
|
|
3621
3901
|
}
|
|
3622
3902
|
interface StreamSinkPatchAzureBlobStorage {
|
|
3623
3903
|
type: "azureBlobStorage";
|
|
3624
|
-
config:
|
|
3904
|
+
config: AzureBlobStorageConfigPatch;
|
|
3625
3905
|
}
|
|
3626
3906
|
interface StreamSinkPatchOtelTracing {
|
|
3627
3907
|
type: "otelTracing";
|
|
3628
|
-
config:
|
|
3908
|
+
config: OtelTracingConfigPatch;
|
|
3629
3909
|
}
|
|
3630
3910
|
interface StreamSinkPatchHttp {
|
|
3631
3911
|
type: "http";
|
|
3632
|
-
config:
|
|
3912
|
+
config: SinkHttpConfigPatch;
|
|
3633
3913
|
}
|
|
3634
3914
|
interface StreamSinkPatchAmazonS3 {
|
|
3635
3915
|
type: "amazonS3";
|
|
3636
|
-
config:
|
|
3916
|
+
config: S3ConfigPatch;
|
|
3637
3917
|
}
|
|
3638
3918
|
interface StreamSinkPatchGoogleCloudStorage {
|
|
3639
3919
|
type: "googleCloudStorage";
|
|
3640
|
-
config:
|
|
3920
|
+
config: GoogleCloudStorageConfigPatch;
|
|
3641
3921
|
}
|
|
3642
3922
|
interface StreamSinkPatchGoogleCloudPubSub {
|
|
3643
3923
|
type: "googleCloudPubSub";
|
|
3644
|
-
config:
|
|
3924
|
+
config: GoogleCloudPubSubConfigPatch;
|
|
3645
3925
|
}
|
|
3646
3926
|
interface StreamSinkPatchSqs {
|
|
3647
3927
|
type: "sqs";
|
|
3648
|
-
config:
|
|
3928
|
+
config: SqsConfigPatch;
|
|
3649
3929
|
}
|
|
3650
3930
|
interface StreamSinkPatchSns {
|
|
3651
3931
|
type: "sns";
|
|
3652
|
-
config:
|
|
3932
|
+
config: SnsConfigPatch;
|
|
3653
3933
|
}
|
|
3654
3934
|
interface StreamSinkPatchBigQuery {
|
|
3655
3935
|
type: "bigQuery";
|
|
3656
|
-
config:
|
|
3936
|
+
config: BigQueryConfigPatch;
|
|
3657
3937
|
}
|
|
3658
3938
|
interface StreamSinkPatchClickhouse {
|
|
3659
3939
|
type: "clickhouse";
|
|
3660
|
-
config:
|
|
3940
|
+
config: ClickhouseConfigPatch;
|
|
3661
3941
|
}
|
|
3662
3942
|
interface StreamSinkPatchEventBridge {
|
|
3663
3943
|
type: "eventBridge";
|
|
3664
|
-
config:
|
|
3944
|
+
config: EventBridgeConfigPatch;
|
|
3665
3945
|
}
|
|
3666
3946
|
interface StreamSinkPatchSnowflake {
|
|
3667
3947
|
type: "snowflake";
|
|
3668
|
-
config:
|
|
3948
|
+
config: SnowflakeConfigPatch;
|
|
3669
3949
|
}
|
|
3670
3950
|
interface StreamSinkPatchRabbitMq {
|
|
3671
3951
|
type: "rabbitMq";
|
|
3672
|
-
config:
|
|
3952
|
+
config: RabbitMqConfigPatch;
|
|
3673
3953
|
}
|
|
3674
3954
|
interface StreamSinkPatchRedshift {
|
|
3675
3955
|
type: "redshift";
|
|
3676
|
-
config:
|
|
3956
|
+
config: RedshiftConfigPatch;
|
|
3677
3957
|
}
|
|
3678
3958
|
type StreamSinkPatch = _StreamSinkPatchFields & (StreamSinkPatchPoller | StreamSinkPatchAzureBlobStorage | StreamSinkPatchOtelTracing | StreamSinkPatchHttp | StreamSinkPatchAmazonS3 | StreamSinkPatchGoogleCloudStorage | StreamSinkPatchGoogleCloudPubSub | StreamSinkPatchSqs | StreamSinkPatchSns | StreamSinkPatchBigQuery | StreamSinkPatchClickhouse | StreamSinkPatchEventBridge | StreamSinkPatchSnowflake | StreamSinkPatchRabbitMq | StreamSinkPatchRedshift);
|
|
3679
3959
|
//#endregion
|
|
@@ -4060,5 +4340,5 @@ declare class Svix {
|
|
|
4060
4340
|
get streaming(): Streaming;
|
|
4061
4341
|
}
|
|
4062
4342
|
//#endregion
|
|
4063
|
-
export { type AdobeSignConfig, type AdobeSignConfigOut, type AggregateEventTypesOut, type AirwallexConfig, type AirwallexConfigOut,
|
|
4343
|
+
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 BulkExpungeContentsIn, type BulkExpungeContentsOut, BulkExpungeStatus, 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
4344
|
//# sourceMappingURL=index.d.mts.map
|