svix 2.4.0 → 2.6.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.
Files changed (58) hide show
  1. package/dist/index.d.mts +245 -81
  2. package/dist/index.d.mts.map +1 -1
  3. package/dist/index.mjs +261 -119
  4. package/dist/index.mjs.map +1 -1
  5. package/package.json +1 -1
  6. package/src/api/autoconfigSubscription.ts +53 -0
  7. package/src/api/endpoint.ts +39 -0
  8. package/src/api/eventType.ts +4 -1
  9. package/src/api/message.ts +6 -3
  10. package/src/api/messageAttempt.ts +6 -3
  11. package/src/api_internal/autoconfigSubscription.ts +40 -0
  12. package/src/api_internal/{destinationAutoconfig.ts → autoconfigSubscriptionDestination.ts} +1 -1
  13. package/src/api_internal/{endpointAutoconfig.ts → autoconfigSubscriptionEndpoint.ts} +1 -24
  14. package/src/api_internal/endpoint.ts +0 -5
  15. package/src/autoconfig.ts +2 -1
  16. package/src/autoconfigConsumer.ts +4 -4
  17. package/src/index.ts +5 -0
  18. package/src/models/appPortalAccessIn.ts +4 -2
  19. package/src/models/appUsageStatsOut.ts +7 -7
  20. package/src/models/applicationTokenExpireIn.ts +2 -1
  21. package/src/models/autoConfigOut.ts +27 -0
  22. package/src/models/autoConfigSubscriptionOut.ts +1 -0
  23. package/src/models/azureBlobStorageConfigIn.ts +2 -1
  24. package/src/models/clickhouseConfigIn.ts +4 -2
  25. package/src/models/createStreamEventsIn.ts +2 -1
  26. package/src/models/destinationIn.ts +14 -5
  27. package/src/models/endpointAttemptStats.ts +25 -0
  28. package/src/models/endpointMessageOut.ts +4 -1
  29. package/src/models/endpointSecretRotateIn.ts +2 -1
  30. package/src/models/eventBridgeConfigIn.ts +16 -3
  31. package/src/models/eventBridgeConfigOut.ts +7 -1
  32. package/src/models/eventBridgeConfigPatch.ts +6 -0
  33. package/src/models/eventTypeImportOpenApiIn.ts +3 -1
  34. package/src/models/index.ts +3 -0
  35. package/src/models/ingestEndpointSecretIn.ts +2 -1
  36. package/src/models/ingestSourceConsumerPortalAccessIn.ts +2 -1
  37. package/src/models/messageIn.ts +12 -4
  38. package/src/models/operationalWebhookEndpointSecretIn.ts +2 -1
  39. package/src/models/postgresConfigIn.ts +7 -3
  40. package/src/models/rabbitMqConfigOut.ts +3 -0
  41. package/src/models/redshiftConfigIn.ts +18 -4
  42. package/src/models/redshiftConfigOut.ts +7 -1
  43. package/src/models/redshiftConfigPatch.ts +6 -0
  44. package/src/models/rotatePollerTokenIn.ts +2 -1
  45. package/src/models/rotateSubscriptionIn2.ts +29 -0
  46. package/src/models/s3ConfigIn.ts +2 -1
  47. package/src/models/snowflakeConfigIn.ts +8 -3
  48. package/src/models/snsConfigIn.ts +16 -3
  49. package/src/models/snsConfigOut.ts +7 -1
  50. package/src/models/snsConfigPatch.ts +6 -0
  51. package/src/models/sqsConfigIn.ts +16 -3
  52. package/src/models/sqsConfigOut.ts +7 -1
  53. package/src/models/sqsConfigPatch.ts +6 -0
  54. package/src/models/streamPortalAccessIn.ts +4 -2
  55. package/src/models/streamSinkIn.ts +6 -2
  56. package/src/models/streamTokenExpireIn.ts +2 -1
  57. package/src/request.ts +1 -1
  58. package/src/api_internal/destination.ts +0 -12
package/dist/index.d.mts CHANGED
@@ -200,13 +200,15 @@ interface AppPortalAccessIn {
200
200
  /**
201
201
  * How long the token will be valid for, in seconds.
202
202
  *
203
- * Valid values are between 1 hour and 7 days. The default is 7 days.
203
+ * Valid values are between 1 hour and 7 days.
204
+ * The default is 7 days.
204
205
  */
205
206
  expiry?: number | null;
206
207
  /**
207
208
  * An optional session ID to attach to the token.
208
209
  *
209
- * When expiring tokens with "Expire All", you can include the session ID to only expire tokens that were created with that session ID.
210
+ * When expiring tokens with "Expire All", you can include the session ID
211
+ * to only expire tokens that were created with that session ID.
210
212
  */
211
213
  sessionId?: string | null;
212
214
  }
@@ -224,7 +226,8 @@ interface ApplicationTokenExpireIn {
224
226
  /**
225
227
  * An optional list of session ids.
226
228
  *
227
- * If any session ids are specified, only Application tokens created with that session id will be expired.
229
+ * If any session ids are specified, only Application tokens created with that
230
+ * session id will be expired.
228
231
  */
229
232
  sessionIds?: string[];
230
233
  }
