@keystrokehq/redcircle_api 0.1.0 → 0.1.2
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-zipcodes.cjs +2 -2
- package/dist/actions/add-zipcodes.cjs.map +1 -1
- package/dist/actions/add-zipcodes.d.cts +18 -3
- package/dist/actions/add-zipcodes.d.cts.map +1 -1
- package/dist/actions/add-zipcodes.d.mts +18 -3
- package/dist/actions/add-zipcodes.d.mts.map +1 -1
- package/dist/actions/add-zipcodes.mjs +2 -2
- package/dist/actions/add-zipcodes.mjs.map +1 -1
- package/dist/actions/clear-collection-requests.cjs +2 -2
- package/dist/actions/clear-collection-requests.cjs.map +1 -1
- package/dist/actions/clear-collection-requests.d.cts +12 -3
- package/dist/actions/clear-collection-requests.d.cts.map +1 -1
- package/dist/actions/clear-collection-requests.d.mts +12 -3
- package/dist/actions/clear-collection-requests.d.mts.map +1 -1
- package/dist/actions/clear-collection-requests.mjs +2 -2
- package/dist/actions/clear-collection-requests.mjs.map +1 -1
- package/dist/actions/create-collection.cjs.map +1 -1
- package/dist/actions/create-collection.d.cts +87 -3
- package/dist/actions/create-collection.d.cts.map +1 -1
- package/dist/actions/create-collection.d.mts +87 -3
- package/dist/actions/create-collection.d.mts.map +1 -1
- package/dist/actions/create-collection.mjs.map +1 -1
- package/dist/actions/create-destination.cjs +2 -2
- package/dist/actions/create-destination.cjs.map +1 -1
- package/dist/actions/create-destination.d.cts +62 -3
- package/dist/actions/create-destination.d.cts.map +1 -1
- package/dist/actions/create-destination.d.mts +62 -3
- package/dist/actions/create-destination.d.mts.map +1 -1
- package/dist/actions/create-destination.mjs +2 -2
- package/dist/actions/create-destination.mjs.map +1 -1
- package/dist/actions/create-requests.cjs +2 -2
- package/dist/actions/create-requests.cjs.map +1 -1
- package/dist/actions/create-requests.d.cts +28 -3
- package/dist/actions/create-requests.d.cts.map +1 -1
- package/dist/actions/create-requests.d.mts +28 -3
- package/dist/actions/create-requests.d.mts.map +1 -1
- package/dist/actions/create-requests.mjs +2 -2
- package/dist/actions/create-requests.mjs.map +1 -1
- package/dist/actions/delete-collection.cjs +2 -2
- package/dist/actions/delete-collection.cjs.map +1 -1
- package/dist/actions/delete-collection.d.cts +12 -3
- package/dist/actions/delete-collection.d.cts.map +1 -1
- package/dist/actions/delete-collection.d.mts +12 -3
- package/dist/actions/delete-collection.d.mts.map +1 -1
- package/dist/actions/delete-collection.mjs +2 -2
- package/dist/actions/delete-collection.mjs.map +1 -1
- package/dist/actions/delete-destination.cjs +2 -2
- package/dist/actions/delete-destination.cjs.map +1 -1
- package/dist/actions/delete-destination.d.cts +12 -3
- package/dist/actions/delete-destination.d.cts.map +1 -1
- package/dist/actions/delete-destination.d.mts +12 -3
- package/dist/actions/delete-destination.d.mts.map +1 -1
- package/dist/actions/delete-destination.mjs +2 -2
- package/dist/actions/delete-destination.mjs.map +1 -1
- package/dist/actions/delete-request.cjs +2 -2
- package/dist/actions/delete-request.cjs.map +1 -1
- package/dist/actions/delete-request.d.cts +14 -3
- package/dist/actions/delete-request.d.cts.map +1 -1
- package/dist/actions/delete-request.d.mts +14 -3
- package/dist/actions/delete-request.d.mts.map +1 -1
- package/dist/actions/delete-request.mjs +2 -2
- package/dist/actions/delete-request.mjs.map +1 -1
- package/dist/actions/delete-requests-bulk.cjs +2 -2
- package/dist/actions/delete-requests-bulk.cjs.map +1 -1
- package/dist/actions/delete-requests-bulk.d.cts +14 -3
- package/dist/actions/delete-requests-bulk.d.cts.map +1 -1
- package/dist/actions/delete-requests-bulk.d.mts +14 -3
- package/dist/actions/delete-requests-bulk.d.mts.map +1 -1
- package/dist/actions/delete-requests-bulk.mjs +2 -2
- package/dist/actions/delete-requests-bulk.mjs.map +1 -1
- package/dist/actions/delete-zipcodes.cjs +2 -2
- package/dist/actions/delete-zipcodes.cjs.map +1 -1
- package/dist/actions/delete-zipcodes.d.cts +18 -3
- package/dist/actions/delete-zipcodes.d.cts.map +1 -1
- package/dist/actions/delete-zipcodes.d.mts +18 -3
- package/dist/actions/delete-zipcodes.d.mts.map +1 -1
- package/dist/actions/delete-zipcodes.mjs +2 -2
- package/dist/actions/delete-zipcodes.mjs.map +1 -1
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +36 -3
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +36 -3
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-collection.cjs +8 -8
- package/dist/actions/get-collection.cjs.map +1 -1
- package/dist/actions/get-collection.d.cts +36 -3
- package/dist/actions/get-collection.d.cts.map +1 -1
- package/dist/actions/get-collection.d.mts +36 -3
- package/dist/actions/get-collection.d.mts.map +1 -1
- package/dist/actions/get-collection.mjs +8 -8
- package/dist/actions/get-collection.mjs.map +1 -1
- package/dist/actions/get-requests-csv-links.cjs +4 -4
- package/dist/actions/get-requests-csv-links.cjs.map +1 -1
- package/dist/actions/get-requests-csv-links.d.cts +17 -3
- package/dist/actions/get-requests-csv-links.d.cts.map +1 -1
- package/dist/actions/get-requests-csv-links.d.mts +17 -3
- package/dist/actions/get-requests-csv-links.d.mts.map +1 -1
- package/dist/actions/get-requests-csv-links.mjs +4 -4
- package/dist/actions/get-requests-csv-links.mjs.map +1 -1
- package/dist/actions/get-requests-json-links.cjs +4 -4
- package/dist/actions/get-requests-json-links.cjs.map +1 -1
- package/dist/actions/get-requests-json-links.d.cts +17 -3
- package/dist/actions/get-requests-json-links.d.cts.map +1 -1
- package/dist/actions/get-requests-json-links.d.mts +17 -3
- package/dist/actions/get-requests-json-links.d.mts.map +1 -1
- package/dist/actions/get-requests-json-links.mjs +4 -4
- package/dist/actions/get-requests-json-links.mjs.map +1 -1
- package/dist/actions/get-result-set-csv.cjs +10 -10
- package/dist/actions/get-result-set-csv.cjs.map +1 -1
- package/dist/actions/get-result-set-csv.d.cts +43 -3
- package/dist/actions/get-result-set-csv.d.cts.map +1 -1
- package/dist/actions/get-result-set-csv.d.mts +43 -3
- package/dist/actions/get-result-set-csv.d.mts.map +1 -1
- package/dist/actions/get-result-set-csv.mjs +10 -10
- package/dist/actions/get-result-set-csv.mjs.map +1 -1
- package/dist/actions/get-result-set-json.cjs +10 -10
- package/dist/actions/get-result-set-json.cjs.map +1 -1
- package/dist/actions/get-result-set-json.d.cts +39 -3
- package/dist/actions/get-result-set-json.d.cts.map +1 -1
- package/dist/actions/get-result-set-json.d.mts +39 -3
- package/dist/actions/get-result-set-json.d.mts.map +1 -1
- package/dist/actions/get-result-set-json.mjs +10 -10
- package/dist/actions/get-result-set-json.mjs.map +1 -1
- package/dist/actions/get-result-set-jsonlines.cjs +10 -10
- package/dist/actions/get-result-set-jsonlines.cjs.map +1 -1
- package/dist/actions/get-result-set-jsonlines.d.cts +56 -3
- package/dist/actions/get-result-set-jsonlines.d.cts.map +1 -1
- package/dist/actions/get-result-set-jsonlines.d.mts +56 -3
- package/dist/actions/get-result-set-jsonlines.d.mts.map +1 -1
- package/dist/actions/get-result-set-jsonlines.mjs +10 -10
- package/dist/actions/get-result-set-jsonlines.mjs.map +1 -1
- package/dist/actions/get-target-product-data.cjs +1 -1
- package/dist/actions/get-target-product-data.cjs.map +1 -1
- package/dist/actions/get-target-product-data.d.cts +112 -3
- package/dist/actions/get-target-product-data.d.cts.map +1 -1
- package/dist/actions/get-target-product-data.d.mts +112 -3
- package/dist/actions/get-target-product-data.d.mts.map +1 -1
- package/dist/actions/get-target-product-data.mjs +1 -1
- package/dist/actions/get-target-product-data.mjs.map +1 -1
- package/dist/actions/list-categories.cjs +1 -1
- package/dist/actions/list-categories.cjs.map +1 -1
- package/dist/actions/list-categories.d.cts +63 -3
- package/dist/actions/list-categories.d.cts.map +1 -1
- package/dist/actions/list-categories.d.mts +63 -3
- package/dist/actions/list-categories.d.mts.map +1 -1
- package/dist/actions/list-categories.mjs +1 -1
- package/dist/actions/list-categories.mjs.map +1 -1
- package/dist/actions/list-collections.cjs.map +1 -1
- package/dist/actions/list-collections.d.cts +71 -3
- package/dist/actions/list-collections.d.cts.map +1 -1
- package/dist/actions/list-collections.d.mts +71 -3
- package/dist/actions/list-collections.d.mts.map +1 -1
- package/dist/actions/list-collections.mjs.map +1 -1
- package/dist/actions/list-destinations.cjs +9 -9
- package/dist/actions/list-destinations.cjs.map +1 -1
- package/dist/actions/list-destinations.d.cts +37 -3
- package/dist/actions/list-destinations.d.cts.map +1 -1
- package/dist/actions/list-destinations.d.mts +37 -3
- package/dist/actions/list-destinations.d.mts.map +1 -1
- package/dist/actions/list-destinations.mjs +9 -9
- package/dist/actions/list-destinations.mjs.map +1 -1
- package/dist/actions/list-error-logs.cjs +6 -6
- package/dist/actions/list-error-logs.cjs.map +1 -1
- package/dist/actions/list-error-logs.d.cts +30 -3
- package/dist/actions/list-error-logs.d.cts.map +1 -1
- package/dist/actions/list-error-logs.d.mts +30 -3
- package/dist/actions/list-error-logs.d.mts.map +1 -1
- package/dist/actions/list-error-logs.mjs +6 -6
- package/dist/actions/list-error-logs.mjs.map +1 -1
- package/dist/actions/list-requests-by-page.cjs +6 -6
- package/dist/actions/list-requests-by-page.cjs.map +1 -1
- package/dist/actions/list-requests-by-page.d.cts +22 -3
- package/dist/actions/list-requests-by-page.d.cts.map +1 -1
- package/dist/actions/list-requests-by-page.d.mts +22 -3
- package/dist/actions/list-requests-by-page.d.mts.map +1 -1
- package/dist/actions/list-requests-by-page.mjs +6 -6
- package/dist/actions/list-requests-by-page.mjs.map +1 -1
- package/dist/actions/list-result-sets.cjs +20 -20
- package/dist/actions/list-result-sets.cjs.map +1 -1
- package/dist/actions/list-result-sets.d.cts +41 -3
- package/dist/actions/list-result-sets.d.cts.map +1 -1
- package/dist/actions/list-result-sets.d.mts +41 -3
- package/dist/actions/list-result-sets.d.mts.map +1 -1
- package/dist/actions/list-result-sets.mjs +20 -20
- package/dist/actions/list-result-sets.mjs.map +1 -1
- package/dist/actions/list-zipcodes.cjs +4 -4
- package/dist/actions/list-zipcodes.cjs.map +1 -1
- package/dist/actions/list-zipcodes.d.cts +21 -3
- package/dist/actions/list-zipcodes.d.cts.map +1 -1
- package/dist/actions/list-zipcodes.d.mts +21 -3
- package/dist/actions/list-zipcodes.d.mts.map +1 -1
- package/dist/actions/list-zipcodes.mjs +4 -4
- package/dist/actions/list-zipcodes.mjs.map +1 -1
- package/dist/actions/resend-webhook.cjs +2 -2
- package/dist/actions/resend-webhook.cjs.map +1 -1
- package/dist/actions/resend-webhook.d.cts +14 -3
- package/dist/actions/resend-webhook.d.cts.map +1 -1
- package/dist/actions/resend-webhook.d.mts +14 -3
- package/dist/actions/resend-webhook.d.mts.map +1 -1
- package/dist/actions/resend-webhook.mjs +2 -2
- package/dist/actions/resend-webhook.mjs.map +1 -1
- package/dist/actions/start-collection.cjs.map +1 -1
- package/dist/actions/start-collection.d.cts +11 -3
- package/dist/actions/start-collection.d.cts.map +1 -1
- package/dist/actions/start-collection.d.mts +11 -3
- package/dist/actions/start-collection.d.mts.map +1 -1
- package/dist/actions/start-collection.mjs.map +1 -1
- package/dist/actions/stop-all-collections.cjs +4 -4
- package/dist/actions/stop-all-collections.cjs.map +1 -1
- package/dist/actions/stop-all-collections.d.cts +10 -3
- package/dist/actions/stop-all-collections.d.cts.map +1 -1
- package/dist/actions/stop-all-collections.d.mts +10 -3
- package/dist/actions/stop-all-collections.d.mts.map +1 -1
- package/dist/actions/stop-all-collections.mjs +4 -4
- package/dist/actions/stop-all-collections.mjs.map +1 -1
- package/dist/actions/stop-collection.cjs +1 -1
- package/dist/actions/stop-collection.cjs.map +1 -1
- package/dist/actions/stop-collection.d.cts +11 -3
- package/dist/actions/stop-collection.d.cts.map +1 -1
- package/dist/actions/stop-collection.d.mts +11 -3
- package/dist/actions/stop-collection.d.mts.map +1 -1
- package/dist/actions/stop-collection.mjs +1 -1
- package/dist/actions/stop-collection.mjs.map +1 -1
- package/dist/actions/update-collection.cjs.map +1 -1
- package/dist/actions/update-collection.d.cts +69 -3
- package/dist/actions/update-collection.d.cts.map +1 -1
- package/dist/actions/update-collection.d.mts +69 -3
- package/dist/actions/update-collection.d.mts.map +1 -1
- package/dist/actions/update-collection.mjs.map +1 -1
- package/dist/actions/update-destination.cjs +4 -4
- package/dist/actions/update-destination.cjs.map +1 -1
- package/dist/actions/update-destination.d.cts +82 -3
- package/dist/actions/update-destination.d.cts.map +1 -1
- package/dist/actions/update-destination.d.mts +82 -3
- package/dist/actions/update-destination.d.mts.map +1 -1
- package/dist/actions/update-destination.mjs +4 -4
- package/dist/actions/update-destination.mjs.map +1 -1
- package/dist/actions/update-request.cjs.map +1 -1
- package/dist/actions/update-request.d.cts +24 -3
- package/dist/actions/update-request.d.cts.map +1 -1
- package/dist/actions/update-request.d.mts +24 -3
- package/dist/actions/update-request.d.mts.map +1 -1
- package/dist/actions/update-request.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-destination.cjs","names":["z","action"],"sources":["../../src/actions/create-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateDestinationInput
|
|
1
|
+
{"version":3,"file":"create-destination.cjs","names":["z","action"],"sources":["../../src/actions/create-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateDestinationInput = z.object({\n name: z.string().describe(\"Destination identifier/name.\"),\n type: z.enum([\"s3\", \"gcs\", \"azure\", \"oss\", \"s3compatible\"]).describe(\"Storage provider type. Options: s3 (Amazon S3), gcs (Google Cloud Storage), azure (Azure Blob Storage), oss (Alibaba OSS), s3compatible (S3-compatible storage).\"),\n enabled: z.boolean().describe(\"Activation status. If true, a connectivity test will be performed by uploading and deleting a test file.\"),\n s3_region: z.string().describe(\"Region identifier for S3-compatible storage. Optional when type='s3compatible'.\").optional(),\n s3_endpoint: z.string().describe(\"S3-compatible endpoint URL. Required when type='s3compatible'.\").optional(),\n oss_region_id: z.string().describe(\"Alibaba region identifier. Required when type='oss'.\").optional(),\n gcs_access_key: z.string().describe(\"Google Cloud interoperable access key. Required when type='gcs'.\").optional(),\n gcs_secret_key: z.string().describe(\"Google Cloud interoperable secret key. Required when type='gcs'.\").optional(),\n oss_access_key: z.string().describe(\"Alibaba Cloud RAM user access key. Required when type='oss'.\").optional(),\n oss_secret_key: z.string().describe(\"Alibaba Cloud RAM user secret key. Required when type='oss'.\").optional(),\n s3_bucket_name: z.string().describe(\"S3 bucket name. Required when type='s3'.\").optional(),\n s3_path_prefix: z.string().describe(\"Path prefix for S3 uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='s3' or type='s3compatible'.\").optional(),\n gcs_bucket_name: z.string().describe(\"GCS bucket identifier. Required when type='gcs'.\").optional(),\n gcs_path_prefix: z.string().describe(\"Path prefix for GCS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='gcs'.\").optional(),\n oss_bucket_name: z.string().describe(\"Alibaba OSS bucket name. Required when type='oss'.\").optional(),\n oss_path_prefix: z.string().describe(\"Path prefix for OSS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='oss'.\").optional(),\n s3_access_key_id: z.string().describe(\"AWS access key ID. Required when type='s3'.\").optional(),\n azure_account_key: z.string().describe(\"Azure storage account key. Required when type='azure'.\").optional(),\n azure_path_prefix: z.string().describe(\"Path prefix for Azure uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='azure'.\").optional(),\n azure_account_name: z.string().describe(\"Azure storage account name. Required when type='azure'.\").optional(),\n azure_container_name: z.string().describe(\"Azure blob container name. Required when type='azure'.\").optional(),\n s3_secret_access_key: z.string().describe(\"AWS secret access key. Required when type='s3'.\").optional(),\n}).describe(\"Request model for creating a new destination.\\n\\nA destination is used for uploading Collection Result Sets to cloud storage providers.\\nThe type field determines which additional fields are required (S3, GCS, Azure, OSS, or S3-compatible).\");\nconst RedcircleApiCreateDestination_DestinationDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the created destination.\").nullable(),\n}).describe(\"Destination data object.\");\nconst RedcircleApiCreateDestination_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Operation status confirmation.\").nullable(),\n}).describe(\"Request information object.\");\nexport const RedcircleApiCreateDestinationOutput = z.object({\n destination: RedcircleApiCreateDestination_DestinationDataSchema.nullable(),\n request_info: RedcircleApiCreateDestination_RequestInfoSchema.nullable(),\n}).describe(\"Response schema for creating a destination.\");\n\nexport const redcircleApiCreateDestination = action(\"REDCIRCLE_API_CREATE_DESTINATION\", {\n slug: \"redcircle_api-create-destination\",\n name: \"Create Destination\",\n description: \"Tool to create a new destination for uploading Collection Result Sets to cloud storage. Use when you need to configure a storage destination for result sets with providers like S3, GCS, Azure, OSS, or S3-compatible storage.\",\n input: RedcircleApiCreateDestinationInput,\n output: RedcircleApiCreateDestinationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAO;EAAS;EAAO;CAAc,CAAC,CAAC,CAAC,SAAS,kKAAkK;CACvO,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0GAA0G;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC1M,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACtL,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACtL,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAC5L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kPAAkP;AAC9P,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,aAAa,oDAAoD,SAAS;CAC1E,cAAc,gDAAgD,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,68 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-destination.d.ts
|
|
4
|
-
declare const RedcircleApiCreateDestinationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedcircleApiCreateDestinationInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
type: z.ZodEnum<{
|
|
7
|
+
s3: "s3";
|
|
8
|
+
gcs: "gcs";
|
|
9
|
+
azure: "azure";
|
|
10
|
+
oss: "oss";
|
|
11
|
+
s3compatible: "s3compatible";
|
|
12
|
+
}>;
|
|
13
|
+
enabled: z.ZodBoolean;
|
|
14
|
+
s3_region: z.ZodOptional<z.ZodString>;
|
|
15
|
+
s3_endpoint: z.ZodOptional<z.ZodString>;
|
|
16
|
+
oss_region_id: z.ZodOptional<z.ZodString>;
|
|
17
|
+
gcs_access_key: z.ZodOptional<z.ZodString>;
|
|
18
|
+
gcs_secret_key: z.ZodOptional<z.ZodString>;
|
|
19
|
+
oss_access_key: z.ZodOptional<z.ZodString>;
|
|
20
|
+
oss_secret_key: z.ZodOptional<z.ZodString>;
|
|
21
|
+
s3_bucket_name: z.ZodOptional<z.ZodString>;
|
|
22
|
+
s3_path_prefix: z.ZodOptional<z.ZodString>;
|
|
23
|
+
gcs_bucket_name: z.ZodOptional<z.ZodString>;
|
|
24
|
+
gcs_path_prefix: z.ZodOptional<z.ZodString>;
|
|
25
|
+
oss_bucket_name: z.ZodOptional<z.ZodString>;
|
|
26
|
+
oss_path_prefix: z.ZodOptional<z.ZodString>;
|
|
27
|
+
s3_access_key_id: z.ZodOptional<z.ZodString>;
|
|
28
|
+
azure_account_key: z.ZodOptional<z.ZodString>;
|
|
29
|
+
azure_path_prefix: z.ZodOptional<z.ZodString>;
|
|
30
|
+
azure_account_name: z.ZodOptional<z.ZodString>;
|
|
31
|
+
azure_container_name: z.ZodOptional<z.ZodString>;
|
|
32
|
+
s3_secret_access_key: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
declare const RedcircleApiCreateDestinationOutput: z.ZodObject<{
|
|
35
|
+
destination: z.ZodNullable<z.ZodObject<{
|
|
36
|
+
id: z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
request_info: z.ZodNullable<z.ZodObject<{
|
|
39
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const redcircleApiCreateDestination: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
|
+
name: string;
|
|
44
|
+
type: "s3" | "gcs" | "azure" | "oss" | "s3compatible";
|
|
45
|
+
enabled: boolean;
|
|
46
|
+
s3_region?: string | undefined;
|
|
47
|
+
s3_endpoint?: string | undefined;
|
|
48
|
+
oss_region_id?: string | undefined;
|
|
49
|
+
gcs_access_key?: string | undefined;
|
|
50
|
+
gcs_secret_key?: string | undefined;
|
|
51
|
+
oss_access_key?: string | undefined;
|
|
52
|
+
oss_secret_key?: string | undefined;
|
|
53
|
+
s3_bucket_name?: string | undefined;
|
|
54
|
+
s3_path_prefix?: string | undefined;
|
|
55
|
+
gcs_bucket_name?: string | undefined;
|
|
56
|
+
gcs_path_prefix?: string | undefined;
|
|
57
|
+
oss_bucket_name?: string | undefined;
|
|
58
|
+
oss_path_prefix?: string | undefined;
|
|
59
|
+
s3_access_key_id?: string | undefined;
|
|
60
|
+
azure_account_key?: string | undefined;
|
|
61
|
+
azure_path_prefix?: string | undefined;
|
|
62
|
+
azure_account_name?: string | undefined;
|
|
63
|
+
azure_container_name?: string | undefined;
|
|
64
|
+
s3_secret_access_key?: string | undefined;
|
|
65
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
66
|
//#endregion
|
|
8
67
|
export { redcircleApiCreateDestination };
|
|
9
68
|
//# sourceMappingURL=create-destination.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-destination.d.cts","names":[],"sources":["../../src/actions/create-destination.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"create-destination.d.cts","names":[],"sources":["../../src/actions/create-destination.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8BlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,68 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-destination.d.ts
|
|
4
|
-
declare const RedcircleApiCreateDestinationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedcircleApiCreateDestinationInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
type: z.ZodEnum<{
|
|
7
|
+
s3: "s3";
|
|
8
|
+
gcs: "gcs";
|
|
9
|
+
azure: "azure";
|
|
10
|
+
oss: "oss";
|
|
11
|
+
s3compatible: "s3compatible";
|
|
12
|
+
}>;
|
|
13
|
+
enabled: z.ZodBoolean;
|
|
14
|
+
s3_region: z.ZodOptional<z.ZodString>;
|
|
15
|
+
s3_endpoint: z.ZodOptional<z.ZodString>;
|
|
16
|
+
oss_region_id: z.ZodOptional<z.ZodString>;
|
|
17
|
+
gcs_access_key: z.ZodOptional<z.ZodString>;
|
|
18
|
+
gcs_secret_key: z.ZodOptional<z.ZodString>;
|
|
19
|
+
oss_access_key: z.ZodOptional<z.ZodString>;
|
|
20
|
+
oss_secret_key: z.ZodOptional<z.ZodString>;
|
|
21
|
+
s3_bucket_name: z.ZodOptional<z.ZodString>;
|
|
22
|
+
s3_path_prefix: z.ZodOptional<z.ZodString>;
|
|
23
|
+
gcs_bucket_name: z.ZodOptional<z.ZodString>;
|
|
24
|
+
gcs_path_prefix: z.ZodOptional<z.ZodString>;
|
|
25
|
+
oss_bucket_name: z.ZodOptional<z.ZodString>;
|
|
26
|
+
oss_path_prefix: z.ZodOptional<z.ZodString>;
|
|
27
|
+
s3_access_key_id: z.ZodOptional<z.ZodString>;
|
|
28
|
+
azure_account_key: z.ZodOptional<z.ZodString>;
|
|
29
|
+
azure_path_prefix: z.ZodOptional<z.ZodString>;
|
|
30
|
+
azure_account_name: z.ZodOptional<z.ZodString>;
|
|
31
|
+
azure_container_name: z.ZodOptional<z.ZodString>;
|
|
32
|
+
s3_secret_access_key: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
declare const RedcircleApiCreateDestinationOutput: z.ZodObject<{
|
|
35
|
+
destination: z.ZodNullable<z.ZodObject<{
|
|
36
|
+
id: z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
request_info: z.ZodNullable<z.ZodObject<{
|
|
39
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const redcircleApiCreateDestination: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
|
+
name: string;
|
|
44
|
+
type: "s3" | "gcs" | "azure" | "oss" | "s3compatible";
|
|
45
|
+
enabled: boolean;
|
|
46
|
+
s3_region?: string | undefined;
|
|
47
|
+
s3_endpoint?: string | undefined;
|
|
48
|
+
oss_region_id?: string | undefined;
|
|
49
|
+
gcs_access_key?: string | undefined;
|
|
50
|
+
gcs_secret_key?: string | undefined;
|
|
51
|
+
oss_access_key?: string | undefined;
|
|
52
|
+
oss_secret_key?: string | undefined;
|
|
53
|
+
s3_bucket_name?: string | undefined;
|
|
54
|
+
s3_path_prefix?: string | undefined;
|
|
55
|
+
gcs_bucket_name?: string | undefined;
|
|
56
|
+
gcs_path_prefix?: string | undefined;
|
|
57
|
+
oss_bucket_name?: string | undefined;
|
|
58
|
+
oss_path_prefix?: string | undefined;
|
|
59
|
+
s3_access_key_id?: string | undefined;
|
|
60
|
+
azure_account_key?: string | undefined;
|
|
61
|
+
azure_path_prefix?: string | undefined;
|
|
62
|
+
azure_account_name?: string | undefined;
|
|
63
|
+
azure_container_name?: string | undefined;
|
|
64
|
+
s3_secret_access_key?: string | undefined;
|
|
65
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
66
|
//#endregion
|
|
8
67
|
export { redcircleApiCreateDestination };
|
|
9
68
|
//# sourceMappingURL=create-destination.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-destination.d.mts","names":[],"sources":["../../src/actions/create-destination.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"create-destination.d.mts","names":[],"sources":["../../src/actions/create-destination.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8BlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -31,8 +31,8 @@ const RedcircleApiCreateDestinationInput = z.object({
|
|
|
31
31
|
azure_container_name: z.string().describe("Azure blob container name. Required when type='azure'.").optional(),
|
|
32
32
|
s3_secret_access_key: z.string().describe("AWS secret access key. Required when type='s3'.").optional()
|
|
33
33
|
}).describe("Request model for creating a new destination.\n\nA destination is used for uploading Collection Result Sets to cloud storage providers.\nThe type field determines which additional fields are required (S3, GCS, Azure, OSS, or S3-compatible).");
|
|
34
|
-
const RedcircleApiCreateDestination_DestinationDataSchema = z.object({ id: z.string().describe("Unique identifier for the created destination.") }).describe("Destination data object.");
|
|
35
|
-
const RedcircleApiCreateDestination_RequestInfoSchema = z.object({ success: z.boolean().describe("Operation status confirmation.") }).describe("Request information object.");
|
|
34
|
+
const RedcircleApiCreateDestination_DestinationDataSchema = z.object({ id: z.string().describe("Unique identifier for the created destination.").nullable() }).describe("Destination data object.");
|
|
35
|
+
const RedcircleApiCreateDestination_RequestInfoSchema = z.object({ success: z.boolean().describe("Operation status confirmation.").nullable() }).describe("Request information object.");
|
|
36
36
|
const redcircleApiCreateDestination = action("REDCIRCLE_API_CREATE_DESTINATION", {
|
|
37
37
|
slug: "redcircle_api-create-destination",
|
|
38
38
|
name: "Create Destination",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-destination.mjs","names":[],"sources":["../../src/actions/create-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateDestinationInput
|
|
1
|
+
{"version":3,"file":"create-destination.mjs","names":[],"sources":["../../src/actions/create-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateDestinationInput = z.object({\n name: z.string().describe(\"Destination identifier/name.\"),\n type: z.enum([\"s3\", \"gcs\", \"azure\", \"oss\", \"s3compatible\"]).describe(\"Storage provider type. Options: s3 (Amazon S3), gcs (Google Cloud Storage), azure (Azure Blob Storage), oss (Alibaba OSS), s3compatible (S3-compatible storage).\"),\n enabled: z.boolean().describe(\"Activation status. If true, a connectivity test will be performed by uploading and deleting a test file.\"),\n s3_region: z.string().describe(\"Region identifier for S3-compatible storage. Optional when type='s3compatible'.\").optional(),\n s3_endpoint: z.string().describe(\"S3-compatible endpoint URL. Required when type='s3compatible'.\").optional(),\n oss_region_id: z.string().describe(\"Alibaba region identifier. Required when type='oss'.\").optional(),\n gcs_access_key: z.string().describe(\"Google Cloud interoperable access key. Required when type='gcs'.\").optional(),\n gcs_secret_key: z.string().describe(\"Google Cloud interoperable secret key. Required when type='gcs'.\").optional(),\n oss_access_key: z.string().describe(\"Alibaba Cloud RAM user access key. Required when type='oss'.\").optional(),\n oss_secret_key: z.string().describe(\"Alibaba Cloud RAM user secret key. Required when type='oss'.\").optional(),\n s3_bucket_name: z.string().describe(\"S3 bucket name. Required when type='s3'.\").optional(),\n s3_path_prefix: z.string().describe(\"Path prefix for S3 uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='s3' or type='s3compatible'.\").optional(),\n gcs_bucket_name: z.string().describe(\"GCS bucket identifier. Required when type='gcs'.\").optional(),\n gcs_path_prefix: z.string().describe(\"Path prefix for GCS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='gcs'.\").optional(),\n oss_bucket_name: z.string().describe(\"Alibaba OSS bucket name. Required when type='oss'.\").optional(),\n oss_path_prefix: z.string().describe(\"Path prefix for OSS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='oss'.\").optional(),\n s3_access_key_id: z.string().describe(\"AWS access key ID. Required when type='s3'.\").optional(),\n azure_account_key: z.string().describe(\"Azure storage account key. Required when type='azure'.\").optional(),\n azure_path_prefix: z.string().describe(\"Path prefix for Azure uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='azure'.\").optional(),\n azure_account_name: z.string().describe(\"Azure storage account name. Required when type='azure'.\").optional(),\n azure_container_name: z.string().describe(\"Azure blob container name. Required when type='azure'.\").optional(),\n s3_secret_access_key: z.string().describe(\"AWS secret access key. Required when type='s3'.\").optional(),\n}).describe(\"Request model for creating a new destination.\\n\\nA destination is used for uploading Collection Result Sets to cloud storage providers.\\nThe type field determines which additional fields are required (S3, GCS, Azure, OSS, or S3-compatible).\");\nconst RedcircleApiCreateDestination_DestinationDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the created destination.\").nullable(),\n}).describe(\"Destination data object.\");\nconst RedcircleApiCreateDestination_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Operation status confirmation.\").nullable(),\n}).describe(\"Request information object.\");\nexport const RedcircleApiCreateDestinationOutput = z.object({\n destination: RedcircleApiCreateDestination_DestinationDataSchema.nullable(),\n request_info: RedcircleApiCreateDestination_RequestInfoSchema.nullable(),\n}).describe(\"Response schema for creating a destination.\");\n\nexport const redcircleApiCreateDestination = action(\"REDCIRCLE_API_CREATE_DESTINATION\", {\n slug: \"redcircle_api-create-destination\",\n name: \"Create Destination\",\n description: \"Tool to create a new destination for uploading Collection Result Sets to cloud storage. Use when you need to configure a storage destination for result sets with providers like S3, GCS, Azure, OSS, or S3-compatible storage.\",\n input: RedcircleApiCreateDestinationInput,\n output: RedcircleApiCreateDestinationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAM,EAAE,KAAK;EAAC;EAAM;EAAO;EAAS;EAAO;CAAc,CAAC,CAAC,CAAC,SAAS,kKAAkK;CACvO,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0GAA0G;CACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC1M,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACtL,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACtL,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC1G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAC5L,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kPAAkP;AAC9P,MAAM,sDAAsD,EAAE,OAAO,EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAM,kDAAkD,EAAE,OAAO,EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAMzC,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,aAAa,oDAAoD,SAAS;EAC1E,cAAc,gDAAgD,SAAS;CACzE,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -10,13 +10,13 @@ const RedcircleApiCreateRequestsInput = zod.z.object({
|
|
|
10
10
|
collection_id: zod.z.string().describe("The unique identifier of the target collection")
|
|
11
11
|
}).describe("Request model for adding requests to a collection");
|
|
12
12
|
const RedcircleApiCreateRequests_CollectionSchema = zod.z.object({
|
|
13
|
-
id: zod.z.string().describe("Collection unique identifier"),
|
|
13
|
+
id: zod.z.string().describe("Collection unique identifier").nullable(),
|
|
14
14
|
name: zod.z.string().describe("Collection name").nullable().optional(),
|
|
15
15
|
status: zod.z.string().describe("Current collection status").nullable().optional(),
|
|
16
16
|
created_at: zod.z.string().describe("Collection creation timestamp").nullable().optional(),
|
|
17
17
|
requests_total_count: zod.z.number().int().describe("Total number of requests in the collection").nullable().optional()
|
|
18
18
|
}).describe("Collection information after adding requests");
|
|
19
|
-
const RedcircleApiCreateRequests_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful") }).describe("Information about the request operation");
|
|
19
|
+
const RedcircleApiCreateRequests_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful").nullable() }).describe("Information about the request operation");
|
|
20
20
|
const RedcircleApiCreateRequestsOutput = zod.z.object({
|
|
21
21
|
collection: RedcircleApiCreateRequests_CollectionSchema.nullable(),
|
|
22
22
|
request_info: RedcircleApiCreateRequests_RequestInfoSchema.nullable()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-requests.cjs","names":["z","action"],"sources":["../../src/actions/create-requests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateRequestsInput
|
|
1
|
+
{"version":3,"file":"create-requests.cjs","names":["z","action"],"sources":["../../src/actions/create-requests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateRequestsInput = z.object({\n requests: z.array(z.object({\n tcin: z.string().describe(\"Target product identifier\"),\n type: z.string().describe(\"Request type, e.g., 'product'\"),\n custom_id: z.string().describe(\"User-defined identifier for tracking across result sets\").optional(),\n}).describe(\"Individual request object to be added to the collection\")).describe(\"JSON array containing request objects. Maximum 1,000 requests per call. Collections have a 15,000 request maximum (100 if include_html=true).\"),\n collection_id: z.string().describe(\"The unique identifier of the target collection\"),\n}).describe(\"Request model for adding requests to a collection\");\nconst RedcircleApiCreateRequests_CollectionSchema = z.object({\n id: z.string().describe(\"Collection unique identifier\").nullable(),\n name: z.string().describe(\"Collection name\").nullable().optional(),\n status: z.string().describe(\"Current collection status\").nullable().optional(),\n created_at: z.string().describe(\"Collection creation timestamp\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n}).describe(\"Collection information after adding requests\");\nconst RedcircleApiCreateRequests_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).describe(\"Information about the request operation\");\nexport const RedcircleApiCreateRequestsOutput = z.object({\n collection: RedcircleApiCreateRequests_CollectionSchema.nullable(),\n request_info: RedcircleApiCreateRequests_RequestInfoSchema.nullable(),\n}).describe(\"Response model for adding requests to a collection\");\n\nexport const redcircleApiCreateRequests = action(\"REDCIRCLE_API_CREATE_REQUESTS\", {\n slug: \"redcircle_api-create-requests\",\n name: \"Create Requests\",\n description: \"Tool to add up to 1,000 requests to an existing collection. Use when you need to populate a collection with product requests. Collections have a maximum of 15,000 requests (100 if include_html=true). Sequential calls required; parallel requests trigger HTTP 429 errors.\",\n input: RedcircleApiCreateRequestsInput,\n output: RedcircleApiCreateRequestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,+IAA+I;CAC9N,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACrF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAY,4CAA4C,SAAS;CACjE,cAAc,6CAA6C,SAAS;AACtE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-requests.d.ts
|
|
4
|
-
declare const RedcircleApiCreateRequestsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedcircleApiCreateRequestsInput: z.ZodObject<{
|
|
5
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
6
|
+
tcin: z.ZodString;
|
|
7
|
+
type: z.ZodString;
|
|
8
|
+
custom_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
collection_id: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const RedcircleApiCreateRequestsOutput: z.ZodObject<{
|
|
13
|
+
collection: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
requests_total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
request_info: z.ZodNullable<z.ZodObject<{
|
|
21
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const redcircleApiCreateRequests: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
requests: {
|
|
26
|
+
tcin: string;
|
|
27
|
+
type: string;
|
|
28
|
+
custom_id?: string | undefined;
|
|
29
|
+
}[];
|
|
30
|
+
collection_id: string;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { redcircleApiCreateRequests };
|
|
9
34
|
//# sourceMappingURL=create-requests.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-requests.d.cts","names":[],"sources":["../../src/actions/create-requests.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"create-requests.d.cts","names":[],"sources":["../../src/actions/create-requests.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAkB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-requests.d.ts
|
|
4
|
-
declare const RedcircleApiCreateRequestsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedcircleApiCreateRequestsInput: z.ZodObject<{
|
|
5
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
6
|
+
tcin: z.ZodString;
|
|
7
|
+
type: z.ZodString;
|
|
8
|
+
custom_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
collection_id: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const RedcircleApiCreateRequestsOutput: z.ZodObject<{
|
|
13
|
+
collection: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
requests_total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
request_info: z.ZodNullable<z.ZodObject<{
|
|
21
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const redcircleApiCreateRequests: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
requests: {
|
|
26
|
+
tcin: string;
|
|
27
|
+
type: string;
|
|
28
|
+
custom_id?: string | undefined;
|
|
29
|
+
}[];
|
|
30
|
+
collection_id: string;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { redcircleApiCreateRequests };
|
|
9
34
|
//# sourceMappingURL=create-requests.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-requests.d.mts","names":[],"sources":["../../src/actions/create-requests.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"create-requests.d.mts","names":[],"sources":["../../src/actions/create-requests.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAkB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -10,13 +10,13 @@ const RedcircleApiCreateRequestsInput = z.object({
|
|
|
10
10
|
collection_id: z.string().describe("The unique identifier of the target collection")
|
|
11
11
|
}).describe("Request model for adding requests to a collection");
|
|
12
12
|
const RedcircleApiCreateRequests_CollectionSchema = z.object({
|
|
13
|
-
id: z.string().describe("Collection unique identifier"),
|
|
13
|
+
id: z.string().describe("Collection unique identifier").nullable(),
|
|
14
14
|
name: z.string().describe("Collection name").nullable().optional(),
|
|
15
15
|
status: z.string().describe("Current collection status").nullable().optional(),
|
|
16
16
|
created_at: z.string().describe("Collection creation timestamp").nullable().optional(),
|
|
17
17
|
requests_total_count: z.number().int().describe("Total number of requests in the collection").nullable().optional()
|
|
18
18
|
}).describe("Collection information after adding requests");
|
|
19
|
-
const RedcircleApiCreateRequests_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful") }).describe("Information about the request operation");
|
|
19
|
+
const RedcircleApiCreateRequests_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful").nullable() }).describe("Information about the request operation");
|
|
20
20
|
const redcircleApiCreateRequests = action("REDCIRCLE_API_CREATE_REQUESTS", {
|
|
21
21
|
slug: "redcircle_api-create-requests",
|
|
22
22
|
name: "Create Requests",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-requests.mjs","names":[],"sources":["../../src/actions/create-requests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateRequestsInput
|
|
1
|
+
{"version":3,"file":"create-requests.mjs","names":[],"sources":["../../src/actions/create-requests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateRequestsInput = z.object({\n requests: z.array(z.object({\n tcin: z.string().describe(\"Target product identifier\"),\n type: z.string().describe(\"Request type, e.g., 'product'\"),\n custom_id: z.string().describe(\"User-defined identifier for tracking across result sets\").optional(),\n}).describe(\"Individual request object to be added to the collection\")).describe(\"JSON array containing request objects. Maximum 1,000 requests per call. Collections have a 15,000 request maximum (100 if include_html=true).\"),\n collection_id: z.string().describe(\"The unique identifier of the target collection\"),\n}).describe(\"Request model for adding requests to a collection\");\nconst RedcircleApiCreateRequests_CollectionSchema = z.object({\n id: z.string().describe(\"Collection unique identifier\").nullable(),\n name: z.string().describe(\"Collection name\").nullable().optional(),\n status: z.string().describe(\"Current collection status\").nullable().optional(),\n created_at: z.string().describe(\"Collection creation timestamp\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n}).describe(\"Collection information after adding requests\");\nconst RedcircleApiCreateRequests_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).describe(\"Information about the request operation\");\nexport const RedcircleApiCreateRequestsOutput = z.object({\n collection: RedcircleApiCreateRequests_CollectionSchema.nullable(),\n request_info: RedcircleApiCreateRequests_RequestInfoSchema.nullable(),\n}).describe(\"Response model for adding requests to a collection\");\n\nexport const redcircleApiCreateRequests = action(\"REDCIRCLE_API_CREATE_REQUESTS\", {\n slug: \"redcircle_api-create-requests\",\n name: \"Create Requests\",\n description: \"Tool to add up to 1,000 requests to an existing collection. Use when you need to populate a collection with product requests. Collections have a maximum of 15,000 requests (100 if include_html=true). Sequential calls required; parallel requests trigger HTTP 429 errors.\",\n input: RedcircleApiCreateRequestsInput,\n output: RedcircleApiCreateRequestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,+IAA+I;CAC9N,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACrF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,+CAA+C,EAAE,OAAO,EAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAMrD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,YAAY,4CAA4C,SAAS;EACjE,cAAc,6CAA6C,SAAS;CACtE,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/delete-collection.ts
|
|
4
4
|
const RedcircleApiDeleteCollectionInput = zod.z.object({ collection_id: zod.z.string().describe("The unique identifier of the collection to delete. Note: Collection cannot be deleted while actively running.") }).describe("Request parameters for deleting a collection.");
|
|
5
5
|
const RedcircleApiDeleteCollection_RequestInfoSchema = zod.z.object({
|
|
6
|
-
message: zod.z.string().describe("Confirmation message or error details"),
|
|
7
|
-
success: zod.z.boolean().describe("Indicates whether the deletion was successful")
|
|
6
|
+
message: zod.z.string().describe("Confirmation message or error details").nullable(),
|
|
7
|
+
success: zod.z.boolean().describe("Indicates whether the deletion was successful").nullable()
|
|
8
8
|
}).describe("Response metadata container.");
|
|
9
9
|
const RedcircleApiDeleteCollectionOutput = zod.z.object({ request_info: RedcircleApiDeleteCollection_RequestInfoSchema.nullable() }).describe("Response schema for collection deletion.");
|
|
10
10
|
const redcircleApiDeleteCollection = require_action.action("REDCIRCLE_API_DELETE_COLLECTION", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-collection.cjs","names":["z","action"],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteCollectionInput
|
|
1
|
+
{"version":3,"file":"delete-collection.cjs","names":["z","action"],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteCollectionInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to delete. Note: Collection cannot be deleted while actively running.\"),\n}).describe(\"Request parameters for deleting a collection.\");\nconst RedcircleApiDeleteCollection_RequestInfoSchema = z.object({\n message: z.string().describe(\"Confirmation message or error details\").nullable(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).describe(\"Response metadata container.\");\nexport const RedcircleApiDeleteCollectionOutput = z.object({\n request_info: RedcircleApiDeleteCollection_RequestInfoSchema.nullable(),\n}).describe(\"Response schema for collection deletion.\");\n\nexport const redcircleApiDeleteCollection = action(\"REDCIRCLE_API_DELETE_COLLECTION\", {\n slug: \"redcircle_api-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to remove a collection from the system by ID. Use when you need to delete a collection that is not currently running.\",\n input: RedcircleApiDeleteCollectionInput,\n output: RedcircleApiDeleteCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACpJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,cAAc,+CAA+C,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-collection.d.ts
|
|
4
|
-
declare const RedcircleApiDeleteCollectionInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedcircleApiDeleteCollectionInput: z.ZodObject<{
|
|
5
|
+
collection_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RedcircleApiDeleteCollectionOutput: z.ZodObject<{
|
|
8
|
+
request_info: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
message: z.ZodNullable<z.ZodString>;
|
|
10
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const redcircleApiDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
collection_id: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { redcircleApiDeleteCollection };
|
|
9
18
|
//# sourceMappingURL=delete-collection.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-collection.d.cts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"delete-collection.d.cts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-collection.d.ts
|
|
4
|
-
declare const RedcircleApiDeleteCollectionInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedcircleApiDeleteCollectionInput: z.ZodObject<{
|
|
5
|
+
collection_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RedcircleApiDeleteCollectionOutput: z.ZodObject<{
|
|
8
|
+
request_info: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
message: z.ZodNullable<z.ZodString>;
|
|
10
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const redcircleApiDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
collection_id: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { redcircleApiDeleteCollection };
|
|
9
18
|
//# sourceMappingURL=delete-collection.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-collection.d.mts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"delete-collection.d.mts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/delete-collection.ts
|
|
4
4
|
const RedcircleApiDeleteCollectionInput = z.object({ collection_id: z.string().describe("The unique identifier of the collection to delete. Note: Collection cannot be deleted while actively running.") }).describe("Request parameters for deleting a collection.");
|
|
5
5
|
const RedcircleApiDeleteCollection_RequestInfoSchema = z.object({
|
|
6
|
-
message: z.string().describe("Confirmation message or error details"),
|
|
7
|
-
success: z.boolean().describe("Indicates whether the deletion was successful")
|
|
6
|
+
message: z.string().describe("Confirmation message or error details").nullable(),
|
|
7
|
+
success: z.boolean().describe("Indicates whether the deletion was successful").nullable()
|
|
8
8
|
}).describe("Response metadata container.");
|
|
9
9
|
const redcircleApiDeleteCollection = action("REDCIRCLE_API_DELETE_COLLECTION", {
|
|
10
10
|
slug: "redcircle_api-delete-collection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-collection.mjs","names":[],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteCollectionInput
|
|
1
|
+
{"version":3,"file":"delete-collection.mjs","names":[],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteCollectionInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to delete. Note: Collection cannot be deleted while actively running.\"),\n}).describe(\"Request parameters for deleting a collection.\");\nconst RedcircleApiDeleteCollection_RequestInfoSchema = z.object({\n message: z.string().describe(\"Confirmation message or error details\").nullable(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).describe(\"Response metadata container.\");\nexport const RedcircleApiDeleteCollectionOutput = z.object({\n request_info: RedcircleApiDeleteCollection_RequestInfoSchema.nullable(),\n}).describe(\"Response schema for collection deletion.\");\n\nexport const redcircleApiDeleteCollection = action(\"REDCIRCLE_API_DELETE_COLLECTION\", {\n slug: \"redcircle_api-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to remove a collection from the system by ID. Use when you need to delete a collection that is not currently running.\",\n input: RedcircleApiDeleteCollectionInput,\n output: RedcircleApiDeleteCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO,EACxD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACpJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,cAAc,+CAA+C,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/delete-destination.ts
|
|
4
4
|
const RedcircleApiDeleteDestinationInput = zod.z.object({ destination_id: zod.z.string().describe("The unique identifier of the destination to be removed") }).describe("Request model for deleting a destination by ID.");
|
|
5
5
|
const RedcircleApiDeleteDestination_RequestInfoSchema = zod.z.object({
|
|
6
|
-
message: zod.z.string().describe("Confirmation message (e.g., '1 Destination deleted') or error details"),
|
|
7
|
-
success: zod.z.boolean().describe("Indicates whether the deletion was successful")
|
|
6
|
+
message: zod.z.string().describe("Confirmation message (e.g., '1 Destination deleted') or error details").nullable(),
|
|
7
|
+
success: zod.z.boolean().describe("Indicates whether the deletion was successful").nullable()
|
|
8
8
|
}).describe("Contains deletion status information.");
|
|
9
9
|
const RedcircleApiDeleteDestinationOutput = zod.z.object({ request_info: RedcircleApiDeleteDestination_RequestInfoSchema.nullable() }).describe("Response model for destination deletion.");
|
|
10
10
|
const redcircleApiDeleteDestination = require_action.action("REDCIRCLE_API_DELETE_DESTINATION", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-destination.cjs","names":["z","action"],"sources":["../../src/actions/delete-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteDestinationInput
|
|
1
|
+
{"version":3,"file":"delete-destination.cjs","names":["z","action"],"sources":["../../src/actions/delete-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteDestinationInput = z.object({\n destination_id: z.string().describe(\"The unique identifier of the destination to be removed\"),\n}).describe(\"Request model for deleting a destination by ID.\");\nconst RedcircleApiDeleteDestination_RequestInfoSchema = z.object({\n message: z.string().describe(\"Confirmation message (e.g., '1 Destination deleted') or error details\").nullable(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).describe(\"Contains deletion status information.\");\nexport const RedcircleApiDeleteDestinationOutput = z.object({\n request_info: RedcircleApiDeleteDestination_RequestInfoSchema.nullable(),\n}).describe(\"Response model for destination deletion.\");\n\nexport const redcircleApiDeleteDestination = action(\"REDCIRCLE_API_DELETE_DESTINATION\", {\n slug: \"redcircle_api-delete-destination\",\n name: \"Delete Destination\",\n description: \"Tool to remove a destination from your RedCircle API account. Use when you need to permanently delete a specific destination by its ID.\",\n input: RedcircleApiDeleteDestinationInput,\n output: RedcircleApiDeleteDestinationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,cAAc,gDAAgD,SAAS,EACzE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-destination.d.ts
|
|
4
|
-
declare const RedcircleApiDeleteDestinationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedcircleApiDeleteDestinationInput: z.ZodObject<{
|
|
5
|
+
destination_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RedcircleApiDeleteDestinationOutput: z.ZodObject<{
|
|
8
|
+
request_info: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
message: z.ZodNullable<z.ZodString>;
|
|
10
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const redcircleApiDeleteDestination: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
destination_id: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { redcircleApiDeleteDestination };
|
|
9
18
|
//# sourceMappingURL=delete-destination.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-destination.d.cts","names":[],"sources":["../../src/actions/delete-destination.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"delete-destination.d.cts","names":[],"sources":["../../src/actions/delete-destination.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAOlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-destination.d.ts
|
|
4
|
-
declare const RedcircleApiDeleteDestinationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedcircleApiDeleteDestinationInput: z.ZodObject<{
|
|
5
|
+
destination_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RedcircleApiDeleteDestinationOutput: z.ZodObject<{
|
|
8
|
+
request_info: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
message: z.ZodNullable<z.ZodString>;
|
|
10
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const redcircleApiDeleteDestination: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
destination_id: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { redcircleApiDeleteDestination };
|
|
9
18
|
//# sourceMappingURL=delete-destination.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-destination.d.mts","names":[],"sources":["../../src/actions/delete-destination.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"delete-destination.d.mts","names":[],"sources":["../../src/actions/delete-destination.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAOlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|