@keystrokehq/redcircle_api 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-zipcodes.cjs +23 -0
- package/dist/actions/add-zipcodes.cjs.map +1 -0
- package/dist/actions/add-zipcodes.d.cts +9 -0
- package/dist/actions/add-zipcodes.d.cts.map +1 -0
- package/dist/actions/add-zipcodes.d.mts +9 -0
- package/dist/actions/add-zipcodes.d.mts.map +1 -0
- package/dist/actions/add-zipcodes.mjs +22 -0
- package/dist/actions/add-zipcodes.mjs.map +1 -0
- package/dist/actions/clear-collection-requests.cjs +20 -0
- package/dist/actions/clear-collection-requests.cjs.map +1 -0
- package/dist/actions/clear-collection-requests.d.cts +9 -0
- package/dist/actions/clear-collection-requests.d.cts.map +1 -0
- package/dist/actions/clear-collection-requests.d.mts +9 -0
- package/dist/actions/clear-collection-requests.d.mts.map +1 -0
- package/dist/actions/clear-collection-requests.mjs +19 -0
- package/dist/actions/clear-collection-requests.mjs.map +1 -0
- package/dist/actions/create-collection.cjs +83 -0
- package/dist/actions/create-collection.cjs.map +1 -0
- package/dist/actions/create-collection.d.cts +9 -0
- package/dist/actions/create-collection.d.cts.map +1 -0
- package/dist/actions/create-collection.d.mts +9 -0
- package/dist/actions/create-collection.d.mts.map +1 -0
- package/dist/actions/create-collection.mjs +82 -0
- package/dist/actions/create-collection.mjs.map +1 -0
- package/dist/actions/create-destination.cjs +50 -0
- package/dist/actions/create-destination.cjs.map +1 -0
- package/dist/actions/create-destination.d.cts +9 -0
- package/dist/actions/create-destination.d.cts.map +1 -0
- package/dist/actions/create-destination.d.mts +9 -0
- package/dist/actions/create-destination.d.mts.map +1 -0
- package/dist/actions/create-destination.mjs +49 -0
- package/dist/actions/create-destination.mjs.map +1 -0
- package/dist/actions/create-requests.cjs +34 -0
- package/dist/actions/create-requests.cjs.map +1 -0
- package/dist/actions/create-requests.d.cts +9 -0
- package/dist/actions/create-requests.d.cts.map +1 -0
- package/dist/actions/create-requests.d.mts +9 -0
- package/dist/actions/create-requests.d.mts.map +1 -0
- package/dist/actions/create-requests.mjs +33 -0
- package/dist/actions/create-requests.mjs.map +1 -0
- package/dist/actions/delete-collection.cjs +20 -0
- package/dist/actions/delete-collection.cjs.map +1 -0
- package/dist/actions/delete-collection.d.cts +9 -0
- package/dist/actions/delete-collection.d.cts.map +1 -0
- package/dist/actions/delete-collection.d.mts +9 -0
- package/dist/actions/delete-collection.d.mts.map +1 -0
- package/dist/actions/delete-collection.mjs +19 -0
- package/dist/actions/delete-collection.mjs.map +1 -0
- package/dist/actions/delete-destination.cjs +20 -0
- package/dist/actions/delete-destination.cjs.map +1 -0
- package/dist/actions/delete-destination.d.cts +9 -0
- package/dist/actions/delete-destination.d.cts.map +1 -0
- package/dist/actions/delete-destination.d.mts +9 -0
- package/dist/actions/delete-destination.d.mts.map +1 -0
- package/dist/actions/delete-destination.mjs +19 -0
- package/dist/actions/delete-destination.mjs.map +1 -0
- package/dist/actions/delete-request.cjs +23 -0
- package/dist/actions/delete-request.cjs.map +1 -0
- package/dist/actions/delete-request.d.cts +9 -0
- package/dist/actions/delete-request.d.cts.map +1 -0
- package/dist/actions/delete-request.d.mts +9 -0
- package/dist/actions/delete-request.d.mts.map +1 -0
- package/dist/actions/delete-request.mjs +22 -0
- package/dist/actions/delete-request.mjs.map +1 -0
- package/dist/actions/delete-requests-bulk.cjs +23 -0
- package/dist/actions/delete-requests-bulk.cjs.map +1 -0
- package/dist/actions/delete-requests-bulk.d.cts +9 -0
- package/dist/actions/delete-requests-bulk.d.cts.map +1 -0
- package/dist/actions/delete-requests-bulk.d.mts +9 -0
- package/dist/actions/delete-requests-bulk.d.mts.map +1 -0
- package/dist/actions/delete-requests-bulk.mjs +22 -0
- package/dist/actions/delete-requests-bulk.mjs.map +1 -0
- package/dist/actions/delete-zipcodes.cjs +23 -0
- package/dist/actions/delete-zipcodes.cjs.map +1 -0
- package/dist/actions/delete-zipcodes.d.cts +9 -0
- package/dist/actions/delete-zipcodes.d.cts.map +1 -0
- package/dist/actions/delete-zipcodes.d.mts +9 -0
- package/dist/actions/delete-zipcodes.d.mts.map +1 -0
- package/dist/actions/delete-zipcodes.mjs +22 -0
- package/dist/actions/delete-zipcodes.mjs.map +1 -0
- package/dist/actions/get-account.cjs +51 -0
- package/dist/actions/get-account.cjs.map +1 -0
- package/dist/actions/get-account.d.cts +9 -0
- package/dist/actions/get-account.d.cts.map +1 -0
- package/dist/actions/get-account.d.mts +9 -0
- package/dist/actions/get-account.d.mts.map +1 -0
- package/dist/actions/get-account.mjs +50 -0
- package/dist/actions/get-account.mjs.map +1 -0
- package/dist/actions/get-collection.cjs +45 -0
- package/dist/actions/get-collection.cjs.map +1 -0
- package/dist/actions/get-collection.d.cts +9 -0
- package/dist/actions/get-collection.d.cts.map +1 -0
- package/dist/actions/get-collection.d.mts +9 -0
- package/dist/actions/get-collection.d.mts.map +1 -0
- package/dist/actions/get-collection.mjs +44 -0
- package/dist/actions/get-collection.mjs.map +1 -0
- package/dist/actions/get-requests-csv-links.cjs +24 -0
- package/dist/actions/get-requests-csv-links.cjs.map +1 -0
- package/dist/actions/get-requests-csv-links.d.cts +9 -0
- package/dist/actions/get-requests-csv-links.d.cts.map +1 -0
- package/dist/actions/get-requests-csv-links.d.mts +9 -0
- package/dist/actions/get-requests-csv-links.d.mts.map +1 -0
- package/dist/actions/get-requests-csv-links.mjs +23 -0
- package/dist/actions/get-requests-csv-links.mjs.map +1 -0
- package/dist/actions/get-requests-json-links.cjs +24 -0
- package/dist/actions/get-requests-json-links.cjs.map +1 -0
- package/dist/actions/get-requests-json-links.d.cts +9 -0
- package/dist/actions/get-requests-json-links.d.cts.map +1 -0
- package/dist/actions/get-requests-json-links.d.mts +9 -0
- package/dist/actions/get-requests-json-links.d.mts.map +1 -0
- package/dist/actions/get-requests-json-links.mjs +23 -0
- package/dist/actions/get-requests-json-links.mjs.map +1 -0
- package/dist/actions/get-result-set-csv.cjs +56 -0
- package/dist/actions/get-result-set-csv.cjs.map +1 -0
- package/dist/actions/get-result-set-csv.d.cts +9 -0
- package/dist/actions/get-result-set-csv.d.cts.map +1 -0
- package/dist/actions/get-result-set-csv.d.mts +9 -0
- package/dist/actions/get-result-set-csv.d.mts.map +1 -0
- package/dist/actions/get-result-set-csv.mjs +55 -0
- package/dist/actions/get-result-set-csv.mjs.map +1 -0
- package/dist/actions/get-result-set-json.cjs +51 -0
- package/dist/actions/get-result-set-json.cjs.map +1 -0
- package/dist/actions/get-result-set-json.d.cts +9 -0
- package/dist/actions/get-result-set-json.d.cts.map +1 -0
- package/dist/actions/get-result-set-json.d.mts +9 -0
- package/dist/actions/get-result-set-json.d.mts.map +1 -0
- package/dist/actions/get-result-set-json.mjs +50 -0
- package/dist/actions/get-result-set-json.mjs.map +1 -0
- package/dist/actions/get-result-set-jsonlines.cjs +74 -0
- package/dist/actions/get-result-set-jsonlines.cjs.map +1 -0
- package/dist/actions/get-result-set-jsonlines.d.cts +9 -0
- package/dist/actions/get-result-set-jsonlines.d.cts.map +1 -0
- package/dist/actions/get-result-set-jsonlines.d.mts +9 -0
- package/dist/actions/get-result-set-jsonlines.d.mts.map +1 -0
- package/dist/actions/get-result-set-jsonlines.mjs +73 -0
- package/dist/actions/get-result-set-jsonlines.mjs.map +1 -0
- package/dist/actions/get-target-product-data.cjs +108 -0
- package/dist/actions/get-target-product-data.cjs.map +1 -0
- package/dist/actions/get-target-product-data.d.cts +9 -0
- package/dist/actions/get-target-product-data.d.cts.map +1 -0
- package/dist/actions/get-target-product-data.d.mts +9 -0
- package/dist/actions/get-target-product-data.d.mts.map +1 -0
- package/dist/actions/get-target-product-data.mjs +107 -0
- package/dist/actions/get-target-product-data.mjs.map +1 -0
- package/dist/actions/index.cjs +65 -0
- package/dist/actions/index.d.cts +33 -0
- package/dist/actions/index.d.mts +33 -0
- package/dist/actions/index.mjs +33 -0
- package/dist/actions/list-categories.cjs +39 -0
- package/dist/actions/list-categories.cjs.map +1 -0
- package/dist/actions/list-categories.d.cts +9 -0
- package/dist/actions/list-categories.d.cts.map +1 -0
- package/dist/actions/list-categories.d.mts +9 -0
- package/dist/actions/list-categories.d.mts.map +1 -0
- package/dist/actions/list-categories.mjs +38 -0
- package/dist/actions/list-categories.mjs.map +1 -0
- package/dist/actions/list-collections.cjs +66 -0
- package/dist/actions/list-collections.cjs.map +1 -0
- package/dist/actions/list-collections.d.cts +9 -0
- package/dist/actions/list-collections.d.cts.map +1 -0
- package/dist/actions/list-collections.d.mts +9 -0
- package/dist/actions/list-collections.d.mts.map +1 -0
- package/dist/actions/list-collections.mjs +65 -0
- package/dist/actions/list-collections.mjs.map +1 -0
- package/dist/actions/list-destinations.cjs +40 -0
- package/dist/actions/list-destinations.cjs.map +1 -0
- package/dist/actions/list-destinations.d.cts +9 -0
- package/dist/actions/list-destinations.d.cts.map +1 -0
- package/dist/actions/list-destinations.d.mts +9 -0
- package/dist/actions/list-destinations.d.mts.map +1 -0
- package/dist/actions/list-destinations.mjs +39 -0
- package/dist/actions/list-destinations.mjs.map +1 -0
- package/dist/actions/list-error-logs.cjs +38 -0
- package/dist/actions/list-error-logs.cjs.map +1 -0
- package/dist/actions/list-error-logs.d.cts +9 -0
- package/dist/actions/list-error-logs.d.cts.map +1 -0
- package/dist/actions/list-error-logs.d.mts +9 -0
- package/dist/actions/list-error-logs.d.mts.map +1 -0
- package/dist/actions/list-error-logs.mjs +37 -0
- package/dist/actions/list-error-logs.mjs.map +1 -0
- package/dist/actions/list-requests-by-page.cjs +32 -0
- package/dist/actions/list-requests-by-page.cjs.map +1 -0
- package/dist/actions/list-requests-by-page.d.cts +9 -0
- package/dist/actions/list-requests-by-page.d.cts.map +1 -0
- package/dist/actions/list-requests-by-page.d.mts +9 -0
- package/dist/actions/list-requests-by-page.d.mts.map +1 -0
- package/dist/actions/list-requests-by-page.mjs +31 -0
- package/dist/actions/list-requests-by-page.mjs.map +1 -0
- package/dist/actions/list-result-sets.cjs +53 -0
- package/dist/actions/list-result-sets.cjs.map +1 -0
- package/dist/actions/list-result-sets.d.cts +9 -0
- package/dist/actions/list-result-sets.d.cts.map +1 -0
- package/dist/actions/list-result-sets.d.mts +9 -0
- package/dist/actions/list-result-sets.d.mts.map +1 -0
- package/dist/actions/list-result-sets.mjs +52 -0
- package/dist/actions/list-result-sets.mjs.map +1 -0
- package/dist/actions/list-zipcodes.cjs +30 -0
- package/dist/actions/list-zipcodes.cjs.map +1 -0
- package/dist/actions/list-zipcodes.d.cts +9 -0
- package/dist/actions/list-zipcodes.d.cts.map +1 -0
- package/dist/actions/list-zipcodes.d.mts +9 -0
- package/dist/actions/list-zipcodes.d.mts.map +1 -0
- package/dist/actions/list-zipcodes.mjs +29 -0
- package/dist/actions/list-zipcodes.mjs.map +1 -0
- package/dist/actions/resend-webhook.cjs +23 -0
- package/dist/actions/resend-webhook.cjs.map +1 -0
- package/dist/actions/resend-webhook.d.cts +9 -0
- package/dist/actions/resend-webhook.d.cts.map +1 -0
- package/dist/actions/resend-webhook.d.mts +9 -0
- package/dist/actions/resend-webhook.d.mts.map +1 -0
- package/dist/actions/resend-webhook.mjs +22 -0
- package/dist/actions/resend-webhook.mjs.map +1 -0
- package/dist/actions/start-collection.cjs +20 -0
- package/dist/actions/start-collection.cjs.map +1 -0
- package/dist/actions/start-collection.d.cts +9 -0
- package/dist/actions/start-collection.d.cts.map +1 -0
- package/dist/actions/start-collection.d.mts +9 -0
- package/dist/actions/start-collection.d.mts.map +1 -0
- package/dist/actions/start-collection.mjs +17 -0
- package/dist/actions/start-collection.mjs.map +1 -0
- package/dist/actions/stop-all-collections.cjs +24 -0
- package/dist/actions/stop-all-collections.cjs.map +1 -0
- package/dist/actions/stop-all-collections.d.cts +9 -0
- package/dist/actions/stop-all-collections.d.cts.map +1 -0
- package/dist/actions/stop-all-collections.d.mts +9 -0
- package/dist/actions/stop-all-collections.d.mts.map +1 -0
- package/dist/actions/stop-all-collections.mjs +23 -0
- package/dist/actions/stop-all-collections.mjs.map +1 -0
- package/dist/actions/stop-collection.cjs +20 -0
- package/dist/actions/stop-collection.cjs.map +1 -0
- package/dist/actions/stop-collection.d.cts +9 -0
- package/dist/actions/stop-collection.d.cts.map +1 -0
- package/dist/actions/stop-collection.d.mts +9 -0
- package/dist/actions/stop-collection.d.mts.map +1 -0
- package/dist/actions/stop-collection.mjs +17 -0
- package/dist/actions/stop-collection.mjs.map +1 -0
- package/dist/actions/update-collection.cjs +64 -0
- package/dist/actions/update-collection.cjs.map +1 -0
- package/dist/actions/update-collection.d.cts +9 -0
- package/dist/actions/update-collection.d.cts.map +1 -0
- package/dist/actions/update-collection.d.mts +9 -0
- package/dist/actions/update-collection.d.mts.map +1 -0
- package/dist/actions/update-collection.mjs +63 -0
- package/dist/actions/update-collection.mjs.map +1 -0
- package/dist/actions/update-destination.cjs +71 -0
- package/dist/actions/update-destination.cjs.map +1 -0
- package/dist/actions/update-destination.d.cts +9 -0
- package/dist/actions/update-destination.d.cts.map +1 -0
- package/dist/actions/update-destination.d.mts +9 -0
- package/dist/actions/update-destination.d.mts.map +1 -0
- package/dist/actions/update-destination.mjs +70 -0
- package/dist/actions/update-destination.mjs.map +1 -0
- package/dist/actions/update-request.cjs +31 -0
- package/dist/actions/update-request.cjs.map +1 -0
- package/dist/actions/update-request.d.cts +9 -0
- package/dist/actions/update-request.d.cts.map +1 -0
- package/dist/actions/update-request.d.mts +9 -0
- package/dist/actions/update-request.d.mts.map +1 -0
- package/dist/actions/update-request.mjs +30 -0
- package/dist/actions/update-request.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +70 -0
- package/dist/index.d.cts +35 -0
- package/dist/index.d.mts +35 -0
- package/dist/index.mjs +36 -0
- package/package.json +49 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-destination.ts
|
|
4
|
+
const RedcircleApiCreateDestinationInput = z.object({
|
|
5
|
+
name: z.string().describe("Destination identifier/name."),
|
|
6
|
+
type: z.enum([
|
|
7
|
+
"s3",
|
|
8
|
+
"gcs",
|
|
9
|
+
"azure",
|
|
10
|
+
"oss",
|
|
11
|
+
"s3compatible"
|
|
12
|
+
]).describe("Storage provider type. Options: s3 (Amazon S3), gcs (Google Cloud Storage), azure (Azure Blob Storage), oss (Alibaba OSS), s3compatible (S3-compatible storage)."),
|
|
13
|
+
enabled: z.boolean().describe("Activation status. If true, a connectivity test will be performed by uploading and deleting a test file."),
|
|
14
|
+
s3_region: z.string().describe("Region identifier for S3-compatible storage. Optional when type='s3compatible'.").optional(),
|
|
15
|
+
s3_endpoint: z.string().describe("S3-compatible endpoint URL. Required when type='s3compatible'.").optional(),
|
|
16
|
+
oss_region_id: z.string().describe("Alibaba region identifier. Required when type='oss'.").optional(),
|
|
17
|
+
gcs_access_key: z.string().describe("Google Cloud interoperable access key. Required when type='gcs'.").optional(),
|
|
18
|
+
gcs_secret_key: z.string().describe("Google Cloud interoperable secret key. Required when type='gcs'.").optional(),
|
|
19
|
+
oss_access_key: z.string().describe("Alibaba Cloud RAM user access key. Required when type='oss'.").optional(),
|
|
20
|
+
oss_secret_key: z.string().describe("Alibaba Cloud RAM user secret key. Required when type='oss'.").optional(),
|
|
21
|
+
s3_bucket_name: z.string().describe("S3 bucket name. Required when type='s3'.").optional(),
|
|
22
|
+
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(),
|
|
23
|
+
gcs_bucket_name: z.string().describe("GCS bucket identifier. Required when type='gcs'.").optional(),
|
|
24
|
+
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(),
|
|
25
|
+
oss_bucket_name: z.string().describe("Alibaba OSS bucket name. Required when type='oss'.").optional(),
|
|
26
|
+
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(),
|
|
27
|
+
s3_access_key_id: z.string().describe("AWS access key ID. Required when type='s3'.").optional(),
|
|
28
|
+
azure_account_key: z.string().describe("Azure storage account key. Required when type='azure'.").optional(),
|
|
29
|
+
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(),
|
|
30
|
+
azure_account_name: z.string().describe("Azure storage account name. Required when type='azure'.").optional(),
|
|
31
|
+
azure_container_name: z.string().describe("Azure blob container name. Required when type='azure'.").optional(),
|
|
32
|
+
s3_secret_access_key: z.string().describe("AWS secret access key. Required when type='s3'.").optional()
|
|
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.");
|
|
36
|
+
const redcircleApiCreateDestination = action("REDCIRCLE_API_CREATE_DESTINATION", {
|
|
37
|
+
slug: "redcircle_api-create-destination",
|
|
38
|
+
name: "Create Destination",
|
|
39
|
+
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.",
|
|
40
|
+
input: RedcircleApiCreateDestinationInput,
|
|
41
|
+
output: z.object({
|
|
42
|
+
destination: RedcircleApiCreateDestination_DestinationDataSchema.nullable(),
|
|
43
|
+
request_info: RedcircleApiCreateDestination_RequestInfoSchema.nullable()
|
|
44
|
+
}).describe("Response schema for creating a destination.")
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
export { redcircleApiCreateDestination };
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=create-destination.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the created destination.\"),\n}).describe(\"Destination data object.\");\nconst RedcircleApiCreateDestination_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Operation status confirmation.\"),\n}).describe(\"Request information object.\");\nexport const RedcircleApiCreateDestinationOutput: z.ZodTypeAny = 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,qCAAmD,EAAE,OAAO;CACvE,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,sDAAoE,EAAE,OAAO,EACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC1E,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAM,kDAAgE,EAAE,OAAO,EAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,EAChE,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAMzC,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+D,EAAE,OAAO;EACxE,aAAa,oDAAoD,SAAS;EAC1E,cAAc,gDAAgD,SAAS;CACzE,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-requests.ts
|
|
4
|
+
const RedcircleApiCreateRequestsInput = zod.z.object({
|
|
5
|
+
requests: zod.z.array(zod.z.object({
|
|
6
|
+
tcin: zod.z.string().describe("Target product identifier"),
|
|
7
|
+
type: zod.z.string().describe("Request type, e.g., 'product'"),
|
|
8
|
+
custom_id: zod.z.string().describe("User-defined identifier for tracking across result sets").optional()
|
|
9
|
+
}).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)."),
|
|
10
|
+
collection_id: zod.z.string().describe("The unique identifier of the target collection")
|
|
11
|
+
}).describe("Request model for adding requests to a collection");
|
|
12
|
+
const RedcircleApiCreateRequests_CollectionSchema = zod.z.object({
|
|
13
|
+
id: zod.z.string().describe("Collection unique identifier"),
|
|
14
|
+
name: zod.z.string().describe("Collection name").nullable().optional(),
|
|
15
|
+
status: zod.z.string().describe("Current collection status").nullable().optional(),
|
|
16
|
+
created_at: zod.z.string().describe("Collection creation timestamp").nullable().optional(),
|
|
17
|
+
requests_total_count: zod.z.number().int().describe("Total number of requests in the collection").nullable().optional()
|
|
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");
|
|
20
|
+
const RedcircleApiCreateRequestsOutput = zod.z.object({
|
|
21
|
+
collection: RedcircleApiCreateRequests_CollectionSchema.nullable(),
|
|
22
|
+
request_info: RedcircleApiCreateRequests_RequestInfoSchema.nullable()
|
|
23
|
+
}).describe("Response model for adding requests to a collection");
|
|
24
|
+
const redcircleApiCreateRequests = require_action.action("REDCIRCLE_API_CREATE_REQUESTS", {
|
|
25
|
+
slug: "redcircle_api-create-requests",
|
|
26
|
+
name: "Create Requests",
|
|
27
|
+
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.",
|
|
28
|
+
input: RedcircleApiCreateRequestsInput,
|
|
29
|
+
output: RedcircleApiCreateRequestsOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.redcircleApiCreateRequests = redcircleApiCreateRequests;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=create-requests.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Collection unique identifier\"),\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.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\"),\n}).describe(\"Information about the request operation\");\nexport const RedcircleApiCreateRequestsOutput: z.ZodTypeAny = 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,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,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,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,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,+CAA6DA,IAAAA,EAAE,OAAO,EAC1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,EACzE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-requests.d.ts
|
|
4
|
+
declare const RedcircleApiCreateRequestsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedcircleApiCreateRequestsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redcircleApiCreateRequests: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redcircleApiCreateRequests };
|
|
9
|
+
//# sourceMappingURL=create-requests.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-requests.d.cts","names":[],"sources":["../../src/actions/create-requests.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOgB;AAAA,cAWnD,gCAAA,EAAkC,CAAA,CAAE,UAGgB;AAAA,cAEpD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-requests.d.ts
|
|
4
|
+
declare const RedcircleApiCreateRequestsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedcircleApiCreateRequestsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redcircleApiCreateRequests: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redcircleApiCreateRequests };
|
|
9
|
+
//# sourceMappingURL=create-requests.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-requests.d.mts","names":[],"sources":["../../src/actions/create-requests.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOgB;AAAA,cAWnD,gCAAA,EAAkC,CAAA,CAAE,UAGgB;AAAA,cAEpD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-requests.ts
|
|
4
|
+
const RedcircleApiCreateRequestsInput = z.object({
|
|
5
|
+
requests: z.array(z.object({
|
|
6
|
+
tcin: z.string().describe("Target product identifier"),
|
|
7
|
+
type: z.string().describe("Request type, e.g., 'product'"),
|
|
8
|
+
custom_id: z.string().describe("User-defined identifier for tracking across result sets").optional()
|
|
9
|
+
}).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)."),
|
|
10
|
+
collection_id: z.string().describe("The unique identifier of the target collection")
|
|
11
|
+
}).describe("Request model for adding requests to a collection");
|
|
12
|
+
const RedcircleApiCreateRequests_CollectionSchema = z.object({
|
|
13
|
+
id: z.string().describe("Collection unique identifier"),
|
|
14
|
+
name: z.string().describe("Collection name").nullable().optional(),
|
|
15
|
+
status: z.string().describe("Current collection status").nullable().optional(),
|
|
16
|
+
created_at: z.string().describe("Collection creation timestamp").nullable().optional(),
|
|
17
|
+
requests_total_count: z.number().int().describe("Total number of requests in the collection").nullable().optional()
|
|
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");
|
|
20
|
+
const redcircleApiCreateRequests = action("REDCIRCLE_API_CREATE_REQUESTS", {
|
|
21
|
+
slug: "redcircle_api-create-requests",
|
|
22
|
+
name: "Create Requests",
|
|
23
|
+
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.",
|
|
24
|
+
input: RedcircleApiCreateRequestsInput,
|
|
25
|
+
output: z.object({
|
|
26
|
+
collection: RedcircleApiCreateRequests_CollectionSchema.nullable(),
|
|
27
|
+
request_info: RedcircleApiCreateRequests_RequestInfoSchema.nullable()
|
|
28
|
+
}).describe("Response model for adding requests to a collection")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { redcircleApiCreateRequests };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=create-requests.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Collection unique identifier\"),\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.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\"),\n}).describe(\"Information about the request operation\");\nexport const RedcircleApiCreateRequestsOutput: z.ZodTypeAny = 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,kCAAgD,EAAE,OAAO;CACpE,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,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,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,+CAA6D,EAAE,OAAO,EAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,EACzE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAMrD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4D,EAAE,OAAO;EACrE,YAAY,4CAA4C,SAAS;EACjE,cAAc,6CAA6C,SAAS;CACtE,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-collection.ts
|
|
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
|
+
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")
|
|
8
|
+
}).describe("Response metadata container.");
|
|
9
|
+
const RedcircleApiDeleteCollectionOutput = zod.z.object({ request_info: RedcircleApiDeleteCollection_RequestInfoSchema.nullable() }).describe("Response schema for collection deletion.");
|
|
10
|
+
const redcircleApiDeleteCollection = require_action.action("REDCIRCLE_API_DELETE_COLLECTION", {
|
|
11
|
+
slug: "redcircle_api-delete-collection",
|
|
12
|
+
name: "Delete Collection",
|
|
13
|
+
description: "Tool to remove a collection from the system by ID. Use when you need to delete a collection that is not currently running.",
|
|
14
|
+
input: RedcircleApiDeleteCollectionInput,
|
|
15
|
+
output: RedcircleApiDeleteCollectionOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.redcircleApiDeleteCollection = redcircleApiDeleteCollection;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=delete-collection.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message or error details\"),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\"),\n}).describe(\"Response metadata container.\");\nexport const RedcircleApiDeleteCollectionOutput: z.ZodTypeAny = 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,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACpJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;AAC/E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-collection.d.ts
|
|
4
|
+
declare const RedcircleApiDeleteCollectionInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedcircleApiDeleteCollectionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redcircleApiDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redcircleApiDeleteCollection };
|
|
9
|
+
//# sourceMappingURL=delete-collection.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-collection.d.cts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAK/C,kCAAA,EAAoC,CAAA,CAAE,UAEI;AAAA,cAE1C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-collection.d.ts
|
|
4
|
+
declare const RedcircleApiDeleteCollectionInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedcircleApiDeleteCollectionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redcircleApiDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redcircleApiDeleteCollection };
|
|
9
|
+
//# sourceMappingURL=delete-collection.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-collection.d.mts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAK/C,kCAAA,EAAoC,CAAA,CAAE,UAEI;AAAA,cAE1C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-collection.ts
|
|
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
|
+
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")
|
|
8
|
+
}).describe("Response metadata container.");
|
|
9
|
+
const redcircleApiDeleteCollection = action("REDCIRCLE_API_DELETE_COLLECTION", {
|
|
10
|
+
slug: "redcircle_api-delete-collection",
|
|
11
|
+
name: "Delete Collection",
|
|
12
|
+
description: "Tool to remove a collection from the system by ID. Use when you need to delete a collection that is not currently running.",
|
|
13
|
+
input: RedcircleApiDeleteCollectionInput,
|
|
14
|
+
output: z.object({ request_info: RedcircleApiDeleteCollection_RequestInfoSchema.nullable() }).describe("Response schema for collection deletion.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { redcircleApiDeleteCollection };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-collection.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message or error details\"),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\"),\n}).describe(\"Response metadata container.\");\nexport const RedcircleApiDeleteCollectionOutput: z.ZodTypeAny = 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,oCAAkD,EAAE,OAAO,EACtE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACpJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,iDAA+D,EAAE,OAAO;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;AAC/E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,cAAc,+CAA+C,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-destination.ts
|
|
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
|
+
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")
|
|
8
|
+
}).describe("Contains deletion status information.");
|
|
9
|
+
const RedcircleApiDeleteDestinationOutput = zod.z.object({ request_info: RedcircleApiDeleteDestination_RequestInfoSchema.nullable() }).describe("Response model for destination deletion.");
|
|
10
|
+
const redcircleApiDeleteDestination = require_action.action("REDCIRCLE_API_DELETE_DESTINATION", {
|
|
11
|
+
slug: "redcircle_api-delete-destination",
|
|
12
|
+
name: "Delete Destination",
|
|
13
|
+
description: "Tool to remove a destination from your RedCircle API account. Use when you need to permanently delete a specific destination by its ID.",
|
|
14
|
+
input: RedcircleApiDeleteDestinationInput,
|
|
15
|
+
output: RedcircleApiDeleteDestinationOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.redcircleApiDeleteDestination = redcircleApiDeleteDestination;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=delete-destination.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message (e.g., '1 Destination deleted') or error details\"),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\"),\n}).describe(\"Contains deletion status information.\");\nexport const RedcircleApiDeleteDestinationOutput: z.ZodTypeAny = 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,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACpG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;AAC/E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-destination.d.ts
|
|
4
|
+
declare const RedcircleApiDeleteDestinationInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedcircleApiDeleteDestinationOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redcircleApiDeleteDestination: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redcircleApiDeleteDestination };
|
|
9
|
+
//# sourceMappingURL=delete-destination.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-destination.d.cts","names":[],"sources":["../../src/actions/delete-destination.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEW;AAAA,cAKjD,mCAAA,EAAqC,CAAA,CAAE,UAEG;AAAA,cAE1C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-destination.d.ts
|
|
4
|
+
declare const RedcircleApiDeleteDestinationInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedcircleApiDeleteDestinationOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redcircleApiDeleteDestination: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redcircleApiDeleteDestination };
|
|
9
|
+
//# sourceMappingURL=delete-destination.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-destination.d.mts","names":[],"sources":["../../src/actions/delete-destination.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEW;AAAA,cAKjD,mCAAA,EAAqC,CAAA,CAAE,UAEG;AAAA,cAE1C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-destination.ts
|
|
4
|
+
const RedcircleApiDeleteDestinationInput = z.object({ destination_id: z.string().describe("The unique identifier of the destination to be removed") }).describe("Request model for deleting a destination by ID.");
|
|
5
|
+
const RedcircleApiDeleteDestination_RequestInfoSchema = z.object({
|
|
6
|
+
message: z.string().describe("Confirmation message (e.g., '1 Destination deleted') or error details"),
|
|
7
|
+
success: z.boolean().describe("Indicates whether the deletion was successful")
|
|
8
|
+
}).describe("Contains deletion status information.");
|
|
9
|
+
const redcircleApiDeleteDestination = action("REDCIRCLE_API_DELETE_DESTINATION", {
|
|
10
|
+
slug: "redcircle_api-delete-destination",
|
|
11
|
+
name: "Delete Destination",
|
|
12
|
+
description: "Tool to remove a destination from your RedCircle API account. Use when you need to permanently delete a specific destination by its ID.",
|
|
13
|
+
input: RedcircleApiDeleteDestinationInput,
|
|
14
|
+
output: z.object({ request_info: RedcircleApiDeleteDestination_RequestInfoSchema.nullable() }).describe("Response model for destination deletion.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { redcircleApiDeleteDestination };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-destination.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-destination.mjs","names":[],"sources":["../../src/actions/delete-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteDestinationInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message (e.g., '1 Destination deleted') or error details\"),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\"),\n}).describe(\"Contains deletion status information.\");\nexport const RedcircleApiDeleteDestinationOutput: z.ZodTypeAny = 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,qCAAmD,EAAE,OAAO,EACvE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,kDAAgE,EAAE,OAAO;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;AAC/E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAKnD,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+D,EAAE,OAAO,EACxE,cAAc,gDAAgD,SAAS,EACzE,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-request.ts
|
|
4
|
+
const RedcircleApiDeleteRequestInput = zod.z.object({
|
|
5
|
+
request_id: zod.z.string().describe("The unique identifier of the specific request to remove from the collection."),
|
|
6
|
+
collection_id: zod.z.string().describe("The unique identifier for the collection containing the request. Collections must not be actively running to delete requests.")
|
|
7
|
+
}).describe("Request model for deleting a request from a collection.");
|
|
8
|
+
const RedcircleApiDeleteRequest_RequestInfoSchema = zod.z.object({
|
|
9
|
+
message: zod.z.string().describe("Descriptive message about the operation result."),
|
|
10
|
+
success: zod.z.boolean().describe("Indicates if deletion succeeded.")
|
|
11
|
+
}).describe("Contains the operation result details.");
|
|
12
|
+
const RedcircleApiDeleteRequestOutput = zod.z.object({ request_info: RedcircleApiDeleteRequest_RequestInfoSchema.nullable() }).describe("Response model for deleting a request from a collection.");
|
|
13
|
+
const redcircleApiDeleteRequest = require_action.action("REDCIRCLE_API_DELETE_REQUEST", {
|
|
14
|
+
slug: "redcircle_api-delete-request",
|
|
15
|
+
name: "Delete Request from Collection",
|
|
16
|
+
description: "Tool to remove an individual request from a collection. Use when you need to delete a specific request from a collection by providing both collection_id and request_id. Collections must not be running during deletion.",
|
|
17
|
+
input: RedcircleApiDeleteRequestInput,
|
|
18
|
+
output: RedcircleApiDeleteRequestOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.redcircleApiDeleteRequest = redcircleApiDeleteRequest;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=delete-request.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-request.cjs","names":["z","action"],"sources":["../../src/actions/delete-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteRequestInput: z.ZodTypeAny = z.object({\n request_id: z.string().describe(\"The unique identifier of the specific request to remove from the collection.\"),\n collection_id: z.string().describe(\"The unique identifier for the collection containing the request. Collections must not be actively running to delete requests.\"),\n}).describe(\"Request model for deleting a request from a collection.\");\nconst RedcircleApiDeleteRequest_RequestInfoSchema: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Descriptive message about the operation result.\"),\n success: z.boolean().describe(\"Indicates if deletion succeeded.\"),\n}).describe(\"Contains the operation result details.\");\nexport const RedcircleApiDeleteRequestOutput: z.ZodTypeAny = z.object({\n request_info: RedcircleApiDeleteRequest_RequestInfoSchema.nullable(),\n}).describe(\"Response model for deleting a request from a collection.\");\n\nexport const redcircleApiDeleteRequest = action(\"REDCIRCLE_API_DELETE_REQUEST\", {\n slug: \"redcircle_api-delete-request\",\n name: \"Delete Request from Collection\",\n description: \"Tool to remove an individual request from a collection. Use when you need to delete a specific request from a collection by providing both collection_id and request_id. Collections must not be running during deletion.\",\n input: RedcircleApiDeleteRequestInput,\n output: RedcircleApiDeleteRequestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC9G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;AACpK,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;AAClE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,cAAc,4CAA4C,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-request.d.ts
|
|
4
|
+
declare const RedcircleApiDeleteRequestInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedcircleApiDeleteRequestOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redcircleApiDeleteRequest: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redcircleApiDeleteRequest };
|
|
9
|
+
//# sourceMappingURL=delete-request.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-request.d.cts","names":[],"sources":["../../src/actions/delete-request.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGuB;AAAA,cAKzD,+BAAA,EAAiC,CAAA,CAAE,UAEuB;AAAA,cAE1D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-request.d.ts
|
|
4
|
+
declare const RedcircleApiDeleteRequestInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedcircleApiDeleteRequestOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redcircleApiDeleteRequest: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redcircleApiDeleteRequest };
|
|
9
|
+
//# sourceMappingURL=delete-request.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-request.d.mts","names":[],"sources":["../../src/actions/delete-request.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGuB;AAAA,cAKzD,+BAAA,EAAiC,CAAA,CAAE,UAEuB;AAAA,cAE1D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-request.ts
|
|
4
|
+
const RedcircleApiDeleteRequestInput = z.object({
|
|
5
|
+
request_id: z.string().describe("The unique identifier of the specific request to remove from the collection."),
|
|
6
|
+
collection_id: z.string().describe("The unique identifier for the collection containing the request. Collections must not be actively running to delete requests.")
|
|
7
|
+
}).describe("Request model for deleting a request from a collection.");
|
|
8
|
+
const RedcircleApiDeleteRequest_RequestInfoSchema = z.object({
|
|
9
|
+
message: z.string().describe("Descriptive message about the operation result."),
|
|
10
|
+
success: z.boolean().describe("Indicates if deletion succeeded.")
|
|
11
|
+
}).describe("Contains the operation result details.");
|
|
12
|
+
const redcircleApiDeleteRequest = action("REDCIRCLE_API_DELETE_REQUEST", {
|
|
13
|
+
slug: "redcircle_api-delete-request",
|
|
14
|
+
name: "Delete Request from Collection",
|
|
15
|
+
description: "Tool to remove an individual request from a collection. Use when you need to delete a specific request from a collection by providing both collection_id and request_id. Collections must not be running during deletion.",
|
|
16
|
+
input: RedcircleApiDeleteRequestInput,
|
|
17
|
+
output: z.object({ request_info: RedcircleApiDeleteRequest_RequestInfoSchema.nullable() }).describe("Response model for deleting a request from a collection.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { redcircleApiDeleteRequest };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=delete-request.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-request.mjs","names":[],"sources":["../../src/actions/delete-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteRequestInput: z.ZodTypeAny = z.object({\n request_id: z.string().describe(\"The unique identifier of the specific request to remove from the collection.\"),\n collection_id: z.string().describe(\"The unique identifier for the collection containing the request. Collections must not be actively running to delete requests.\"),\n}).describe(\"Request model for deleting a request from a collection.\");\nconst RedcircleApiDeleteRequest_RequestInfoSchema: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Descriptive message about the operation result.\"),\n success: z.boolean().describe(\"Indicates if deletion succeeded.\"),\n}).describe(\"Contains the operation result details.\");\nexport const RedcircleApiDeleteRequestOutput: z.ZodTypeAny = z.object({\n request_info: RedcircleApiDeleteRequest_RequestInfoSchema.nullable(),\n}).describe(\"Response model for deleting a request from a collection.\");\n\nexport const redcircleApiDeleteRequest = action(\"REDCIRCLE_API_DELETE_REQUEST\", {\n slug: \"redcircle_api-delete-request\",\n name: \"Delete Request from Collection\",\n description: \"Tool to remove an individual request from a collection. Use when you need to delete a specific request from a collection by providing both collection_id and request_id. Collections must not be running during deletion.\",\n input: RedcircleApiDeleteRequestInput,\n output: RedcircleApiDeleteRequestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC9G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;AACpK,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,8CAA4D,EAAE,OAAO;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;AAClE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAKpD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,cAAc,4CAA4C,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-requests-bulk.ts
|
|
4
|
+
const RedcircleApiDeleteRequestsBulkInput = zod.z.object({
|
|
5
|
+
request_ids: zod.z.array(zod.z.string()).describe("An array of Request ID strings to be deleted from the collection. Bulk deletion is typically quicker than sequential calls and helps avoid rate-limit errors."),
|
|
6
|
+
collection_id: zod.z.string().describe("The identifier of the collection containing requests to delete")
|
|
7
|
+
}).describe("Request model for bulk deletion of requests from a collection.");
|
|
8
|
+
const RedcircleApiDeleteRequestsBulk_RequestInfoSchema = zod.z.object({
|
|
9
|
+
message: zod.z.string().describe("Confirmation or error details"),
|
|
10
|
+
success: zod.z.boolean().describe("Indicates whether deletion was successful")
|
|
11
|
+
}).describe("Information about the deletion result.");
|
|
12
|
+
const RedcircleApiDeleteRequestsBulkOutput = zod.z.object({ request_info: RedcircleApiDeleteRequestsBulk_RequestInfoSchema.nullable() }).describe("Response model for bulk request deletion.");
|
|
13
|
+
const redcircleApiDeleteRequestsBulk = require_action.action("REDCIRCLE_API_DELETE_REQUESTS_BULK", {
|
|
14
|
+
slug: "redcircle_api-delete-requests-bulk",
|
|
15
|
+
name: "Delete Requests In Bulk",
|
|
16
|
+
description: "Tool to delete multiple requests from a collection in bulk. Use when you need to remove multiple requests efficiently. Note: Requests can only be deleted when the collection is not running.",
|
|
17
|
+
input: RedcircleApiDeleteRequestsBulkInput,
|
|
18
|
+
output: RedcircleApiDeleteRequestsBulkOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.redcircleApiDeleteRequestsBulk = redcircleApiDeleteRequestsBulk;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=delete-requests-bulk.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-requests-bulk.cjs","names":["z","action"],"sources":["../../src/actions/delete-requests-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteRequestsBulkInput: z.ZodTypeAny = z.object({\n request_ids: z.array(z.string()).describe(\"An array of Request ID strings to be deleted from the collection. Bulk deletion is typically quicker than sequential calls and helps avoid rate-limit errors.\"),\n collection_id: z.string().describe(\"The identifier of the collection containing requests to delete\"),\n}).describe(\"Request model for bulk deletion of requests from a collection.\");\nconst RedcircleApiDeleteRequestsBulk_RequestInfoSchema: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation or error details\"),\n success: z.boolean().describe(\"Indicates whether deletion was successful\"),\n}).describe(\"Information about the deletion result.\");\nexport const RedcircleApiDeleteRequestsBulkOutput: z.ZodTypeAny = z.object({\n request_info: RedcircleApiDeleteRequestsBulk_RequestInfoSchema.nullable(),\n}).describe(\"Response model for bulk request deletion.\");\n\nexport const redcircleApiDeleteRequestsBulk = action(\"REDCIRCLE_API_DELETE_REQUESTS_BULK\", {\n slug: \"redcircle_api-delete-requests-bulk\",\n name: \"Delete Requests In Bulk\",\n description: \"Tool to delete multiple requests from a collection in bulk. Use when you need to remove multiple requests efficiently. Note: Requests can only be deleted when the collection is not running.\",\n input: RedcircleApiDeleteRequestsBulkInput,\n output: RedcircleApiDeleteRequestsBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+JAA+J;CACzM,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACrG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;AAC3E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,cAAc,iDAAiD,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-requests-bulk.d.ts
|
|
4
|
+
declare const RedcircleApiDeleteRequestsBulkInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedcircleApiDeleteRequestsBulkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redcircleApiDeleteRequestsBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redcircleApiDeleteRequestsBulk };
|
|
9
|
+
//# sourceMappingURL=delete-requests-bulk.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-requests-bulk.d.cts","names":[],"sources":["../../src/actions/delete-requests-bulk.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGyB;AAAA,cAKhE,oCAAA,EAAsC,CAAA,CAAE,UAEG;AAAA,cAE3C,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-requests-bulk.d.ts
|
|
4
|
+
declare const RedcircleApiDeleteRequestsBulkInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedcircleApiDeleteRequestsBulkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redcircleApiDeleteRequestsBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redcircleApiDeleteRequestsBulk };
|
|
9
|
+
//# sourceMappingURL=delete-requests-bulk.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-requests-bulk.d.mts","names":[],"sources":["../../src/actions/delete-requests-bulk.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGyB;AAAA,cAKhE,oCAAA,EAAsC,CAAA,CAAE,UAEG;AAAA,cAE3C,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-requests-bulk.ts
|
|
4
|
+
const RedcircleApiDeleteRequestsBulkInput = z.object({
|
|
5
|
+
request_ids: z.array(z.string()).describe("An array of Request ID strings to be deleted from the collection. Bulk deletion is typically quicker than sequential calls and helps avoid rate-limit errors."),
|
|
6
|
+
collection_id: z.string().describe("The identifier of the collection containing requests to delete")
|
|
7
|
+
}).describe("Request model for bulk deletion of requests from a collection.");
|
|
8
|
+
const RedcircleApiDeleteRequestsBulk_RequestInfoSchema = z.object({
|
|
9
|
+
message: z.string().describe("Confirmation or error details"),
|
|
10
|
+
success: z.boolean().describe("Indicates whether deletion was successful")
|
|
11
|
+
}).describe("Information about the deletion result.");
|
|
12
|
+
const redcircleApiDeleteRequestsBulk = action("REDCIRCLE_API_DELETE_REQUESTS_BULK", {
|
|
13
|
+
slug: "redcircle_api-delete-requests-bulk",
|
|
14
|
+
name: "Delete Requests In Bulk",
|
|
15
|
+
description: "Tool to delete multiple requests from a collection in bulk. Use when you need to remove multiple requests efficiently. Note: Requests can only be deleted when the collection is not running.",
|
|
16
|
+
input: RedcircleApiDeleteRequestsBulkInput,
|
|
17
|
+
output: z.object({ request_info: RedcircleApiDeleteRequestsBulk_RequestInfoSchema.nullable() }).describe("Response model for bulk request deletion.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { redcircleApiDeleteRequestsBulk };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=delete-requests-bulk.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-requests-bulk.mjs","names":[],"sources":["../../src/actions/delete-requests-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteRequestsBulkInput: z.ZodTypeAny = z.object({\n request_ids: z.array(z.string()).describe(\"An array of Request ID strings to be deleted from the collection. Bulk deletion is typically quicker than sequential calls and helps avoid rate-limit errors.\"),\n collection_id: z.string().describe(\"The identifier of the collection containing requests to delete\"),\n}).describe(\"Request model for bulk deletion of requests from a collection.\");\nconst RedcircleApiDeleteRequestsBulk_RequestInfoSchema: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation or error details\"),\n success: z.boolean().describe(\"Indicates whether deletion was successful\"),\n}).describe(\"Information about the deletion result.\");\nexport const RedcircleApiDeleteRequestsBulkOutput: z.ZodTypeAny = z.object({\n request_info: RedcircleApiDeleteRequestsBulk_RequestInfoSchema.nullable(),\n}).describe(\"Response model for bulk request deletion.\");\n\nexport const redcircleApiDeleteRequestsBulk = action(\"REDCIRCLE_API_DELETE_REQUESTS_BULK\", {\n slug: \"redcircle_api-delete-requests-bulk\",\n name: \"Delete Requests In Bulk\",\n description: \"Tool to delete multiple requests from a collection in bulk. Use when you need to remove multiple requests efficiently. Note: Requests can only be deleted when the collection is not running.\",\n input: RedcircleApiDeleteRequestsBulkInput,\n output: RedcircleApiDeleteRequestsBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO;CACxE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+JAA+J;CACzM,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACrG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,mDAAiE,EAAE,OAAO;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;AAC3E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAKpD,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgE,EAAE,OAAO,EACzE,cAAc,iDAAiD,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-zipcodes.ts
|
|
4
|
+
const RedcircleApiDeleteZipcodesInput = zod.z.object({ zipcodes: zod.z.array(zod.z.object({
|
|
5
|
+
domain: zod.z.string().describe("The domain associated with the zipcode to delete"),
|
|
6
|
+
zipcode: zod.z.string().describe("The zipcode value to delete from your account")
|
|
7
|
+
})).describe("List of zipcode/domain pairs to remove from the account. Each entry must include both zipcode and domain fields.") });
|
|
8
|
+
const RedcircleApiDeleteZipcodes_RequestInfoSchema = zod.z.object({
|
|
9
|
+
message: zod.z.string().describe("Human-readable confirmation message indicating the number of zipcodes deleted"),
|
|
10
|
+
success: zod.z.boolean().describe("Indicates whether the deletion operation was successful")
|
|
11
|
+
});
|
|
12
|
+
const RedcircleApiDeleteZipcodesOutput = zod.z.object({ request_info: RedcircleApiDeleteZipcodes_RequestInfoSchema.nullable() });
|
|
13
|
+
const redcircleApiDeleteZipcodes = require_action.action("REDCIRCLE_API_DELETE_ZIPCODES", {
|
|
14
|
+
slug: "redcircle_api-delete-zipcodes",
|
|
15
|
+
name: "Delete Zipcodes",
|
|
16
|
+
description: "Tool to remove zipcodes from your RedCircle API account. Use when you need to delete specific zipcode/domain pairs from your account.",
|
|
17
|
+
input: RedcircleApiDeleteZipcodesInput,
|
|
18
|
+
output: RedcircleApiDeleteZipcodesOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.redcircleApiDeleteZipcodes = redcircleApiDeleteZipcodes;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=delete-zipcodes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-zipcodes.cjs","names":["z","action"],"sources":["../../src/actions/delete-zipcodes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteZipcodesInput: z.ZodTypeAny = z.object({\n zipcodes: z.array(z.object({\n domain: z.string().describe(\"The domain associated with the zipcode to delete\"),\n zipcode: z.string().describe(\"The zipcode value to delete from your account\"),\n})).describe(\"List of zipcode/domain pairs to remove from the account. Each entry must include both zipcode and domain fields.\"),\n});\nconst RedcircleApiDeleteZipcodes_RequestInfoSchema: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Human-readable confirmation message indicating the number of zipcodes deleted\"),\n success: z.boolean().describe(\"Indicates whether the deletion operation was successful\"),\n});\nexport const RedcircleApiDeleteZipcodesOutput: z.ZodTypeAny = z.object({\n request_info: RedcircleApiDeleteZipcodes_RequestInfoSchema.nullable(),\n});\n\nexport const redcircleApiDeleteZipcodes = action(\"REDCIRCLE_API_DELETE_ZIPCODES\", {\n slug: \"redcircle_api-delete-zipcodes\",\n name: \"Delete Zipcodes\",\n description: \"Tool to remove zipcodes from your RedCircle API account. Use when you need to delete specific zipcode/domain pairs from your account.\",\n input: RedcircleApiDeleteZipcodesInput,\n output: RedcircleApiDeleteZipcodesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAC9E,CAAC,CAAC,CAAC,CAAC,SAAS,kHAAkH,EAC/H,CAAC;AACD,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC5G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD;AACzF,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,cAAc,6CAA6C,SAAS,EACtE,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|