@@ -236,7 +239,8 @@ interface RotatePollerTokenIn {
236
239
  /**
237
240
  * Updates the previous token's expiration, in seconds.
238
241
  *
239
- * If set to 0, the old token will immediately be revoked. Must be between 0 and 86,400 seconds (1 day).
242
+ * If set to 0, the old token will immediately be revoked.
243
+ * Must be between 0 and 86,400 seconds (1 day).
240
244
  *
241
245
  * Defaults to 300 seconds (5 minutes).
242
246
  */
@@ -250,13 +254,15 @@ interface StreamPortalAccessIn {
250
254
  /**
251
255
  * How long the token will be valid for, in seconds.
252
256
  *
253
- * Valid values are between 1 hour and 7 days. The default is 7 days.
257
+ * Valid values are between 1 hour and 7 days.
258
+ * The default is 7 days.
254
259
  */
255
260
  expiry?: number | null;
256
261
  /**
257
262
  * An optional session ID to attach to the token.
258
263
  *
259
- * When expiring tokens with "Expire All", you can include the session ID to only expire tokens that were created with that session ID.
264
+ * When expiring tokens with "Expire All", you can include the session ID
265
+ * to only expire tokens that were created with that session ID.
260
266
  */
261
267
  sessionId?: string | null;
262
268
  }
@@ -268,7 +274,8 @@ interface StreamTokenExpireIn {
268
274
  /**
269
275
  * An optional list of session ids.
270
276
  *
271
- * If any session ids are specified, only Stream tokens created with that session id will be expired.
277
+ * If any session ids are specified, only Stream tokens created with that
278
+ * session id will be expired.
272
279
  */
273
280
  sessionIds?: string[];
274
281
  }
@@ -324,6 +331,54 @@ declare class Authentication {
324
331
  getStreamPollerToken(streamId: string, sinkId: string): Promise<ApiTokenOut>;
325
332
  }
326
333
  //#endregion
334
+ //#region src/models/autoConfigOut.d.ts
335
+ interface AutoConfigOut {
336
+ createdAt: Date;
337
+ /** The AutoConfig token */
338
+ token: string;
339
+ /** The AutoConfigSubscription's ID. */
340
+ id: string;
341
+ }
342
+ //#endregion
343
+ //#region src/models/endpointSecretRotateIn.d.ts
344
+ interface EndpointSecretRotateIn {
345
+ /**
346
+ * The endpoint's verification secret.
347
+ *
348
+ * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.
349
+ * It is recommended to not set this and let the server generate the secret.
350
+ */
351
+ key?: string | null;
352
+ /**
353
+ * How long the old secret will be valid for, in seconds.
354
+ *
355
+ * Valid values are between 0 (immediate expiry) and 7 days.
356
+ * The default is 24 hours.
357
+ */
358
+ gracePeriodSeconds?: number | null;
359
+ }
360
+ //#endregion
361
+ //#region src/models/rotateSubscriptionIn2.d.ts
362
+ interface RotateSubscriptionIn2 {
363
+ signingSecret?: EndpointSecretRotateIn | null;
364
+ }
365
+ //#endregion
366
+ //#region src/api/autoconfigSubscription.d.ts
367
+ interface AutoconfigSubscriptionCreateOptions {
368
+ idempotencyKey?: string;
369
+ }
370
+ interface AutoconfigSubscriptionRotateOptions {
371
+ idempotencyKey?: string;
372
+ }
373
+ declare class AutoconfigSubscription {
374
+ private readonly requestCtx;
375
+ constructor(requestCtx: SvixRequestContext);
376
+ /** Create an AutoConfig subscription. */
377
+ create(appId: string, options?: AutoconfigSubscriptionCreateOptions): Promise<AutoConfigOut>;
378
+ /** Rotate the auth token and signing secret for an AutoConfig subscription. */
379
+ rotate(appId: string, autoconfigId: string, rotateSubscriptionIn2?: RotateSubscriptionIn2, options?: AutoconfigSubscriptionRotateOptions): Promise<AutoConfigOut>;
380
+ }
381
+ //#endregion
327
382
  //#region src/models/backgroundTaskStatus.d.ts
328
383
  declare enum BackgroundTaskStatus {
329
384
  Running = "running",
@@ -517,7 +572,8 @@ interface AzureBlobStorageConfigIn {
517
572
  /**
518
573
  * Access key.
519
574
  *
520
- * Currently a required field, but marked as optional because we may add different authentication in the future.
575
+ * Currently a required field, but marked as optional because we may add
576
+ * different authentication in the future.
521
577
  */
522
578
  accessKey?: string | null;
523
579
  }
@@ -539,13 +595,15 @@ interface ClickhouseConfigIn {
539
595
  /**
540
596
  * Username to access Clickhouse.
541
597
  *
542
- * Currently a required field, but marked as optional because we may add different authentication in the future.
598
+ * Currently a required field, but marked as optional because we may add
599
+ * different authentication in the future.
543
600
  */
544
601
  username?: string | null;
545
602
  /**
546
603
  * Password to access Clickhouse.
547
604
  *
548
- * Currently a required field, but marked as optional because we may add different authentication in the future.
605
+ * Currently a required field, but marked as optional because we may add
606
+ * different authentication in the future.
549
607
  */
550
608
  password?: string | null;
551
609
  /** The Clickhouse database to connect to. */
@@ -569,19 +627,28 @@ interface EventBridgeConfigIn {
569
627
  /**
570
628
  * Access key ID.
571
629
  *
572
- * Currently a required field, but marked as optional because we may add different authentication in the future.
630
+ * Required (along with `secret_access_key`) if `role_arn` is blank.
573
631
  */
574
632
  accessKeyId?: string | null;
575
633
  /**
576
634
  * Secret access key.
577
635
  *
578
- * Currently a required field, but marked as optional because we may add different authentication in the future.
636
+ * Required (along with `access_key_id`) if `role_arn` is blank.
579
637
  */
580
638
  secretAccessKey?: string | null;
639
+ /** Role ARN for delegated authentication */
640
+ roleArn?: string | null;
641
+ /**
642
+ * Shared secret passed as the STS ExternalId.
643
+ *
644
+ * Can only be set if `role_arn` is Some
645
+ */
646
+ externalId?: string | null;
581
647
  /**
582
648
  * The region of the EventBridge bus.
583
649
  *
584
- * Currently a required field, but marked as optional because we may infer it from other fields in the future.
650
+ * Currently a required field, but marked as optional because we may infer
651
+ * it from other fields in the future.
585
652
  */
586
653
  region?: string | null;
587
654
  }
@@ -626,7 +693,8 @@ interface OtelTracingConfigIn {
626
693
  //#region src/models/postgresConfigIn.d.ts
627
694
  interface PostgresConfigIn {
628
695
  /**
629
- * PostgreSQL connection URL, e.g. `postgres://user@host:5432/dbname?sslmode=require`.
696
+ * PostgreSQL connection URL, e.g.
697
+ * `postgres://user@host:5432/dbname?sslmode=require`.
630
698
  *
631
699
  * Do NOT embed a password here; use the `password` field instead.
632
700
  */
@@ -636,13 +704,16 @@ interface PostgresConfigIn {
636
704
  /**
637
705
  * Table to insert into. May be schema-qualified (e.g. `public.events`).
638
706
  *
639
- * Quote characters are not supported. Each dot-separated segment is automatically double-quoted when the query is built, so `public.events` becomes `"public"."events"`.
707
+ * Quote characters are not supported. Each dot-separated segment is automatically
708
+ * double-quoted when the query is built, so `public.events` becomes `"public"."events"`.
640
709
  */
641
710
  tableName: string;
642
711
  /**
643
712
  * PEM-encoded CA certificate used to verify the Postgres server's TLS certificate.
644
713
  *
645
- * Supply this to trust a private or self-signed CA when connecting with `sslmode=verify-ca` or `sslmode=verify-full`. Without it, only the built-in public roots are trusted.
714
+ * Supply this to trust a private or self-signed CA when connecting with
715
+ * `sslmode=verify-ca` or `sslmode=verify-full`. Without it, only the built-in
716
+ * public roots are trusted.
646
717
  */
647
718
  sslRootCert?: string | null;
648
719
  }
@@ -658,25 +729,35 @@ interface RabbitMqConfigIn {
658
729
  /**
659
730
  * Configuration parameters for defining a Redshift sink.
660
731
  *
661
- * For provisioned clusters, set `cluster_identifier` and `db_user`. For Redshift Serverless, set `workgroup_name`.
732
+ * For provisioned clusters, set `cluster_identifier` and `db_user`.
733
+ * For Redshift Serverless, set `workgroup_name`.
662
734
  */
663
735
  interface RedshiftConfigIn {
664
736
  /**
665
737
  * Access key ID.
666
738
  *
667
- * Currently a required field, but marked as optional because we may add different authentication in the future.
739
+ * Required (along with `secret_access_key`) if `role_arn` is blank.
668
740
  */
669
741
  accessKeyId?: string | null;
670
742
  /**
671
743
  * Secret access key.
672
744
  *
673
- * Currently a required field, but marked as optional because we may add different authentication in the future.
745
+ * Required (along with `access_key_id`) if `role_arn` is blank.
674
746
  */
675
747
  secretAccessKey?: string | null;
748
+ /** Role ARN for delegated authentication */
749
+ roleArn?: string | null;
750
+ /**
751
+ * Shared secret passed as the STS ExternalId.
752
+ *
753
+ * Can only be set if `role_arn` is Some
754
+ */
755
+ externalId?: string | null;
676
756
  /**
677
757
  * The region of the Redshift DB.
678
758
  *
679
- * Currently a required field, but marked as optional because we may infer it from other fields in the future.
759
+ * Currently a required field, but marked as optional because we may infer
760
+ * it from other fields in the future.
680
761
  */
681
762
  region?: string | null;
682
763
  /** Required for provisioned clusters. */
@@ -723,7 +804,8 @@ interface S3ConfigIn {
723
804
  /**
724
805
  * The region of the S3 bucket
725
806
  *
726
- * Currently a required field, but marked as optional because we may infer it from other fields in the future.
807
+ * Currently a required field, but marked as optional because we may infer
808
+ * it from other fields in the future.
727
809
  */
728
810
  region?: string | null;
729
811
  endpointUrl?: string | null;
@@ -741,14 +823,19 @@ interface S3ConfigIn {
741
823
  /** Configuration parameters for defining a Snowflake sink. */
742
824
  interface SnowflakeConfigIn {
743
825
  /**
744
- * PEM-encoded private key used for signing token-based requests to the Snowflake API.
826
+ * PEM-encoded private key used for signing token-based requests
827
+ * to the Snowflake API.
745
828
  *
746
829
  * Beginning/end delimiters are not required.
747
830
  *
748
- * Currently a required field, but marked as optional because we may add different authentication in the future.
831
+ * Currently a required field, but marked as optional because we may add
832
+ * different authentication in the future.
749
833
  */
750
834
  privateKey?: string | null;
751
- /** Snowflake account identifier, which includes both the organization and account IDs separated by a hyphen. */
835
+ /**
836
+ * Snowflake account identifier, which includes both the organization and account
837
+ * IDs separated by a hyphen.
838
+ */
752
839
  accountIdentifier: string;
753
840
  /** The Snowflake user id. */
754
841
  userId: string;
@@ -779,22 +866,31 @@ interface SnsConfigIn {
779
866
  /**
780
867
  * The region of the SNS instance.
781
868
  *
782
- * Currently a required field, but marked as optional because we may infer it from other fields in the future.
869
+ * Currently a required field, but marked as optional because we may infer
870
+ * it from other fields in the future.
783
871
  */
784
872
  region?: string | null;
785
873
  /**
786
874
  * Access key ID.
787
875
  *
788
- * Currently a required field, but marked as optional because we may add different authentication in the future.
876
+ * Required (along with `secret_access_key`) if `role_arn` is None
789
877
  */
790
878
  accessKeyId?: string | null;
791
879
  /**
792
880
  * Secret access key.
793
881
  *
794
- * Currently a required field, but marked as optional because we may add different authentication in the future.
882
+ * Required (along with `access_key_id`) if `role_arn` is None
795
883
  */
796
884
  secretAccessKey?: string | null;
797
885
  endpointUrl?: string | null;
886
+ /** Role ARN for delegated authentication */
887
+ roleArn?: string | null;
888
+ /**
889
+ * Shared secret passed as the STS ExternalId.
890
+ *
891
+ * Can only be set if `role_arn` is Some
892
+ */
893
+ externalId?: string | null;
798
894
  }
799
895
  //#endregion
800
896
  //#region src/models/sqsConfigIn.d.ts
@@ -804,21 +900,30 @@ interface SqsConfigIn {
804
900
  /**
805
901
  * The region of the SQS queue.
806
902
  *
807
- * Currently a required field, but marked as optional because we may infer it from other fields in the future.
903
+ * Currently a required field, but marked as optional because we may infer
904
+ * it from other fields in the future.
808
905
  */
809
906
  region?: string | null;
810
907
  /**
811
908
  * Access key ID.
812
909
  *
813
- * Currently a required field, but marked as optional because we may add different authentication in the future.
910
+ * Required (along with `secret_access_key`) if `role_arn` is blank.
814
911
  */
815
912
  accessKeyId?: string | null;
816
913
  /**
817
914
  * Secret access key.
818
915
  *
819
- * Currently a required field, but marked as optional because we may add different authentication in the future.
916
+ * Required (along with `access_key_id`) if `role_arn` is blank.
820
917
  */
821
918
  secretAccessKey?: string | null;
919
+ /** Role ARN for delegated authentication */
920
+ roleArn?: string | null;
921
+ /**
922
+ * Shared secret passed as the STS ExternalId.
923
+ *
924
+ * Can only be set if `role_arn` is Some
925
+ */
926
+ externalId?: string | null;
822
927
  endpointUrl?: string | null;
823
928
  }
824
929
  //#endregion
@@ -829,9 +934,11 @@ interface _DestinationInFields {
829
934
  /**
830
935
  * Whether the destination will receive events.
831
936
  *
832
- * If the destination is `enabled`, events sent to the application will be dispatched to the destination in order.
937
+ * If the destination is `enabled`, events sent to the application will be
938
+ * dispatched to the destination in order.
833
939
  *
834
- * If the destination is `disabled`, events will not be dispatched until the destination is reenabled.
940
+ * If the destination is `disabled`, events will not be dispatched until the
941
+ * destination is reenabled.
835
942
  */
836
943
  status?: DestinationStatusIn;
837
944
  /** How many events will be batched in a request to the destination. */
@@ -839,14 +946,21 @@ interface _DestinationInFields {
839
946
  /**
840
947
  * How long to wait before a batch of events is sent, if the `batchSize` is not reached.
841
948
  *
842
- * For example, with a `batchSize` of 100 and `maxWaitSecs` of 10, a request is sent after 10 seconds or 100 events, whichever comes first.
949
+ * For example, with a `batchSize` of 100 and `maxWaitSecs` of 10, a request is sent after
950
+ * 10 seconds or 100 events, whichever comes first.
843
951
  *
844
952
  * Note that an empty batch is never sent to the destination.
845
953
  */
846
954
  maxWaitSecs?: number;
847
- /** A list of event types that filter which events are dispatched to the destination. An empty list (or null) will not filter out any events. */
955
+ /**
956
+ * A list of event types that filter which events are dispatched to the destination.
957
+ * An empty list (or null) will not filter out any events.
958
+ */
848
959
  eventTypes?: string[];
849
- /** A list of channels that filter which events are dispatched to the destination. An empty list (or null) will not filter out any events. */
960
+ /**
961
+ * A list of channels that filter which events are dispatched to the destination.
962
+ * An empty list (or null) will not filter out any events.
963
+ */
850
964
  channels?: string[];
851
965
  metadata?: {
852
966
  [key: string]: string;
@@ -953,7 +1067,9 @@ declare enum DestinationStatus {
953
1067
  interface EventBridgeConfigOut {
954
1068
  eventBusName: string;
955
1069
  detailType: string;
956
- accessKeyId: string;
1070
+ accessKeyId?: string | null;
1071
+ roleArn?: string | null;
1072
+ externalId?: string | null;
957
1073
  region: string;
958
1074
  }
959
1075
  //#endregion
@@ -996,12 +1112,15 @@ interface PostgresConfigOut {
996
1112
  //#endregion
997
1113
  //#region src/models/rabbitMqConfigOut.d.ts
998
1114
  interface RabbitMqConfigOut {
1115
+ uri: string;
999
1116
  routingKey: string;
1000
1117
  }
1001
1118
  //#endregion
1002
1119
  //#region src/models/redshiftConfigOut.d.ts
1003
1120
  interface RedshiftConfigOut {
1004
- accessKeyId: string;
1121
+ accessKeyId?: string | null;
1122
+ roleArn?: string | null;
1123
+ externalId?: string | null;
1005
1124
  region: string;
1006
1125
  clusterIdentifier?: string | null;
1007
1126
  dbUser?: string | null;
@@ -1070,14 +1189,18 @@ interface SnowflakeConfigOut {
1070
1189
  interface SnsConfigOut {
1071
1190
  topicArn: string;
1072
1191
  region: string;
1073
- accessKeyId: string;
1192
+ accessKeyId?: string | null;
1193
+ roleArn?: string | null;
1194
+ externalId?: string | null;
1074
1195
  }
1075
1196
  //#endregion
1076
1197
  //#region src/models/sqsConfigOut.d.ts
1077
1198
  interface SqsConfigOut {
1078
1199
  queueUrl: string;
1079
1200
  region: string;
1080
- accessKeyId: string;
1201
+ accessKeyId?: string | null;
1202
+ roleArn?: string | null;
1203
+ externalId?: string | null;
1081
1204
  endpointUrl?: string | null;
1082
1205
  }
1083
1206
  //#endregion
@@ -1198,6 +1321,8 @@ interface EventBridgeConfigPatch {
1198
1321
  detailType?: string;
1199
1322
  accessKeyId?: string;
1200
1323
  secretAccessKey?: string;
1324
+ roleArn?: string;
1325
+ externalId?: string;
1201
1326
  region?: string;
1202
1327
  }
1203
1328
  //#endregion
@@ -1237,6 +1362,8 @@ interface RabbitMqConfigPatch {
1237
1362
  interface RedshiftConfigPatch {
1238
1363
  accessKeyId?: string;
1239
1364
  secretAccessKey?: string;
1365
+ roleArn?: string;
1366
+ externalId?: string;
1240
1367
  region?: string;
1241
1368
  /**
1242
1369
  * Database name.
@@ -1305,6 +1432,8 @@ interface SnsConfigPatch {
1305
1432
  region?: string;
1306
1433
  accessKeyId?: string;
1307
1434
  secretAccessKey?: string;
1435
+ roleArn?: string;
1436
+ externalId?: string;
1308
1437
  endpointUrl?: string | null;
1309
1438
  }
1310
1439
  //#endregion
@@ -1314,6 +1443,8 @@ interface SqsConfigPatch {
1314
1443
  region?: string;
1315
1444
  accessKeyId?: string;
1316
1445
  secretAccessKey?: string;
1446
+ roleArn?: string;
1447
+ externalId?: string;
1317
1448
  endpointUrl?: string | null;
1318
1449
  }
1319
1450
  //#endregion
@@ -1508,6 +1639,13 @@ interface BulkReplayIn {
1508
1639
  statusCodeClass?: StatusCodeClass | null;
1509
1640
  }
1510
1641
  //#endregion
1642
+ //#region src/models/endpointAttemptStats.d.ts
1643
+ interface EndpointAttemptStats {
1644
+ success: number;
1645
+ fail: number;
1646
+ canceled: number;
1647
+ }
1648
+ //#endregion
1511
1649
  //#region src/models/endpointHeadersIn.d.ts
1512
1650
  interface EndpointHeadersIn {
1513
1651
  headers: {
@@ -1611,23 +1749,6 @@ interface EndpointSecretOut {
1611
1749
  key: string;
1612
1750
  }
1613
1751
  //#endregion
1614
- //#region src/models/endpointSecretRotateIn.d.ts
1615
- interface EndpointSecretRotateIn {
1616
- /**
1617
- * The endpoint's verification secret.
1618
- *
1619
- * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.
1620
- * It is recommended to not set this and let the server generate the secret.
1621
- */
1622
- key?: string | null;
1623
- /**
1624
- * How long the old secret will be valid for, in seconds.
1625
- *
1626
- * Valid values are between 0 (immediate expiry) and 7 days. The default is 24 hours.
1627
- */
1628
- gracePeriodSeconds?: number | null;
1629
- }
1630
- //#endregion
1631
1752
  //#region src/models/endpointStats.d.ts
1632
1753
  interface EndpointStats {
1633
1754
  success: number;
@@ -1786,6 +1907,12 @@ interface EndpointGetStatsOptions {
1786
1907
  /** Filter the range to data ending by this date. */
1787
1908
  until?: Date | null;
1788
1909
  }
1910
+ interface EndpointGetAttemptStatsOptions {
1911
+ /** Filter the range to data starting from this date. */
1912
+ since?: Date | null;
1913
+ /** Filter the range to data ending by this date. */
1914
+ until?: Date | null;
1915
+ }
1789
1916
  interface EndpointRecoverOptions {
1790
1917
  idempotencyKey?: string;
1791
1918
  }
@@ -1871,6 +1998,12 @@ declare class Endpoint {
1871
1998
  bulkReplay(appId: string, endpointId: string, bulkReplayIn: BulkReplayIn, options?: EndpointBulkReplayOptions): Promise<ReplayOut>;
1872
1999
  /** Get basic statistics for the endpoint. */
1873
2000
  getStats(appId: string, endpointId: string, options?: EndpointGetStatsOptions): Promise<EndpointStats>;
2001
+ /**
2002
+ * Get basic statistics about attempted deliveries for the endpoint.
2003
+ *
2004
+ * Time windows are always rounded to hour granularity
2005
+ */
2006
+ getAttemptStats(appId: string, endpointId: string, options?: EndpointGetAttemptStatsOptions): Promise<EndpointAttemptStats>;
1874
2007
  /**
1875
2008
  * Resend all failed messages since a given time.
1876
2009
  *
@@ -1978,7 +2111,9 @@ declare class Environment {
1978
2111
  /**
1979
2112
  * Import a list of event types from webhooks defined in an OpenAPI spec.
1980
2113
  *
1981
- * The OpenAPI spec can be specified as either `spec` given the spec as a JSON object, or as `specRaw` (a `string`) which will be parsed as YAML or JSON by the server. Sending neither or both is invalid, resulting in a `400` **Bad Request**.
2114
+ * The OpenAPI spec can be specified as either `spec` given the spec as a JSON object, or as `specRaw`
2115
+ * (a `string`) which will be parsed as YAML or JSON by the server.
2116
+ * Sending neither or both is invalid, resulting in a `400` **Bad Request**.
1982
2117
  */
1983
2118
  interface EventTypeImportOpenApiIn {
1984
2119
  /** If `true`, return the event types that would be modified without actually modifying them. */
@@ -2065,7 +2200,10 @@ interface EventTypeImportOpenapiOptions {
2065
2200
  idempotencyKey?: string;
2066
2201
  }
2067
2202
  interface EventTypeDeleteOptions {
2068
- /** By default event types are archived when "deleted". Passing this to `true` deletes them entirely. */
2203
+ /**
2204
+ * By default event types are archived when "deleted". Passing this to `true` deletes them
2205
+ * entirely.
2206
+ */
2069
2207
  expunge?: boolean;
2070
2208
  }
2071
2209
  declare class EventType {
@@ -2119,7 +2257,8 @@ interface IngestSourceConsumerPortalAccessIn {
2119
2257
  /**
2120
2258
  * How long the token will be valid for, in seconds.
2121
2259
  *
2122
- * Valid values are between 1 hour and 7 days. The default is 7 days.
2260
+ * Valid values are between 1 hour and 7 days.
2261
+ * The default is 7 days.
2123
2262
  */
2124
2263
  expiry?: number | null;
2125
2264
  /** Whether the app portal should be in read-only mode. */
@@ -2214,7 +2353,8 @@ interface IngestEndpointSecretIn {
2214
2353
  /**
2215
2354
  * How long the old secret will be valid for, in seconds.
2216
2355
  *
2217
- * Valid values are between 0 (immediate expiry) and 7 days. The default is 24 hours.
2356
+ * Valid values are between 0 (immediate expiry) and 7 days.
2357
+ * The default is 24 hours.
2218
2358
  */
2219
2359
  gracePeriodSeconds?: number | null;
2220
2360
  }
@@ -3215,7 +3355,8 @@ interface MessageIn {
3215
3355
  /**
3216
3356
  * Optionally creates a new application alongside the message.
3217
3357
  *
3218
- * If the application id or uid that is used in the path already exists, this argument is ignored.
3358
+ * If the application id or uid that is used in the path already exists,
3359
+ * this argument is ignored.
3219
3360
  */
3220
3361
  application?: ApplicationIn | null;
3221
3362
  /** List of free-form tags that can be filtered by when listing messages */
@@ -3225,12 +3366,19 @@ interface MessageIn {
3225
3366
  /**
3226
3367
  * The date and time at which the message will be delivered.
3227
3368
  *
3228
- * Note that this time is best-effort-only. Must be at least one minute and no more than 24 hours in the future.
3369
+ * Note that this time is best-effort-only. Must be at least one minute
3370
+ * and no more than 24 hours in the future.
3229
3371
  */
3230
3372
  deliverAt?: Date | null;
3231
- /** Optional number of days to retain the message payload. Defaults to 90. Note that this is mutually exclusive with `payloadRetentionHours`. */
3373
+ /**
3374
+ * Optional number of days to retain the message payload. Defaults to 90.
3375
+ * Note that this is mutually exclusive with `payloadRetentionHours`.
3376
+ */
3232
3377
  payloadRetentionPeriod?: number | null;
3233
- /** Optional number of hours to retain the message payload. Note that this is mutually exclusive with `payloadRetentionPeriod`. */
3378
+ /**
3379
+ * Optional number of hours to retain the message payload. Note that
3380
+ * this is mutually exclusive with `payloadRetentionPeriod`.
3381
+ */
3234
3382
  payloadRetentionHours?: number | null;
3235
3383
  }
3236
3384
  //#endregion
@@ -3249,7 +3397,8 @@ interface MessageListOptions {
3249
3397
  /**
3250
3398
  * When `true` message payloads are included in the response.
3251
3399
  *
3252
- * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request without specifying this parameter.
3400
+ * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request
3401
+ * without specifying this parameter.
3253
3402
  */
3254
3403
  withContent?: boolean;
3255
3404
  /** Filter messages matching the provided tag. */
@@ -3261,7 +3410,8 @@ interface MessageCreateOptions {
3261
3410
  /**
3262
3411
  * When `true`, message payloads are included in the response.
3263
3412
  *
3264
- * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request without specifying this parameter.
3413
+ * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request
3414
+ * without specifying this parameter.
3265
3415
  */
3266
3416
  withContent?: boolean;
3267
3417
  idempotencyKey?: string;
@@ -3273,7 +3423,8 @@ interface MessageGetOptions {
3273
3423
  /**
3274
3424
  * When `true` message payloads are included in the response.
3275
3425
  *
3276
- * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request without specifying this parameter.
3426
+ * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request
3427
+ * without specifying this parameter.
3277
3428
  */
3278
3429
  withContent?: boolean;
3279
3430
  }
@@ -3383,7 +3534,10 @@ declare enum MessageStatusText {
3383
3534
  }
3384
3535
  //#endregion
3385
3536
  //#region src/models/endpointMessageOut.d.ts
3386
- /** A model containing information on a given message plus additional fields on the last attempt for that message. */
3537
+ /**
3538
+ * A model containing information on a given message plus additional fields on the last attempt for
3539
+ * that message.
3540
+ */
3387
3541
  interface EndpointMessageOut {
3388
3542
  status: MessageStatus;
3389
3543
  statusText: MessageStatusText;
@@ -3504,7 +3658,8 @@ interface MessageAttemptListByEndpointOptions {
3504
3658
  /**
3505
3659
  * When `true` attempt content is included in the response.
3506
3660
  *
3507
- * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request without specifying this parameter.
3661
+ * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request
3662
+ * without specifying this parameter.
3508
3663
  */
3509
3664
  withContent?: boolean;
3510
3665
  /**
@@ -3544,7 +3699,8 @@ interface MessageAttemptListByMsgOptions {
3544
3699
  /**
3545
3700
  * When `true` attempt content is included in the response.
3546
3701
  *
3547
- * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request without specifying this parameter.
3702
+ * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request
3703
+ * without specifying this parameter.
3548
3704
  */
3549
3705
  withContent?: boolean;
3550
3706
  /**
@@ -3574,7 +3730,8 @@ interface MessageAttemptListAttemptedMessagesOptions {
3574
3730
  /**
3575
3731
  * When `true` message payloads are included in the response.
3576
3732
  *
3577
- * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request without specifying this parameter.
3733
+ * Defaults to `false` in v2+ of the Svix SDKs, `true` in v1 or when manually making a request
3734
+ * without specifying this parameter.
3578
3735
  */
3579
3736
  withContent?: boolean;
3580
3737
  /**
@@ -3743,7 +3900,8 @@ interface OperationalWebhookEndpointSecretIn {
3743
3900
  /**
3744
3901
  * How long the old secret will be valid for, in seconds.
3745
3902
  *
3746
- * Valid values are between 0 (immediate expiry) and 7 days. The default is 24 hours.
3903
+ * Valid values are between 0 (immediate expiry) and 7 days.
3904
+ * The default is 24 hours.
3747
3905
  */
3748
3906
  gracePeriodSeconds?: number | null;
3749
3907
  }
@@ -3855,17 +4013,17 @@ interface AppUsageStatsIn {
3855
4013
  //#endregion
3856
4014
  //#region src/models/appUsageStatsOut.d.ts
3857
4015
  interface AppUsageStatsOut {
4016
+ /** The QueueBackgroundTask's ID. */
4017
+ id: string;
4018
+ status: BackgroundTaskStatus;
4019
+ task: BackgroundTaskType;
4020
+ updatedAt: Date;
3858
4021
  /**
3859
4022
  * Any app IDs or UIDs received in the request that weren't found.
3860
4023
  *
3861
4024
  * Stats will be produced for all the others.
3862
4025
  */
3863
4026
  unresolvedAppIds: string[];
3864
- /** The QueueBackgroundTask's ID. */
3865
- id: string;
3866
- status: BackgroundTaskStatus;
3867
- task: BackgroundTaskType;
3868
- updatedAt: Date;
3869
4027
  }
3870
4028
  //#endregion
3871
4029
  //#region src/api/statistics.d.ts
@@ -4031,7 +4189,8 @@ interface CreateStreamEventsIn {
4031
4189
  /**
4032
4190
  * Optionally creates a new Stream alongside the events.
4033
4191
  *
4034
- * If the stream id or uid that is used in the path already exists, this argument is ignored.
4192
+ * If the stream id or uid that is used in the path already exists,
4193
+ * this argument is ignored.
4035
4194
  */
4036
4195
  stream?: StreamIn | null;
4037
4196
  }
@@ -4219,7 +4378,8 @@ interface _StreamSinkInFields {
4219
4378
  /**
4220
4379
  * Whether the sink will receive events.
4221
4380
  *
4222
- * If the sink is `enabled`, any events posted to the stream will be dispatched to the Sink in the same order that events were posted to the stream.
4381
+ * If the sink is `enabled`, any events posted to the stream will be
4382
+ * dispatched to the Sink in the same order that events were posted to the stream.
4223
4383
  *
4224
4384
  * If the sink is `disabled`, events will not be dispatched to the sink until the sink is reenabled.
4225
4385
  */
@@ -4234,7 +4394,10 @@ interface _StreamSinkInFields {
4234
4394
  * Note that we will never send an empty batch of events to the Sink.
4235
4395
  */
4236
4396
  maxWaitSecs?: number;
4237
- /** 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. */
4397
+ /**
4398
+ * A list of event types that filter which events are dispatched to the Sink. An empty list (or null) will not filter out
4399
+ * any events.
4400
+ */
4238
4401
  eventTypes?: string[];
4239
4402
  channels?: string[];
4240
4403
  metadata?: {
@@ -4759,6 +4922,7 @@ declare class Svix {
4759
4922
  constructor(token: string, options?: SvixOptions);
4760
4923
  get application(): Application;
4761
4924
  get authentication(): Authentication;
4925
+ get autoconfigSubscription(): AutoconfigSubscription;
4762
4926
  get backgroundTask(): BackgroundTask;
4763
4927
  get connector(): Connector;
4764
4928
  get destination(): Destination;
@@ -4775,5 +4939,5 @@ declare class Svix {
4775
4939
  get streaming(): Streaming;
4776
4940
  }
4777
4941
  //#endregion
4778
- 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 DestinationIn, type DestinationOut, type DestinationPatch, DestinationStatus, DestinationStatusIn, type DestinationTransformIn, type DestinationTransformationOut, 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 FifoEndpointConfigIn, 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 ListResponseDestinationOut, 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 MergeConfig, type MergeConfigOut, 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 PostgresConfigIn, type PostgresConfigOut, type PostgresConfigPatch, 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 };
4942
+ 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 AutoConfigOut, 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 DestinationIn, type DestinationOut, type DestinationPatch, DestinationStatus, DestinationStatusIn, type DestinationTransformIn, type DestinationTransformationOut, type DocusignConfig, type DocusignConfigOut, type EasypostConfig, type EasypostConfigOut, type EmptyResponse, type EndpointAttemptStats, 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 FifoEndpointConfigIn, 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 ListResponseDestinationOut, 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 MergeConfig, type MergeConfigOut, 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 PostgresConfigIn, type PostgresConfigOut, type PostgresConfigPatch, type RabbitMqConfigIn, type RabbitMqConfigOut, type RabbitMqConfigPatch, type RecoverIn, type RecoverOut, type RedshiftConfigIn, type RedshiftConfigOut, type RedshiftConfigPatch, type ReplayIn, type ReplayOut, type RotatePollerTokenIn, type RotateSubscriptionIn2, 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 };
4779
4943
  //# sourceMappingURL=index.d.mts.map