svix 2.2.0 → 2.4.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 +1039 -604
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +4410 -3642
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/destination.ts +133 -0
- package/src/api/destinationTransformation.ts +55 -0
- package/src/api_internal/destination.ts +12 -0
- package/src/api_internal/destinationAutoconfig.ts +27 -0
- package/src/api_internal/endpoint.ts +8 -3
- package/src/api_internal/{endpointAutoConfig.ts → endpointAutoConfigDeprecated.ts} +1 -1
- package/src/api_internal/endpointAutoconfig.ts +50 -0
- package/src/autoconfig.test.ts +169 -4
- package/src/autoconfig.ts +89 -26
- package/src/autoconfigConsumer.ts +90 -16
- package/src/index.ts +5 -0
- package/src/models/autoConfigSubscriptionOut.ts +38 -0
- package/src/models/destinationIn.ts +303 -0
- package/src/models/destinationOut.ts +295 -0
- package/src/models/destinationPatch.ts +302 -0
- package/src/models/destinationStatus.ts +18 -0
- package/src/models/destinationStatusIn.ts +16 -0
- package/src/models/destinationTransformIn.ts +19 -0
- package/src/models/destinationTransformationOut.ts +22 -0
- package/src/models/fifoEndpointConfigIn.ts +25 -0
- package/src/models/index.ts +14 -0
- package/src/models/ingestSourceIn.ts +12 -0
- package/src/models/ingestSourceOut.ts +12 -0
- package/src/models/listResponseDestinationOut.ts +31 -0
- package/src/models/mergeConfig.ts +19 -0
- package/src/models/mergeConfigOut.ts +15 -0
- package/src/models/postgresConfigIn.ts +44 -0
- package/src/models/postgresConfigOut.ts +25 -0
- package/src/models/postgresConfigPatch.ts +28 -0
- package/src/models/s3ConfigIn.ts +15 -3
- package/src/models/s3ConfigOut.ts +7 -1
- package/src/models/s3ConfigPatch.ts +6 -0
- package/src/models/status.ts +16 -0
- package/src/models/streamSinkIn.ts +12 -0
- package/src/models/streamSinkOut.ts +27 -0
- package/src/models/streamSinkPatch.ts +15 -0
- package/src/request.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -510,6 +510,955 @@ declare class Connector {
|
|
|
510
510
|
patch(connectorId: string, connectorPatch: ConnectorPatch): Promise<ConnectorOut>;
|
|
511
511
|
}
|
|
512
512
|
//#endregion
|
|
513
|
+
//#region src/models/azureBlobStorageConfigIn.d.ts
|
|
514
|
+
interface AzureBlobStorageConfigIn {
|
|
515
|
+
container: string;
|
|
516
|
+
account: string;
|
|
517
|
+
/**
|
|
518
|
+
* Access key.
|
|
519
|
+
*
|
|
520
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
521
|
+
*/
|
|
522
|
+
accessKey?: string | null;
|
|
523
|
+
}
|
|
524
|
+
//#endregion
|
|
525
|
+
//#region src/models/bigQueryConfigIn.d.ts
|
|
526
|
+
/** Configuration for a Google Cloud BigQuery sink. */
|
|
527
|
+
interface BigQueryConfigIn {
|
|
528
|
+
projectId: string;
|
|
529
|
+
datasetId: string;
|
|
530
|
+
tableId: string;
|
|
531
|
+
/** Google Cloud Credentials JSON Object as a string. */
|
|
532
|
+
credentials: string;
|
|
533
|
+
}
|
|
534
|
+
//#endregion
|
|
535
|
+
//#region src/models/clickhouseConfigIn.d.ts
|
|
536
|
+
interface ClickhouseConfigIn {
|
|
537
|
+
/** The HTTP URL of the ClickHouse server (e.g. `https://my_clickhouse:8443`). */
|
|
538
|
+
url: string;
|
|
539
|
+
/**
|
|
540
|
+
* Username to access Clickhouse.
|
|
541
|
+
*
|
|
542
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
543
|
+
*/
|
|
544
|
+
username?: string | null;
|
|
545
|
+
/**
|
|
546
|
+
* Password to access Clickhouse.
|
|
547
|
+
*
|
|
548
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
549
|
+
*/
|
|
550
|
+
password?: string | null;
|
|
551
|
+
/** The Clickhouse database to connect to. */
|
|
552
|
+
database?: string;
|
|
553
|
+
/** The Clickhouse table to write to. */
|
|
554
|
+
tableName: string;
|
|
555
|
+
}
|
|
556
|
+
//#endregion
|
|
557
|
+
//#region src/models/destinationStatusIn.d.ts
|
|
558
|
+
declare enum DestinationStatusIn {
|
|
559
|
+
Enabled = "enabled",
|
|
560
|
+
Disabled = "disabled"
|
|
561
|
+
}
|
|
562
|
+
//#endregion
|
|
563
|
+
//#region src/models/eventBridgeConfigIn.d.ts
|
|
564
|
+
interface EventBridgeConfigIn {
|
|
565
|
+
/** The name or ARN of the event bus to receive the event */
|
|
566
|
+
eventBusName: string;
|
|
567
|
+
/** Free-form string, with a maximum of 128 characters */
|
|
568
|
+
detailType?: string;
|
|
569
|
+
/**
|
|
570
|
+
* Access key ID.
|
|
571
|
+
*
|
|
572
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
573
|
+
*/
|
|
574
|
+
accessKeyId?: string | null;
|
|
575
|
+
/**
|
|
576
|
+
* Secret access key.
|
|
577
|
+
*
|
|
578
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
579
|
+
*/
|
|
580
|
+
secretAccessKey?: string | null;
|
|
581
|
+
/**
|
|
582
|
+
* The region of the EventBridge bus.
|
|
583
|
+
*
|
|
584
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
585
|
+
*/
|
|
586
|
+
region?: string | null;
|
|
587
|
+
}
|
|
588
|
+
//#endregion
|
|
589
|
+
//#region src/models/fifoEndpointConfigIn.d.ts
|
|
590
|
+
interface FifoEndpointConfigIn {
|
|
591
|
+
url: string;
|
|
592
|
+
headers?: {
|
|
593
|
+
[key: string]: string;
|
|
594
|
+
};
|
|
595
|
+
key?: string | null;
|
|
596
|
+
}
|
|
597
|
+
//#endregion
|
|
598
|
+
//#region src/models/googleCloudPubSubConfigIn.d.ts
|
|
599
|
+
interface GoogleCloudPubSubConfigIn {
|
|
600
|
+
projectId: string;
|
|
601
|
+
topicId: string;
|
|
602
|
+
/** Google Cloud Credentials JSON Object as a string. */
|
|
603
|
+
credentials: string;
|
|
604
|
+
}
|
|
605
|
+
//#endregion
|
|
606
|
+
//#region src/models/googleCloudStorageConfigIn.d.ts
|
|
607
|
+
/**
|
|
608
|
+
* Configuration for a Google Cloud Storage sink.
|
|
609
|
+
*
|
|
610
|
+
* Write stream events into the named bucket using the supplied Google Cloud credentials.
|
|
611
|
+
*/
|
|
612
|
+
interface GoogleCloudStorageConfigIn {
|
|
613
|
+
bucket: string;
|
|
614
|
+
/** Google Cloud Credentials JSON Object as a string. */
|
|
615
|
+
credentials: string;
|
|
616
|
+
}
|
|
617
|
+
//#endregion
|
|
618
|
+
//#region src/models/otelTracingConfigIn.d.ts
|
|
619
|
+
interface OtelTracingConfigIn {
|
|
620
|
+
url: string;
|
|
621
|
+
headers?: {
|
|
622
|
+
[key: string]: string;
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
//#endregion
|
|
626
|
+
//#region src/models/postgresConfigIn.d.ts
|
|
627
|
+
interface PostgresConfigIn {
|
|
628
|
+
/**
|
|
629
|
+
* PostgreSQL connection URL, e.g. `postgres://user@host:5432/dbname?sslmode=require`.
|
|
630
|
+
*
|
|
631
|
+
* Do NOT embed a password here; use the `password` field instead.
|
|
632
|
+
*/
|
|
633
|
+
url: string;
|
|
634
|
+
/** Password for the connection. */
|
|
635
|
+
password?: string | null;
|
|
636
|
+
/**
|
|
637
|
+
* Table to insert into. May be schema-qualified (e.g. `public.events`).
|
|
638
|
+
*
|
|
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"`.
|
|
640
|
+
*/
|
|
641
|
+
tableName: string;
|
|
642
|
+
/**
|
|
643
|
+
* PEM-encoded CA certificate used to verify the Postgres server's TLS certificate.
|
|
644
|
+
*
|
|
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.
|
|
646
|
+
*/
|
|
647
|
+
sslRootCert?: string | null;
|
|
648
|
+
}
|
|
649
|
+
//#endregion
|
|
650
|
+
//#region src/models/rabbitMqConfigIn.d.ts
|
|
651
|
+
/** Configuration for a RabbitMq sink. */
|
|
652
|
+
interface RabbitMqConfigIn {
|
|
653
|
+
uri: string;
|
|
654
|
+
routingKey: string;
|
|
655
|
+
}
|
|
656
|
+
//#endregion
|
|
657
|
+
//#region src/models/redshiftConfigIn.d.ts
|
|
658
|
+
/**
|
|
659
|
+
* Configuration parameters for defining a Redshift sink.
|
|
660
|
+
*
|
|
661
|
+
* For provisioned clusters, set `cluster_identifier` and `db_user`. For Redshift Serverless, set `workgroup_name`.
|
|
662
|
+
*/
|
|
663
|
+
interface RedshiftConfigIn {
|
|
664
|
+
/**
|
|
665
|
+
* Access key ID.
|
|
666
|
+
*
|
|
667
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
668
|
+
*/
|
|
669
|
+
accessKeyId?: string | null;
|
|
670
|
+
/**
|
|
671
|
+
* Secret access key.
|
|
672
|
+
*
|
|
673
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
674
|
+
*/
|
|
675
|
+
secretAccessKey?: string | null;
|
|
676
|
+
/**
|
|
677
|
+
* The region of the Redshift DB.
|
|
678
|
+
*
|
|
679
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
680
|
+
*/
|
|
681
|
+
region?: string | null;
|
|
682
|
+
/** Required for provisioned clusters. */
|
|
683
|
+
clusterIdentifier?: string | null;
|
|
684
|
+
/** Required for provisioned clusters. */
|
|
685
|
+
dbUser?: string | null;
|
|
686
|
+
/** Required for Redshift Serverless. */
|
|
687
|
+
workgroupName?: string | null;
|
|
688
|
+
/**
|
|
689
|
+
* Database name.
|
|
690
|
+
*
|
|
691
|
+
* Only required if not using transformations.
|
|
692
|
+
*/
|
|
693
|
+
dbName?: string;
|
|
694
|
+
/**
|
|
695
|
+
* Schema name.
|
|
696
|
+
*
|
|
697
|
+
* Only used if not using transformations.
|
|
698
|
+
*/
|
|
699
|
+
schemaName?: string | null;
|
|
700
|
+
/**
|
|
701
|
+
* Table name.
|
|
702
|
+
*
|
|
703
|
+
* Only required if not using transformations.
|
|
704
|
+
*/
|
|
705
|
+
tableName?: string;
|
|
706
|
+
}
|
|
707
|
+
//#endregion
|
|
708
|
+
//#region src/models/s3ConfigIn.d.ts
|
|
709
|
+
interface S3ConfigIn {
|
|
710
|
+
bucket: string;
|
|
711
|
+
/**
|
|
712
|
+
* Access key ID.
|
|
713
|
+
*
|
|
714
|
+
* Required (along with `secret_access_key`) if `role_arn` is null
|
|
715
|
+
*/
|
|
716
|
+
accessKeyId?: string | null;
|
|
717
|
+
/**
|
|
718
|
+
* Secret access key.
|
|
719
|
+
*
|
|
720
|
+
* Required (along with `access_key_id`) if `role_arn` is null
|
|
721
|
+
*/
|
|
722
|
+
secretAccessKey?: string | null;
|
|
723
|
+
/**
|
|
724
|
+
* The region of the S3 bucket
|
|
725
|
+
*
|
|
726
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
727
|
+
*/
|
|
728
|
+
region?: string | null;
|
|
729
|
+
endpointUrl?: string | null;
|
|
730
|
+
/** Role ARN for delegated authentication */
|
|
731
|
+
roleArn?: string | null;
|
|
732
|
+
/**
|
|
733
|
+
* Shared secret passed as the STS ExternalId.
|
|
734
|
+
*
|
|
735
|
+
* Recommended if `role_arn` is not null.
|
|
736
|
+
*/
|
|
737
|
+
externalId?: string | null;
|
|
738
|
+
}
|
|
739
|
+
//#endregion
|
|
740
|
+
//#region src/models/snowflakeConfigIn.d.ts
|
|
741
|
+
/** Configuration parameters for defining a Snowflake sink. */
|
|
742
|
+
interface SnowflakeConfigIn {
|
|
743
|
+
/**
|
|
744
|
+
* PEM-encoded private key used for signing token-based requests to the Snowflake API.
|
|
745
|
+
*
|
|
746
|
+
* Beginning/end delimiters are not required.
|
|
747
|
+
*
|
|
748
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
749
|
+
*/
|
|
750
|
+
privateKey?: string | null;
|
|
751
|
+
/** Snowflake account identifier, which includes both the organization and account IDs separated by a hyphen. */
|
|
752
|
+
accountIdentifier: string;
|
|
753
|
+
/** The Snowflake user id. */
|
|
754
|
+
userId: string;
|
|
755
|
+
/**
|
|
756
|
+
* Database name.
|
|
757
|
+
*
|
|
758
|
+
* Only required if not using transformations.
|
|
759
|
+
*/
|
|
760
|
+
dbName?: string;
|
|
761
|
+
/**
|
|
762
|
+
* Schema name.
|
|
763
|
+
*
|
|
764
|
+
* Only required if not using transformations.
|
|
765
|
+
*/
|
|
766
|
+
schemaName?: string;
|
|
767
|
+
/**
|
|
768
|
+
* Table name.
|
|
769
|
+
*
|
|
770
|
+
* Only required if not using transformations.
|
|
771
|
+
*/
|
|
772
|
+
tableName?: string;
|
|
773
|
+
}
|
|
774
|
+
//#endregion
|
|
775
|
+
//#region src/models/snsConfigIn.d.ts
|
|
776
|
+
/** Configuration for a SNS sink. */
|
|
777
|
+
interface SnsConfigIn {
|
|
778
|
+
topicArn: string;
|
|
779
|
+
/**
|
|
780
|
+
* The region of the SNS instance.
|
|
781
|
+
*
|
|
782
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
783
|
+
*/
|
|
784
|
+
region?: string | null;
|
|
785
|
+
/**
|
|
786
|
+
* Access key ID.
|
|
787
|
+
*
|
|
788
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
789
|
+
*/
|
|
790
|
+
accessKeyId?: string | null;
|
|
791
|
+
/**
|
|
792
|
+
* Secret access key.
|
|
793
|
+
*
|
|
794
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
795
|
+
*/
|
|
796
|
+
secretAccessKey?: string | null;
|
|
797
|
+
endpointUrl?: string | null;
|
|
798
|
+
}
|
|
799
|
+
//#endregion
|
|
800
|
+
//#region src/models/sqsConfigIn.d.ts
|
|
801
|
+
/** Configuration for an SQS sink. */
|
|
802
|
+
interface SqsConfigIn {
|
|
803
|
+
queueUrl: string;
|
|
804
|
+
/**
|
|
805
|
+
* The region of the SQS queue.
|
|
806
|
+
*
|
|
807
|
+
* Currently a required field, but marked as optional because we may infer it from other fields in the future.
|
|
808
|
+
*/
|
|
809
|
+
region?: string | null;
|
|
810
|
+
/**
|
|
811
|
+
* Access key ID.
|
|
812
|
+
*
|
|
813
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
814
|
+
*/
|
|
815
|
+
accessKeyId?: string | null;
|
|
816
|
+
/**
|
|
817
|
+
* Secret access key.
|
|
818
|
+
*
|
|
819
|
+
* Currently a required field, but marked as optional because we may add different authentication in the future.
|
|
820
|
+
*/
|
|
821
|
+
secretAccessKey?: string | null;
|
|
822
|
+
endpointUrl?: string | null;
|
|
823
|
+
}
|
|
824
|
+
//#endregion
|
|
825
|
+
//#region src/models/destinationIn.d.ts
|
|
826
|
+
interface _DestinationInFields {
|
|
827
|
+
/** An optional unique identifier for the destination. */
|
|
828
|
+
uid?: string | null;
|
|
829
|
+
/**
|
|
830
|
+
* Whether the destination will receive events.
|
|
831
|
+
*
|
|
832
|
+
* If the destination is `enabled`, events sent to the application will be dispatched to the destination in order.
|
|
833
|
+
*
|
|
834
|
+
* If the destination is `disabled`, events will not be dispatched until the destination is reenabled.
|
|
835
|
+
*/
|
|
836
|
+
status?: DestinationStatusIn;
|
|
837
|
+
/** How many events will be batched in a request to the destination. */
|
|
838
|
+
batchSize?: number;
|
|
839
|
+
/**
|
|
840
|
+
* How long to wait before a batch of events is sent, if the `batchSize` is not reached.
|
|
841
|
+
*
|
|
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.
|
|
843
|
+
*
|
|
844
|
+
* Note that an empty batch is never sent to the destination.
|
|
845
|
+
*/
|
|
846
|
+
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. */
|
|
848
|
+
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. */
|
|
850
|
+
channels?: string[];
|
|
851
|
+
metadata?: {
|
|
852
|
+
[key: string]: string;
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
interface DestinationInPollingEndpointConfig {}
|
|
856
|
+
interface DestinationInPollingEndpoint {
|
|
857
|
+
type: "pollingEndpoint";
|
|
858
|
+
config?: DestinationInPollingEndpointConfig;
|
|
859
|
+
}
|
|
860
|
+
interface DestinationInAzureBlobStorage {
|
|
861
|
+
type: "azureBlobStorage";
|
|
862
|
+
config: AzureBlobStorageConfigIn;
|
|
863
|
+
}
|
|
864
|
+
interface DestinationInOtelTracing {
|
|
865
|
+
type: "otelTracing";
|
|
866
|
+
config: OtelTracingConfigIn;
|
|
867
|
+
}
|
|
868
|
+
interface DestinationInFifoEndpoint {
|
|
869
|
+
type: "fifoEndpoint";
|
|
870
|
+
config: FifoEndpointConfigIn;
|
|
871
|
+
}
|
|
872
|
+
interface DestinationInAmazonS3 {
|
|
873
|
+
type: "amazonS3";
|
|
874
|
+
config: S3ConfigIn;
|
|
875
|
+
}
|
|
876
|
+
interface DestinationInGoogleCloudStorage {
|
|
877
|
+
type: "googleCloudStorage";
|
|
878
|
+
config: GoogleCloudStorageConfigIn;
|
|
879
|
+
}
|
|
880
|
+
interface DestinationInGoogleCloudPubSub {
|
|
881
|
+
type: "googleCloudPubSub";
|
|
882
|
+
config: GoogleCloudPubSubConfigIn;
|
|
883
|
+
}
|
|
884
|
+
interface DestinationInSqs {
|
|
885
|
+
type: "sqs";
|
|
886
|
+
config: SqsConfigIn;
|
|
887
|
+
}
|
|
888
|
+
interface DestinationInSns {
|
|
889
|
+
type: "sns";
|
|
890
|
+
config: SnsConfigIn;
|
|
891
|
+
}
|
|
892
|
+
interface DestinationInBigQuery {
|
|
893
|
+
type: "bigQuery";
|
|
894
|
+
config: BigQueryConfigIn;
|
|
895
|
+
}
|
|
896
|
+
interface DestinationInClickhouse {
|
|
897
|
+
type: "clickhouse";
|
|
898
|
+
config: ClickhouseConfigIn;
|
|
899
|
+
}
|
|
900
|
+
interface DestinationInEventBridge {
|
|
901
|
+
type: "eventBridge";
|
|
902
|
+
config: EventBridgeConfigIn;
|
|
903
|
+
}
|
|
904
|
+
interface DestinationInSnowflake {
|
|
905
|
+
type: "snowflake";
|
|
906
|
+
config: SnowflakeConfigIn;
|
|
907
|
+
}
|
|
908
|
+
interface DestinationInRabbitMq {
|
|
909
|
+
type: "rabbitMq";
|
|
910
|
+
config: RabbitMqConfigIn;
|
|
911
|
+
}
|
|
912
|
+
interface DestinationInRedshift {
|
|
913
|
+
type: "redshift";
|
|
914
|
+
config: RedshiftConfigIn;
|
|
915
|
+
}
|
|
916
|
+
interface DestinationInPostgres {
|
|
917
|
+
type: "postgres";
|
|
918
|
+
config: PostgresConfigIn;
|
|
919
|
+
}
|
|
920
|
+
/** The destination's type and type-specific configuration. */
|
|
921
|
+
type DestinationIn = _DestinationInFields & (DestinationInPollingEndpoint | DestinationInAzureBlobStorage | DestinationInOtelTracing | DestinationInFifoEndpoint | DestinationInAmazonS3 | DestinationInGoogleCloudStorage | DestinationInGoogleCloudPubSub | DestinationInSqs | DestinationInSns | DestinationInBigQuery | DestinationInClickhouse | DestinationInEventBridge | DestinationInSnowflake | DestinationInRabbitMq | DestinationInRedshift | DestinationInPostgres);
|
|
922
|
+
//#endregion
|
|
923
|
+
//#region src/models/azureBlobStorageConfigOut.d.ts
|
|
924
|
+
interface AzureBlobStorageConfigOut {
|
|
925
|
+
container: string;
|
|
926
|
+
account: string;
|
|
927
|
+
}
|
|
928
|
+
//#endregion
|
|
929
|
+
//#region src/models/bigQueryConfigOut.d.ts
|
|
930
|
+
interface BigQueryConfigOut {
|
|
931
|
+
projectId: string;
|
|
932
|
+
datasetId: string;
|
|
933
|
+
tableId: string;
|
|
934
|
+
}
|
|
935
|
+
//#endregion
|
|
936
|
+
//#region src/models/clickhouseConfigOut.d.ts
|
|
937
|
+
interface ClickhouseConfigOut {
|
|
938
|
+
url: string;
|
|
939
|
+
username: string;
|
|
940
|
+
database: string;
|
|
941
|
+
tableName: string;
|
|
942
|
+
}
|
|
943
|
+
//#endregion
|
|
944
|
+
//#region src/models/destinationStatus.d.ts
|
|
945
|
+
declare enum DestinationStatus {
|
|
946
|
+
Enabled = "enabled",
|
|
947
|
+
Paused = "paused",
|
|
948
|
+
Disabled = "disabled",
|
|
949
|
+
Retrying = "retrying"
|
|
950
|
+
}
|
|
951
|
+
//#endregion
|
|
952
|
+
//#region src/models/eventBridgeConfigOut.d.ts
|
|
953
|
+
interface EventBridgeConfigOut {
|
|
954
|
+
eventBusName: string;
|
|
955
|
+
detailType: string;
|
|
956
|
+
accessKeyId: string;
|
|
957
|
+
region: string;
|
|
958
|
+
}
|
|
959
|
+
//#endregion
|
|
960
|
+
//#region src/models/googleCloudPubSubConfigOut.d.ts
|
|
961
|
+
interface GoogleCloudPubSubConfigOut {
|
|
962
|
+
projectId: string;
|
|
963
|
+
topicId: string;
|
|
964
|
+
}
|
|
965
|
+
//#endregion
|
|
966
|
+
//#region src/models/googleCloudStorageConfigOut.d.ts
|
|
967
|
+
interface GoogleCloudStorageConfigOut {
|
|
968
|
+
bucket: string;
|
|
969
|
+
}
|
|
970
|
+
//#endregion
|
|
971
|
+
//#region src/models/endpointHeadersOut.d.ts
|
|
972
|
+
/**
|
|
973
|
+
* The value of the headers is returned in the `headers` field.
|
|
974
|
+
*
|
|
975
|
+
* Sensitive headers that have been redacted are returned in the sensitive field.
|
|
976
|
+
*/
|
|
977
|
+
interface EndpointHeadersOut {
|
|
978
|
+
headers: {
|
|
979
|
+
[key: string]: string;
|
|
980
|
+
};
|
|
981
|
+
sensitive: string[];
|
|
982
|
+
}
|
|
983
|
+
//#endregion
|
|
984
|
+
//#region src/models/otelTracingConfigOut.d.ts
|
|
985
|
+
interface OtelTracingConfigOut {
|
|
986
|
+
url: string;
|
|
987
|
+
headers: EndpointHeadersOut;
|
|
988
|
+
}
|
|
989
|
+
//#endregion
|
|
990
|
+
//#region src/models/postgresConfigOut.d.ts
|
|
991
|
+
interface PostgresConfigOut {
|
|
992
|
+
url: string;
|
|
993
|
+
tableName: string;
|
|
994
|
+
sslRootCert?: string | null;
|
|
995
|
+
}
|
|
996
|
+
//#endregion
|
|
997
|
+
//#region src/models/rabbitMqConfigOut.d.ts
|
|
998
|
+
interface RabbitMqConfigOut {
|
|
999
|
+
routingKey: string;
|
|
1000
|
+
}
|
|
1001
|
+
//#endregion
|
|
1002
|
+
//#region src/models/redshiftConfigOut.d.ts
|
|
1003
|
+
interface RedshiftConfigOut {
|
|
1004
|
+
accessKeyId: string;
|
|
1005
|
+
region: string;
|
|
1006
|
+
clusterIdentifier?: string | null;
|
|
1007
|
+
dbUser?: string | null;
|
|
1008
|
+
workgroupName?: string | null;
|
|
1009
|
+
/**
|
|
1010
|
+
* Database name.
|
|
1011
|
+
*
|
|
1012
|
+
* Only required if not using transformations.
|
|
1013
|
+
*/
|
|
1014
|
+
dbName?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Schema name.
|
|
1017
|
+
*
|
|
1018
|
+
* Only used if not using transformations.
|
|
1019
|
+
*/
|
|
1020
|
+
schemaName?: string | null;
|
|
1021
|
+
/**
|
|
1022
|
+
* Table name.
|
|
1023
|
+
*
|
|
1024
|
+
* Only required if not using transformations.
|
|
1025
|
+
*/
|
|
1026
|
+
tableName?: string;
|
|
1027
|
+
}
|
|
1028
|
+
//#endregion
|
|
1029
|
+
//#region src/models/s3ConfigOut.d.ts
|
|
1030
|
+
interface S3ConfigOut {
|
|
1031
|
+
bucket: string;
|
|
1032
|
+
accessKeyId?: string | null;
|
|
1033
|
+
region: string;
|
|
1034
|
+
endpointUrl?: string | null;
|
|
1035
|
+
roleArn?: string | null;
|
|
1036
|
+
externalId?: string | null;
|
|
1037
|
+
}
|
|
1038
|
+
//#endregion
|
|
1039
|
+
//#region src/models/sinkHttpConfigOut.d.ts
|
|
1040
|
+
interface SinkHttpConfigOut {
|
|
1041
|
+
url: string;
|
|
1042
|
+
headers: EndpointHeadersOut;
|
|
1043
|
+
}
|
|
1044
|
+
//#endregion
|
|
1045
|
+
//#region src/models/snowflakeConfigOut.d.ts
|
|
1046
|
+
interface SnowflakeConfigOut {
|
|
1047
|
+
accountIdentifier: string;
|
|
1048
|
+
userId: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* Database name.
|
|
1051
|
+
*
|
|
1052
|
+
* Only required if not using transformations.
|
|
1053
|
+
*/
|
|
1054
|
+
dbName?: string;
|
|
1055
|
+
/**
|
|
1056
|
+
* Schema name.
|
|
1057
|
+
*
|
|
1058
|
+
* Only required if not using transformations.
|
|
1059
|
+
*/
|
|
1060
|
+
schemaName?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Table name.
|
|
1063
|
+
*
|
|
1064
|
+
* Only required if not using transformations.
|
|
1065
|
+
*/
|
|
1066
|
+
tableName?: string;
|
|
1067
|
+
}
|
|
1068
|
+
//#endregion
|
|
1069
|
+
//#region src/models/snsConfigOut.d.ts
|
|
1070
|
+
interface SnsConfigOut {
|
|
1071
|
+
topicArn: string;
|
|
1072
|
+
region: string;
|
|
1073
|
+
accessKeyId: string;
|
|
1074
|
+
}
|
|
1075
|
+
//#endregion
|
|
1076
|
+
//#region src/models/sqsConfigOut.d.ts
|
|
1077
|
+
interface SqsConfigOut {
|
|
1078
|
+
queueUrl: string;
|
|
1079
|
+
region: string;
|
|
1080
|
+
accessKeyId: string;
|
|
1081
|
+
endpointUrl?: string | null;
|
|
1082
|
+
}
|
|
1083
|
+
//#endregion
|
|
1084
|
+
//#region src/models/destinationOut.d.ts
|
|
1085
|
+
interface _DestinationOutFields {
|
|
1086
|
+
/** The Destination's ID. */
|
|
1087
|
+
id: string;
|
|
1088
|
+
/** The Destination's UID. */
|
|
1089
|
+
uid?: string | null;
|
|
1090
|
+
status: DestinationStatus;
|
|
1091
|
+
currentIterator: string;
|
|
1092
|
+
failureReason?: string | null;
|
|
1093
|
+
createdAt: Date;
|
|
1094
|
+
updatedAt: Date;
|
|
1095
|
+
batchSize: number;
|
|
1096
|
+
maxWaitSecs: number;
|
|
1097
|
+
eventTypes?: string[];
|
|
1098
|
+
channels?: string[];
|
|
1099
|
+
nextRetryAt?: Date | null;
|
|
1100
|
+
metadata: {
|
|
1101
|
+
[key: string]: string;
|
|
1102
|
+
};
|
|
1103
|
+
}
|
|
1104
|
+
interface DestinationOutPollingEndpointConfig {}
|
|
1105
|
+
interface DestinationOutPollingEndpoint {
|
|
1106
|
+
type: "pollingEndpoint";
|
|
1107
|
+
config?: DestinationOutPollingEndpointConfig;
|
|
1108
|
+
}
|
|
1109
|
+
interface DestinationOutAzureBlobStorage {
|
|
1110
|
+
type: "azureBlobStorage";
|
|
1111
|
+
config: AzureBlobStorageConfigOut;
|
|
1112
|
+
}
|
|
1113
|
+
interface DestinationOutOtelTracing {
|
|
1114
|
+
type: "otelTracing";
|
|
1115
|
+
config: OtelTracingConfigOut;
|
|
1116
|
+
}
|
|
1117
|
+
interface DestinationOutFifoEndpoint {
|
|
1118
|
+
type: "fifoEndpoint";
|
|
1119
|
+
config: SinkHttpConfigOut;
|
|
1120
|
+
}
|
|
1121
|
+
interface DestinationOutAmazonS3 {
|
|
1122
|
+
type: "amazonS3";
|
|
1123
|
+
config: S3ConfigOut;
|
|
1124
|
+
}
|
|
1125
|
+
interface DestinationOutSnowflake {
|
|
1126
|
+
type: "snowflake";
|
|
1127
|
+
config: SnowflakeConfigOut;
|
|
1128
|
+
}
|
|
1129
|
+
interface DestinationOutGoogleCloudStorage {
|
|
1130
|
+
type: "googleCloudStorage";
|
|
1131
|
+
config: GoogleCloudStorageConfigOut;
|
|
1132
|
+
}
|
|
1133
|
+
interface DestinationOutGoogleCloudPubSub {
|
|
1134
|
+
type: "googleCloudPubSub";
|
|
1135
|
+
config: GoogleCloudPubSubConfigOut;
|
|
1136
|
+
}
|
|
1137
|
+
interface DestinationOutRedshift {
|
|
1138
|
+
type: "redshift";
|
|
1139
|
+
config: RedshiftConfigOut;
|
|
1140
|
+
}
|
|
1141
|
+
interface DestinationOutBigQuery {
|
|
1142
|
+
type: "bigQuery";
|
|
1143
|
+
config: BigQueryConfigOut;
|
|
1144
|
+
}
|
|
1145
|
+
interface DestinationOutClickhouse {
|
|
1146
|
+
type: "clickhouse";
|
|
1147
|
+
config: ClickhouseConfigOut;
|
|
1148
|
+
}
|
|
1149
|
+
interface DestinationOutRabbitMq {
|
|
1150
|
+
type: "rabbitMq";
|
|
1151
|
+
config: RabbitMqConfigOut;
|
|
1152
|
+
}
|
|
1153
|
+
interface DestinationOutSqs {
|
|
1154
|
+
type: "sqs";
|
|
1155
|
+
config: SqsConfigOut;
|
|
1156
|
+
}
|
|
1157
|
+
interface DestinationOutEventBridge {
|
|
1158
|
+
type: "eventBridge";
|
|
1159
|
+
config: EventBridgeConfigOut;
|
|
1160
|
+
}
|
|
1161
|
+
interface DestinationOutSns {
|
|
1162
|
+
type: "sns";
|
|
1163
|
+
config: SnsConfigOut;
|
|
1164
|
+
}
|
|
1165
|
+
interface DestinationOutPostgres {
|
|
1166
|
+
type: "postgres";
|
|
1167
|
+
config: PostgresConfigOut;
|
|
1168
|
+
}
|
|
1169
|
+
type DestinationOut = _DestinationOutFields & (DestinationOutPollingEndpoint | DestinationOutAzureBlobStorage | DestinationOutOtelTracing | DestinationOutFifoEndpoint | DestinationOutAmazonS3 | DestinationOutSnowflake | DestinationOutGoogleCloudStorage | DestinationOutGoogleCloudPubSub | DestinationOutRedshift | DestinationOutBigQuery | DestinationOutClickhouse | DestinationOutRabbitMq | DestinationOutSqs | DestinationOutEventBridge | DestinationOutSns | DestinationOutPostgres);
|
|
1170
|
+
//#endregion
|
|
1171
|
+
//#region src/models/azureBlobStorageConfigPatch.d.ts
|
|
1172
|
+
interface AzureBlobStorageConfigPatch {
|
|
1173
|
+
container?: string;
|
|
1174
|
+
account?: string;
|
|
1175
|
+
accessKey?: string;
|
|
1176
|
+
}
|
|
1177
|
+
//#endregion
|
|
1178
|
+
//#region src/models/bigQueryConfigPatch.d.ts
|
|
1179
|
+
interface BigQueryConfigPatch {
|
|
1180
|
+
projectId?: string;
|
|
1181
|
+
datasetId?: string;
|
|
1182
|
+
tableId?: string;
|
|
1183
|
+
credentials?: string;
|
|
1184
|
+
}
|
|
1185
|
+
//#endregion
|
|
1186
|
+
//#region src/models/clickhouseConfigPatch.d.ts
|
|
1187
|
+
interface ClickhouseConfigPatch {
|
|
1188
|
+
url?: string;
|
|
1189
|
+
username?: string;
|
|
1190
|
+
password?: string;
|
|
1191
|
+
database?: string;
|
|
1192
|
+
tableName?: string;
|
|
1193
|
+
}
|
|
1194
|
+
//#endregion
|
|
1195
|
+
//#region src/models/eventBridgeConfigPatch.d.ts
|
|
1196
|
+
interface EventBridgeConfigPatch {
|
|
1197
|
+
eventBusName?: string;
|
|
1198
|
+
detailType?: string;
|
|
1199
|
+
accessKeyId?: string;
|
|
1200
|
+
secretAccessKey?: string;
|
|
1201
|
+
region?: string;
|
|
1202
|
+
}
|
|
1203
|
+
//#endregion
|
|
1204
|
+
//#region src/models/googleCloudPubSubConfigPatch.d.ts
|
|
1205
|
+
interface GoogleCloudPubSubConfigPatch {
|
|
1206
|
+
projectId?: string;
|
|
1207
|
+
topicId?: string;
|
|
1208
|
+
credentials?: string;
|
|
1209
|
+
}
|
|
1210
|
+
//#endregion
|
|
1211
|
+
//#region src/models/googleCloudStorageConfigPatch.d.ts
|
|
1212
|
+
interface GoogleCloudStorageConfigPatch {
|
|
1213
|
+
bucket?: string;
|
|
1214
|
+
credentials?: string;
|
|
1215
|
+
}
|
|
1216
|
+
//#endregion
|
|
1217
|
+
//#region src/models/otelTracingConfigPatch.d.ts
|
|
1218
|
+
interface OtelTracingConfigPatch {
|
|
1219
|
+
url?: string;
|
|
1220
|
+
}
|
|
1221
|
+
//#endregion
|
|
1222
|
+
//#region src/models/postgresConfigPatch.d.ts
|
|
1223
|
+
interface PostgresConfigPatch {
|
|
1224
|
+
url?: string;
|
|
1225
|
+
password?: string;
|
|
1226
|
+
tableName?: string;
|
|
1227
|
+
sslRootCert?: string;
|
|
1228
|
+
}
|
|
1229
|
+
//#endregion
|
|
1230
|
+
//#region src/models/rabbitMqConfigPatch.d.ts
|
|
1231
|
+
interface RabbitMqConfigPatch {
|
|
1232
|
+
routingKey?: string;
|
|
1233
|
+
uri?: string;
|
|
1234
|
+
}
|
|
1235
|
+
//#endregion
|
|
1236
|
+
//#region src/models/redshiftConfigPatch.d.ts
|
|
1237
|
+
interface RedshiftConfigPatch {
|
|
1238
|
+
accessKeyId?: string;
|
|
1239
|
+
secretAccessKey?: string;
|
|
1240
|
+
region?: string;
|
|
1241
|
+
/**
|
|
1242
|
+
* Database name.
|
|
1243
|
+
*
|
|
1244
|
+
* Only required if not using transformations.
|
|
1245
|
+
*/
|
|
1246
|
+
dbName?: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* Schema name.
|
|
1249
|
+
*
|
|
1250
|
+
* Only used if not using transformations.
|
|
1251
|
+
*/
|
|
1252
|
+
schemaName?: string | null;
|
|
1253
|
+
/**
|
|
1254
|
+
* Table name.
|
|
1255
|
+
*
|
|
1256
|
+
* Only required if not using transformations.
|
|
1257
|
+
*/
|
|
1258
|
+
tableName?: string;
|
|
1259
|
+
}
|
|
1260
|
+
//#endregion
|
|
1261
|
+
//#region src/models/s3ConfigPatch.d.ts
|
|
1262
|
+
interface S3ConfigPatch {
|
|
1263
|
+
bucket?: string;
|
|
1264
|
+
accessKeyId?: string;
|
|
1265
|
+
secretAccessKey?: string;
|
|
1266
|
+
roleArn?: string;
|
|
1267
|
+
externalId?: string;
|
|
1268
|
+
region?: string;
|
|
1269
|
+
endpointUrl?: string;
|
|
1270
|
+
}
|
|
1271
|
+
//#endregion
|
|
1272
|
+
//#region src/models/sinkHttpConfigPatch.d.ts
|
|
1273
|
+
interface SinkHttpConfigPatch {
|
|
1274
|
+
url?: string;
|
|
1275
|
+
}
|
|
1276
|
+
//#endregion
|
|
1277
|
+
//#region src/models/snowflakeConfigPatch.d.ts
|
|
1278
|
+
interface SnowflakeConfigPatch {
|
|
1279
|
+
privateKey?: string;
|
|
1280
|
+
accountIdentifier?: string;
|
|
1281
|
+
userId?: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* Database name.
|
|
1284
|
+
*
|
|
1285
|
+
* Only required if not using transformations.
|
|
1286
|
+
*/
|
|
1287
|
+
dbName?: string;
|
|
1288
|
+
/**
|
|
1289
|
+
* Schema name.
|
|
1290
|
+
*
|
|
1291
|
+
* Only required if not using transformations.
|
|
1292
|
+
*/
|
|
1293
|
+
schemaName?: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* Table name.
|
|
1296
|
+
*
|
|
1297
|
+
* Only required if not using transformations.
|
|
1298
|
+
*/
|
|
1299
|
+
tableName?: string;
|
|
1300
|
+
}
|
|
1301
|
+
//#endregion
|
|
1302
|
+
//#region src/models/snsConfigPatch.d.ts
|
|
1303
|
+
interface SnsConfigPatch {
|
|
1304
|
+
topicArn?: string;
|
|
1305
|
+
region?: string;
|
|
1306
|
+
accessKeyId?: string;
|
|
1307
|
+
secretAccessKey?: string;
|
|
1308
|
+
endpointUrl?: string | null;
|
|
1309
|
+
}
|
|
1310
|
+
//#endregion
|
|
1311
|
+
//#region src/models/sqsConfigPatch.d.ts
|
|
1312
|
+
interface SqsConfigPatch {
|
|
1313
|
+
queueUrl?: string;
|
|
1314
|
+
region?: string;
|
|
1315
|
+
accessKeyId?: string;
|
|
1316
|
+
secretAccessKey?: string;
|
|
1317
|
+
endpointUrl?: string | null;
|
|
1318
|
+
}
|
|
1319
|
+
//#endregion
|
|
1320
|
+
//#region src/models/destinationPatch.d.ts
|
|
1321
|
+
interface _DestinationPatchFields {
|
|
1322
|
+
/** The Destination's UID. */
|
|
1323
|
+
uid?: string | null;
|
|
1324
|
+
status?: DestinationStatusIn | null;
|
|
1325
|
+
batchSize?: number | null;
|
|
1326
|
+
maxWaitSecs?: number | null;
|
|
1327
|
+
eventTypes?: string[];
|
|
1328
|
+
channels?: string[];
|
|
1329
|
+
metadata?: {
|
|
1330
|
+
[key: string]: string;
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
interface DestinationPatchPollingEndpointConfig {}
|
|
1334
|
+
interface DestinationPatchPollingEndpoint {
|
|
1335
|
+
type: "pollingEndpoint";
|
|
1336
|
+
config?: DestinationPatchPollingEndpointConfig;
|
|
1337
|
+
}
|
|
1338
|
+
interface DestinationPatchAzureBlobStorage {
|
|
1339
|
+
type: "azureBlobStorage";
|
|
1340
|
+
config: AzureBlobStorageConfigPatch;
|
|
1341
|
+
}
|
|
1342
|
+
interface DestinationPatchOtelTracing {
|
|
1343
|
+
type: "otelTracing";
|
|
1344
|
+
config: OtelTracingConfigPatch;
|
|
1345
|
+
}
|
|
1346
|
+
interface DestinationPatchFifoEndpoint {
|
|
1347
|
+
type: "fifoEndpoint";
|
|
1348
|
+
config: SinkHttpConfigPatch;
|
|
1349
|
+
}
|
|
1350
|
+
interface DestinationPatchAmazonS3 {
|
|
1351
|
+
type: "amazonS3";
|
|
1352
|
+
config: S3ConfigPatch;
|
|
1353
|
+
}
|
|
1354
|
+
interface DestinationPatchGoogleCloudStorage {
|
|
1355
|
+
type: "googleCloudStorage";
|
|
1356
|
+
config: GoogleCloudStorageConfigPatch;
|
|
1357
|
+
}
|
|
1358
|
+
interface DestinationPatchGoogleCloudPubSub {
|
|
1359
|
+
type: "googleCloudPubSub";
|
|
1360
|
+
config: GoogleCloudPubSubConfigPatch;
|
|
1361
|
+
}
|
|
1362
|
+
interface DestinationPatchSqs {
|
|
1363
|
+
type: "sqs";
|
|
1364
|
+
config: SqsConfigPatch;
|
|
1365
|
+
}
|
|
1366
|
+
interface DestinationPatchSns {
|
|
1367
|
+
type: "sns";
|
|
1368
|
+
config: SnsConfigPatch;
|
|
1369
|
+
}
|
|
1370
|
+
interface DestinationPatchBigQuery {
|
|
1371
|
+
type: "bigQuery";
|
|
1372
|
+
config: BigQueryConfigPatch;
|
|
1373
|
+
}
|
|
1374
|
+
interface DestinationPatchClickhouse {
|
|
1375
|
+
type: "clickhouse";
|
|
1376
|
+
config: ClickhouseConfigPatch;
|
|
1377
|
+
}
|
|
1378
|
+
interface DestinationPatchEventBridge {
|
|
1379
|
+
type: "eventBridge";
|
|
1380
|
+
config: EventBridgeConfigPatch;
|
|
1381
|
+
}
|
|
1382
|
+
interface DestinationPatchSnowflake {
|
|
1383
|
+
type: "snowflake";
|
|
1384
|
+
config: SnowflakeConfigPatch;
|
|
1385
|
+
}
|
|
1386
|
+
interface DestinationPatchRabbitMq {
|
|
1387
|
+
type: "rabbitMq";
|
|
1388
|
+
config: RabbitMqConfigPatch;
|
|
1389
|
+
}
|
|
1390
|
+
interface DestinationPatchRedshift {
|
|
1391
|
+
type: "redshift";
|
|
1392
|
+
config: RedshiftConfigPatch;
|
|
1393
|
+
}
|
|
1394
|
+
interface DestinationPatchPostgres {
|
|
1395
|
+
type: "postgres";
|
|
1396
|
+
config: PostgresConfigPatch;
|
|
1397
|
+
}
|
|
1398
|
+
type DestinationPatch = _DestinationPatchFields & (DestinationPatchPollingEndpoint | DestinationPatchAzureBlobStorage | DestinationPatchOtelTracing | DestinationPatchFifoEndpoint | DestinationPatchAmazonS3 | DestinationPatchGoogleCloudStorage | DestinationPatchGoogleCloudPubSub | DestinationPatchSqs | DestinationPatchSns | DestinationPatchBigQuery | DestinationPatchClickhouse | DestinationPatchEventBridge | DestinationPatchSnowflake | DestinationPatchRabbitMq | DestinationPatchRedshift | DestinationPatchPostgres);
|
|
1399
|
+
//#endregion
|
|
1400
|
+
//#region src/models/listResponseDestinationOut.d.ts
|
|
1401
|
+
interface ListResponseDestinationOut {
|
|
1402
|
+
data: DestinationOut[];
|
|
1403
|
+
iterator: string | null;
|
|
1404
|
+
prevIterator?: string | null;
|
|
1405
|
+
done: boolean;
|
|
1406
|
+
}
|
|
1407
|
+
//#endregion
|
|
1408
|
+
//#region src/models/destinationTransformIn.d.ts
|
|
1409
|
+
interface DestinationTransformIn {
|
|
1410
|
+
code?: string | null;
|
|
1411
|
+
}
|
|
1412
|
+
//#endregion
|
|
1413
|
+
//#region src/models/destinationTransformationOut.d.ts
|
|
1414
|
+
interface DestinationTransformationOut {
|
|
1415
|
+
code?: string | null;
|
|
1416
|
+
enabled: boolean;
|
|
1417
|
+
}
|
|
1418
|
+
//#endregion
|
|
1419
|
+
//#region src/models/emptyResponse.d.ts
|
|
1420
|
+
interface EmptyResponse {}
|
|
1421
|
+
//#endregion
|
|
1422
|
+
//#region src/api/destinationTransformation.d.ts
|
|
1423
|
+
declare class DestinationTransformation {
|
|
1424
|
+
private readonly requestCtx;
|
|
1425
|
+
constructor(requestCtx: SvixRequestContext);
|
|
1426
|
+
/** Get the transformation code associated with this destination. */
|
|
1427
|
+
get(appId: string, destinationId: string): Promise<DestinationTransformationOut>;
|
|
1428
|
+
/** Set or unset the transformation code associated with this destination. */
|
|
1429
|
+
patch(appId: string, destinationId: string, destinationTransformIn?: DestinationTransformIn): Promise<EmptyResponse>;
|
|
1430
|
+
}
|
|
1431
|
+
//#endregion
|
|
1432
|
+
//#region src/api/destination.d.ts
|
|
1433
|
+
interface DestinationListOptions {
|
|
1434
|
+
/** Limit the number of returned items */
|
|
1435
|
+
limit?: number;
|
|
1436
|
+
/** The iterator returned from a prior invocation */
|
|
1437
|
+
iterator?: string | null;
|
|
1438
|
+
/** The sorting order of the returned items */
|
|
1439
|
+
order?: Ordering;
|
|
1440
|
+
}
|
|
1441
|
+
interface DestinationCreateOptions {
|
|
1442
|
+
idempotencyKey?: string;
|
|
1443
|
+
}
|
|
1444
|
+
declare class Destination {
|
|
1445
|
+
private readonly requestCtx;
|
|
1446
|
+
constructor(requestCtx: SvixRequestContext);
|
|
1447
|
+
get transformation(): DestinationTransformation;
|
|
1448
|
+
/** List of all the application's destinations. */
|
|
1449
|
+
list(appId: string, options?: DestinationListOptions): Promise<ListResponseDestinationOut>;
|
|
1450
|
+
/** Creates a new destination. */
|
|
1451
|
+
create(appId: string, destinationIn: DestinationIn, options?: DestinationCreateOptions): Promise<DestinationOut>;
|
|
1452
|
+
/** Get a destination by id or uid. */
|
|
1453
|
+
get(appId: string, destinationId: string): Promise<DestinationOut>;
|
|
1454
|
+
/** Create or update a destination. */
|
|
1455
|
+
upsert(appId: string, destinationId: string, destinationIn: DestinationIn): Promise<DestinationOut>;
|
|
1456
|
+
/** Delete a destination. */
|
|
1457
|
+
delete(appId: string, destinationId: string): Promise<void>;
|
|
1458
|
+
/** Partially update a destination. */
|
|
1459
|
+
patch(appId: string, destinationId: string, destinationPatch: DestinationPatch): Promise<DestinationOut>;
|
|
1460
|
+
}
|
|
1461
|
+
//#endregion
|
|
513
1462
|
//#region src/models/messageStatus.d.ts
|
|
514
1463
|
/**
|
|
515
1464
|
* The sending status of the message:
|
|
@@ -566,19 +1515,6 @@ interface EndpointHeadersIn {
|
|
|
566
1515
|
};
|
|
567
1516
|
}
|
|
568
1517
|
//#endregion
|
|
569
|
-
//#region src/models/endpointHeadersOut.d.ts
|
|
570
|
-
/**
|
|
571
|
-
* The value of the headers is returned in the `headers` field.
|
|
572
|
-
*
|
|
573
|
-
* Sensitive headers that have been redacted are returned in the sensitive field.
|
|
574
|
-
*/
|
|
575
|
-
interface EndpointHeadersOut {
|
|
576
|
-
headers: {
|
|
577
|
-
[key: string]: string;
|
|
578
|
-
};
|
|
579
|
-
sensitive: string[];
|
|
580
|
-
}
|
|
581
|
-
//#endregion
|
|
582
1518
|
//#region src/models/endpointHeadersPatchIn.d.ts
|
|
583
1519
|
interface EndpointHeadersPatchIn {
|
|
584
1520
|
headers: {
|
|
@@ -1443,6 +2379,11 @@ interface HubspotConfig {
|
|
|
1443
2379
|
secret?: string | null;
|
|
1444
2380
|
}
|
|
1445
2381
|
//#endregion
|
|
2382
|
+
//#region src/models/mergeConfig.d.ts
|
|
2383
|
+
interface MergeConfig {
|
|
2384
|
+
secret: string;
|
|
2385
|
+
}
|
|
2386
|
+
//#endregion
|
|
1446
2387
|
//#region src/models/metaConfig.d.ts
|
|
1447
2388
|
interface MetaConfig {
|
|
1448
2389
|
secret: string;
|
|
@@ -1607,6 +2548,10 @@ interface IngestSourceInLithic {
|
|
|
1607
2548
|
type: "lithic";
|
|
1608
2549
|
config: SvixConfig;
|
|
1609
2550
|
}
|
|
2551
|
+
interface IngestSourceInMerge {
|
|
2552
|
+
type: "merge";
|
|
2553
|
+
config: MergeConfig;
|
|
2554
|
+
}
|
|
1610
2555
|
interface IngestSourceInMeta {
|
|
1611
2556
|
type: "meta";
|
|
1612
2557
|
config: MetaConfig;
|
|
@@ -1723,7 +2668,7 @@ interface IngestSourceInVgs {
|
|
|
1723
2668
|
type: "vgs";
|
|
1724
2669
|
config: VgsConfig;
|
|
1725
2670
|
}
|
|
1726
|
-
type IngestSourceIn = _IngestSourceInFields & (IngestSourceInGenericWebhook | IngestSourceInCron | IngestSourceInAdobeSign | IngestSourceInBeehiiv | IngestSourceInBrex | IngestSourceInCheckbook | IngestSourceInClerk | IngestSourceInDocusign | IngestSourceInEasypost | IngestSourceInGithub | IngestSourceInGuesty | IngestSourceInHubspot | IngestSourceInIncidentIo | IngestSourceInLithic | IngestSourceInMeta | IngestSourceInNango | IngestSourceInNash | IngestSourceInOpenclaw | IngestSourceInOrumIo | IngestSourceInPandaDoc | IngestSourceInPortIo | IngestSourceInPleo | IngestSourceInPsiFi | IngestSourceInReplicate | IngestSourceInResend | IngestSourceInRutter | IngestSourceInSafebase | IngestSourceInSardine | IngestSourceInSegment | IngestSourceInShopify | IngestSourceInSlack | IngestSourceInStripe | IngestSourceInStych | IngestSourceInSvix | IngestSourceInZoom | IngestSourceInTailscale | IngestSourceInTelnyx | IngestSourceInVapi | IngestSourceInOpenAi | IngestSourceInRender | IngestSourceInVeriff | IngestSourceInAirwallex | IngestSourceInVgs);
|
|
2671
|
+
type IngestSourceIn = _IngestSourceInFields & (IngestSourceInGenericWebhook | IngestSourceInCron | IngestSourceInAdobeSign | IngestSourceInBeehiiv | IngestSourceInBrex | IngestSourceInCheckbook | IngestSourceInClerk | IngestSourceInDocusign | IngestSourceInEasypost | IngestSourceInGithub | IngestSourceInGuesty | IngestSourceInHubspot | IngestSourceInIncidentIo | IngestSourceInLithic | IngestSourceInMerge | IngestSourceInMeta | IngestSourceInNango | IngestSourceInNash | IngestSourceInOpenclaw | IngestSourceInOrumIo | IngestSourceInPandaDoc | IngestSourceInPortIo | IngestSourceInPleo | IngestSourceInPsiFi | IngestSourceInReplicate | IngestSourceInResend | IngestSourceInRutter | IngestSourceInSafebase | IngestSourceInSardine | IngestSourceInSegment | IngestSourceInShopify | IngestSourceInSlack | IngestSourceInStripe | IngestSourceInStych | IngestSourceInSvix | IngestSourceInZoom | IngestSourceInTailscale | IngestSourceInTelnyx | IngestSourceInVapi | IngestSourceInOpenAi | IngestSourceInRender | IngestSourceInVeriff | IngestSourceInAirwallex | IngestSourceInVgs);
|
|
1727
2672
|
//#endregion
|
|
1728
2673
|
//#region src/models/adobeSignConfigOut.d.ts
|
|
1729
2674
|
interface AdobeSignConfigOut {}
|
|
@@ -1746,6 +2691,9 @@ interface GithubConfigOut {}
|
|
|
1746
2691
|
//#region src/models/hubspotConfigOut.d.ts
|
|
1747
2692
|
interface HubspotConfigOut {}
|
|
1748
2693
|
//#endregion
|
|
2694
|
+
//#region src/models/mergeConfigOut.d.ts
|
|
2695
|
+
interface MergeConfigOut {}
|
|
2696
|
+
//#endregion
|
|
1749
2697
|
//#region src/models/metaConfigOut.d.ts
|
|
1750
2698
|
interface MetaConfigOut {}
|
|
1751
2699
|
//#endregion
|
|
@@ -1875,6 +2823,10 @@ interface IngestSourceOutLithic {
|
|
|
1875
2823
|
type: "lithic";
|
|
1876
2824
|
config: SvixConfigOut;
|
|
1877
2825
|
}
|
|
2826
|
+
interface IngestSourceOutMerge {
|
|
2827
|
+
type: "merge";
|
|
2828
|
+
config: MergeConfigOut;
|
|
2829
|
+
}
|
|
1878
2830
|
interface IngestSourceOutMeta {
|
|
1879
2831
|
type: "meta";
|
|
1880
2832
|
config: MetaConfigOut;
|
|
@@ -1991,7 +2943,7 @@ interface IngestSourceOutVgs {
|
|
|
1991
2943
|
type: "vgs";
|
|
1992
2944
|
config: VgsConfigOut;
|
|
1993
2945
|
}
|
|
1994
|
-
type IngestSourceOut = _IngestSourceOutFields & (IngestSourceOutGenericWebhook | IngestSourceOutCron | IngestSourceOutAdobeSign | IngestSourceOutBeehiiv | IngestSourceOutBrex | IngestSourceOutCheckbook | IngestSourceOutClerk | IngestSourceOutDocusign | IngestSourceOutEasypost | IngestSourceOutGithub | IngestSourceOutGuesty | IngestSourceOutHubspot | IngestSourceOutIncidentIo | IngestSourceOutLithic | IngestSourceOutMeta | IngestSourceOutNango | IngestSourceOutNash | IngestSourceOutOpenclaw | IngestSourceOutOrumIo | IngestSourceOutPandaDoc | IngestSourceOutPortIo | IngestSourceOutPsiFi | IngestSourceOutPleo | IngestSourceOutReplicate | IngestSourceOutResend | IngestSourceOutRutter | IngestSourceOutSafebase | IngestSourceOutSardine | IngestSourceOutSegment | IngestSourceOutShopify | IngestSourceOutSlack | IngestSourceOutStripe | IngestSourceOutStych | IngestSourceOutSvix | IngestSourceOutZoom | IngestSourceOutTailscale | IngestSourceOutTelnyx | IngestSourceOutVapi | IngestSourceOutOpenAi | IngestSourceOutRender | IngestSourceOutVeriff | IngestSourceOutAirwallex | IngestSourceOutVgs);
|
|
2946
|
+
type IngestSourceOut = _IngestSourceOutFields & (IngestSourceOutGenericWebhook | IngestSourceOutCron | IngestSourceOutAdobeSign | IngestSourceOutBeehiiv | IngestSourceOutBrex | IngestSourceOutCheckbook | IngestSourceOutClerk | IngestSourceOutDocusign | IngestSourceOutEasypost | IngestSourceOutGithub | IngestSourceOutGuesty | IngestSourceOutHubspot | IngestSourceOutIncidentIo | IngestSourceOutLithic | IngestSourceOutMerge | IngestSourceOutMeta | IngestSourceOutNango | IngestSourceOutNash | IngestSourceOutOpenclaw | IngestSourceOutOrumIo | IngestSourceOutPandaDoc | IngestSourceOutPortIo | IngestSourceOutPsiFi | IngestSourceOutPleo | IngestSourceOutReplicate | IngestSourceOutResend | IngestSourceOutRutter | IngestSourceOutSafebase | IngestSourceOutSardine | IngestSourceOutSegment | IngestSourceOutShopify | IngestSourceOutSlack | IngestSourceOutStripe | IngestSourceOutStych | IngestSourceOutSvix | IngestSourceOutZoom | IngestSourceOutTailscale | IngestSourceOutTelnyx | IngestSourceOutVapi | IngestSourceOutOpenAi | IngestSourceOutRender | IngestSourceOutVeriff | IngestSourceOutAirwallex | IngestSourceOutVgs);
|
|
1995
2947
|
//#endregion
|
|
1996
2948
|
//#region src/models/listResponseIngestSourceOut.d.ts
|
|
1997
2949
|
interface ListResponseIngestSourceOut {
|
|
@@ -2421,9 +3373,6 @@ declare class Message {
|
|
|
2421
3373
|
*/
|
|
2422
3374
|
declare function messageInRaw(eventType: string, payload: string, contentType?: string): MessageIn;
|
|
2423
3375
|
//#endregion
|
|
2424
|
-
//#region src/models/emptyResponse.d.ts
|
|
2425
|
-
interface EmptyResponse {}
|
|
2426
|
-
//#endregion
|
|
2427
3376
|
//#region src/models/messageStatusText.d.ts
|
|
2428
3377
|
declare enum MessageStatusText {
|
|
2429
3378
|
Success = "success",
|
|
@@ -3089,136 +4038,44 @@ interface CreateStreamEventsIn {
|
|
|
3089
4038
|
//#endregion
|
|
3090
4039
|
//#region src/models/createStreamEventsOut.d.ts
|
|
3091
4040
|
interface CreateStreamEventsOut {}
|
|
3092
|
-
//#endregion
|
|
3093
|
-
//#region src/models/eventOut.d.ts
|
|
3094
|
-
interface EventOut {
|
|
3095
|
-
/** The event type's name */
|
|
3096
|
-
eventType: string;
|
|
3097
|
-
payload: string;
|
|
3098
|
-
timestamp: Date;
|
|
3099
|
-
}
|
|
3100
|
-
//#endregion
|
|
3101
|
-
//#region src/models/eventStreamOut.d.ts
|
|
3102
|
-
interface EventStreamOut {
|
|
3103
|
-
data: EventOut[];
|
|
3104
|
-
iterator: string;
|
|
3105
|
-
done: boolean;
|
|
3106
|
-
}
|
|
3107
|
-
//#endregion
|
|
3108
|
-
//#region src/api/streamingEvents.d.ts
|
|
3109
|
-
interface StreamingEventsGetOptions {
|
|
3110
|
-
/** Limit the number of returned items */
|
|
3111
|
-
limit?: number;
|
|
3112
|
-
/** The iterator returned from a prior invocation */
|
|
3113
|
-
iterator?: string | null;
|
|
3114
|
-
after?: Date | null;
|
|
3115
|
-
}
|
|
3116
|
-
interface StreamingEventsCreateOptions {
|
|
3117
|
-
idempotencyKey?: string;
|
|
3118
|
-
}
|
|
3119
|
-
declare class StreamingEvents {
|
|
3120
|
-
private readonly requestCtx;
|
|
3121
|
-
constructor(requestCtx: SvixRequestContext);
|
|
3122
|
-
/**
|
|
3123
|
-
* Iterate over a stream of events.
|
|
3124
|
-
*
|
|
3125
|
-
* The sink must be of type `poller` to use the poller endpoint.
|
|
3126
|
-
*/
|
|
3127
|
-
get(streamId: string, sinkId: string, options?: StreamingEventsGetOptions): Promise<EventStreamOut>;
|
|
3128
|
-
/** Creates events on the Stream. */
|
|
3129
|
-
create(streamId: string, createStreamEventsIn: CreateStreamEventsIn, options?: StreamingEventsCreateOptions): Promise<CreateStreamEventsOut>;
|
|
3130
|
-
}
|
|
3131
|
-
//#endregion
|
|
3132
|
-
//#region src/models/azureBlobStorageConfigOut.d.ts
|
|
3133
|
-
interface AzureBlobStorageConfigOut {
|
|
3134
|
-
container: string;
|
|
3135
|
-
account: string;
|
|
3136
|
-
}
|
|
3137
|
-
//#endregion
|
|
3138
|
-
//#region src/models/bigQueryConfigOut.d.ts
|
|
3139
|
-
interface BigQueryConfigOut {
|
|
3140
|
-
projectId: string;
|
|
3141
|
-
datasetId: string;
|
|
3142
|
-
tableId: string;
|
|
3143
|
-
}
|
|
3144
|
-
//#endregion
|
|
3145
|
-
//#region src/models/clickhouseConfigOut.d.ts
|
|
3146
|
-
interface ClickhouseConfigOut {
|
|
3147
|
-
url: string;
|
|
3148
|
-
username: string;
|
|
3149
|
-
database: string;
|
|
3150
|
-
tableName: string;
|
|
3151
|
-
}
|
|
3152
|
-
//#endregion
|
|
3153
|
-
//#region src/models/eventBridgeConfigOut.d.ts
|
|
3154
|
-
interface EventBridgeConfigOut {
|
|
3155
|
-
eventBusName: string;
|
|
3156
|
-
detailType: string;
|
|
3157
|
-
accessKeyId: string;
|
|
3158
|
-
region: string;
|
|
3159
|
-
}
|
|
3160
|
-
//#endregion
|
|
3161
|
-
//#region src/models/googleCloudPubSubConfigOut.d.ts
|
|
3162
|
-
interface GoogleCloudPubSubConfigOut {
|
|
3163
|
-
projectId: string;
|
|
3164
|
-
topicId: string;
|
|
3165
|
-
}
|
|
3166
|
-
//#endregion
|
|
3167
|
-
//#region src/models/googleCloudStorageConfigOut.d.ts
|
|
3168
|
-
interface GoogleCloudStorageConfigOut {
|
|
3169
|
-
bucket: string;
|
|
3170
|
-
}
|
|
3171
|
-
//#endregion
|
|
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 {
|
|
3180
|
-
routingKey: string;
|
|
3181
|
-
}
|
|
3182
|
-
//#endregion
|
|
3183
|
-
//#region src/models/redshiftConfigOut.d.ts
|
|
3184
|
-
interface RedshiftConfigOut {
|
|
3185
|
-
accessKeyId: string;
|
|
3186
|
-
region: string;
|
|
3187
|
-
clusterIdentifier?: string | null;
|
|
3188
|
-
dbUser?: string | null;
|
|
3189
|
-
workgroupName?: string | null;
|
|
3190
|
-
/**
|
|
3191
|
-
* Database name.
|
|
3192
|
-
*
|
|
3193
|
-
* Only required if not using transformations.
|
|
3194
|
-
*/
|
|
3195
|
-
dbName?: string;
|
|
3196
|
-
/**
|
|
3197
|
-
* Schema name.
|
|
3198
|
-
*
|
|
3199
|
-
* Only used if not using transformations.
|
|
3200
|
-
*/
|
|
3201
|
-
schemaName?: string | null;
|
|
3202
|
-
/**
|
|
3203
|
-
* Table name.
|
|
3204
|
-
*
|
|
3205
|
-
* Only required if not using transformations.
|
|
3206
|
-
*/
|
|
3207
|
-
tableName?: string;
|
|
4041
|
+
//#endregion
|
|
4042
|
+
//#region src/models/eventOut.d.ts
|
|
4043
|
+
interface EventOut {
|
|
4044
|
+
/** The event type's name */
|
|
4045
|
+
eventType: string;
|
|
4046
|
+
payload: string;
|
|
4047
|
+
timestamp: Date;
|
|
3208
4048
|
}
|
|
3209
4049
|
//#endregion
|
|
3210
|
-
//#region src/models/
|
|
3211
|
-
interface
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
endpointUrl?: string | null;
|
|
4050
|
+
//#region src/models/eventStreamOut.d.ts
|
|
4051
|
+
interface EventStreamOut {
|
|
4052
|
+
data: EventOut[];
|
|
4053
|
+
iterator: string;
|
|
4054
|
+
done: boolean;
|
|
3216
4055
|
}
|
|
3217
4056
|
//#endregion
|
|
3218
|
-
//#region src/
|
|
3219
|
-
interface
|
|
3220
|
-
|
|
3221
|
-
|
|
4057
|
+
//#region src/api/streamingEvents.d.ts
|
|
4058
|
+
interface StreamingEventsGetOptions {
|
|
4059
|
+
/** Limit the number of returned items */
|
|
4060
|
+
limit?: number;
|
|
4061
|
+
/** The iterator returned from a prior invocation */
|
|
4062
|
+
iterator?: string | null;
|
|
4063
|
+
after?: Date | null;
|
|
4064
|
+
}
|
|
4065
|
+
interface StreamingEventsCreateOptions {
|
|
4066
|
+
idempotencyKey?: string;
|
|
4067
|
+
}
|
|
4068
|
+
declare class StreamingEvents {
|
|
4069
|
+
private readonly requestCtx;
|
|
4070
|
+
constructor(requestCtx: SvixRequestContext);
|
|
4071
|
+
/**
|
|
4072
|
+
* Iterate over a stream of events.
|
|
4073
|
+
*
|
|
4074
|
+
* The sink must be of type `poller` to use the poller endpoint.
|
|
4075
|
+
*/
|
|
4076
|
+
get(streamId: string, sinkId: string, options?: StreamingEventsGetOptions): Promise<EventStreamOut>;
|
|
4077
|
+
/** Creates events on the Stream. */
|
|
4078
|
+
create(streamId: string, createStreamEventsIn: CreateStreamEventsIn, options?: StreamingEventsCreateOptions): Promise<CreateStreamEventsOut>;
|
|
3222
4079
|
}
|
|
3223
4080
|
//#endregion
|
|
3224
4081
|
//#region src/models/sinkStatus.d.ts
|
|
@@ -3229,45 +4086,6 @@ declare enum SinkStatus {
|
|
|
3229
4086
|
Retrying = "retrying"
|
|
3230
4087
|
}
|
|
3231
4088
|
//#endregion
|
|
3232
|
-
//#region src/models/snowflakeConfigOut.d.ts
|
|
3233
|
-
interface SnowflakeConfigOut {
|
|
3234
|
-
accountIdentifier: string;
|
|
3235
|
-
userId: string;
|
|
3236
|
-
/**
|
|
3237
|
-
* Database name.
|
|
3238
|
-
*
|
|
3239
|
-
* Only required if not using transformations.
|
|
3240
|
-
*/
|
|
3241
|
-
dbName?: string;
|
|
3242
|
-
/**
|
|
3243
|
-
* Schema name.
|
|
3244
|
-
*
|
|
3245
|
-
* Only required if not using transformations.
|
|
3246
|
-
*/
|
|
3247
|
-
schemaName?: string;
|
|
3248
|
-
/**
|
|
3249
|
-
* Table name.
|
|
3250
|
-
*
|
|
3251
|
-
* Only required if not using transformations.
|
|
3252
|
-
*/
|
|
3253
|
-
tableName?: string;
|
|
3254
|
-
}
|
|
3255
|
-
//#endregion
|
|
3256
|
-
//#region src/models/snsConfigOut.d.ts
|
|
3257
|
-
interface SnsConfigOut {
|
|
3258
|
-
topicArn: string;
|
|
3259
|
-
region: string;
|
|
3260
|
-
accessKeyId: string;
|
|
3261
|
-
}
|
|
3262
|
-
//#endregion
|
|
3263
|
-
//#region src/models/sqsConfigOut.d.ts
|
|
3264
|
-
interface SqsConfigOut {
|
|
3265
|
-
queueUrl: string;
|
|
3266
|
-
region: string;
|
|
3267
|
-
accessKeyId: string;
|
|
3268
|
-
endpointUrl?: string | null;
|
|
3269
|
-
}
|
|
3270
|
-
//#endregion
|
|
3271
4089
|
//#region src/models/streamSinkOut.d.ts
|
|
3272
4090
|
interface _StreamSinkOutFields {
|
|
3273
4091
|
/** The sink's ID. */
|
|
@@ -3289,10 +4107,15 @@ interface _StreamSinkOutFields {
|
|
|
3289
4107
|
};
|
|
3290
4108
|
}
|
|
3291
4109
|
interface StreamSinkOutPollerConfig {}
|
|
4110
|
+
interface StreamSinkOutPollingEndpointConfig {}
|
|
3292
4111
|
interface StreamSinkOutPoller {
|
|
3293
4112
|
type: "poller";
|
|
3294
4113
|
config?: StreamSinkOutPollerConfig;
|
|
3295
4114
|
}
|
|
4115
|
+
interface StreamSinkOutPollingEndpoint {
|
|
4116
|
+
type: "pollingEndpoint";
|
|
4117
|
+
config?: StreamSinkOutPollingEndpointConfig;
|
|
4118
|
+
}
|
|
3296
4119
|
interface StreamSinkOutAzureBlobStorage {
|
|
3297
4120
|
type: "azureBlobStorage";
|
|
3298
4121
|
config: AzureBlobStorageConfigOut;
|
|
@@ -3349,205 +4172,29 @@ interface StreamSinkOutSns {
|
|
|
3349
4172
|
type: "sns";
|
|
3350
4173
|
config: SnsConfigOut;
|
|
3351
4174
|
}
|
|
3352
|
-
|
|
4175
|
+
interface StreamSinkOutPostgres {
|
|
4176
|
+
type: "postgres";
|
|
4177
|
+
config: PostgresConfigOut;
|
|
4178
|
+
}
|
|
4179
|
+
type StreamSinkOut = _StreamSinkOutFields & (StreamSinkOutPoller | StreamSinkOutPollingEndpoint | StreamSinkOutAzureBlobStorage | StreamSinkOutOtelTracing | StreamSinkOutHttp | StreamSinkOutAmazonS3 | StreamSinkOutSnowflake | StreamSinkOutGoogleCloudStorage | StreamSinkOutGoogleCloudPubSub | StreamSinkOutRedshift | StreamSinkOutBigQuery | StreamSinkOutClickhouse | StreamSinkOutRabbitMq | StreamSinkOutSqs | StreamSinkOutEventBridge | StreamSinkOutSns | StreamSinkOutPostgres);
|
|
3353
4180
|
//#endregion
|
|
3354
4181
|
//#region src/models/listResponseStreamSinkOut.d.ts
|
|
3355
4182
|
interface ListResponseStreamSinkOut {
|
|
3356
|
-
data: StreamSinkOut[];
|
|
3357
|
-
iterator: string | null;
|
|
3358
|
-
prevIterator?: string | null;
|
|
3359
|
-
done: boolean;
|
|
3360
|
-
}
|
|
3361
|
-
//#endregion
|
|
3362
|
-
//#region src/models/sinkSecretOut.d.ts
|
|
3363
|
-
interface SinkSecretOut {
|
|
3364
|
-
/**
|
|
3365
|
-
* The endpoint's verification secret.
|
|
3366
|
-
*
|
|
3367
|
-
* Format: `base64` encoded random bytes optionally prefixed with `whsec_`.
|
|
3368
|
-
* It is recommended to not set this and let the server generate the secret.
|
|
3369
|
-
*/
|
|
3370
|
-
key?: string | null;
|
|
3371
|
-
}
|
|
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;
|
|
4183
|
+
data: StreamSinkOut[];
|
|
4184
|
+
iterator: string | null;
|
|
4185
|
+
prevIterator?: string | null;
|
|
4186
|
+
done: boolean;
|
|
3527
4187
|
}
|
|
3528
4188
|
//#endregion
|
|
3529
|
-
//#region src/models/
|
|
3530
|
-
interface
|
|
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;
|
|
4189
|
+
//#region src/models/sinkSecretOut.d.ts
|
|
4190
|
+
interface SinkSecretOut {
|
|
3544
4191
|
/**
|
|
3545
|
-
* The
|
|
4192
|
+
* The endpoint's verification secret.
|
|
3546
4193
|
*
|
|
3547
|
-
*
|
|
4194
|
+
* Format: `base64` encoded random bytes optionally prefixed with `whsec_`.
|
|
4195
|
+
* It is recommended to not set this and let the server generate the secret.
|
|
3548
4196
|
*/
|
|
3549
|
-
|
|
3550
|
-
endpointUrl?: string | null;
|
|
4197
|
+
key?: string | null;
|
|
3551
4198
|
}
|
|
3552
4199
|
//#endregion
|
|
3553
4200
|
//#region src/models/sinkHttpConfigIn.d.ts
|
|
@@ -3565,91 +4212,6 @@ declare enum SinkStatusIn {
|
|
|
3565
4212
|
Disabled = "disabled"
|
|
3566
4213
|
}
|
|
3567
4214
|
//#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
|
|
3653
4215
|
//#region src/models/streamSinkIn.d.ts
|
|
3654
4216
|
interface _StreamSinkInFields {
|
|
3655
4217
|
/** An optional unique identifier for the sink. */
|
|
@@ -3740,146 +4302,11 @@ interface StreamSinkInRedshift {
|
|
|
3740
4302
|
type: "redshift";
|
|
3741
4303
|
config: RedshiftConfigIn;
|
|
3742
4304
|
}
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
interface AzureBlobStorageConfigPatch {
|
|
3747
|
-
container?: string;
|
|
3748
|
-
account?: string;
|
|
3749
|
-
accessKey?: string;
|
|
3750
|
-
}
|
|
3751
|
-
//#endregion
|
|
3752
|
-
//#region src/models/bigQueryConfigPatch.d.ts
|
|
3753
|
-
interface BigQueryConfigPatch {
|
|
3754
|
-
projectId?: string;
|
|
3755
|
-
datasetId?: string;
|
|
3756
|
-
tableId?: string;
|
|
3757
|
-
credentials?: string;
|
|
3758
|
-
}
|
|
3759
|
-
//#endregion
|
|
3760
|
-
//#region src/models/clickhouseConfigPatch.d.ts
|
|
3761
|
-
interface ClickhouseConfigPatch {
|
|
3762
|
-
url?: string;
|
|
3763
|
-
username?: string;
|
|
3764
|
-
password?: string;
|
|
3765
|
-
database?: string;
|
|
3766
|
-
tableName?: string;
|
|
3767
|
-
}
|
|
3768
|
-
//#endregion
|
|
3769
|
-
//#region src/models/eventBridgeConfigPatch.d.ts
|
|
3770
|
-
interface EventBridgeConfigPatch {
|
|
3771
|
-
eventBusName?: string;
|
|
3772
|
-
detailType?: string;
|
|
3773
|
-
accessKeyId?: string;
|
|
3774
|
-
secretAccessKey?: string;
|
|
3775
|
-
region?: string;
|
|
3776
|
-
}
|
|
3777
|
-
//#endregion
|
|
3778
|
-
//#region src/models/googleCloudPubSubConfigPatch.d.ts
|
|
3779
|
-
interface GoogleCloudPubSubConfigPatch {
|
|
3780
|
-
projectId?: string;
|
|
3781
|
-
topicId?: string;
|
|
3782
|
-
credentials?: string;
|
|
3783
|
-
}
|
|
3784
|
-
//#endregion
|
|
3785
|
-
//#region src/models/googleCloudStorageConfigPatch.d.ts
|
|
3786
|
-
interface GoogleCloudStorageConfigPatch {
|
|
3787
|
-
bucket?: string;
|
|
3788
|
-
credentials?: string;
|
|
3789
|
-
}
|
|
3790
|
-
//#endregion
|
|
3791
|
-
//#region src/models/otelTracingConfigPatch.d.ts
|
|
3792
|
-
interface OtelTracingConfigPatch {
|
|
3793
|
-
url?: string;
|
|
3794
|
-
}
|
|
3795
|
-
//#endregion
|
|
3796
|
-
//#region src/models/rabbitMqConfigPatch.d.ts
|
|
3797
|
-
interface RabbitMqConfigPatch {
|
|
3798
|
-
routingKey?: string;
|
|
3799
|
-
uri?: string;
|
|
3800
|
-
}
|
|
3801
|
-
//#endregion
|
|
3802
|
-
//#region src/models/redshiftConfigPatch.d.ts
|
|
3803
|
-
interface RedshiftConfigPatch {
|
|
3804
|
-
accessKeyId?: string;
|
|
3805
|
-
secretAccessKey?: string;
|
|
3806
|
-
region?: string;
|
|
3807
|
-
/**
|
|
3808
|
-
* Database name.
|
|
3809
|
-
*
|
|
3810
|
-
* Only required if not using transformations.
|
|
3811
|
-
*/
|
|
3812
|
-
dbName?: string;
|
|
3813
|
-
/**
|
|
3814
|
-
* Schema name.
|
|
3815
|
-
*
|
|
3816
|
-
* Only used if not using transformations.
|
|
3817
|
-
*/
|
|
3818
|
-
schemaName?: string | null;
|
|
3819
|
-
/**
|
|
3820
|
-
* Table name.
|
|
3821
|
-
*
|
|
3822
|
-
* Only required if not using transformations.
|
|
3823
|
-
*/
|
|
3824
|
-
tableName?: string;
|
|
3825
|
-
}
|
|
3826
|
-
//#endregion
|
|
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 {
|
|
3843
|
-
privateKey?: string;
|
|
3844
|
-
accountIdentifier?: string;
|
|
3845
|
-
userId?: string;
|
|
3846
|
-
/**
|
|
3847
|
-
* Database name.
|
|
3848
|
-
*
|
|
3849
|
-
* Only required if not using transformations.
|
|
3850
|
-
*/
|
|
3851
|
-
dbName?: string;
|
|
3852
|
-
/**
|
|
3853
|
-
* Schema name.
|
|
3854
|
-
*
|
|
3855
|
-
* Only required if not using transformations.
|
|
3856
|
-
*/
|
|
3857
|
-
schemaName?: string;
|
|
3858
|
-
/**
|
|
3859
|
-
* Table name.
|
|
3860
|
-
*
|
|
3861
|
-
* Only required if not using transformations.
|
|
3862
|
-
*/
|
|
3863
|
-
tableName?: string;
|
|
3864
|
-
}
|
|
3865
|
-
//#endregion
|
|
3866
|
-
//#region src/models/snsConfigPatch.d.ts
|
|
3867
|
-
interface SnsConfigPatch {
|
|
3868
|
-
topicArn?: string;
|
|
3869
|
-
region?: string;
|
|
3870
|
-
accessKeyId?: string;
|
|
3871
|
-
secretAccessKey?: string;
|
|
3872
|
-
endpointUrl?: string | null;
|
|
3873
|
-
}
|
|
3874
|
-
//#endregion
|
|
3875
|
-
//#region src/models/sqsConfigPatch.d.ts
|
|
3876
|
-
interface SqsConfigPatch {
|
|
3877
|
-
queueUrl?: string;
|
|
3878
|
-
region?: string;
|
|
3879
|
-
accessKeyId?: string;
|
|
3880
|
-
secretAccessKey?: string;
|
|
3881
|
-
endpointUrl?: string | null;
|
|
4305
|
+
interface StreamSinkInPostgres {
|
|
4306
|
+
type: "postgres";
|
|
4307
|
+
config: PostgresConfigIn;
|
|
3882
4308
|
}
|
|
4309
|
+
type StreamSinkIn = _StreamSinkInFields & (StreamSinkInPoller | StreamSinkInAzureBlobStorage | StreamSinkInOtelTracing | StreamSinkInHttp | StreamSinkInAmazonS3 | StreamSinkInGoogleCloudStorage | StreamSinkInGoogleCloudPubSub | StreamSinkInSqs | StreamSinkInSns | StreamSinkInBigQuery | StreamSinkInClickhouse | StreamSinkInEventBridge | StreamSinkInSnowflake | StreamSinkInRabbitMq | StreamSinkInRedshift | StreamSinkInPostgres);
|
|
3883
4310
|
//#endregion
|
|
3884
4311
|
//#region src/models/streamSinkPatch.d.ts
|
|
3885
4312
|
interface _StreamSinkPatchFields {
|
|
@@ -3955,7 +4382,11 @@ interface StreamSinkPatchRedshift {
|
|
|
3955
4382
|
type: "redshift";
|
|
3956
4383
|
config: RedshiftConfigPatch;
|
|
3957
4384
|
}
|
|
3958
|
-
|
|
4385
|
+
interface StreamSinkPatchPostgres {
|
|
4386
|
+
type: "postgres";
|
|
4387
|
+
config: PostgresConfigPatch;
|
|
4388
|
+
}
|
|
4389
|
+
type StreamSinkPatch = _StreamSinkPatchFields & (StreamSinkPatchPoller | StreamSinkPatchAzureBlobStorage | StreamSinkPatchOtelTracing | StreamSinkPatchHttp | StreamSinkPatchAmazonS3 | StreamSinkPatchGoogleCloudStorage | StreamSinkPatchGoogleCloudPubSub | StreamSinkPatchSqs | StreamSinkPatchSns | StreamSinkPatchBigQuery | StreamSinkPatchClickhouse | StreamSinkPatchEventBridge | StreamSinkPatchSnowflake | StreamSinkPatchRabbitMq | StreamSinkPatchRedshift | StreamSinkPatchPostgres);
|
|
3959
4390
|
//#endregion
|
|
3960
4391
|
//#region src/models/sinkTransformIn.d.ts
|
|
3961
4392
|
interface SinkTransformIn {
|
|
@@ -4207,10 +4638,11 @@ declare class AutoConfigError extends Error {
|
|
|
4207
4638
|
}
|
|
4208
4639
|
declare class AutoConfig {
|
|
4209
4640
|
private readonly appId;
|
|
4210
|
-
private readonly endpointId;
|
|
4211
|
-
private readonly endpointIn;
|
|
4212
4641
|
private readonly webhook;
|
|
4213
4642
|
private readonly requestCtx;
|
|
4643
|
+
private readonly endpointIn;
|
|
4644
|
+
private readonly endpointId?;
|
|
4645
|
+
private readonly autoconfigId?;
|
|
4214
4646
|
constructor(token: string, endpoint: EndpointIn);
|
|
4215
4647
|
subscribe(): Promise<EndpointOut>;
|
|
4216
4648
|
verify(payload: string | Buffer, headers: WebhookRequiredHeaders | WebhookUnbrandedRequiredHeaders | Record<string, string>): unknown;
|
|
@@ -4290,11 +4722,13 @@ interface SinkInCommon {
|
|
|
4290
4722
|
//#region src/autoconfigConsumer.d.ts
|
|
4291
4723
|
declare class AutoConfigConsumer {
|
|
4292
4724
|
private readonly appId;
|
|
4293
|
-
private readonly sinkId;
|
|
4294
4725
|
private readonly sinkIn;
|
|
4295
4726
|
private readonly requestCtx;
|
|
4727
|
+
private sinkId?;
|
|
4728
|
+
private readonly autoconfigId?;
|
|
4296
4729
|
constructor(token: string, sinkIn: SinkInCommon);
|
|
4297
|
-
subscribe(): Promise<
|
|
4730
|
+
subscribe(): Promise<DestinationOut>;
|
|
4731
|
+
private getSinkId;
|
|
4298
4732
|
receive(consumerId: string, options?: MessagePollerv2ConsumerPollOptions): Promise<PollerV2PollOut>;
|
|
4299
4733
|
commit(consumerId: string, offset: number, options?: MessagePollerv2ConsumerCommitOptions): Promise<void>;
|
|
4300
4734
|
}
|
|
@@ -4327,6 +4761,7 @@ declare class Svix {
|
|
|
4327
4761
|
get authentication(): Authentication;
|
|
4328
4762
|
get backgroundTask(): BackgroundTask;
|
|
4329
4763
|
get connector(): Connector;
|
|
4764
|
+
get destination(): Destination;
|
|
4330
4765
|
get endpoint(): Endpoint;
|
|
4331
4766
|
get environment(): Environment;
|
|
4332
4767
|
get eventType(): EventType;
|
|
@@ -4340,5 +4775,5 @@ declare class Svix {
|
|
|
4340
4775
|
get streaming(): Streaming;
|
|
4341
4776
|
}
|
|
4342
4777
|
//#endregion
|
|
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 };
|
|
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 };
|
|
4344
4779
|
//# sourceMappingURL=index.d.mts.map
|