outhad-integrations 0.32.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.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +43 -0
- data/.ruby-version +1 -0
- data/.vscode/settings.json +5 -0
- data/README.md +76 -0
- data/Rakefile +12 -0
- data/lib/outhad/integrations/config.rb +14 -0
- data/lib/outhad/integrations/core/base_connector.rb +79 -0
- data/lib/outhad/integrations/core/constants.rb +103 -0
- data/lib/outhad/integrations/core/destination_connector.rb +20 -0
- data/lib/outhad/integrations/core/fullrefresher.rb +19 -0
- data/lib/outhad/integrations/core/http_client.rb +17 -0
- data/lib/outhad/integrations/core/http_helper.rb +36 -0
- data/lib/outhad/integrations/core/query_builder.rb +33 -0
- data/lib/outhad/integrations/core/rate_limiter.rb +19 -0
- data/lib/outhad/integrations/core/source_connector.rb +66 -0
- data/lib/outhad/integrations/core/streaming_http_client.rb +21 -0
- data/lib/outhad/integrations/core/unstructured_source_connector.rb +52 -0
- data/lib/outhad/integrations/core/utils.rb +123 -0
- data/lib/outhad/integrations/core/vector_source_connector.rb +14 -0
- data/lib/outhad/integrations/destination/airtable/client.rb +157 -0
- data/lib/outhad/integrations/destination/airtable/config/catalog.json +6 -0
- data/lib/outhad/integrations/destination/airtable/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/airtable/config/spec.json +23 -0
- data/lib/outhad/integrations/destination/airtable/icon.svg +6 -0
- data/lib/outhad/integrations/destination/airtable/schema_helper.rb +141 -0
- data/lib/outhad/integrations/destination/ais_data_store/client.rb +130 -0
- data/lib/outhad/integrations/destination/ais_data_store/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/ais_data_store/config/spec.json +68 -0
- data/lib/outhad/integrations/destination/ais_data_store/icon.svg +4 -0
- data/lib/outhad/integrations/destination/amazon_s3/client.rb +92 -0
- data/lib/outhad/integrations/destination/amazon_s3/config/catalog.json +16 -0
- data/lib/outhad/integrations/destination/amazon_s3/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/amazon_s3/config/spec.json +56 -0
- data/lib/outhad/integrations/destination/amazon_s3/icon.svg +34 -0
- data/lib/outhad/integrations/destination/databricks_lakehouse/client.rb +147 -0
- data/lib/outhad/integrations/destination/databricks_lakehouse/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/databricks_lakehouse/config/spec.json +44 -0
- data/lib/outhad/integrations/destination/databricks_lakehouse/icon.svg +65 -0
- data/lib/outhad/integrations/destination/facebook_custom_audience/client.rb +125 -0
- data/lib/outhad/integrations/destination/facebook_custom_audience/config/catalog.json +42 -0
- data/lib/outhad/integrations/destination/facebook_custom_audience/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/facebook_custom_audience/config/spec.json +28 -0
- data/lib/outhad/integrations/destination/facebook_custom_audience/icon.svg +23 -0
- data/lib/outhad/integrations/destination/google_sheets/client.rb +240 -0
- data/lib/outhad/integrations/destination/google_sheets/config/catalog.json +6 -0
- data/lib/outhad/integrations/destination/google_sheets/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/google_sheets/config/spec.json +75 -0
- data/lib/outhad/integrations/destination/google_sheets/icon.svg +1 -0
- data/lib/outhad/integrations/destination/http/client.rb +106 -0
- data/lib/outhad/integrations/destination/http/config/catalog.json +16 -0
- data/lib/outhad/integrations/destination/http/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/http/config/spec.json +24 -0
- data/lib/outhad/integrations/destination/http/icon.svg +9 -0
- data/lib/outhad/integrations/destination/hubspot/client.rb +122 -0
- data/lib/outhad/integrations/destination/hubspot/config/catalog.json +351 -0
- data/lib/outhad/integrations/destination/hubspot/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/hubspot/config/spec.json +18 -0
- data/lib/outhad/integrations/destination/hubspot/icon.svg +5 -0
- data/lib/outhad/integrations/destination/iterable/client.rb +111 -0
- data/lib/outhad/integrations/destination/iterable/config/catalog.json +47 -0
- data/lib/outhad/integrations/destination/iterable/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/iterable/config/spec.json +19 -0
- data/lib/outhad/integrations/destination/iterable/icon.svg +71 -0
- data/lib/outhad/integrations/destination/klaviyo/client.rb +119 -0
- data/lib/outhad/integrations/destination/klaviyo/config/catalog.json +103 -0
- data/lib/outhad/integrations/destination/klaviyo/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/klaviyo/config/spec.json +24 -0
- data/lib/outhad/integrations/destination/klaviyo/icon.svg +6 -0
- data/lib/outhad/integrations/destination/mailchimp/client.rb +141 -0
- data/lib/outhad/integrations/destination/mailchimp/config/catalog.json +142 -0
- data/lib/outhad/integrations/destination/mailchimp/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/mailchimp/config/spec.json +28 -0
- data/lib/outhad/integrations/destination/mailchimp/icon.svg +4 -0
- data/lib/outhad/integrations/destination/maria_db/client.rb +114 -0
- data/lib/outhad/integrations/destination/maria_db/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/maria_db/config/spec.json +48 -0
- data/lib/outhad/integrations/destination/maria_db/icon.svg +15 -0
- data/lib/outhad/integrations/destination/microsoft_dynamics/client.rb +150 -0
- data/lib/outhad/integrations/destination/microsoft_dynamics/config/catalog.json +161 -0
- data/lib/outhad/integrations/destination/microsoft_dynamics/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/microsoft_dynamics/config/spec.json +35 -0
- data/lib/outhad/integrations/destination/microsoft_dynamics/icon.svg +2 -0
- data/lib/outhad/integrations/destination/microsoft_excel/client.rb +198 -0
- data/lib/outhad/integrations/destination/microsoft_excel/config/catalog.json +7 -0
- data/lib/outhad/integrations/destination/microsoft_excel/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/microsoft_excel/config/spec.json +19 -0
- data/lib/outhad/integrations/destination/microsoft_excel/icon.svg +18 -0
- data/lib/outhad/integrations/destination/microsoft_sql/client.rb +137 -0
- data/lib/outhad/integrations/destination/microsoft_sql/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/microsoft_sql/config/spec.json +68 -0
- data/lib/outhad/integrations/destination/microsoft_sql/icon.svg +22 -0
- data/lib/outhad/integrations/destination/odoo/client.rb +109 -0
- data/lib/outhad/integrations/destination/odoo/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/odoo/config/spec.json +39 -0
- data/lib/outhad/integrations/destination/odoo/icon.svg +21 -0
- data/lib/outhad/integrations/destination/oracle_db/client.rb +112 -0
- data/lib/outhad/integrations/destination/oracle_db/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/oracle_db/config/spec.json +47 -0
- data/lib/outhad/integrations/destination/oracle_db/icon.svg +4 -0
- data/lib/outhad/integrations/destination/pinecone_db/client.rb +154 -0
- data/lib/outhad/integrations/destination/pinecone_db/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/pinecone_db/config/spec.json +32 -0
- data/lib/outhad/integrations/destination/pinecone_db/icon.svg +1 -0
- data/lib/outhad/integrations/destination/postgresql/client.rb +130 -0
- data/lib/outhad/integrations/destination/postgresql/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/postgresql/config/spec.json +68 -0
- data/lib/outhad/integrations/destination/postgresql/icon.svg +20 -0
- data/lib/outhad/integrations/destination/qdrant/client.rb +184 -0
- data/lib/outhad/integrations/destination/qdrant/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/qdrant/config/spec.json +23 -0
- data/lib/outhad/integrations/destination/qdrant/icon.svg +1 -0
- data/lib/outhad/integrations/destination/salesforce_consumer_goods_cloud/client.rb +136 -0
- data/lib/outhad/integrations/destination/salesforce_consumer_goods_cloud/config/catalog.json +6 -0
- data/lib/outhad/integrations/destination/salesforce_consumer_goods_cloud/config/meta.json +16 -0
- data/lib/outhad/integrations/destination/salesforce_consumer_goods_cloud/config/spec.json +52 -0
- data/lib/outhad/integrations/destination/salesforce_consumer_goods_cloud/icon.svg +16 -0
- data/lib/outhad/integrations/destination/salesforce_consumer_goods_cloud/schema_helper.rb +132 -0
- data/lib/outhad/integrations/destination/salesforce_crm/client.rb +114 -0
- data/lib/outhad/integrations/destination/salesforce_crm/config/catalog.json +320 -0
- data/lib/outhad/integrations/destination/salesforce_crm/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/salesforce_crm/config/spec.json +46 -0
- data/lib/outhad/integrations/destination/salesforce_crm/icon.svg +16 -0
- data/lib/outhad/integrations/destination/sftp/client.rb +186 -0
- data/lib/outhad/integrations/destination/sftp/config/catalog.json +16 -0
- data/lib/outhad/integrations/destination/sftp/config/meta.json +16 -0
- data/lib/outhad/integrations/destination/sftp/config/spec.json +73 -0
- data/lib/outhad/integrations/destination/sftp/icon.svg +1 -0
- data/lib/outhad/integrations/destination/slack/client.rb +125 -0
- data/lib/outhad/integrations/destination/slack/config/catalog.json +22 -0
- data/lib/outhad/integrations/destination/slack/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/slack/config/spec.json +23 -0
- data/lib/outhad/integrations/destination/slack/icon.svg +26 -0
- data/lib/outhad/integrations/destination/stripe/client.rb +94 -0
- data/lib/outhad/integrations/destination/stripe/config/catalog.json +128 -0
- data/lib/outhad/integrations/destination/stripe/config/meta.json +15 -0
- data/lib/outhad/integrations/destination/stripe/config/spec.json +18 -0
- data/lib/outhad/integrations/destination/stripe/icon.svg +10 -0
- data/lib/outhad/integrations/destination/zendesk/client.rb +132 -0
- data/lib/outhad/integrations/destination/zendesk/config/catalog.json +110 -0
- data/lib/outhad/integrations/destination/zendesk/config/meta.json +18 -0
- data/lib/outhad/integrations/destination/zendesk/config/spec.json +32 -0
- data/lib/outhad/integrations/destination/zendesk/icon.svg +63 -0
- data/lib/outhad/integrations/protocol/protocol.json +189 -0
- data/lib/outhad/integrations/protocol/protocol.rb +228 -0
- data/lib/outhad/integrations/rollout.rb +66 -0
- data/lib/outhad/integrations/service.rb +55 -0
- data/lib/outhad/integrations/source/amazon_s3/client.rb +235 -0
- data/lib/outhad/integrations/source/amazon_s3/config/meta.json +16 -0
- data/lib/outhad/integrations/source/amazon_s3/config/spec.json +119 -0
- data/lib/outhad/integrations/source/amazon_s3/icon.svg +34 -0
- data/lib/outhad/integrations/source/anthropic/client.rb +135 -0
- data/lib/outhad/integrations/source/anthropic/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/anthropic/config/meta.json +16 -0
- data/lib/outhad/integrations/source/anthropic/config/spec.json +56 -0
- data/lib/outhad/integrations/source/anthropic/icon.svg +1 -0
- data/lib/outhad/integrations/source/aws_athena/client.rb +109 -0
- data/lib/outhad/integrations/source/aws_athena/config/meta.json +16 -0
- data/lib/outhad/integrations/source/aws_athena/config/spec.json +63 -0
- data/lib/outhad/integrations/source/aws_athena/icon.svg +22 -0
- data/lib/outhad/integrations/source/aws_bedrock_model/client.rb +91 -0
- data/lib/outhad/integrations/source/aws_bedrock_model/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/aws_bedrock_model/config/meta.json +16 -0
- data/lib/outhad/integrations/source/aws_bedrock_model/config/spec.json +58 -0
- data/lib/outhad/integrations/source/aws_bedrock_model/icon.svg +1 -0
- data/lib/outhad/integrations/source/aws_sagemaker_model/client.rb +79 -0
- data/lib/outhad/integrations/source/aws_sagemaker_model/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/aws_sagemaker_model/config/meta.json +16 -0
- data/lib/outhad/integrations/source/aws_sagemaker_model/config/spec.json +52 -0
- data/lib/outhad/integrations/source/aws_sagemaker_model/icon.svg +7 -0
- data/lib/outhad/integrations/source/bigquery/client.rb +98 -0
- data/lib/outhad/integrations/source/bigquery/config/meta.json +16 -0
- data/lib/outhad/integrations/source/bigquery/config/spec.json +83 -0
- data/lib/outhad/integrations/source/bigquery/icon.svg +1 -0
- data/lib/outhad/integrations/source/clickhouse/client.rb +102 -0
- data/lib/outhad/integrations/source/clickhouse/config/meta.json +16 -0
- data/lib/outhad/integrations/source/clickhouse/config/spec.json +42 -0
- data/lib/outhad/integrations/source/clickhouse/icon.svg +25 -0
- data/lib/outhad/integrations/source/databricks/client.rb +98 -0
- data/lib/outhad/integrations/source/databricks/config/meta.json +17 -0
- data/lib/outhad/integrations/source/databricks/config/spec.json +56 -0
- data/lib/outhad/integrations/source/databricks/icon.svg +19 -0
- data/lib/outhad/integrations/source/databrics_model/client.rb +89 -0
- data/lib/outhad/integrations/source/databrics_model/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/databrics_model/config/meta.json +17 -0
- data/lib/outhad/integrations/source/databrics_model/config/spec.json +63 -0
- data/lib/outhad/integrations/source/databrics_model/icon.svg +19 -0
- data/lib/outhad/integrations/source/firecrawl/client.rb +151 -0
- data/lib/outhad/integrations/source/firecrawl/config/catalog.json +29 -0
- data/lib/outhad/integrations/source/firecrawl/config/meta.json +17 -0
- data/lib/outhad/integrations/source/firecrawl/config/spec.json +31 -0
- data/lib/outhad/integrations/source/firecrawl/icon.svg +4 -0
- data/lib/outhad/integrations/source/generic_open_ai/client.rb +118 -0
- data/lib/outhad/integrations/source/generic_open_ai/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/generic_open_ai/config/meta.json +16 -0
- data/lib/outhad/integrations/source/generic_open_ai/config/spec.json +63 -0
- data/lib/outhad/integrations/source/generic_open_ai/icon.svg +6 -0
- data/lib/outhad/integrations/source/google_vertex_model/client.rb +83 -0
- data/lib/outhad/integrations/source/google_vertex_model/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/google_vertex_model/config/meta.json +17 -0
- data/lib/outhad/integrations/source/google_vertex_model/config/spec.json +105 -0
- data/lib/outhad/integrations/source/google_vertex_model/icon.svg +2 -0
- data/lib/outhad/integrations/source/http_model/client.rb +108 -0
- data/lib/outhad/integrations/source/http_model/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/http_model/config/meta.json +16 -0
- data/lib/outhad/integrations/source/http_model/config/spec.json +70 -0
- data/lib/outhad/integrations/source/http_model/icon.svg +9 -0
- data/lib/outhad/integrations/source/intuit_quick_books/client.rb +213 -0
- data/lib/outhad/integrations/source/intuit_quick_books/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/intuit_quick_books/config/meta.json +17 -0
- data/lib/outhad/integrations/source/intuit_quick_books/config/spec.json +44 -0
- data/lib/outhad/integrations/source/intuit_quick_books/icon.svg +1 -0
- data/lib/outhad/integrations/source/maria_db/client.rb +92 -0
- data/lib/outhad/integrations/source/maria_db/config/meta.json +16 -0
- data/lib/outhad/integrations/source/maria_db/config/spec.json +48 -0
- data/lib/outhad/integrations/source/maria_db/icon.svg +15 -0
- data/lib/outhad/integrations/source/odoo/client.rb +106 -0
- data/lib/outhad/integrations/source/odoo/config/meta.json +15 -0
- data/lib/outhad/integrations/source/odoo/config/spec.json +39 -0
- data/lib/outhad/integrations/source/odoo/icon.svg +21 -0
- data/lib/outhad/integrations/source/open_ai/client.rb +118 -0
- data/lib/outhad/integrations/source/open_ai/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/open_ai/config/meta.json +16 -0
- data/lib/outhad/integrations/source/open_ai/config/spec.json +56 -0
- data/lib/outhad/integrations/source/open_ai/icon.svg +1 -0
- data/lib/outhad/integrations/source/oracle_db/client.rb +127 -0
- data/lib/outhad/integrations/source/oracle_db/config/meta.json +16 -0
- data/lib/outhad/integrations/source/oracle_db/config/spec.json +47 -0
- data/lib/outhad/integrations/source/oracle_db/icon.svg +4 -0
- data/lib/outhad/integrations/source/pinecone_db/client.rb +73 -0
- data/lib/outhad/integrations/source/pinecone_db/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/pinecone_db/config/meta.json +16 -0
- data/lib/outhad/integrations/source/pinecone_db/config/spec.json +34 -0
- data/lib/outhad/integrations/source/pinecone_db/icon.svg +2 -0
- data/lib/outhad/integrations/source/postgresql/client.rb +112 -0
- data/lib/outhad/integrations/source/postgresql/config/meta.json +16 -0
- data/lib/outhad/integrations/source/postgresql/config/spec.json +86 -0
- data/lib/outhad/integrations/source/postgresql/icon.svg +20 -0
- data/lib/outhad/integrations/source/qdrant/client.rb +86 -0
- data/lib/outhad/integrations/source/qdrant/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/qdrant/config/meta.json +16 -0
- data/lib/outhad/integrations/source/qdrant/config/spec.json +29 -0
- data/lib/outhad/integrations/source/qdrant/icon.svg +1 -0
- data/lib/outhad/integrations/source/redshift/client.rb +109 -0
- data/lib/outhad/integrations/source/redshift/config/meta.json +16 -0
- data/lib/outhad/integrations/source/redshift/config/spec.json +71 -0
- data/lib/outhad/integrations/source/redshift/icon.svg +15 -0
- data/lib/outhad/integrations/source/salesforce_consumer_goods_cloud/client.rb +133 -0
- data/lib/outhad/integrations/source/salesforce_consumer_goods_cloud/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/salesforce_consumer_goods_cloud/config/meta.json +18 -0
- data/lib/outhad/integrations/source/salesforce_consumer_goods_cloud/config/spec.json +53 -0
- data/lib/outhad/integrations/source/salesforce_consumer_goods_cloud/icon.svg +16 -0
- data/lib/outhad/integrations/source/salesforce_consumer_goods_cloud/schema_helper.rb +130 -0
- data/lib/outhad/integrations/source/sftp/client.rb +133 -0
- data/lib/outhad/integrations/source/sftp/config/meta.json +16 -0
- data/lib/outhad/integrations/source/sftp/config/spec.json +59 -0
- data/lib/outhad/integrations/source/sftp/icon.svg +1 -0
- data/lib/outhad/integrations/source/snowflake/client.rb +92 -0
- data/lib/outhad/integrations/source/snowflake/config/meta.json +16 -0
- data/lib/outhad/integrations/source/snowflake/config/spec.json +82 -0
- data/lib/outhad/integrations/source/snowflake/icon.svg +10 -0
- data/lib/outhad/integrations/source/watsonx_ai/client.rb +194 -0
- data/lib/outhad/integrations/source/watsonx_ai/config/catalog.json +6 -0
- data/lib/outhad/integrations/source/watsonx_ai/config/meta.json +16 -0
- data/lib/outhad/integrations/source/watsonx_ai/config/spec.json +74 -0
- data/lib/outhad/integrations/source/watsonx_ai/icon.svg +1 -0
- data/lib/outhad/integrations/source/watsonx_data/client.rb +146 -0
- data/lib/outhad/integrations/source/watsonx_data/config/meta.json +17 -0
- data/lib/outhad/integrations/source/watsonx_data/config/spec.json +72 -0
- data/lib/outhad/integrations/source/watsonx_data/icon.svg +1 -0
- data/lib/outhad/integrations.rb +129 -0
- data/outhad-integrations.gemspec +79 -0
- data/sig/outhad/integrations.rbs +6 -0
- metadata +866 -0
@@ -0,0 +1,73 @@
|
|
1
|
+
{
|
2
|
+
"documentation_url": "https://docs.squared.ai/guides/destinations/retl-destinations/file-storage/sftp",
|
3
|
+
"stream_type": "static",
|
4
|
+
"connection_specification": {
|
5
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
6
|
+
"title": "SFTP",
|
7
|
+
"required": ["host", "username", "password", "destination_path", "format" ],
|
8
|
+
"properties": {
|
9
|
+
"host": {
|
10
|
+
"title": "Host",
|
11
|
+
"description": "Hostname of the SFTP server.",
|
12
|
+
"type": "string",
|
13
|
+
"order": 0
|
14
|
+
},
|
15
|
+
"port": {
|
16
|
+
"title": "Port",
|
17
|
+
"description": "Port of the SFTP server.",
|
18
|
+
"type": "integer",
|
19
|
+
"minimum": 0,
|
20
|
+
"maximum": 65536,
|
21
|
+
"default": 22,
|
22
|
+
"order": 1
|
23
|
+
},
|
24
|
+
"username": {
|
25
|
+
"title": "User Name",
|
26
|
+
"description": "Username to use to access the SFTP server.",
|
27
|
+
"type": "string",
|
28
|
+
"order": 2
|
29
|
+
},
|
30
|
+
"password": {
|
31
|
+
"title": "Password",
|
32
|
+
"description": "Password associated with the username.",
|
33
|
+
"type": "string",
|
34
|
+
"outhad_secret": true,
|
35
|
+
"order": 3
|
36
|
+
},
|
37
|
+
"destination_path": {
|
38
|
+
"title": "Destination path",
|
39
|
+
"type": "string",
|
40
|
+
"description": "Path to the directory where files will be written.",
|
41
|
+
"order": 4
|
42
|
+
},
|
43
|
+
"file_name": {
|
44
|
+
"title": "File Name",
|
45
|
+
"type": "string",
|
46
|
+
"description": "Name of the file to be written.",
|
47
|
+
"order": 5
|
48
|
+
},
|
49
|
+
"format": {
|
50
|
+
"title": "Output Format",
|
51
|
+
"type": "object",
|
52
|
+
"description": "Format of the data output.",
|
53
|
+
"order": 6,
|
54
|
+
"required": ["format_type"],
|
55
|
+
"properties": {
|
56
|
+
"format_type": {
|
57
|
+
"title": "File Format Type",
|
58
|
+
"type": "string",
|
59
|
+
"enum": ["csv"],
|
60
|
+
"default": "csv"
|
61
|
+
},
|
62
|
+
"compression_type": {
|
63
|
+
"title": "Compression Type",
|
64
|
+
"description": "Whether the output files should be compressed.",
|
65
|
+
"type": "string",
|
66
|
+
"enum": ["un_compressed", "zip"],
|
67
|
+
"default": "un_compressed"
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="250" height="250" fill="none"><g clip-path="url(#a)"><path fill="#615EFF" d="M200.745 218.706a12.051 12.051 0 0 1-3.483 8.475 11.837 11.837 0 0 1-8.4 3.514H62.072c-3.15 0-6.173-1.261-8.403-3.507a12.053 12.053 0 0 1-3.49-8.472V31.485a12.08 12.08 0 0 1 .903-4.593 11.996 11.996 0 0 1 2.578-3.894 11.875 11.875 0 0 1 3.86-2.6 11.791 11.791 0 0 1 4.552-.912h81.371l57.302 58.96v140.26Z"/><path fill="#fff" d="M83.868 156.832c-.142-1.429-.75-2.539-1.822-3.33-1.074-.792-2.53-1.187-4.37-1.187-1.25 0-2.305.177-3.166.531-.861.343-1.522.821-1.981 1.435a3.457 3.457 0 0 0-.673 2.09c-.023.65.112 1.217.407 1.701.307.484.725.903 1.256 1.258.53.342 1.144.643 1.84.903a19.02 19.02 0 0 0 2.229.638l3.255.779c1.58.354 3.03.827 4.352 1.417 1.32.591 2.464 1.317 3.431 2.179a9.057 9.057 0 0 1 2.247 3.047c.542 1.169.82 2.509.831 4.021-.011 2.22-.578 4.145-1.698 5.775-1.109 1.617-2.712 2.875-4.811 3.773-2.088.885-4.606 1.328-7.554 1.328-2.925 0-5.472-.449-7.642-1.346-2.158-.898-3.845-2.226-5.06-3.986-1.202-1.771-1.833-3.962-1.892-6.572h7.412c.082 1.217.43 2.232 1.044 3.047.625.803 1.456 1.411 2.494 1.825 1.05.401 2.235.602 3.555.602 1.298 0 2.424-.189 3.38-.567.966-.378 1.715-.903 2.246-1.576.53-.673.796-1.447.796-2.321 0-.815-.242-1.5-.725-2.055-.472-.555-1.168-1.027-2.088-1.417-.908-.39-2.022-.744-3.343-1.063l-3.945-.992c-3.054-.744-5.466-1.907-7.235-3.489-1.77-1.583-2.648-3.714-2.636-6.395-.012-2.196.572-4.116 1.751-5.757 1.192-1.641 2.825-2.923 4.9-3.844 2.076-.921 4.435-1.382 7.076-1.382 2.69 0 5.036.461 7.04 1.382 2.018.921 3.586 2.203 4.706 3.844 1.12 1.641 1.699 3.543 1.734 5.704h-7.341Zm12.988 25.844v-36.278h23.988v6.324h-16.328v8.645h14.736v6.324h-14.736v14.985h-7.66Zm27.76-29.954v-6.324h29.754v6.324h-11.091v29.954h-7.571v-29.954h-11.092Zm34.654 29.954v-36.278h14.294c2.748 0 5.089.526 7.023 1.577 1.934 1.039 3.408 2.486 4.422 4.34 1.026 1.842 1.539 3.968 1.539 6.377s-.519 4.535-1.557 6.377c-1.037 1.842-2.541 3.277-4.51 4.304-1.958 1.028-4.329 1.541-7.112 1.541h-9.11v-6.146h7.872c1.474 0 2.689-.254 3.644-.762.967-.52 1.686-1.234 2.158-2.143.484-.921.725-1.978.725-3.171 0-1.205-.241-2.256-.725-3.153-.472-.91-1.191-1.612-2.158-2.108-.967-.508-2.194-.762-3.679-.762h-5.166v30.007h-7.66Z"/><path fill="#1A194D" d="m149.75 76.907 50.996 49.177V78.101h-45.173a11.33 11.33 0 0 1-5.643-1.433l-.18.24Z" opacity=".3"/><path fill="#C5C4FF" d="M200.746 78.35h-45.297a11.836 11.836 0 0 1-8.399-3.514 12.055 12.055 0 0 1-3.484-8.475v-47.2l57.18 59.189Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M50 19h151v212H50z"/></clipPath></defs></svg>
|
@@ -0,0 +1,125 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Outhad
|
4
|
+
module Integrations
|
5
|
+
module Destination
|
6
|
+
module Slack
|
7
|
+
include Outhad::Integrations::Core
|
8
|
+
|
9
|
+
class Client < DestinationConnector
|
10
|
+
prepend Outhad::Integrations::Core::RateLimiter
|
11
|
+
attr_accessor :channel_id
|
12
|
+
|
13
|
+
def check_connection(connection_config)
|
14
|
+
configure_slack(connection_config[:api_token])
|
15
|
+
client = ::Slack::Web::Client.new
|
16
|
+
client.auth_test
|
17
|
+
success_status
|
18
|
+
rescue StandardError => e
|
19
|
+
failure_status(e)
|
20
|
+
end
|
21
|
+
|
22
|
+
def discover(_connection_config = nil)
|
23
|
+
catalog = build_catalog(load_catalog)
|
24
|
+
catalog.to_outhad_message
|
25
|
+
rescue StandardError => e
|
26
|
+
handle_exception(e, {
|
27
|
+
context: "SLACK:DISCOVER:EXCEPTION",
|
28
|
+
type: "error"
|
29
|
+
})
|
30
|
+
end
|
31
|
+
|
32
|
+
def write(sync_config, records, action = "create")
|
33
|
+
# Currently as we only create a message for each record in slack, we are not using actions.
|
34
|
+
# This will be changed in future.
|
35
|
+
@sync_config = sync_config
|
36
|
+
@action = sync_config.stream.action || action
|
37
|
+
connection_config = sync_config.destination.connection_specification.with_indifferent_access
|
38
|
+
configure_slack(connection_config[:api_token])
|
39
|
+
@client = ::Slack::Web::Client.new
|
40
|
+
@channel_id = connection_config[:channel_id]
|
41
|
+
process_records(records, sync_config.stream)
|
42
|
+
rescue StandardError => e
|
43
|
+
handle_exception(e, {
|
44
|
+
context: "SLACK:WRITE:EXCEPTION",
|
45
|
+
type: "error",
|
46
|
+
sync_id: @sync_config.sync_id,
|
47
|
+
sync_run_id: @sync_config.sync_run_id
|
48
|
+
})
|
49
|
+
end
|
50
|
+
|
51
|
+
private
|
52
|
+
|
53
|
+
def configure_slack(api_token)
|
54
|
+
::Slack.configure do |config|
|
55
|
+
config.token = api_token
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def process_records(records, stream)
|
60
|
+
log_message_array = []
|
61
|
+
write_success = 0
|
62
|
+
write_failure = 0
|
63
|
+
records.each do |record_object|
|
64
|
+
request, response = *process_record(stream, record_object.with_indifferent_access)
|
65
|
+
write_success += 1
|
66
|
+
log_message_array << log_request_response("info", request, response)
|
67
|
+
rescue StandardError => e
|
68
|
+
write_failure += 1
|
69
|
+
handle_exception(e, {
|
70
|
+
context: "SLACK:WRITE:EXCEPTION",
|
71
|
+
type: "error",
|
72
|
+
sync_id: @sync_config.sync_id,
|
73
|
+
sync_run_id: @sync_config.sync_run_id
|
74
|
+
})
|
75
|
+
log_message_array << log_request_response("error", request, e.message)
|
76
|
+
end
|
77
|
+
tracking_message(write_success, write_failure, log_message_array)
|
78
|
+
end
|
79
|
+
|
80
|
+
def process_record(stream, record)
|
81
|
+
send_data_to_slack(stream[:name], record)
|
82
|
+
end
|
83
|
+
|
84
|
+
def send_data_to_slack(stream_name, record = {})
|
85
|
+
args = build_args(stream_name, record)
|
86
|
+
response = @client.send(stream_name, **args)
|
87
|
+
[args, response]
|
88
|
+
end
|
89
|
+
|
90
|
+
def build_args(stream_name, record)
|
91
|
+
case stream_name
|
92
|
+
when "chat_postMessage"
|
93
|
+
{ channel: channel_id, text: slack_code_block(record) }
|
94
|
+
else
|
95
|
+
raise "Stream name not found: #{stream_name}"
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
def slack_code_block(data)
|
100
|
+
longest_key = data.keys.map(&:to_s).max_by(&:length).length
|
101
|
+
table_str = "```\n"
|
102
|
+
data.each do |key, value|
|
103
|
+
table_str += "#{key.to_s.ljust(longest_key)} : #{value}\n"
|
104
|
+
end
|
105
|
+
table_str += "```"
|
106
|
+
|
107
|
+
table_str
|
108
|
+
end
|
109
|
+
|
110
|
+
def success_status
|
111
|
+
ConnectionStatus.new(status: ConnectionStatusType["succeeded"]).to_outhad_message
|
112
|
+
end
|
113
|
+
|
114
|
+
def failure_status(error)
|
115
|
+
ConnectionStatus.new(status: ConnectionStatusType["failed"], message: error.message).to_outhad_message
|
116
|
+
end
|
117
|
+
|
118
|
+
def load_catalog
|
119
|
+
read_json(CATALOG_SPEC_PATH)
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"streams": [
|
3
|
+
{
|
4
|
+
"name": "chat_postMessage",
|
5
|
+
"action": "create",
|
6
|
+
"json_schema": {
|
7
|
+
"type": "object",
|
8
|
+
"additionalProperties": false,
|
9
|
+
"properties": {
|
10
|
+
"text": {
|
11
|
+
"type": ["string", "null"]
|
12
|
+
}
|
13
|
+
},
|
14
|
+
"oneOf": [{ "required": ["text"] }]
|
15
|
+
},
|
16
|
+
"supported_sync_modes": ["incremental"],
|
17
|
+
"request_rate_limit": 60,
|
18
|
+
"request_rate_limit_unit": "minute",
|
19
|
+
"request_rate_concurrency": 1
|
20
|
+
}
|
21
|
+
]
|
22
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"data": {
|
3
|
+
"name": "Slack",
|
4
|
+
"title": "Slack",
|
5
|
+
"connector_type": "destination",
|
6
|
+
"category": "Team Collaboration",
|
7
|
+
"documentation_url": "https://docs.squared.ai/guides/destinations/retl-destinations/team-collaboration/slack",
|
8
|
+
"github_issue_label": "destination-slack",
|
9
|
+
"icon": "icon.svg",
|
10
|
+
"license": "MIT",
|
11
|
+
"release_stage": "alpha",
|
12
|
+
"support_level": "community",
|
13
|
+
"tags": ["language:ruby", "outhad"]
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"documentation_url": "https://docs.squared.ai/guides/destinations/retl-destinations/team-collaboration/slack",
|
3
|
+
"stream_type": "static",
|
4
|
+
"connection_specification": {
|
5
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
6
|
+
"title": "Slack",
|
7
|
+
"type": "object",
|
8
|
+
"required": ["api_token", "channel_id"],
|
9
|
+
"properties": {
|
10
|
+
"api_token": {
|
11
|
+
"type": "string",
|
12
|
+
"outhad_secret": true,
|
13
|
+
"title": "API Token",
|
14
|
+
"order": 0
|
15
|
+
},
|
16
|
+
"channel_id": {
|
17
|
+
"type": "string",
|
18
|
+
"title": "Channel ID",
|
19
|
+
"order": 1
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<svg width="1025" height="1025" viewBox="0 0 1025 1025" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path
|
3
|
+
d="M215.74 647.688C215.74 706.893 167.375 755.258 108.17 755.258C48.9648 755.258 0.600006 706.893 0.600006 647.688C0.600006 588.483 48.9648 540.118 108.17 540.118H215.74V647.688Z"
|
4
|
+
fill="#E01E5A" />
|
5
|
+
<path
|
6
|
+
d="M269.942 647.688C269.942 588.483 318.307 540.118 377.512 540.118C436.717 540.118 485.082 588.483 485.082 647.688V917.03C485.082 976.235 436.717 1024.6 377.512 1024.6C318.307 1024.6 269.942 976.235 269.942 917.03V647.688Z"
|
7
|
+
fill="#E01E5A" />
|
8
|
+
<path
|
9
|
+
d="M377.512 215.74C318.307 215.74 269.942 167.375 269.942 108.17C269.942 48.9648 318.307 0.600006 377.512 0.600006C436.717 0.600006 485.082 48.9648 485.082 108.17V215.74H377.512Z"
|
10
|
+
fill="#36C5F0" />
|
11
|
+
<path
|
12
|
+
d="M377.512 269.942C436.717 269.942 485.082 318.307 485.082 377.512C485.082 436.717 436.717 485.082 377.512 485.082H108.17C48.9648 485.082 0.600006 436.717 0.600006 377.512C0.600006 318.307 48.9648 269.942 108.17 269.942H377.512Z"
|
13
|
+
fill="#36C5F0" />
|
14
|
+
<path
|
15
|
+
d="M809.46 377.512C809.46 318.307 857.825 269.942 917.03 269.942C976.235 269.942 1024.6 318.307 1024.6 377.512C1024.6 436.717 976.235 485.082 917.03 485.082H809.46V377.512Z"
|
16
|
+
fill="#2EB67D" />
|
17
|
+
<path
|
18
|
+
d="M755.258 377.512C755.258 436.717 706.893 485.082 647.688 485.082C588.483 485.082 540.118 436.717 540.118 377.512V108.17C540.118 48.9648 588.483 0.600006 647.688 0.600006C706.893 0.600006 755.258 48.9648 755.258 108.17V377.512Z"
|
19
|
+
fill="#2EB67D" />
|
20
|
+
<path
|
21
|
+
d="M647.688 809.46C706.893 809.46 755.258 857.825 755.258 917.03C755.258 976.235 706.893 1024.6 647.688 1024.6C588.483 1024.6 540.118 976.235 540.118 917.03V809.46H647.688Z"
|
22
|
+
fill="#ECB22E" />
|
23
|
+
<path
|
24
|
+
d="M647.688 755.258C588.483 755.258 540.118 706.893 540.118 647.688C540.118 588.483 588.483 540.118 647.688 540.118H917.03C976.235 540.118 1024.6 588.483 1024.6 647.688C1024.6 706.893 976.235 755.258 917.03 755.258H647.688Z"
|
25
|
+
fill="#ECB22E" />
|
26
|
+
</svg>
|
@@ -0,0 +1,94 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Outhad
|
4
|
+
module Integrations
|
5
|
+
module Destination
|
6
|
+
module Stripe
|
7
|
+
include Outhad::Integrations::Core
|
8
|
+
|
9
|
+
API_VERSION = "59.0"
|
10
|
+
|
11
|
+
class Client < DestinationConnector
|
12
|
+
prepend Outhad::Integrations::Core::RateLimiter
|
13
|
+
def check_connection(connection_config)
|
14
|
+
connection_config = connection_config.with_indifferent_access
|
15
|
+
initialize_client(connection_config)
|
16
|
+
authenticate_client
|
17
|
+
success_status
|
18
|
+
rescue StandardError => e
|
19
|
+
failure_status(e)
|
20
|
+
end
|
21
|
+
|
22
|
+
def discover(_connection_config = nil)
|
23
|
+
catalog = build_catalog(load_catalog)
|
24
|
+
catalog.to_outhad_message
|
25
|
+
rescue StandardError => e
|
26
|
+
handle_exception(e, {
|
27
|
+
context: "STRIPE:CRM:DISCOVER:EXCEPTION",
|
28
|
+
type: "error"
|
29
|
+
})
|
30
|
+
end
|
31
|
+
|
32
|
+
def write(sync_config, records, action = "create")
|
33
|
+
@sync_config = sync_config
|
34
|
+
@action = sync_config.stream.action || action
|
35
|
+
initialize_client(sync_config.destination.connection_specification)
|
36
|
+
process_records(records, sync_config.stream)
|
37
|
+
rescue StandardError => e
|
38
|
+
handle_exception(e, {
|
39
|
+
context: "STRIPE:CRM:WRITE:EXCEPTION",
|
40
|
+
type: "error",
|
41
|
+
sync_id: @sync_config.sync_id,
|
42
|
+
sync_run_id: @sync_config.sync_run_id
|
43
|
+
})
|
44
|
+
end
|
45
|
+
|
46
|
+
private
|
47
|
+
|
48
|
+
def initialize_client(config)
|
49
|
+
config = config.with_indifferent_access
|
50
|
+
::Stripe.api_key = config[:api_key]
|
51
|
+
@client = ::Stripe
|
52
|
+
end
|
53
|
+
|
54
|
+
def process_records(records, stream)
|
55
|
+
log_message_array = []
|
56
|
+
write_success = 0
|
57
|
+
write_failure = 0
|
58
|
+
properties = stream.json_schema[:properties]
|
59
|
+
records.each do |record_object|
|
60
|
+
record = extract_data(record_object, properties)
|
61
|
+
args = [stream.name, "Id", record]
|
62
|
+
klass = @client.const_get(stream.name)
|
63
|
+
response = klass.send(@action, record)
|
64
|
+
write_success += 1
|
65
|
+
log_message_array << log_request_response("info", args, response)
|
66
|
+
rescue StandardError => e
|
67
|
+
handle_exception(e, {
|
68
|
+
context: "STRIPE:CRM:WRITE:EXCEPTION",
|
69
|
+
type: "error",
|
70
|
+
sync_id: @sync_config.sync_id,
|
71
|
+
sync_run_id: @sync_config.sync_run_id
|
72
|
+
})
|
73
|
+
write_failure += 1
|
74
|
+
log_message_array << log_request_response("error", args, e.message)
|
75
|
+
end
|
76
|
+
tracking_message(write_success, write_failure, log_message_array)
|
77
|
+
end
|
78
|
+
|
79
|
+
def authenticate_client
|
80
|
+
@client::Customer.list
|
81
|
+
end
|
82
|
+
|
83
|
+
def load_catalog
|
84
|
+
read_json(CATALOG_SPEC_PATH)
|
85
|
+
end
|
86
|
+
|
87
|
+
def log_debug(message)
|
88
|
+
Outhad::Integrations::Service.logger.debug(message)
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
@@ -0,0 +1,128 @@
|
|
1
|
+
{
|
2
|
+
"request_rate_limit": 100000,
|
3
|
+
"request_rate_limit_unit": "day",
|
4
|
+
"request_rate_concurrency": 10,
|
5
|
+
"streams": [
|
6
|
+
{
|
7
|
+
"name": "Customer",
|
8
|
+
"action": "create",
|
9
|
+
"json_schema": {
|
10
|
+
"type": "object",
|
11
|
+
"additionalProperties": true,
|
12
|
+
"properties": {
|
13
|
+
"email": {
|
14
|
+
"type": "string"
|
15
|
+
},
|
16
|
+
"description": {
|
17
|
+
"type": "string"
|
18
|
+
},
|
19
|
+
"name": {
|
20
|
+
"type": "string"
|
21
|
+
},
|
22
|
+
"payment_method": {
|
23
|
+
"type": "string"
|
24
|
+
},
|
25
|
+
"metadata": {
|
26
|
+
"type": "object"
|
27
|
+
},
|
28
|
+
"phone": {
|
29
|
+
"type": "string"
|
30
|
+
},
|
31
|
+
"address": {
|
32
|
+
"type": "object",
|
33
|
+
"additionalProperties": true,
|
34
|
+
"properties": {
|
35
|
+
"city": {
|
36
|
+
"type": "string"
|
37
|
+
},
|
38
|
+
"country": {
|
39
|
+
"type": "string"
|
40
|
+
},
|
41
|
+
"line1": {
|
42
|
+
"type": "string"
|
43
|
+
},
|
44
|
+
"line2": {
|
45
|
+
"type": "string"
|
46
|
+
},
|
47
|
+
"postal_code": {
|
48
|
+
"type": "string"
|
49
|
+
},
|
50
|
+
"state": {
|
51
|
+
"type": "string"
|
52
|
+
}
|
53
|
+
}
|
54
|
+
},
|
55
|
+
"shipping": {
|
56
|
+
"type": "object",
|
57
|
+
"additionalProperties": true,
|
58
|
+
"properties": {
|
59
|
+
"address": {
|
60
|
+
"type": "object",
|
61
|
+
"additionalProperties": true,
|
62
|
+
"properties": {
|
63
|
+
"city": {
|
64
|
+
"type": "string"
|
65
|
+
},
|
66
|
+
"country": {
|
67
|
+
"type": "string"
|
68
|
+
},
|
69
|
+
"line1": {
|
70
|
+
"type": "string"
|
71
|
+
},
|
72
|
+
"line2": {
|
73
|
+
"type": "string"
|
74
|
+
},
|
75
|
+
"postal_code": {
|
76
|
+
"type": "string"
|
77
|
+
},
|
78
|
+
"state": {
|
79
|
+
"type": "string"
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"name": {
|
84
|
+
"type": "string"
|
85
|
+
},
|
86
|
+
"phone": {
|
87
|
+
"type": "string"
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
},
|
93
|
+
"supported_sync_modes": ["incremental"],
|
94
|
+
"source_defined_cursor": true,
|
95
|
+
"default_cursor_field": ["updated"],
|
96
|
+
"source_defined_primary_key": [["Id"]]
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"name": "Product",
|
100
|
+
"action": "create",
|
101
|
+
"json_schema": {
|
102
|
+
"type": "object",
|
103
|
+
"additionalProperties": true,
|
104
|
+
"required": ["name"],
|
105
|
+
"properties": {
|
106
|
+
"name": {
|
107
|
+
"type": "string"
|
108
|
+
},
|
109
|
+
"description": {
|
110
|
+
"type": "string"
|
111
|
+
},
|
112
|
+
"active": {
|
113
|
+
"type": "boolean"
|
114
|
+
},
|
115
|
+
"id": {
|
116
|
+
"type": "string"
|
117
|
+
},
|
118
|
+
"metadata": {
|
119
|
+
"type": "object"
|
120
|
+
}
|
121
|
+
}
|
122
|
+
},
|
123
|
+
"supported_sync_modes": ["incremental"],
|
124
|
+
"source_defined_cursor": true,
|
125
|
+
"default_cursor_field": ["updated"]
|
126
|
+
}
|
127
|
+
]
|
128
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"data": {
|
3
|
+
"name": "Stripe",
|
4
|
+
"title": "Stripe",
|
5
|
+
"connector_type": "destination",
|
6
|
+
"category": "Payments",
|
7
|
+
"documentation_url": "https://docs.squared.ai/guides/destinations/retl-destinations/payment/stripe",
|
8
|
+
"github_issue_label": "destination-stripe",
|
9
|
+
"icon": "icon.svg",
|
10
|
+
"license": "MIT",
|
11
|
+
"release_stage": "alpha",
|
12
|
+
"support_level": "community",
|
13
|
+
"tags": ["language:ruby", "outhad"]
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"documentation_url": "https://docs.squared.ai/guides/destinations/retl-destinations/payment/stripe",
|
3
|
+
"stream_type": "static",
|
4
|
+
"connection_specification": {
|
5
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
6
|
+
"title": "Stripe",
|
7
|
+
"type": "object",
|
8
|
+
"required": ["api_key"],
|
9
|
+
"properties": {
|
10
|
+
"api_key": {
|
11
|
+
"type": "string",
|
12
|
+
"outhad_secret": true,
|
13
|
+
"title": "API Key",
|
14
|
+
"order": 0
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28.87 28.87" id="stripe">
|
2
|
+
<g data-name="Layer 2">
|
3
|
+
<g data-name="Layer 1">
|
4
|
+
<rect width="28.87" height="28.87" fill="#6772e5" rx="6.48" ry="6.48"></rect>
|
5
|
+
<path fill="#fff" fill-rule="evenodd"
|
6
|
+
d="M13.3 11.2c0-.69.57-1 1.49-1a9.84 9.84 0 0 1 4.37 1.13V7.24a11.6 11.6 0 0 0-4.36-.8c-3.56 0-5.94 1.86-5.94 5 0 4.86 6.68 4.07 6.68 6.17 0 .81-.71 1.07-1.68 1.07A11.06 11.06 0 0 1 9 17.25v4.19a12.19 12.19 0 0 0 4.8 1c3.65 0 6.17-1.8 6.17-5 .03-5.21-6.67-4.27-6.67-6.24z">
|
7
|
+
</path>
|
8
|
+
</g>
|
9
|
+
</g>
|
10
|
+
</svg>
|