@keystrokehq/spondyr 0.1.2 → 0.1.4
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/actions/conditions-list.cjs +2 -2
- package/dist/actions/conditions-list.cjs.map +1 -1
- package/dist/actions/conditions-list.d.cts +2 -2
- package/dist/actions/conditions-list.d.mts +2 -2
- package/dist/actions/conditions-list.mjs +2 -2
- package/dist/actions/conditions-list.mjs.map +1 -1
- package/dist/actions/create-condition.cjs +1 -1
- package/dist/actions/create-condition.cjs.map +1 -1
- package/dist/actions/create-condition.d.cts +1 -1
- package/dist/actions/create-condition.d.mts +1 -1
- package/dist/actions/create-condition.mjs +1 -1
- package/dist/actions/create-condition.mjs.map +1 -1
- package/dist/actions/create-transaction-type.cjs +1 -1
- package/dist/actions/create-transaction-type.cjs.map +1 -1
- package/dist/actions/create-transaction-type.d.cts +1 -1
- package/dist/actions/create-transaction-type.d.mts +1 -1
- package/dist/actions/create-transaction-type.mjs +1 -1
- package/dist/actions/create-transaction-type.mjs.map +1 -1
- package/dist/actions/deliver-spondyr.cjs +2 -2
- package/dist/actions/deliver-spondyr.cjs.map +1 -1
- package/dist/actions/deliver-spondyr.d.cts +3 -2
- package/dist/actions/deliver-spondyr.d.mts +3 -2
- package/dist/actions/deliver-spondyr.mjs +2 -2
- package/dist/actions/deliver-spondyr.mjs.map +1 -1
- package/dist/actions/event-type-update.cjs +1 -1
- package/dist/actions/event-type-update.cjs.map +1 -1
- package/dist/actions/event-type-update.d.cts +1 -1
- package/dist/actions/event-type-update.d.mts +1 -1
- package/dist/actions/event-type-update.mjs +1 -1
- package/dist/actions/event-type-update.mjs.map +1 -1
- package/dist/actions/get-event-types.cjs +2 -2
- package/dist/actions/get-event-types.cjs.map +1 -1
- package/dist/actions/get-event-types.d.cts +2 -2
- package/dist/actions/get-event-types.d.mts +2 -2
- package/dist/actions/get-event-types.mjs +2 -2
- package/dist/actions/get-event-types.mjs.map +1 -1
- package/dist/actions/get-spondyr-status.cjs +4 -4
- package/dist/actions/get-spondyr-status.cjs.map +1 -1
- package/dist/actions/get-spondyr-status.d.cts +4 -4
- package/dist/actions/get-spondyr-status.d.mts +4 -4
- package/dist/actions/get-spondyr-status.mjs +4 -4
- package/dist/actions/get-spondyr-status.mjs.map +1 -1
- package/dist/actions/get-transaction-types.cjs +2 -2
- package/dist/actions/get-transaction-types.cjs.map +1 -1
- package/dist/actions/get-transaction-types.d.cts +2 -2
- package/dist/actions/get-transaction-types.d.mts +2 -2
- package/dist/actions/get-transaction-types.mjs +2 -2
- package/dist/actions/get-transaction-types.mjs.map +1 -1
- package/dist/actions/recipient-delete.cjs +1 -1
- package/dist/actions/recipient-delete.cjs.map +1 -1
- package/dist/actions/recipient-delete.d.cts +1 -1
- package/dist/actions/recipient-delete.d.mts +1 -1
- package/dist/actions/recipient-delete.mjs +1 -1
- package/dist/actions/recipient-delete.mjs.map +1 -1
- package/dist/actions/recipient-get.cjs +1 -1
- package/dist/actions/recipient-get.cjs.map +1 -1
- package/dist/actions/recipient-get.d.cts +1 -1
- package/dist/actions/recipient-get.d.mts +1 -1
- package/dist/actions/recipient-get.mjs +1 -1
- package/dist/actions/recipient-get.mjs.map +1 -1
- package/dist/actions/recipients-list.cjs +2 -2
- package/dist/actions/recipients-list.cjs.map +1 -1
- package/dist/actions/recipients-list.d.cts +2 -2
- package/dist/actions/recipients-list.d.mts +2 -2
- package/dist/actions/recipients-list.mjs +2 -2
- package/dist/actions/recipients-list.mjs.map +1 -1
- package/dist/actions/search-filter-create.cjs +1 -1
- package/dist/actions/search-filter-create.cjs.map +1 -1
- package/dist/actions/search-filter-create.d.cts +1 -1
- package/dist/actions/search-filter-create.d.mts +1 -1
- package/dist/actions/search-filter-create.mjs +1 -1
- package/dist/actions/search-filter-create.mjs.map +1 -1
- package/dist/actions/search-filter-delete.cjs +1 -1
- package/dist/actions/search-filter-delete.cjs.map +1 -1
- package/dist/actions/search-filter-delete.d.cts +1 -1
- package/dist/actions/search-filter-delete.d.mts +1 -1
- package/dist/actions/search-filter-delete.mjs +1 -1
- package/dist/actions/search-filter-delete.mjs.map +1 -1
- package/dist/actions/search-filter-get.cjs +1 -1
- package/dist/actions/search-filter-get.cjs.map +1 -1
- package/dist/actions/search-filter-get.d.cts +1 -1
- package/dist/actions/search-filter-get.d.mts +1 -1
- package/dist/actions/search-filter-get.mjs +1 -1
- package/dist/actions/search-filter-get.mjs.map +1 -1
- package/dist/actions/search-filters-list.cjs +2 -2
- package/dist/actions/search-filters-list.cjs.map +1 -1
- package/dist/actions/search-filters-list.d.cts +2 -2
- package/dist/actions/search-filters-list.d.mts +2 -2
- package/dist/actions/search-filters-list.mjs +2 -2
- package/dist/actions/search-filters-list.mjs.map +1 -1
- package/dist/actions/search-spondyrs.cjs +5 -5
- package/dist/actions/search-spondyrs.cjs.map +1 -1
- package/dist/actions/search-spondyrs.d.cts +5 -5
- package/dist/actions/search-spondyrs.d.mts +5 -5
- package/dist/actions/search-spondyrs.mjs +5 -5
- package/dist/actions/search-spondyrs.mjs.map +1 -1
- package/dist/actions/sso-stub.cjs +1 -1
- package/dist/actions/sso-stub.cjs.map +1 -1
- package/dist/actions/sso-stub.d.cts +3 -3
- package/dist/actions/sso-stub.d.mts +3 -3
- package/dist/actions/sso-stub.mjs +1 -1
- package/dist/actions/sso-stub.mjs.map +1 -1
- package/dist/actions/template-get.cjs +4 -4
- package/dist/actions/template-get.cjs.map +1 -1
- package/dist/actions/template-get.d.cts +5 -5
- package/dist/actions/template-get.d.mts +5 -5
- package/dist/actions/template-get.mjs +4 -4
- package/dist/actions/template-get.mjs.map +1 -1
- package/dist/actions/templates-list.cjs +4 -4
- package/dist/actions/templates-list.cjs.map +1 -1
- package/dist/actions/templates-list.d.cts +4 -4
- package/dist/actions/templates-list.d.mts +4 -4
- package/dist/actions/templates-list.mjs +4 -4
- package/dist/actions/templates-list.mjs.map +1 -1
- package/dist/actions/transaction-type-get.cjs +1 -1
- package/dist/actions/transaction-type-get.cjs.map +1 -1
- package/dist/actions/transaction-type-get.d.cts +1 -1
- package/dist/actions/transaction-type-get.d.mts +1 -1
- package/dist/actions/transaction-type-get.mjs +1 -1
- package/dist/actions/transaction-type-get.mjs.map +1 -1
- package/dist/actions/transaction-type-update.cjs +1 -1
- package/dist/actions/transaction-type-update.cjs.map +1 -1
- package/dist/actions/transaction-type-update.d.cts +1 -1
- package/dist/actions/transaction-type-update.d.mts +1 -1
- package/dist/actions/transaction-type-update.mjs +1 -1
- package/dist/actions/transaction-type-update.mjs.map +1 -1
- package/dist/catalog.cjs +2 -2
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +2 -2
- package/dist/catalog.d.mts +2 -2
- package/dist/catalog.mjs +2 -2
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -17,11 +17,11 @@ const SpondyrGetSpondyrStatus_RecipientStatusSchema = zod.z.object({
|
|
|
17
17
|
IsSuccessful: zod.z.boolean().describe("True if delivery succeeded").nullable(),
|
|
18
18
|
DeliveryStatusCode: zod.z.string().describe("SUCCESS, UNDELIVERABLE, or ERROR").nullable(),
|
|
19
19
|
DeliveryStatusName: zod.z.string().describe("Success, Undeliverable, or Error").nullable()
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const SpondyrGetSpondyrStatus_SearchFilterStatusSchema = zod.z.object({
|
|
22
22
|
Name: zod.z.string().describe("Search tag name").nullable(),
|
|
23
23
|
Value: zod.z.string().describe("Value logged for this search tag").nullable()
|
|
24
|
-
});
|
|
24
|
+
}).passthrough();
|
|
25
25
|
const SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = zod.z.object({
|
|
26
26
|
URI: zod.z.string().describe("URI to generated correspondence, valid for 20 minutes").nullable(),
|
|
27
27
|
Template: zod.z.string().describe("Name of the template used").nullable(),
|
|
@@ -31,7 +31,7 @@ const SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = zod.z.object({
|
|
|
31
31
|
ContentType: zod.z.string().describe("PDF, DOC, HTML, or TEXT").nullable(),
|
|
32
32
|
CreatedDate: zod.z.string().describe("Date when correspondence was queued for generation").nullable(),
|
|
33
33
|
SearchFilters: zod.z.array(SpondyrGetSpondyrStatus_SearchFilterStatusSchema).describe("Search tags associated with this correspondence")
|
|
34
|
-
});
|
|
34
|
+
}).passthrough();
|
|
35
35
|
const SpondyrGetSpondyrStatusOutput = zod.z.object({
|
|
36
36
|
Data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Original data payload, included only if IncludeData=true").nullable().optional(),
|
|
37
37
|
APIStatus: zod.z.enum(["OK", "ERROR"]).describe("OK if successful, ERROR otherwise").nullable(),
|
|
@@ -52,7 +52,7 @@ const SpondyrGetSpondyrStatusOutput = zod.z.object({
|
|
|
52
52
|
ReferenceID: zod.z.string().describe("Reference ID of the original send/generate request. Null if there was an error.").nullable().optional(),
|
|
53
53
|
ErrorMessage: zod.z.string().describe("Error message if APIStatus is ERROR").nullable().optional(),
|
|
54
54
|
Correspondence: zod.z.array(SpondyrGetSpondyrStatus_CorrespondenceStatusSchema).describe("Generated correspondence items. Empty list if there was an error.").nullable().optional()
|
|
55
|
-
});
|
|
55
|
+
}).passthrough();
|
|
56
56
|
const spondyrGetSpondyrStatus = require_action.action("SPONDYR_GET_SPONDYR_STATUS", {
|
|
57
57
|
slug: "spondyr-get-spondyr-status",
|
|
58
58
|
name: "Get Spondyr Status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-spondyr-status.cjs","names":["z","action"],"sources":["../../src/actions/get-spondyr-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetSpondyrStatusInput = z.object({\n LastName: z.string().describe(\"Optional viewer last name for logging\").optional(),\n FirstName: z.string().describe(\"Optional viewer first name for logging\").optional(),\n IncludeData: z.boolean().default(false).describe(\"Include original data payload in the response if true\").optional(),\n ReferenceID: z.string().describe(\"Reference ID returned from the Send/Generate request\"),\n ApplicationUserID: z.string().describe(\"Optional user identifier for viewer context logging\").optional(),\n}).describe(\"Retrieve the status of a previously generated correspondence.\");\nconst SpondyrGetSpondyrStatus_RecipientStatusSchema = z.object({\n Name: z.string().describe(\"Recipient's name\").nullable(),\n Details: z.string().describe(\"Any delivery messages or errors\").nullable().optional(),\n DeliveryTo: z.string().describe(\"Email, fax, or postal address of recipient\").nullable(),\n CoverPageURI: z.string().describe(\"URI to the cover page, valid for 20 minutes\").nullable().optional(),\n DeliveryDate: z.string().describe(\"Date of delivery or null if not delivered yet\").nullable().optional(),\n IsSuccessful: z.boolean().describe(\"True if delivery succeeded\").nullable(),\n DeliveryStatusCode: z.string().describe(\"SUCCESS, UNDELIVERABLE, or ERROR\").nullable(),\n DeliveryStatusName: z.string().describe(\"Success, Undeliverable, or Error\").nullable(),\n});\nconst SpondyrGetSpondyrStatus_SearchFilterStatusSchema = z.object({\n Name: z.string().describe(\"Search tag name\").nullable(),\n Value: z.string().describe(\"Value logged for this search tag\").nullable(),\n});\nconst SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = z.object({\n URI: z.string().describe(\"URI to generated correspondence, valid for 20 minutes\").nullable(),\n Template: z.string().describe(\"Name of the template used\").nullable(),\n Recipients: z.array(SpondyrGetSpondyrStatus_RecipientStatusSchema).describe(\"Delivery status for each recipient\"),\n StatusCode: z.string().describe(\"GENERATED, ERROR, QUEUEDLIM, QUEUEDSYS, or CANCELED\").nullable(),\n StatusName: z.string().describe(\"Human-readable status of the correspondence item\").nullable(),\n ContentType: z.string().describe(\"PDF, DOC, HTML, or TEXT\").nullable(),\n CreatedDate: z.string().describe(\"Date when correspondence was queued for generation\").nullable(),\n SearchFilters: z.array(SpondyrGetSpondyrStatus_SearchFilterStatusSchema).describe(\"Search tags associated with this correspondence\"),\n});\nexport const SpondyrGetSpondyrStatusOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Original data payload, included only if IncludeData=true\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful, ERROR otherwise\").nullable(),\n EventType: z.string().describe(\"Event Type from the original send/generate request. Null if there was an error.\").nullable().optional(),\n StatusCode: z.enum([\"SUBMITTED\", \"MATCH\", \"FINISH\", \"FINISHPART\", \"NOMATCH\", \"QUEUEDLIM\", \"QUEUEDSYS\", \"CANCELED\", \"ERROR\"]).describe(\"Processing status code of the correspondence. Null if there was an error.\").nullable().optional(),\n StatusName: z.string().describe(\"Human-readable status description. Null if there was an error.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date when the original request was made. Null if there was an error.\").nullable().optional(),\n ReferenceID: z.string().describe(\"Reference ID of the original send/generate request. Null if there was an error.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n Correspondence: z.array(SpondyrGetSpondyrStatus_CorrespondenceStatusSchema).describe(\"Generated correspondence items. Empty list if there was an error.\").nullable().optional(),\n});\n\nexport const spondyrGetSpondyrStatus = action(\"SPONDYR_GET_SPONDYR_STATUS\", {\n slug: \"spondyr-get-spondyr-status\",\n name: \"Get Spondyr Status\",\n description: \"Tool to retrieve the status of a previously generated correspondence. Use after generating correspondence to check its processing and delivery status.\",\n input: SpondyrGetSpondyrStatusInput,\n output: SpondyrGetSpondyrStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACvF,CAAC;
|
|
1
|
+
{"version":3,"file":"get-spondyr-status.cjs","names":["z","action"],"sources":["../../src/actions/get-spondyr-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetSpondyrStatusInput = z.object({\n LastName: z.string().describe(\"Optional viewer last name for logging\").optional(),\n FirstName: z.string().describe(\"Optional viewer first name for logging\").optional(),\n IncludeData: z.boolean().default(false).describe(\"Include original data payload in the response if true\").optional(),\n ReferenceID: z.string().describe(\"Reference ID returned from the Send/Generate request\"),\n ApplicationUserID: z.string().describe(\"Optional user identifier for viewer context logging\").optional(),\n}).describe(\"Retrieve the status of a previously generated correspondence.\");\nconst SpondyrGetSpondyrStatus_RecipientStatusSchema = z.object({\n Name: z.string().describe(\"Recipient's name\").nullable(),\n Details: z.string().describe(\"Any delivery messages or errors\").nullable().optional(),\n DeliveryTo: z.string().describe(\"Email, fax, or postal address of recipient\").nullable(),\n CoverPageURI: z.string().describe(\"URI to the cover page, valid for 20 minutes\").nullable().optional(),\n DeliveryDate: z.string().describe(\"Date of delivery or null if not delivered yet\").nullable().optional(),\n IsSuccessful: z.boolean().describe(\"True if delivery succeeded\").nullable(),\n DeliveryStatusCode: z.string().describe(\"SUCCESS, UNDELIVERABLE, or ERROR\").nullable(),\n DeliveryStatusName: z.string().describe(\"Success, Undeliverable, or Error\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_SearchFilterStatusSchema = z.object({\n Name: z.string().describe(\"Search tag name\").nullable(),\n Value: z.string().describe(\"Value logged for this search tag\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = z.object({\n URI: z.string().describe(\"URI to generated correspondence, valid for 20 minutes\").nullable(),\n Template: z.string().describe(\"Name of the template used\").nullable(),\n Recipients: z.array(SpondyrGetSpondyrStatus_RecipientStatusSchema).describe(\"Delivery status for each recipient\"),\n StatusCode: z.string().describe(\"GENERATED, ERROR, QUEUEDLIM, QUEUEDSYS, or CANCELED\").nullable(),\n StatusName: z.string().describe(\"Human-readable status of the correspondence item\").nullable(),\n ContentType: z.string().describe(\"PDF, DOC, HTML, or TEXT\").nullable(),\n CreatedDate: z.string().describe(\"Date when correspondence was queued for generation\").nullable(),\n SearchFilters: z.array(SpondyrGetSpondyrStatus_SearchFilterStatusSchema).describe(\"Search tags associated with this correspondence\"),\n}).passthrough();\nexport const SpondyrGetSpondyrStatusOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Original data payload, included only if IncludeData=true\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful, ERROR otherwise\").nullable(),\n EventType: z.string().describe(\"Event Type from the original send/generate request. Null if there was an error.\").nullable().optional(),\n StatusCode: z.enum([\"SUBMITTED\", \"MATCH\", \"FINISH\", \"FINISHPART\", \"NOMATCH\", \"QUEUEDLIM\", \"QUEUEDSYS\", \"CANCELED\", \"ERROR\"]).describe(\"Processing status code of the correspondence. Null if there was an error.\").nullable().optional(),\n StatusName: z.string().describe(\"Human-readable status description. Null if there was an error.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date when the original request was made. Null if there was an error.\").nullable().optional(),\n ReferenceID: z.string().describe(\"Reference ID of the original send/generate request. Null if there was an error.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n Correspondence: z.array(SpondyrGetSpondyrStatus_CorrespondenceStatusSchema).describe(\"Generated correspondence items. Empty list if there was an error.\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetSpondyrStatus = action(\"SPONDYR_GET_SPONDYR_STATUS\", {\n slug: \"spondyr-get-spondyr-status\",\n name: \"Get Spondyr Status\",\n description: \"Tool to retrieve the status of a previously generated correspondence. Use after generating correspondence to check its processing and delivery status.\",\n input: SpondyrGetSpondyrStatusInput,\n output: SpondyrGetSpondyrStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,gDAAgDA,IAAAA,EAA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EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,gBAAgBA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -42,7 +42,7 @@ declare const SpondyrGetSpondyrStatusOutput: z.ZodObject<{
|
|
|
42
42
|
IsSuccessful: z.ZodNullable<z.ZodBoolean>;
|
|
43
43
|
DeliveryStatusCode: z.ZodNullable<z.ZodString>;
|
|
44
44
|
DeliveryStatusName: z.ZodNullable<z.ZodString>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>;
|
|
46
46
|
StatusCode: z.ZodNullable<z.ZodString>;
|
|
47
47
|
StatusName: z.ZodNullable<z.ZodString>;
|
|
48
48
|
ContentType: z.ZodNullable<z.ZodString>;
|
|
@@ -50,9 +50,9 @@ declare const SpondyrGetSpondyrStatusOutput: z.ZodObject<{
|
|
|
50
50
|
SearchFilters: z.ZodArray<z.ZodObject<{
|
|
51
51
|
Name: z.ZodNullable<z.ZodString>;
|
|
52
52
|
Value: z.ZodNullable<z.ZodString>;
|
|
53
|
-
}, z.core.$
|
|
54
|
-
}, z.core.$
|
|
55
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>;
|
|
54
|
+
}, z.core.$loose>>>>;
|
|
55
|
+
}, z.core.$loose>;
|
|
56
56
|
declare const spondyrGetSpondyrStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
57
57
|
ReferenceID: string;
|
|
58
58
|
LastName?: string | undefined;
|
|
@@ -42,7 +42,7 @@ declare const SpondyrGetSpondyrStatusOutput: z.ZodObject<{
|
|
|
42
42
|
IsSuccessful: z.ZodNullable<z.ZodBoolean>;
|
|
43
43
|
DeliveryStatusCode: z.ZodNullable<z.ZodString>;
|
|
44
44
|
DeliveryStatusName: z.ZodNullable<z.ZodString>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>;
|
|
46
46
|
StatusCode: z.ZodNullable<z.ZodString>;
|
|
47
47
|
StatusName: z.ZodNullable<z.ZodString>;
|
|
48
48
|
ContentType: z.ZodNullable<z.ZodString>;
|
|
@@ -50,9 +50,9 @@ declare const SpondyrGetSpondyrStatusOutput: z.ZodObject<{
|
|
|
50
50
|
SearchFilters: z.ZodArray<z.ZodObject<{
|
|
51
51
|
Name: z.ZodNullable<z.ZodString>;
|
|
52
52
|
Value: z.ZodNullable<z.ZodString>;
|
|
53
|
-
}, z.core.$
|
|
54
|
-
}, z.core.$
|
|
55
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>;
|
|
54
|
+
}, z.core.$loose>>>>;
|
|
55
|
+
}, z.core.$loose>;
|
|
56
56
|
declare const spondyrGetSpondyrStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
57
57
|
ReferenceID: string;
|
|
58
58
|
LastName?: string | undefined;
|
|
@@ -17,11 +17,11 @@ const SpondyrGetSpondyrStatus_RecipientStatusSchema = z.object({
|
|
|
17
17
|
IsSuccessful: z.boolean().describe("True if delivery succeeded").nullable(),
|
|
18
18
|
DeliveryStatusCode: z.string().describe("SUCCESS, UNDELIVERABLE, or ERROR").nullable(),
|
|
19
19
|
DeliveryStatusName: z.string().describe("Success, Undeliverable, or Error").nullable()
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const SpondyrGetSpondyrStatus_SearchFilterStatusSchema = z.object({
|
|
22
22
|
Name: z.string().describe("Search tag name").nullable(),
|
|
23
23
|
Value: z.string().describe("Value logged for this search tag").nullable()
|
|
24
|
-
});
|
|
24
|
+
}).passthrough();
|
|
25
25
|
const SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = z.object({
|
|
26
26
|
URI: z.string().describe("URI to generated correspondence, valid for 20 minutes").nullable(),
|
|
27
27
|
Template: z.string().describe("Name of the template used").nullable(),
|
|
@@ -31,7 +31,7 @@ const SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = z.object({
|
|
|
31
31
|
ContentType: z.string().describe("PDF, DOC, HTML, or TEXT").nullable(),
|
|
32
32
|
CreatedDate: z.string().describe("Date when correspondence was queued for generation").nullable(),
|
|
33
33
|
SearchFilters: z.array(SpondyrGetSpondyrStatus_SearchFilterStatusSchema).describe("Search tags associated with this correspondence")
|
|
34
|
-
});
|
|
34
|
+
}).passthrough();
|
|
35
35
|
const spondyrGetSpondyrStatus = action("SPONDYR_GET_SPONDYR_STATUS", {
|
|
36
36
|
slug: "spondyr-get-spondyr-status",
|
|
37
37
|
name: "Get Spondyr Status",
|
|
@@ -57,7 +57,7 @@ const spondyrGetSpondyrStatus = action("SPONDYR_GET_SPONDYR_STATUS", {
|
|
|
57
57
|
ReferenceID: z.string().describe("Reference ID of the original send/generate request. Null if there was an error.").nullable().optional(),
|
|
58
58
|
ErrorMessage: z.string().describe("Error message if APIStatus is ERROR").nullable().optional(),
|
|
59
59
|
Correspondence: z.array(SpondyrGetSpondyrStatus_CorrespondenceStatusSchema).describe("Generated correspondence items. Empty list if there was an error.").nullable().optional()
|
|
60
|
-
})
|
|
60
|
+
}).passthrough()
|
|
61
61
|
});
|
|
62
62
|
//#endregion
|
|
63
63
|
export { spondyrGetSpondyrStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-spondyr-status.mjs","names":[],"sources":["../../src/actions/get-spondyr-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetSpondyrStatusInput = z.object({\n LastName: z.string().describe(\"Optional viewer last name for logging\").optional(),\n FirstName: z.string().describe(\"Optional viewer first name for logging\").optional(),\n IncludeData: z.boolean().default(false).describe(\"Include original data payload in the response if true\").optional(),\n ReferenceID: z.string().describe(\"Reference ID returned from the Send/Generate request\"),\n ApplicationUserID: z.string().describe(\"Optional user identifier for viewer context logging\").optional(),\n}).describe(\"Retrieve the status of a previously generated correspondence.\");\nconst SpondyrGetSpondyrStatus_RecipientStatusSchema = z.object({\n Name: z.string().describe(\"Recipient's name\").nullable(),\n Details: z.string().describe(\"Any delivery messages or errors\").nullable().optional(),\n DeliveryTo: z.string().describe(\"Email, fax, or postal address of recipient\").nullable(),\n CoverPageURI: z.string().describe(\"URI to the cover page, valid for 20 minutes\").nullable().optional(),\n DeliveryDate: z.string().describe(\"Date of delivery or null if not delivered yet\").nullable().optional(),\n IsSuccessful: z.boolean().describe(\"True if delivery succeeded\").nullable(),\n DeliveryStatusCode: z.string().describe(\"SUCCESS, UNDELIVERABLE, or ERROR\").nullable(),\n DeliveryStatusName: z.string().describe(\"Success, Undeliverable, or Error\").nullable(),\n});\nconst SpondyrGetSpondyrStatus_SearchFilterStatusSchema = z.object({\n Name: z.string().describe(\"Search tag name\").nullable(),\n Value: z.string().describe(\"Value logged for this search tag\").nullable(),\n});\nconst SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = z.object({\n URI: z.string().describe(\"URI to generated correspondence, valid for 20 minutes\").nullable(),\n Template: z.string().describe(\"Name of the template used\").nullable(),\n Recipients: z.array(SpondyrGetSpondyrStatus_RecipientStatusSchema).describe(\"Delivery status for each recipient\"),\n StatusCode: z.string().describe(\"GENERATED, ERROR, QUEUEDLIM, QUEUEDSYS, or CANCELED\").nullable(),\n StatusName: z.string().describe(\"Human-readable status of the correspondence item\").nullable(),\n ContentType: z.string().describe(\"PDF, DOC, HTML, or TEXT\").nullable(),\n CreatedDate: z.string().describe(\"Date when correspondence was queued for generation\").nullable(),\n SearchFilters: z.array(SpondyrGetSpondyrStatus_SearchFilterStatusSchema).describe(\"Search tags associated with this correspondence\"),\n});\nexport const SpondyrGetSpondyrStatusOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Original data payload, included only if IncludeData=true\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful, ERROR otherwise\").nullable(),\n EventType: z.string().describe(\"Event Type from the original send/generate request. Null if there was an error.\").nullable().optional(),\n StatusCode: z.enum([\"SUBMITTED\", \"MATCH\", \"FINISH\", \"FINISHPART\", \"NOMATCH\", \"QUEUEDLIM\", \"QUEUEDSYS\", \"CANCELED\", \"ERROR\"]).describe(\"Processing status code of the correspondence. Null if there was an error.\").nullable().optional(),\n StatusName: z.string().describe(\"Human-readable status description. Null if there was an error.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date when the original request was made. Null if there was an error.\").nullable().optional(),\n ReferenceID: z.string().describe(\"Reference ID of the original send/generate request. Null if there was an error.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n Correspondence: z.array(SpondyrGetSpondyrStatus_CorrespondenceStatusSchema).describe(\"Generated correspondence items. Empty list if there was an error.\").nullable().optional(),\n});\n\nexport const spondyrGetSpondyrStatus = action(\"SPONDYR_GET_SPONDYR_STATUS\", {\n slug: \"spondyr-get-spondyr-status\",\n name: \"Get Spondyr Status\",\n description: \"Tool to retrieve the status of a previously generated correspondence. Use after generating correspondence to check its processing and delivery status.\",\n input: SpondyrGetSpondyrStatusInput,\n output: SpondyrGetSpondyrStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACvF,CAAC;
|
|
1
|
+
{"version":3,"file":"get-spondyr-status.mjs","names":[],"sources":["../../src/actions/get-spondyr-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetSpondyrStatusInput = z.object({\n LastName: z.string().describe(\"Optional viewer last name for logging\").optional(),\n FirstName: z.string().describe(\"Optional viewer first name for logging\").optional(),\n IncludeData: z.boolean().default(false).describe(\"Include original data payload in the response if true\").optional(),\n ReferenceID: z.string().describe(\"Reference ID returned from the Send/Generate request\"),\n ApplicationUserID: z.string().describe(\"Optional user identifier for viewer context logging\").optional(),\n}).describe(\"Retrieve the status of a previously generated correspondence.\");\nconst SpondyrGetSpondyrStatus_RecipientStatusSchema = z.object({\n Name: z.string().describe(\"Recipient's name\").nullable(),\n Details: z.string().describe(\"Any delivery messages or errors\").nullable().optional(),\n DeliveryTo: z.string().describe(\"Email, fax, or postal address of recipient\").nullable(),\n CoverPageURI: z.string().describe(\"URI to the cover page, valid for 20 minutes\").nullable().optional(),\n DeliveryDate: z.string().describe(\"Date of delivery or null if not delivered yet\").nullable().optional(),\n IsSuccessful: z.boolean().describe(\"True if delivery succeeded\").nullable(),\n DeliveryStatusCode: z.string().describe(\"SUCCESS, UNDELIVERABLE, or ERROR\").nullable(),\n DeliveryStatusName: z.string().describe(\"Success, Undeliverable, or Error\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_SearchFilterStatusSchema = z.object({\n Name: z.string().describe(\"Search tag name\").nullable(),\n Value: z.string().describe(\"Value logged for this search tag\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = z.object({\n URI: z.string().describe(\"URI to generated correspondence, valid for 20 minutes\").nullable(),\n Template: z.string().describe(\"Name of the template used\").nullable(),\n Recipients: z.array(SpondyrGetSpondyrStatus_RecipientStatusSchema).describe(\"Delivery status for each recipient\"),\n StatusCode: z.string().describe(\"GENERATED, ERROR, QUEUEDLIM, QUEUEDSYS, or CANCELED\").nullable(),\n StatusName: z.string().describe(\"Human-readable status of the correspondence item\").nullable(),\n ContentType: z.string().describe(\"PDF, DOC, HTML, or TEXT\").nullable(),\n CreatedDate: z.string().describe(\"Date when correspondence was queued for generation\").nullable(),\n SearchFilters: z.array(SpondyrGetSpondyrStatus_SearchFilterStatusSchema).describe(\"Search tags associated with this correspondence\"),\n}).passthrough();\nexport const SpondyrGetSpondyrStatusOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Original data payload, included only if IncludeData=true\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful, ERROR otherwise\").nullable(),\n EventType: z.string().describe(\"Event Type from the original send/generate request. Null if there was an error.\").nullable().optional(),\n StatusCode: z.enum([\"SUBMITTED\", \"MATCH\", \"FINISH\", \"FINISHPART\", \"NOMATCH\", \"QUEUEDLIM\", \"QUEUEDSYS\", \"CANCELED\", \"ERROR\"]).describe(\"Processing status code of the correspondence. Null if there was an error.\").nullable().optional(),\n StatusName: z.string().describe(\"Human-readable status description. Null if there was an error.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date when the original request was made. Null if there was an error.\").nullable().optional(),\n ReferenceID: z.string().describe(\"Reference ID of the original send/generate request. Null if there was an error.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n Correspondence: z.array(SpondyrGetSpondyrStatus_CorrespondenceStatusSchema).describe(\"Generated correspondence items. Empty list if there was an error.\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetSpondyrStatus = action(\"SPONDYR_GET_SPONDYR_STATUS\", {\n slug: \"spondyr-get-spondyr-status\",\n name: \"Get Spondyr Status\",\n description: \"Tool to retrieve the status of a previously generated correspondence. Use after generating correspondence to check its processing and delivery status.\",\n input: SpondyrGetSpondyrStatusInput,\n output: SpondyrGetSpondyrStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,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action Type").nullable(),
|
|
7
7
|
TemplateCSV: zod.z.string().describe("Comma-delimited list of flattened JSON fields").nullable(),
|
|
8
8
|
TemplateJSON: zod.z.string().describe("JSON-formatted string containing all available properties with sample data").nullable()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const SpondyrGetTransactionTypesOutput = zod.z.object({
|
|
11
11
|
Data: zod.z.array(SpondyrGetTransactionTypes_TransactionTypeSchema).describe("List of available transaction types"),
|
|
12
12
|
APIStatus: zod.z.string().describe("APIStatus: OK if successful, ERROR if not").nullable(),
|
|
13
13
|
ErrorMessage: zod.z.string().describe("Error message if APIStatus is ERROR").nullable().optional()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const spondyrGetTransactionTypes = require_action.action("SPONDYR_GET_TRANSACTION_TYPES", {
|
|
16
16
|
slug: "spondyr-get-transaction-types",
|
|
17
17
|
name: "Get Transaction Types",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transaction-types.cjs","names":["z","action"],"sources":["../../src/actions/get-transaction-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetTransactionTypesInput = z.object({}).describe(\"Empty request for retrieving transaction types.\");\nconst SpondyrGetTransactionTypes_TransactionTypeSchema = z.object({\n Name: z.string().describe(\"The name of the Transaction Type\").nullable(),\n TemplateCSV: z.string().describe(\"Comma-delimited list of flattened JSON fields\").nullable(),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing all available properties with sample data\").nullable(),\n});\nexport const SpondyrGetTransactionTypesOutput = z.object({\n Data: z.array(SpondyrGetTransactionTypes_TransactionTypeSchema).describe(\"List of available transaction types\"),\n APIStatus: z.string().describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n});\n\nexport const spondyrGetTransactionTypes = action(\"SPONDYR_GET_TRANSACTION_TYPES\", {\n slug: \"spondyr-get-transaction-types\",\n name: \"Get Transaction Types\",\n description: \"Tool to retrieve a list of available transaction types. Use after authentication to discover data schemas.\",\n input: SpondyrGetTransactionTypesInput,\n output: SpondyrGetTransactionTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtH,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC3H,CAAC;
|
|
1
|
+
{"version":3,"file":"get-transaction-types.cjs","names":["z","action"],"sources":["../../src/actions/get-transaction-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetTransactionTypesInput = z.object({}).describe(\"Empty request for retrieving transaction types.\");\nconst SpondyrGetTransactionTypes_TransactionTypeSchema = z.object({\n Name: z.string().describe(\"The name of the Transaction Type\").nullable(),\n TemplateCSV: z.string().describe(\"Comma-delimited list of flattened JSON fields\").nullable(),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing all available properties with sample data\").nullable(),\n}).passthrough();\nexport const SpondyrGetTransactionTypesOutput = z.object({\n Data: z.array(SpondyrGetTransactionTypes_TransactionTypeSchema).describe(\"List of available transaction types\"),\n APIStatus: z.string().describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetTransactionTypes = action(\"SPONDYR_GET_TRANSACTION_TYPES\", {\n slug: \"spondyr-get-transaction-types\",\n name: \"Get Transaction Types\",\n description: \"Tool to retrieve a list of available transaction types. Use after authentication to discover data schemas.\",\n input: SpondyrGetTransactionTypesInput,\n output: SpondyrGetTransactionTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtH,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,qCAAqC;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,10 +7,10 @@ declare const SpondyrGetTransactionTypesOutput: z.ZodObject<{
|
|
|
7
7
|
Name: z.ZodNullable<z.ZodString>;
|
|
8
8
|
TemplateCSV: z.ZodNullable<z.ZodString>;
|
|
9
9
|
TemplateJSON: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
APIStatus: z.ZodNullable<z.ZodString>;
|
|
12
12
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const spondyrGetTransactionTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { spondyrGetTransactionTypes };
|
|
@@ -7,10 +7,10 @@ declare const SpondyrGetTransactionTypesOutput: z.ZodObject<{
|
|
|
7
7
|
Name: z.ZodNullable<z.ZodString>;
|
|
8
8
|
TemplateCSV: z.ZodNullable<z.ZodString>;
|
|
9
9
|
TemplateJSON: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
APIStatus: z.ZodNullable<z.ZodString>;
|
|
12
12
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const spondyrGetTransactionTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { spondyrGetTransactionTypes };
|
|
@@ -6,7 +6,7 @@ const SpondyrGetTransactionTypes_TransactionTypeSchema = z.object({
|
|
|
6
6
|
Name: z.string().describe("The name of the Transaction Type").nullable(),
|
|
7
7
|
TemplateCSV: z.string().describe("Comma-delimited list of flattened JSON fields").nullable(),
|
|
8
8
|
TemplateJSON: z.string().describe("JSON-formatted string containing all available properties with sample data").nullable()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const spondyrGetTransactionTypes = action("SPONDYR_GET_TRANSACTION_TYPES", {
|
|
11
11
|
slug: "spondyr-get-transaction-types",
|
|
12
12
|
name: "Get Transaction Types",
|
|
@@ -16,7 +16,7 @@ const spondyrGetTransactionTypes = action("SPONDYR_GET_TRANSACTION_TYPES", {
|
|
|
16
16
|
Data: z.array(SpondyrGetTransactionTypes_TransactionTypeSchema).describe("List of available transaction types"),
|
|
17
17
|
APIStatus: z.string().describe("APIStatus: OK if successful, ERROR if not").nullable(),
|
|
18
18
|
ErrorMessage: z.string().describe("Error message if APIStatus is ERROR").nullable().optional()
|
|
19
|
-
})
|
|
19
|
+
}).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { spondyrGetTransactionTypes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transaction-types.mjs","names":[],"sources":["../../src/actions/get-transaction-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetTransactionTypesInput = z.object({}).describe(\"Empty request for retrieving transaction types.\");\nconst SpondyrGetTransactionTypes_TransactionTypeSchema = z.object({\n Name: z.string().describe(\"The name of the Transaction Type\").nullable(),\n TemplateCSV: z.string().describe(\"Comma-delimited list of flattened JSON fields\").nullable(),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing all available properties with sample data\").nullable(),\n});\nexport const SpondyrGetTransactionTypesOutput = z.object({\n Data: z.array(SpondyrGetTransactionTypes_TransactionTypeSchema).describe(\"List of available transaction types\"),\n APIStatus: z.string().describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n});\n\nexport const spondyrGetTransactionTypes = action(\"SPONDYR_GET_TRANSACTION_TYPES\", {\n slug: \"spondyr-get-transaction-types\",\n name: \"Get Transaction Types\",\n description: \"Tool to retrieve a list of available transaction types. Use after authentication to discover data schemas.\",\n input: SpondyrGetTransactionTypesInput,\n output: SpondyrGetTransactionTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtH,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC3H,CAAC;
|
|
1
|
+
{"version":3,"file":"get-transaction-types.mjs","names":[],"sources":["../../src/actions/get-transaction-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetTransactionTypesInput = z.object({}).describe(\"Empty request for retrieving transaction types.\");\nconst SpondyrGetTransactionTypes_TransactionTypeSchema = z.object({\n Name: z.string().describe(\"The name of the Transaction Type\").nullable(),\n TemplateCSV: z.string().describe(\"Comma-delimited list of flattened JSON fields\").nullable(),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing all available properties with sample data\").nullable(),\n}).passthrough();\nexport const SpondyrGetTransactionTypesOutput = z.object({\n Data: z.array(SpondyrGetTransactionTypes_TransactionTypeSchema).describe(\"List of available transaction types\"),\n APIStatus: z.string().describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetTransactionTypes = action(\"SPONDYR_GET_TRANSACTION_TYPES\", {\n slug: \"spondyr-get-transaction-types\",\n name: \"Get Transaction Types\",\n description: \"Tool to retrieve a list of available transaction types. Use after authentication to discover data schemas.\",\n input: SpondyrGetTransactionTypesInput,\n output: SpondyrGetTransactionTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtH,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,qCAAqC;EAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SpondyrRecipientDeleteInput = zod.z.object({
|
|
|
8
8
|
const SpondyrRecipientDeleteOutput = zod.z.object({
|
|
9
9
|
APIStatus: zod.z.enum(["OK", "ERROR"]).describe("OK if deletion succeeded; ERROR otherwise.").nullable(),
|
|
10
10
|
ErrorMessage: zod.z.string().describe("Error message if deletion failed.").nullable().optional()
|
|
11
|
-
}).describe("Response model for the delete recipient action.");
|
|
11
|
+
}).passthrough().describe("Response model for the delete recipient action.");
|
|
12
12
|
const spondyrRecipientDelete = require_action.action("SPONDYR_RECIPIENT_DELETE", {
|
|
13
13
|
slug: "spondyr-recipient-delete",
|
|
14
14
|
name: "Delete Recipient",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipient-delete.cjs","names":["z","action"],"sources":["../../src/actions/recipient-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientDeleteInput = z.object({\n Recipient: z.string().describe(\"The name of the recipient to delete. This is the 'Name' field that was used when the recipient was created. Use the 'List Recipients' action with the transaction type to find all configured recipient names.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type that the recipient belongs to. Must match an existing transaction type in your Spondyr account. Use the 'Get Transaction Types' action to list all available transaction types, or 'List Recipients' to see which transaction types have configured recipients.\"),\n}).describe(\"Request model for deleting a specific recipient configuration from a transaction type.\");\nexport const SpondyrRecipientDeleteOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if deletion succeeded; ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if deletion failed.\").nullable().optional(),\n}).describe(\"Response model for the delete recipient action.\");\n\nexport const spondyrRecipientDelete = action(\"SPONDYR_RECIPIENT_DELETE\", {\n slug: \"spondyr-recipient-delete\",\n name: \"Delete Recipient\",\n description: \"Deletes a recipient configuration from a transaction type in Spondyr. Recipients are configured delivery endpoints (email addresses, fax numbers, physical addresses) that determine where correspondence will be sent when a transaction is processed. This action permanently removes a recipient configuration from the specified transaction type. Before deletion, use the 'List Recipients' action to verify the recipient name and transaction type. After successful deletion, the recipient will no longer be available for correspondence delivery.\",\n input: SpondyrRecipientDeleteInput,\n output: SpondyrRecipientDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;CAC/O,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS;AACzU,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"recipient-delete.cjs","names":["z","action"],"sources":["../../src/actions/recipient-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientDeleteInput = z.object({\n Recipient: z.string().describe(\"The name of the recipient to delete. This is the 'Name' field that was used when the recipient was created. Use the 'List Recipients' action with the transaction type to find all configured recipient names.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type that the recipient belongs to. Must match an existing transaction type in your Spondyr account. Use the 'Get Transaction Types' action to list all available transaction types, or 'List Recipients' to see which transaction types have configured recipients.\"),\n}).describe(\"Request model for deleting a specific recipient configuration from a transaction type.\");\nexport const SpondyrRecipientDeleteOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if deletion succeeded; ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if deletion failed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete recipient action.\");\n\nexport const spondyrRecipientDelete = action(\"SPONDYR_RECIPIENT_DELETE\", {\n slug: \"spondyr-recipient-delete\",\n name: \"Delete Recipient\",\n description: \"Deletes a recipient configuration from a transaction type in Spondyr. Recipients are configured delivery endpoints (email addresses, fax numbers, physical addresses) that determine where correspondence will be sent when a transaction is processed. This action permanently removes a recipient configuration from the specified transaction type. Before deletion, use the 'List Recipients' action to verify the recipient name and transaction type. After successful deletion, the recipient will no longer be available for correspondence delivery.\",\n input: SpondyrRecipientDeleteInput,\n output: SpondyrRecipientDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;CAC/O,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS;AACzU,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const SpondyrRecipientDeleteOutput: z.ZodObject<{
|
|
|
11
11
|
ERROR: "ERROR";
|
|
12
12
|
}>>;
|
|
13
13
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const spondyrRecipientDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
Recipient: string;
|
|
17
17
|
TransactionType: string;
|
|
@@ -11,7 +11,7 @@ declare const SpondyrRecipientDeleteOutput: z.ZodObject<{
|
|
|
11
11
|
ERROR: "ERROR";
|
|
12
12
|
}>>;
|
|
13
13
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const spondyrRecipientDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
Recipient: string;
|
|
17
17
|
TransactionType: string;
|
|
@@ -11,7 +11,7 @@ const spondyrRecipientDelete = action("SPONDYR_RECIPIENT_DELETE", {
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
APIStatus: z.enum(["OK", "ERROR"]).describe("OK if deletion succeeded; ERROR otherwise.").nullable(),
|
|
13
13
|
ErrorMessage: z.string().describe("Error message if deletion failed.").nullable().optional()
|
|
14
|
-
}).describe("Response model for the delete recipient action.")
|
|
14
|
+
}).passthrough().describe("Response model for the delete recipient action.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { spondyrRecipientDelete };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipient-delete.mjs","names":[],"sources":["../../src/actions/recipient-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientDeleteInput = z.object({\n Recipient: z.string().describe(\"The name of the recipient to delete. This is the 'Name' field that was used when the recipient was created. Use the 'List Recipients' action with the transaction type to find all configured recipient names.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type that the recipient belongs to. Must match an existing transaction type in your Spondyr account. Use the 'Get Transaction Types' action to list all available transaction types, or 'List Recipients' to see which transaction types have configured recipients.\"),\n}).describe(\"Request model for deleting a specific recipient configuration from a transaction type.\");\nexport const SpondyrRecipientDeleteOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if deletion succeeded; ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if deletion failed.\").nullable().optional(),\n}).describe(\"Response model for the delete recipient action.\");\n\nexport const spondyrRecipientDelete = action(\"SPONDYR_RECIPIENT_DELETE\", {\n slug: \"spondyr-recipient-delete\",\n name: \"Delete Recipient\",\n description: \"Deletes a recipient configuration from a transaction type in Spondyr. Recipients are configured delivery endpoints (email addresses, fax numbers, physical addresses) that determine where correspondence will be sent when a transaction is processed. This action permanently removes a recipient configuration from the specified transaction type. Before deletion, use the 'List Recipients' action to verify the recipient name and transaction type. After successful deletion, the recipient will no longer be available for correspondence delivery.\",\n input: SpondyrRecipientDeleteInput,\n output: SpondyrRecipientDeleteOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;EAC/O,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS;CACzU,CAAC,CAAC,CAAC,SAAS,wFAUH;CACP,QAV0C,EAAE,OAAO;EACnD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"recipient-delete.mjs","names":[],"sources":["../../src/actions/recipient-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientDeleteInput = z.object({\n Recipient: z.string().describe(\"The name of the recipient to delete. This is the 'Name' field that was used when the recipient was created. Use the 'List Recipients' action with the transaction type to find all configured recipient names.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type that the recipient belongs to. Must match an existing transaction type in your Spondyr account. Use the 'Get Transaction Types' action to list all available transaction types, or 'List Recipients' to see which transaction types have configured recipients.\"),\n}).describe(\"Request model for deleting a specific recipient configuration from a transaction type.\");\nexport const SpondyrRecipientDeleteOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if deletion succeeded; ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if deletion failed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete recipient action.\");\n\nexport const spondyrRecipientDelete = action(\"SPONDYR_RECIPIENT_DELETE\", {\n slug: \"spondyr-recipient-delete\",\n name: \"Delete Recipient\",\n description: \"Deletes a recipient configuration from a transaction type in Spondyr. Recipients are configured delivery endpoints (email addresses, fax numbers, physical addresses) that determine where correspondence will be sent when a transaction is processed. This action permanently removes a recipient configuration from the specified transaction type. Before deletion, use the 'List Recipients' action to verify the recipient name and transaction type. After successful deletion, the recipient will no longer be available for correspondence delivery.\",\n input: SpondyrRecipientDeleteInput,\n output: SpondyrRecipientDeleteOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;EAC/O,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS;CACzU,CAAC,CAAC,CAAC,SAAS,wFAUH;CACP,QAV0C,EAAE,OAAO;EACnD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -21,7 +21,7 @@ const SpondyrRecipientGetOutput = zod.z.object({
|
|
|
21
21
|
MobilePhone: zod.z.string().describe("The Recipient's mobile phone number.").nullable().optional(),
|
|
22
22
|
ErrorMessage: zod.z.string().describe("Error message if retrieval failed.").nullable().optional(),
|
|
23
23
|
TransactionType: zod.z.string().describe("The Transaction Type name this Recipient is for.").nullable()
|
|
24
|
-
});
|
|
24
|
+
}).passthrough();
|
|
25
25
|
const spondyrRecipientGet = require_action.action("SPONDYR_RECIPIENT_GET", {
|
|
26
26
|
slug: "spondyr-recipient-get",
|
|
27
27
|
name: "Get Recipient",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipient-get.cjs","names":["z","action"],"sources":["../../src/actions/recipient-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientGetInput = z.object({\n Recipient: z.string().describe(\"The name of the Recipient to retrieve.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type this Recipient is for.\"),\n}).describe(\"Request model for retrieving a specific recipient.\");\nexport const SpondyrRecipientGetOutput = z.object({\n Fax: z.string().describe(\"The Recipient's fax number.\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's zip code.\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city.\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient.\").nullable(),\n Email: z.string().describe(\"The Recipient's email address.\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state.\").nullable().optional(),\n Address1: z.string().describe(\"The Recipient's address 1.\").nullable().optional(),\n Address2: z.string().describe(\"The Recipient's address 2.\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name.\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\").nullable(),\n FirstName: z.string().describe(\"The Recipient's first name.\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if retrieval failed.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type name this Recipient is for.\").nullable(),\n});\n\nexport const spondyrRecipientGet = action(\"SPONDYR_RECIPIENT_GET\", {\n slug: \"spondyr-recipient-get\",\n name: \"Get Recipient\",\n description: \"Tool to retrieve details of a specific recipient. Use when you need to fetch recipient configuration for a given transaction type. Example: \\\"Retrieve recipient 'Customer' for transaction type 'OrderPlaced'.\\\"\",\n input: SpondyrRecipientGetInput,\n output: SpondyrRecipientGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,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AiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACpG,CAAC;
|
|
1
|
+
{"version":3,"file":"recipient-get.cjs","names":["z","action"],"sources":["../../src/actions/recipient-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientGetInput = z.object({\n Recipient: z.string().describe(\"The name of the Recipient to retrieve.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type this Recipient is for.\"),\n}).describe(\"Request model for retrieving a specific recipient.\");\nexport const SpondyrRecipientGetOutput = z.object({\n Fax: z.string().describe(\"The Recipient's fax number.\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's zip code.\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city.\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient.\").nullable(),\n Email: z.string().describe(\"The Recipient's email address.\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state.\").nullable().optional(),\n Address1: z.string().describe(\"The Recipient's address 1.\").nullable().optional(),\n Address2: z.string().describe(\"The Recipient's address 2.\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name.\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\").nullable(),\n FirstName: z.string().describe(\"The Recipient's first name.\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if retrieval failed.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type name this Recipient is for.\").nullable(),\n}).passthrough();\n\nexport const spondyrRecipientGet = action(\"SPONDYR_RECIPIENT_GET\", {\n slug: \"spondyr-recipient-get\",\n name: \"Get Recipient\",\n description: \"Tool to retrieve details of a specific recipient. Use when you need to fetch recipient configuration for a given transaction type. Example: \\\"Retrieve recipient 'Customer' for transaction type 'OrderPlaced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AAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ declare const SpondyrRecipientGetOutput: z.ZodObject<{
|
|
|
24
24
|
MobilePhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
TransactionType: z.ZodNullable<z.ZodString>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const spondyrRecipientGet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
Recipient: string;
|
|
30
30
|
TransactionType: string;
|
|
@@ -24,7 +24,7 @@ declare const SpondyrRecipientGetOutput: z.ZodObject<{
|
|
|
24
24
|
MobilePhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
TransactionType: z.ZodNullable<z.ZodString>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const spondyrRecipientGet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
Recipient: string;
|
|
30
30
|
TransactionType: string;
|
|
@@ -24,7 +24,7 @@ const spondyrRecipientGet = action("SPONDYR_RECIPIENT_GET", {
|
|
|
24
24
|
MobilePhone: z.string().describe("The Recipient's mobile phone number.").nullable().optional(),
|
|
25
25
|
ErrorMessage: z.string().describe("Error message if retrieval failed.").nullable().optional(),
|
|
26
26
|
TransactionType: z.string().describe("The Transaction Type name this Recipient is for.").nullable()
|
|
27
|
-
})
|
|
27
|
+
}).passthrough()
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { spondyrRecipientGet };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipient-get.mjs","names":[],"sources":["../../src/actions/recipient-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientGetInput = z.object({\n Recipient: z.string().describe(\"The name of the Recipient to retrieve.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type this Recipient is for.\"),\n}).describe(\"Request model for retrieving a specific recipient.\");\nexport const SpondyrRecipientGetOutput = z.object({\n Fax: z.string().describe(\"The Recipient's fax number.\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's zip code.\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city.\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient.\").nullable(),\n Email: z.string().describe(\"The Recipient's email address.\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state.\").nullable().optional(),\n Address1: z.string().describe(\"The Recipient's address 1.\").nullable().optional(),\n Address2: z.string().describe(\"The Recipient's address 2.\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name.\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\").nullable(),\n FirstName: z.string().describe(\"The Recipient's first name.\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if retrieval failed.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type name this Recipient is for.\").nullable(),\n});\n\nexport const spondyrRecipientGet = action(\"SPONDYR_RECIPIENT_GET\", {\n slug: \"spondyr-recipient-get\",\n name: \"Get Recipient\",\n description: \"Tool to retrieve details of a specific recipient. Use when you need to fetch recipient configuration for a given transaction type. Example: \\\"Retrieve recipient 'Customer' for transaction type 'OrderPlaced'.\\\"\",\n input: SpondyrRecipientGetInput,\n output: SpondyrRecipientGetOutput,\n});\n"],"mappings":";;AA0BA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BsC,EAAE,OAAO;EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACvE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChG,CAAC,CAAC,CAAC,SAAS,oDAuBH;CACP,QAvBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACpG,
|
|
1
|
+
{"version":3,"file":"recipient-get.mjs","names":[],"sources":["../../src/actions/recipient-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientGetInput = z.object({\n Recipient: z.string().describe(\"The name of the Recipient to retrieve.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type this Recipient is for.\"),\n}).describe(\"Request model for retrieving a specific recipient.\");\nexport const SpondyrRecipientGetOutput = z.object({\n Fax: z.string().describe(\"The Recipient's fax number.\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's zip code.\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city.\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient.\").nullable(),\n Email: z.string().describe(\"The Recipient's email address.\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state.\").nullable().optional(),\n Address1: z.string().describe(\"The Recipient's address 1.\").nullable().optional(),\n Address2: z.string().describe(\"The Recipient's address 2.\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name.\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\").nullable(),\n FirstName: z.string().describe(\"The Recipient's first name.\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if retrieval failed.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type name this Recipient is for.\").nullable(),\n}).passthrough();\n\nexport const spondyrRecipientGet = action(\"SPONDYR_RECIPIENT_GET\", {\n slug: \"spondyr-recipient-get\",\n name: \"Get Recipient\",\n description: \"Tool to retrieve details of a specific recipient. Use when you need to fetch recipient configuration for a given transaction type. Example: \\\"Retrieve recipient 'Customer' for transaction type 'OrderPlaced'.\\\"\",\n input: SpondyrRecipientGetInput,\n output: SpondyrRecipientGetOutput,\n});\n"],"mappings":";;AA0BA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BsC,EAAE,OAAO;EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACvE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChG,CAAC,CAAC,CAAC,SAAS,oDAuBH;CACP,QAvBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -16,12 +16,12 @@ const SpondyrRecipientsList_RecipientItemSchema = zod.z.object({
|
|
|
16
16
|
FirstName: zod.z.string().describe("The Recipient's first name").nullable().optional(),
|
|
17
17
|
MobilePhone: zod.z.string().describe("The Recipient's mobile phone number").nullable().optional(),
|
|
18
18
|
TransactionType: zod.z.string().describe("The Transaction Type this Recipient is for").nullable()
|
|
19
|
-
});
|
|
19
|
+
}).passthrough();
|
|
20
20
|
const SpondyrRecipientsListOutput = zod.z.object({
|
|
21
21
|
Data: zod.z.array(SpondyrRecipientsList_RecipientItemSchema).describe("List of recipients for the specified transaction type"),
|
|
22
22
|
APIStatus: zod.z.string().describe("OK if successful, ERROR if not").nullable(),
|
|
23
23
|
ErrorMessage: zod.z.string().describe("Error message if APIStatus is ERROR").nullable().optional()
|
|
24
|
-
});
|
|
24
|
+
}).passthrough();
|
|
25
25
|
const spondyrRecipientsList = require_action.action("SPONDYR_RECIPIENTS_LIST", {
|
|
26
26
|
slug: "spondyr-recipients-list",
|
|
27
27
|
name: "List Recipients",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipients-list.cjs","names":["z","action"],"sources":["../../src/actions/recipients-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientsListInput = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose recipients are to be listed. Use the Get Transaction Types action to retrieve available transaction type names.\"),\n}).describe(\"Request model for listing recipients associated with a transaction type.\");\nconst SpondyrRecipientsList_RecipientItemSchema = z.object({\n Fax: z.string().describe(\"The Recipient's fax number\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's postal code\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient\").nullable(),\n Email: z.string().describe(\"The Recipient's email address\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state or province\").nullable().optional(),\n Address1: z.string().describe(\"Line 1 of the Recipient's address\").nullable().optional(),\n Address2: z.string().describe(\"Line 2 of the Recipient's address\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id\").nullable().optional(),\n FirstName: z.string().describe(\"The Recipient's first name\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this Recipient is for\").nullable(),\n});\nexport const SpondyrRecipientsListOutput = z.object({\n Data: z.array(SpondyrRecipientsList_RecipientItemSchema).describe(\"List of recipients for the specified transaction type\"),\n APIStatus: z.string().describe(\"OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n});\n\nexport const spondyrRecipientsList = action(\"SPONDYR_RECIPIENTS_LIST\", {\n slug: \"spondyr-recipients-list\",\n name: \"List Recipients\",\n description: \"Tool to list all recipients for a transaction type. Use when you need to discover or verify all configured recipients before sending or managing correspondence.\",\n input: SpondyrRecipientsListInput,\n output: SpondyrRecipientsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC9F,CAAC;
|
|
1
|
+
{"version":3,"file":"recipients-list.cjs","names":["z","action"],"sources":["../../src/actions/recipients-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientsListInput = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose recipients are to be listed. Use the Get Transaction Types action to retrieve available transaction type names.\"),\n}).describe(\"Request model for listing recipients associated with a transaction type.\");\nconst SpondyrRecipientsList_RecipientItemSchema = z.object({\n Fax: z.string().describe(\"The Recipient's fax number\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's postal code\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient\").nullable(),\n Email: z.string().describe(\"The Recipient's email address\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state or province\").nullable().optional(),\n Address1: z.string().describe(\"Line 1 of the Recipient's address\").nullable().optional(),\n Address2: z.string().describe(\"Line 2 of the Recipient's address\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id\").nullable().optional(),\n FirstName: z.string().describe(\"The Recipient's first name\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this Recipient is for\").nullable(),\n}).passthrough();\nexport const SpondyrRecipientsListOutput = z.object({\n Data: z.array(SpondyrRecipientsList_RecipientItemSchema).describe(\"List of recipients for the specified transaction type\"),\n APIStatus: z.string().describe(\"OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrRecipientsList = action(\"SPONDYR_RECIPIENTS_LIST\", {\n slug: \"spondyr-recipients-list\",\n name: \"List Recipients\",\n description: \"Tool to list all recipients for a transaction type. Use when you need to discover or verify all configured recipients before sending or managing correspondence.\",\n input: SpondyrRecipientsListInput,\n output: SpondyrRecipientsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE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F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,10 +19,10 @@ declare const SpondyrRecipientsListOutput: z.ZodObject<{
|
|
|
19
19
|
FirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
MobilePhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
TransactionType: z.ZodNullable<z.ZodString>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
23
|
APIStatus: z.ZodNullable<z.ZodString>;
|
|
24
24
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const spondyrRecipientsList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
TransactionType: string;
|
|
28
28
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -19,10 +19,10 @@ declare const SpondyrRecipientsListOutput: z.ZodObject<{
|
|
|
19
19
|
FirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
MobilePhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
TransactionType: z.ZodNullable<z.ZodString>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
23
|
APIStatus: z.ZodNullable<z.ZodString>;
|
|
24
24
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const spondyrRecipientsList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
TransactionType: string;
|
|
28
28
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -16,7 +16,7 @@ const SpondyrRecipientsList_RecipientItemSchema = z.object({
|
|
|
16
16
|
FirstName: z.string().describe("The Recipient's first name").nullable().optional(),
|
|
17
17
|
MobilePhone: z.string().describe("The Recipient's mobile phone number").nullable().optional(),
|
|
18
18
|
TransactionType: z.string().describe("The Transaction Type this Recipient is for").nullable()
|
|
19
|
-
});
|
|
19
|
+
}).passthrough();
|
|
20
20
|
const spondyrRecipientsList = action("SPONDYR_RECIPIENTS_LIST", {
|
|
21
21
|
slug: "spondyr-recipients-list",
|
|
22
22
|
name: "List Recipients",
|
|
@@ -26,7 +26,7 @@ const spondyrRecipientsList = action("SPONDYR_RECIPIENTS_LIST", {
|
|
|
26
26
|
Data: z.array(SpondyrRecipientsList_RecipientItemSchema).describe("List of recipients for the specified transaction type"),
|
|
27
27
|
APIStatus: z.string().describe("OK if successful, ERROR if not").nullable(),
|
|
28
28
|
ErrorMessage: z.string().describe("Error message if APIStatus is ERROR").nullable().optional()
|
|
29
|
-
})
|
|
29
|
+
}).passthrough()
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { spondyrRecipientsList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipients-list.mjs","names":[],"sources":["../../src/actions/recipients-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientsListInput = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose recipients are to be listed. Use the Get Transaction Types action to retrieve available transaction type names.\"),\n}).describe(\"Request model for listing recipients associated with a transaction type.\");\nconst SpondyrRecipientsList_RecipientItemSchema = z.object({\n Fax: z.string().describe(\"The Recipient's fax number\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's postal code\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient\").nullable(),\n Email: z.string().describe(\"The Recipient's email address\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state or province\").nullable().optional(),\n Address1: z.string().describe(\"Line 1 of the Recipient's address\").nullable().optional(),\n Address2: z.string().describe(\"Line 2 of the Recipient's address\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id\").nullable().optional(),\n FirstName: z.string().describe(\"The Recipient's first name\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this Recipient is for\").nullable(),\n});\nexport const SpondyrRecipientsListOutput = z.object({\n Data: z.array(SpondyrRecipientsList_RecipientItemSchema).describe(\"List of recipients for the specified transaction type\"),\n APIStatus: z.string().describe(\"OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n});\n\nexport const spondyrRecipientsList = action(\"SPONDYR_RECIPIENTS_LIST\", {\n slug: \"spondyr-recipients-list\",\n name: \"List Recipients\",\n description: \"Tool to list all recipients for a transaction type. Use when you need to discover or verify all configured recipients before sending or managing correspondence.\",\n input: SpondyrRecipientsListInput,\n output: SpondyrRecipientsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC9F,CAAC;
|
|
1
|
+
{"version":3,"file":"recipients-list.mjs","names":[],"sources":["../../src/actions/recipients-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientsListInput = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose recipients are to be listed. Use the Get Transaction Types action to retrieve available transaction type names.\"),\n}).describe(\"Request model for listing recipients associated with a transaction type.\");\nconst SpondyrRecipientsList_RecipientItemSchema = z.object({\n Fax: z.string().describe(\"The Recipient's fax number\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's postal code\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient\").nullable(),\n Email: z.string().describe(\"The Recipient's email address\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state or province\").nullable().optional(),\n Address1: z.string().describe(\"Line 1 of the Recipient's address\").nullable().optional(),\n Address2: z.string().describe(\"Line 2 of the Recipient's address\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id\").nullable().optional(),\n FirstName: z.string().describe(\"The Recipient's first name\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this Recipient is for\").nullable(),\n}).passthrough();\nexport const SpondyrRecipientsListOutput = z.object({\n Data: z.array(SpondyrRecipientsList_RecipientItemSchema).describe(\"List of recipients for the specified transaction type\"),\n APIStatus: z.string().describe(\"OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrRecipientsList = action(\"SPONDYR_RECIPIENTS_LIST\", {\n slug: \"spondyr-recipients-list\",\n name: \"List Recipients\",\n description: \"Tool to list all recipients for a transaction type. Use when you need to discover or verify all configured recipients before sending or managing correspondence.\",\n input: SpondyrRecipientsListInput,\n output: SpondyrRecipientsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE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SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const SpondyrSearchFilterCreateOutput = zod.z.object({
|
|
|
10
10
|
APIStatus: zod.z.enum(["OK", "ERROR"]).describe("Status of the API operation. 'OK' indicates successful creation, 'ERROR' indicates failure.").nullable(),
|
|
11
11
|
ReferenceID: zod.z.string().describe("The identifier of the created search filter. Matches the 'Name' field provided in the request. Present when APIStatus is 'OK'.").nullable().optional(),
|
|
12
12
|
ErrorMessage: zod.z.string().describe("Detailed error message when APIStatus is 'ERROR'. Contains information about what went wrong (e.g., 'Transaction Type not found!').").nullable().optional()
|
|
13
|
-
}).describe("Response model for creating a new search filter in Spondyr.");
|
|
13
|
+
}).passthrough().describe("Response model for creating a new search filter in Spondyr.");
|
|
14
14
|
const spondyrSearchFilterCreate = require_action.action("SPONDYR_SEARCH_FILTER_CREATE", {
|
|
15
15
|
slug: "spondyr-search-filter-create",
|
|
16
16
|
name: "Create Search Filter",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-filter-create.cjs","names":["z","action"],"sources":["../../src/actions/search-filter-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrSearchFilterCreateInput = z.object({\n Tag: z.string().describe(\"The tag template defining which field from the transaction data to filter by. Use curly braces to wrap field names (e.g., {FieldName}). For nested fields, use underscore notation (e.g., {Vendor_Name}).\"),\n Name: z.string().describe(\"The name/identifier for this search filter. This will be used to reference the filter and is returned as ReferenceID in the response.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type this search filter belongs to. Must be an existing transaction type name (use Get Transaction Types to retrieve available types).\"),\n}).describe(\"Request model for creating a new search filter in Spondyr.\");\nexport const SpondyrSearchFilterCreateOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"Status of the API operation. 'OK' indicates successful creation, 'ERROR' indicates failure.\").nullable(),\n ReferenceID: z.string().describe(\"The identifier of the created search filter. Matches the 'Name' field provided in the request. Present when APIStatus is 'OK'.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Detailed error message when APIStatus is 'ERROR'. Contains information about what went wrong (e.g., 'Transaction Type not found!').\").nullable().optional(),\n}).describe(\"Response model for creating a new search filter in Spondyr.\");\n\nexport const spondyrSearchFilterCreate = action(\"SPONDYR_SEARCH_FILTER_CREATE\", {\n slug: \"spondyr-search-filter-create\",\n name: \"Create Search Filter\",\n description: \"Create a new search filter for a transaction type in Spondyr. Search filters enable you to define searchable fields within your transaction data. Once created, these filters allow you to quickly search and retrieve specific transactions based on field values (e.g., search by OrderID, CustomerName, InvoiceNumber). Use this tool when you need to make a specific field searchable within a transaction type.\",\n input: SpondyrSearchFilterCreateInput,\n output: SpondyrSearchFilterCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M;CACpO,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;CACjK,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;AAC3M,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACpJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/L,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"search-filter-create.cjs","names":["z","action"],"sources":["../../src/actions/search-filter-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrSearchFilterCreateInput = z.object({\n Tag: z.string().describe(\"The tag template defining which field from the transaction data to filter by. Use curly braces to wrap field names (e.g., {FieldName}). For nested fields, use underscore notation (e.g., {Vendor_Name}).\"),\n Name: z.string().describe(\"The name/identifier for this search filter. This will be used to reference the filter and is returned as ReferenceID in the response.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type this search filter belongs to. Must be an existing transaction type name (use Get Transaction Types to retrieve available types).\"),\n}).describe(\"Request model for creating a new search filter in Spondyr.\");\nexport const SpondyrSearchFilterCreateOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"Status of the API operation. 'OK' indicates successful creation, 'ERROR' indicates failure.\").nullable(),\n ReferenceID: z.string().describe(\"The identifier of the created search filter. Matches the 'Name' field provided in the request. Present when APIStatus is 'OK'.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Detailed error message when APIStatus is 'ERROR'. Contains information about what went wrong (e.g., 'Transaction Type not found!').\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a new search filter in Spondyr.\");\n\nexport const spondyrSearchFilterCreate = action(\"SPONDYR_SEARCH_FILTER_CREATE\", {\n slug: \"spondyr-search-filter-create\",\n name: \"Create Search Filter\",\n description: \"Create a new search filter for a transaction type in Spondyr. Search filters enable you to define searchable fields within your transaction data. Once created, these filters allow you to quickly search and retrieve specific transactions based on field values (e.g., search by OrderID, CustomerName, InvoiceNumber). Use this tool when you need to make a specific field searchable within a transaction type.\",\n input: SpondyrSearchFilterCreateInput,\n output: SpondyrSearchFilterCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M;CACpO,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;CACjK,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;AAC3M,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACpJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const SpondyrSearchFilterCreateOutput: z.ZodObject<{
|
|
|
13
13
|
}>>;
|
|
14
14
|
ReferenceID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const spondyrSearchFilterCreate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
Tag: string;
|
|
19
19
|
Name: string;
|