@keystrokehq/spondyr 0.1.2 → 0.1.3
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/package.json +1 -1
|
@@ -7,12 +7,12 @@ const SpondyrConditionsList_ConditionItemSchema = zod.z.object({
|
|
|
7
7
|
FieldName: zod.z.string().describe("The JSON or CSV field name from transaction data that this condition evaluates.").nullable(),
|
|
8
8
|
PossibleValues: zod.z.string().describe("Newline-delimited list of values that this condition can match against. If empty, condition matches any value.").nullable().optional(),
|
|
9
9
|
TransactionType: zod.z.string().describe("The Transaction Type this condition is associated with.").nullable()
|
|
10
|
-
}).describe("Represents a single condition configured for a transaction type.\nConditions are used to determine template selection based on transaction data values.");
|
|
10
|
+
}).passthrough().describe("Represents a single condition configured for a transaction type.\nConditions are used to determine template selection based on transaction data values.");
|
|
11
11
|
const SpondyrConditionsListOutput = zod.z.object({
|
|
12
12
|
Data: zod.z.array(SpondyrConditionsList_ConditionItemSchema).describe("List of conditions configured for the specified transaction type. Empty list if no conditions exist.").nullable().optional(),
|
|
13
13
|
APIStatus: zod.z.enum(["OK", "ERROR"]).describe("API response status: OK if successful, ERROR otherwise.").nullable(),
|
|
14
14
|
ErrorMessage: zod.z.string().describe("Error message when APIStatus is ERROR.").nullable().optional()
|
|
15
|
-
}).describe("Response model containing all conditions for a transaction type.");
|
|
15
|
+
}).passthrough().describe("Response model containing all conditions for a transaction type.");
|
|
16
16
|
const spondyrConditionsList = require_action.action("SPONDYR_CONDITIONS_LIST", {
|
|
17
17
|
slug: "spondyr-conditions-list",
|
|
18
18
|
name: "List Conditions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditions-list.cjs","names":["z","action"],"sources":["../../src/actions/conditions-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrConditionsListInput = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose conditions are to be listed. Use the Get Transaction Types action first to discover available transaction types.\"),\n}).describe(\"Request model for listing conditions associated with a transaction type.\");\nconst SpondyrConditionsList_ConditionItemSchema = z.object({\n Name: z.string().describe(\"The unique name identifier of the condition.\").nullable(),\n FieldName: z.string().describe(\"The JSON or CSV field name from transaction data that this condition evaluates.\").nullable(),\n PossibleValues: z.string().describe(\"Newline-delimited list of values that this condition can match against. If empty, condition matches any value.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this condition is associated with.\").nullable(),\n}).describe(\"Represents a single condition configured for a transaction type.\\nConditions are used to determine template selection based on transaction data values.\");\nexport const SpondyrConditionsListOutput = z.object({\n Data: z.array(SpondyrConditionsList_ConditionItemSchema).describe(\"List of conditions configured for the specified transaction type. Empty list if no conditions exist.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"API response status: OK if successful, ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message when APIStatus is ERROR.\").nullable().optional(),\n}).describe(\"Response model containing all conditions for a transaction type.\");\n\nexport const spondyrConditionsList = action(\"SPONDYR_CONDITIONS_LIST\", {\n slug: \"spondyr-conditions-list\",\n name: \"List Conditions\",\n description: \"Tool to list all conditions for a transaction type. Use when you need to discover existing condition rules before creating templates or generating correspondence. Conditions define criteria for selecting specific templates based on transaction data.\",\n input: SpondyrConditionsListInput,\n output: SpondyrConditionsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,EAChM,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yJAAyJ;
|
|
1
|
+
{"version":3,"file":"conditions-list.cjs","names":["z","action"],"sources":["../../src/actions/conditions-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrConditionsListInput = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose conditions are to be listed. Use the Get Transaction Types action first to discover available transaction types.\"),\n}).describe(\"Request model for listing conditions associated with a transaction type.\");\nconst SpondyrConditionsList_ConditionItemSchema = z.object({\n Name: z.string().describe(\"The unique name identifier of the condition.\").nullable(),\n FieldName: z.string().describe(\"The JSON or CSV field name from transaction data that this condition evaluates.\").nullable(),\n PossibleValues: z.string().describe(\"Newline-delimited list of values that this condition can match against. If empty, condition matches any value.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this condition is associated with.\").nullable(),\n}).passthrough().describe(\"Represents a single condition configured for a transaction type.\\nConditions are used to determine template selection based on transaction data values.\");\nexport const SpondyrConditionsListOutput = z.object({\n Data: z.array(SpondyrConditionsList_ConditionItemSchema).describe(\"List of conditions configured for the specified transaction type. Empty list if no conditions exist.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"API response status: OK if successful, ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message when APIStatus is ERROR.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing all conditions for a transaction type.\");\n\nexport const spondyrConditionsList = action(\"SPONDYR_CONDITIONS_LIST\", {\n slug: \"spondyr-conditions-list\",\n name: \"List Conditions\",\n description: \"Tool to list all conditions for a transaction type. Use when you need to discover existing condition rules before creating templates or generating correspondence. Conditions define criteria for selecting specific templates based on transaction data.\",\n input: SpondyrConditionsListInput,\n output: SpondyrConditionsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,EAChM,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yJAAyJ;AACnL,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,13 +10,13 @@ declare const SpondyrConditionsListOutput: z.ZodObject<{
|
|
|
10
10
|
FieldName: z.ZodNullable<z.ZodString>;
|
|
11
11
|
PossibleValues: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
TransactionType: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
14
|
APIStatus: z.ZodNullable<z.ZodEnum<{
|
|
15
15
|
OK: "OK";
|
|
16
16
|
ERROR: "ERROR";
|
|
17
17
|
}>>;
|
|
18
18
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const spondyrConditionsList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
TransactionType: string;
|
|
22
22
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,13 +10,13 @@ declare const SpondyrConditionsListOutput: z.ZodObject<{
|
|
|
10
10
|
FieldName: z.ZodNullable<z.ZodString>;
|
|
11
11
|
PossibleValues: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
TransactionType: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
14
|
APIStatus: z.ZodNullable<z.ZodEnum<{
|
|
15
15
|
OK: "OK";
|
|
16
16
|
ERROR: "ERROR";
|
|
17
17
|
}>>;
|
|
18
18
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const spondyrConditionsList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
TransactionType: string;
|
|
22
22
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ const SpondyrConditionsList_ConditionItemSchema = z.object({
|
|
|
7
7
|
FieldName: z.string().describe("The JSON or CSV field name from transaction data that this condition evaluates.").nullable(),
|
|
8
8
|
PossibleValues: z.string().describe("Newline-delimited list of values that this condition can match against. If empty, condition matches any value.").nullable().optional(),
|
|
9
9
|
TransactionType: z.string().describe("The Transaction Type this condition is associated with.").nullable()
|
|
10
|
-
}).describe("Represents a single condition configured for a transaction type.\nConditions are used to determine template selection based on transaction data values.");
|
|
10
|
+
}).passthrough().describe("Represents a single condition configured for a transaction type.\nConditions are used to determine template selection based on transaction data values.");
|
|
11
11
|
const spondyrConditionsList = action("SPONDYR_CONDITIONS_LIST", {
|
|
12
12
|
slug: "spondyr-conditions-list",
|
|
13
13
|
name: "List Conditions",
|
|
@@ -17,7 +17,7 @@ const spondyrConditionsList = action("SPONDYR_CONDITIONS_LIST", {
|
|
|
17
17
|
Data: z.array(SpondyrConditionsList_ConditionItemSchema).describe("List of conditions configured for the specified transaction type. Empty list if no conditions exist.").nullable().optional(),
|
|
18
18
|
APIStatus: z.enum(["OK", "ERROR"]).describe("API response status: OK if successful, ERROR otherwise.").nullable(),
|
|
19
19
|
ErrorMessage: z.string().describe("Error message when APIStatus is ERROR.").nullable().optional()
|
|
20
|
-
}).describe("Response model containing all conditions for a transaction type.")
|
|
20
|
+
}).passthrough().describe("Response model containing all conditions for a transaction type.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { spondyrConditionsList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditions-list.mjs","names":[],"sources":["../../src/actions/conditions-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrConditionsListInput = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose conditions are to be listed. Use the Get Transaction Types action first to discover available transaction types.\"),\n}).describe(\"Request model for listing conditions associated with a transaction type.\");\nconst SpondyrConditionsList_ConditionItemSchema = z.object({\n Name: z.string().describe(\"The unique name identifier of the condition.\").nullable(),\n FieldName: z.string().describe(\"The JSON or CSV field name from transaction data that this condition evaluates.\").nullable(),\n PossibleValues: z.string().describe(\"Newline-delimited list of values that this condition can match against. If empty, condition matches any value.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this condition is associated with.\").nullable(),\n}).describe(\"Represents a single condition configured for a transaction type.\\nConditions are used to determine template selection based on transaction data values.\");\nexport const SpondyrConditionsListOutput = z.object({\n Data: z.array(SpondyrConditionsList_ConditionItemSchema).describe(\"List of conditions configured for the specified transaction type. Empty list if no conditions exist.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"API response status: OK if successful, ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message when APIStatus is ERROR.\").nullable().optional(),\n}).describe(\"Response model containing all conditions for a transaction type.\");\n\nexport const spondyrConditionsList = action(\"SPONDYR_CONDITIONS_LIST\", {\n slug: \"spondyr-conditions-list\",\n name: \"List Conditions\",\n description: \"Tool to list all conditions for a transaction type. Use when you need to discover existing condition rules before creating templates or generating correspondence. Conditions define criteria for selecting specific templates based on transaction data.\",\n input: SpondyrConditionsListInput,\n output: SpondyrConditionsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,EAChM,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yJAAyJ;
|
|
1
|
+
{"version":3,"file":"conditions-list.mjs","names":[],"sources":["../../src/actions/conditions-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrConditionsListInput = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose conditions are to be listed. Use the Get Transaction Types action first to discover available transaction types.\"),\n}).describe(\"Request model for listing conditions associated with a transaction type.\");\nconst SpondyrConditionsList_ConditionItemSchema = z.object({\n Name: z.string().describe(\"The unique name identifier of the condition.\").nullable(),\n FieldName: z.string().describe(\"The JSON or CSV field name from transaction data that this condition evaluates.\").nullable(),\n PossibleValues: z.string().describe(\"Newline-delimited list of values that this condition can match against. If empty, condition matches any value.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this condition is associated with.\").nullable(),\n}).passthrough().describe(\"Represents a single condition configured for a transaction type.\\nConditions are used to determine template selection based on transaction data values.\");\nexport const SpondyrConditionsListOutput = z.object({\n Data: z.array(SpondyrConditionsList_ConditionItemSchema).describe(\"List of conditions configured for the specified transaction type. Empty list if no conditions exist.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"API response status: OK if successful, ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message when APIStatus is ERROR.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing all conditions for a transaction type.\");\n\nexport const spondyrConditionsList = action(\"SPONDYR_CONDITIONS_LIST\", {\n slug: \"spondyr-conditions-list\",\n name: \"List Conditions\",\n description: \"Tool to list all conditions for a transaction type. Use when you need to discover existing condition rules before creating templates or generating correspondence. Conditions define criteria for selecting specific templates based on transaction data.\",\n input: SpondyrConditionsListInput,\n output: SpondyrConditionsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,EAChM,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yJAAyJ;AAOnL,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9L,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const SpondyrCreateConditionOutput = zod.z.object({
|
|
|
11
11
|
APIStatus: zod.z.enum(["OK", "ERROR"]).describe("Status of the API operation: 'OK' indicates successful creation, 'ERROR' indicates failure.").nullable(),
|
|
12
12
|
ReferenceID: zod.z.string().describe("The name identifier of the created condition. Matches the 'Name' provided in the request.").nullable(),
|
|
13
13
|
ErrorMessage: zod.z.string().describe("Human-readable error description when APIStatus is 'ERROR'. Null when successful.").nullable().optional()
|
|
14
|
-
}).describe("Response model for creating a new Condition in Spondyr.");
|
|
14
|
+
}).passthrough().describe("Response model for creating a new Condition in Spondyr.");
|
|
15
15
|
const spondyrCreateCondition = require_action.action("SPONDYR_CREATE_CONDITION", {
|
|
16
16
|
slug: "spondyr-create-condition",
|
|
17
17
|
name: "Create Condition",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-condition.cjs","names":["z","action"],"sources":["../../src/actions/create-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrCreateConditionInput = z.object({\n Name: z.string().describe(\"A unique name identifier for this condition rule. Used to reference this condition when configuring template selection logic.\"),\n FieldName: z.string().describe(\"The data field from the transaction to evaluate. For nested fields, use underscore notation (e.g., 'Address_City'). Must exist in the transaction type's schema.\"),\n PossibleValues: z.string().describe(\"Optional list of allowed values for this field, separated by newlines. If provided, the condition will match only when the field value is in this list. Omit to allow any value.\").optional(),\n TransactionType: z.string().describe(\"The name of an existing Transaction Type to create this condition rule for. Must match a Transaction Type previously created in the system.\"),\n}).describe(\"Request model for creating a new Condition in Spondyr.\");\nexport const SpondyrCreateConditionOutput = 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 name identifier of the created condition. Matches the 'Name' provided in the request.\").nullable(),\n ErrorMessage: z.string().describe(\"Human-readable error description when APIStatus is 'ERROR'. Null when successful.\").nullable().optional(),\n}).describe(\"Response model for creating a new Condition in Spondyr.\");\n\nexport const spondyrCreateCondition = action(\"SPONDYR_CREATE_CONDITION\", {\n slug: \"spondyr-create-condition\",\n name: \"Create Condition\",\n description: \"Create a condition rule for template selection in Spondyr. Conditions define matching criteria on transaction data fields that determine which document template to use. For example, create a condition on an 'OrderStatus' field to trigger different email templates for 'Pending' vs 'Shipped' orders.\",\n input: SpondyrCreateConditionInput,\n output: SpondyrCreateConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;CACzJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;CACjM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CACjO,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AACpL,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACpJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACvI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"create-condition.cjs","names":["z","action"],"sources":["../../src/actions/create-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrCreateConditionInput = z.object({\n Name: z.string().describe(\"A unique name identifier for this condition rule. Used to reference this condition when configuring template selection logic.\"),\n FieldName: z.string().describe(\"The data field from the transaction to evaluate. For nested fields, use underscore notation (e.g., 'Address_City'). Must exist in the transaction type's schema.\"),\n PossibleValues: z.string().describe(\"Optional list of allowed values for this field, separated by newlines. If provided, the condition will match only when the field value is in this list. Omit to allow any value.\").optional(),\n TransactionType: z.string().describe(\"The name of an existing Transaction Type to create this condition rule for. Must match a Transaction Type previously created in the system.\"),\n}).describe(\"Request model for creating a new Condition in Spondyr.\");\nexport const SpondyrCreateConditionOutput = 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 name identifier of the created condition. Matches the 'Name' provided in the request.\").nullable(),\n ErrorMessage: z.string().describe(\"Human-readable error description when APIStatus is 'ERROR'. Null when successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a new Condition in Spondyr.\");\n\nexport const spondyrCreateCondition = action(\"SPONDYR_CREATE_CONDITION\", {\n slug: \"spondyr-create-condition\",\n name: \"Create Condition\",\n description: \"Create a condition rule for template selection in Spondyr. Conditions define matching criteria on transaction data fields that determine which document template to use. For example, create a condition on an 'OrderStatus' field to trigger different email templates for 'Pending' vs 'Shipped' orders.\",\n input: SpondyrCreateConditionInput,\n output: SpondyrCreateConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;CACzJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;CACjM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CACjO,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AACpL,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACpJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACvI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ declare const SpondyrCreateConditionOutput: z.ZodObject<{
|
|
|
14
14
|
}>>;
|
|
15
15
|
ReferenceID: z.ZodNullable<z.ZodString>;
|
|
16
16
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const spondyrCreateCondition: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
Name: string;
|
|
20
20
|
FieldName: string;
|
|
@@ -14,7 +14,7 @@ declare const SpondyrCreateConditionOutput: z.ZodObject<{
|
|
|
14
14
|
}>>;
|
|
15
15
|
ReferenceID: z.ZodNullable<z.ZodString>;
|
|
16
16
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const spondyrCreateCondition: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
Name: string;
|
|
20
20
|
FieldName: string;
|
|
@@ -14,7 +14,7 @@ const spondyrCreateCondition = action("SPONDYR_CREATE_CONDITION", {
|
|
|
14
14
|
APIStatus: z.enum(["OK", "ERROR"]).describe("Status of the API operation: 'OK' indicates successful creation, 'ERROR' indicates failure.").nullable(),
|
|
15
15
|
ReferenceID: z.string().describe("The name identifier of the created condition. Matches the 'Name' provided in the request.").nullable(),
|
|
16
16
|
ErrorMessage: z.string().describe("Human-readable error description when APIStatus is 'ERROR'. Null when successful.").nullable().optional()
|
|
17
|
-
}).describe("Response model for creating a new Condition in Spondyr.")
|
|
17
|
+
}).passthrough().describe("Response model for creating a new Condition in Spondyr.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { spondyrCreateCondition };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-condition.mjs","names":[],"sources":["../../src/actions/create-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrCreateConditionInput = z.object({\n Name: z.string().describe(\"A unique name identifier for this condition rule. Used to reference this condition when configuring template selection logic.\"),\n FieldName: z.string().describe(\"The data field from the transaction to evaluate. For nested fields, use underscore notation (e.g., 'Address_City'). Must exist in the transaction type's schema.\"),\n PossibleValues: z.string().describe(\"Optional list of allowed values for this field, separated by newlines. If provided, the condition will match only when the field value is in this list. Omit to allow any value.\").optional(),\n TransactionType: z.string().describe(\"The name of an existing Transaction Type to create this condition rule for. Must match a Transaction Type previously created in the system.\"),\n}).describe(\"Request model for creating a new Condition in Spondyr.\");\nexport const SpondyrCreateConditionOutput = 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 name identifier of the created condition. Matches the 'Name' provided in the request.\").nullable(),\n ErrorMessage: z.string().describe(\"Human-readable error description when APIStatus is 'ERROR'. Null when successful.\").nullable().optional(),\n}).describe(\"Response model for creating a new Condition in Spondyr.\");\n\nexport const spondyrCreateCondition = action(\"SPONDYR_CREATE_CONDITION\", {\n slug: \"spondyr-create-condition\",\n name: \"Create Condition\",\n description: \"Create a condition rule for template selection in Spondyr. Conditions define matching criteria on transaction data fields that determine which document template to use. For example, create a condition on an 'OrderStatus' field to trigger different email templates for 'Pending' vs 'Shipped' orders.\",\n input: SpondyrCreateConditionInput,\n output: SpondyrCreateConditionOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;EACzJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;EACjM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;EACjO,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CACpL,CAAC,CAAC,CAAC,SAAS,wDAWH;CACP,QAX0C,EAAE,OAAO;EACnD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACpJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACvI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-condition.mjs","names":[],"sources":["../../src/actions/create-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrCreateConditionInput = z.object({\n Name: z.string().describe(\"A unique name identifier for this condition rule. Used to reference this condition when configuring template selection logic.\"),\n FieldName: z.string().describe(\"The data field from the transaction to evaluate. For nested fields, use underscore notation (e.g., 'Address_City'). Must exist in the transaction type's schema.\"),\n PossibleValues: z.string().describe(\"Optional list of allowed values for this field, separated by newlines. If provided, the condition will match only when the field value is in this list. Omit to allow any value.\").optional(),\n TransactionType: z.string().describe(\"The name of an existing Transaction Type to create this condition rule for. Must match a Transaction Type previously created in the system.\"),\n}).describe(\"Request model for creating a new Condition in Spondyr.\");\nexport const SpondyrCreateConditionOutput = 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 name identifier of the created condition. Matches the 'Name' provided in the request.\").nullable(),\n ErrorMessage: z.string().describe(\"Human-readable error description when APIStatus is 'ERROR'. Null when successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a new Condition in Spondyr.\");\n\nexport const spondyrCreateCondition = action(\"SPONDYR_CREATE_CONDITION\", {\n slug: \"spondyr-create-condition\",\n name: \"Create Condition\",\n description: \"Create a condition rule for template selection in Spondyr. Conditions define matching criteria on transaction data fields that determine which document template to use. For example, create a condition on an 'OrderStatus' field to trigger different email templates for 'Pending' vs 'Shipped' orders.\",\n input: SpondyrCreateConditionInput,\n output: SpondyrCreateConditionOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;EACzJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;EACjM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;EACjO,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CACpL,CAAC,CAAC,CAAC,SAAS,wDAWH;CACP,QAX0C,EAAE,OAAO;EACnD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACpJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACvI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const SpondyrCreateTransactionTypeOutput = zod.z.object({
|
|
|
9
9
|
APIStatus: zod.z.enum(["OK", "ERROR"]).describe("APIStatus: OK if successful, ERROR if not").nullable(),
|
|
10
10
|
ReferenceID: zod.z.string().describe("Unique reference ID for the created Transaction Type. Present when APIStatus is OK.").nullable().optional(),
|
|
11
11
|
ErrorMessage: zod.z.string().describe("Error message if APIStatus is ERROR").nullable().optional()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const spondyrCreateTransactionType = require_action.action("SPONDYR_CREATE_TRANSACTION_TYPE", {
|
|
14
14
|
slug: "spondyr-create-transaction-type",
|
|
15
15
|
name: "Create Transaction Type",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-transaction-type.cjs","names":["z","action"],"sources":["../../src/actions/create-transaction-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrCreateTransactionTypeInput = z.object({\n Name: z.string().describe(\"The name of the Transaction Type to create\"),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing sample data defining the transaction schema\"),\n}).describe(\"Request model for creating a new Transaction Type in Spondyr.\");\nexport const SpondyrCreateTransactionTypeOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ReferenceID: z.string().describe(\"Unique reference ID for the created Transaction Type. Present when APIStatus is OK.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n});\n\nexport const spondyrCreateTransactionType = action(\"SPONDYR_CREATE_TRANSACTION_TYPE\", {\n slug: \"spondyr-create-transaction-type\",\n name: \"Create Transaction Type\",\n description: \"Tool to create a new transaction type. Use after defining the JSON schema for your data to register it in Spondyr.\",\n input: SpondyrCreateTransactionTypeInput,\n output: SpondyrCreateTransactionTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAClH,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;
|
|
1
|
+
{"version":3,"file":"create-transaction-type.cjs","names":["z","action"],"sources":["../../src/actions/create-transaction-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrCreateTransactionTypeInput = z.object({\n Name: z.string().describe(\"The name of the Transaction Type to create\"),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing sample data defining the transaction schema\"),\n}).describe(\"Request model for creating a new Transaction Type in Spondyr.\");\nexport const SpondyrCreateTransactionTypeOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ReferenceID: z.string().describe(\"Unique reference ID for the created Transaction Type. Present when APIStatus is OK.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrCreateTransactionType = action(\"SPONDYR_CREATE_TRANSACTION_TYPE\", {\n slug: \"spondyr-create-transaction-type\",\n name: \"Create Transaction Type\",\n description: \"Tool to create a new transaction type. Use after defining the JSON schema for your data to register it in Spondyr.\",\n input: SpondyrCreateTransactionTypeInput,\n output: SpondyrCreateTransactionTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAClH,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const SpondyrCreateTransactionTypeOutput: z.ZodObject<{
|
|
|
12
12
|
}>>;
|
|
13
13
|
ReferenceID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const spondyrCreateTransactionType: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
Name: string;
|
|
18
18
|
TemplateJSON: string;
|
|
@@ -12,7 +12,7 @@ declare const SpondyrCreateTransactionTypeOutput: z.ZodObject<{
|
|
|
12
12
|
}>>;
|
|
13
13
|
ReferenceID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const spondyrCreateTransactionType: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
Name: string;
|
|
18
18
|
TemplateJSON: string;
|
|
@@ -12,7 +12,7 @@ const spondyrCreateTransactionType = action("SPONDYR_CREATE_TRANSACTION_TYPE", {
|
|
|
12
12
|
APIStatus: z.enum(["OK", "ERROR"]).describe("APIStatus: OK if successful, ERROR if not").nullable(),
|
|
13
13
|
ReferenceID: z.string().describe("Unique reference ID for the created Transaction Type. Present when APIStatus is OK.").nullable().optional(),
|
|
14
14
|
ErrorMessage: z.string().describe("Error message if APIStatus is ERROR").nullable().optional()
|
|
15
|
-
})
|
|
15
|
+
}).passthrough()
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { spondyrCreateTransactionType };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-transaction-type.mjs","names":[],"sources":["../../src/actions/create-transaction-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrCreateTransactionTypeInput = z.object({\n Name: z.string().describe(\"The name of the Transaction Type to create\"),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing sample data defining the transaction schema\"),\n}).describe(\"Request model for creating a new Transaction Type in Spondyr.\");\nexport const SpondyrCreateTransactionTypeOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ReferenceID: z.string().describe(\"Unique reference ID for the created Transaction Type. Present when APIStatus is OK.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n});\n\nexport const spondyrCreateTransactionType = action(\"SPONDYR_CREATE_TRANSACTION_TYPE\", {\n slug: \"spondyr-create-transaction-type\",\n name: \"Create Transaction Type\",\n description: \"Tool to create a new transaction type. Use after defining the JSON schema for your data to register it in Spondyr.\",\n input: SpondyrCreateTransactionTypeInput,\n output: SpondyrCreateTransactionTypeOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAClH,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAXgD,EAAE,OAAO;EACzD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,
|
|
1
|
+
{"version":3,"file":"create-transaction-type.mjs","names":[],"sources":["../../src/actions/create-transaction-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrCreateTransactionTypeInput = z.object({\n Name: z.string().describe(\"The name of the Transaction Type to create\"),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing sample data defining the transaction schema\"),\n}).describe(\"Request model for creating a new Transaction Type in Spondyr.\");\nexport const SpondyrCreateTransactionTypeOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ReferenceID: z.string().describe(\"Unique reference ID for the created Transaction Type. Present when APIStatus is OK.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrCreateTransactionType = action(\"SPONDYR_CREATE_TRANSACTION_TYPE\", {\n slug: \"spondyr-create-transaction-type\",\n name: \"Create Transaction Type\",\n description: \"Tool to create a new transaction type. Use after defining the JSON schema for your data to register it in Spondyr.\",\n input: SpondyrCreateTransactionTypeInput,\n output: SpondyrCreateTransactionTypeOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAClH,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAXgD,EAAE,OAAO;EACzD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -23,14 +23,14 @@ const SpondyrDeliverSpondyrInput = zod.z.object({
|
|
|
23
23
|
"Mail",
|
|
24
24
|
"Text"
|
|
25
25
|
]).describe("Optional forced delivery method for this recipient (Email, Fax, Mail, Text).").optional()
|
|
26
|
-
}).describe("Model for specifying additional recipients in the Deliver API request.")).describe("Additional recipients beyond the originally configured list.").optional(),
|
|
26
|
+
}).passthrough().describe("Model for specifying additional recipients in the Deliver API request.")).describe("Additional recipients beyond the originally configured list.").optional(),
|
|
27
27
|
OriginalRecipients: zod.z.string().default("All").describe("Original recipients to deliver; 'All', 'None', or comma-delimited list. Defaults to 'All'.").optional()
|
|
28
28
|
}).describe("Request model for triggering delivery of previously generated correspondence.");
|
|
29
29
|
const SpondyrDeliverSpondyrOutput = zod.z.object({
|
|
30
30
|
APIStatus: zod.z.enum(["OK", "ERROR"]).describe("OK if delivery succeeded; ERROR otherwise.").nullable(),
|
|
31
31
|
ReferenceID: zod.z.string().describe("Reference ID for retrieving status later.").nullable(),
|
|
32
32
|
ErrorMessage: zod.z.string().describe("Error message if APIStatus is ERROR.").nullable().optional()
|
|
33
|
-
}).describe("Response model for the Spondyr Deliver API.");
|
|
33
|
+
}).passthrough().describe("Response model for the Spondyr Deliver API.");
|
|
34
34
|
const spondyrDeliverSpondyr = require_action.action("SPONDYR_DELIVER_SPONDYR", {
|
|
35
35
|
slug: "spondyr-deliver-spondyr",
|
|
36
36
|
name: "Deliver Spondyr correspondence",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deliver-spondyr.cjs","names":["z","action"],"sources":["../../src/actions/deliver-spondyr.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrDeliverSpondyrInput = z.object({\n Template: z.string().default(\"All\").describe(\"Templates to deliver; 'All' or comma-delimited list. Defaults to 'All'.\").optional(),\n ReferenceID: z.string().describe(\"The unique reference ID returned from the original generate request (POST /Spondyr). Used to identify which correspondence to deliver.\"),\n NewRecipients: z.array(z.object({\n Fax: z.string().describe(\"The recipient's fax number.\").optional(),\n Zip: z.string().describe(\"The recipient's postal code.\").optional(),\n City: z.string().describe(\"The recipient's city.\").optional(),\n Email: z.string().describe(\"The recipient's email address.\").optional(),\n State: z.string().describe(\"The recipient's state.\").optional(),\n Address1: z.string().describe(\"The recipient's street address.\").optional(),\n Address2: z.string().describe(\"The recipient's street address 2.\").optional(),\n LastName: z.string().describe(\"The recipient's last name.\").optional(),\n RemoteID: z.string().describe(\"The recipient's identifier from your application.\").optional(),\n Template: z.string().describe(\"Comma-delimited list of template names from the original generate request or 'All'.\").optional(),\n FirstName: z.string().describe(\"The recipient's first name.\").optional(),\n MobilePhone: z.string().describe(\"The recipient's mobile phone number.\").optional(),\n TargetedDeliveryMethod: z.enum([\"Email\", \"Fax\", \"Mail\", \"Text\"]).describe(\"Optional forced delivery method for this recipient (Email, Fax, Mail, Text).\").optional(),\n}).describe(\"Model for specifying additional recipients in the Deliver API request.\")).describe(\"Additional recipients beyond the originally configured list.\").optional(),\n OriginalRecipients: z.string().default(\"All\").describe(\"Original recipients to deliver; 'All', 'None', or comma-delimited list. Defaults to 'All'.\").optional(),\n}).describe(\"Request model for triggering delivery of previously generated correspondence.\");\nexport const SpondyrDeliverSpondyrOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if delivery succeeded; ERROR otherwise.\").nullable(),\n ReferenceID: z.string().describe(\"Reference ID for retrieving status later.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR.\").nullable().optional(),\n}).describe(\"Response model for the Spondyr Deliver API.\");\n\nexport const spondyrDeliverSpondyr = action(\"SPONDYR_DELIVER_SPONDYR\", {\n slug: \"spondyr-deliver-spondyr\",\n name: \"Deliver Spondyr correspondence\",\n description: \"Trigger delivery of previously generated correspondence to recipients. Use this action after generating correspondence (via POST /Spondyr with IsGenerateOnly=true) to actually deliver the documents via email, fax, mail, or text message. The ReferenceID from the generate request is required to identify which correspondence to deliver.\",\n input: SpondyrDeliverSpondyrInput,\n output: SpondyrDeliverSpondyrOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACzK,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAChC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAClF,wBAAwBA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAO;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrK,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"deliver-spondyr.cjs","names":["z","action"],"sources":["../../src/actions/deliver-spondyr.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrDeliverSpondyrInput = z.object({\n Template: z.string().default(\"All\").describe(\"Templates to deliver; 'All' or comma-delimited list. Defaults to 'All'.\").optional(),\n ReferenceID: z.string().describe(\"The unique reference ID returned from the original generate request (POST /Spondyr). Used to identify which correspondence to deliver.\"),\n NewRecipients: z.array(z.object({\n Fax: z.string().describe(\"The recipient's fax number.\").optional(),\n Zip: z.string().describe(\"The recipient's postal code.\").optional(),\n City: z.string().describe(\"The recipient's city.\").optional(),\n Email: z.string().describe(\"The recipient's email address.\").optional(),\n State: z.string().describe(\"The recipient's state.\").optional(),\n Address1: z.string().describe(\"The recipient's street address.\").optional(),\n Address2: z.string().describe(\"The recipient's street address 2.\").optional(),\n LastName: z.string().describe(\"The recipient's last name.\").optional(),\n RemoteID: z.string().describe(\"The recipient's identifier from your application.\").optional(),\n Template: z.string().describe(\"Comma-delimited list of template names from the original generate request or 'All'.\").optional(),\n FirstName: z.string().describe(\"The recipient's first name.\").optional(),\n MobilePhone: z.string().describe(\"The recipient's mobile phone number.\").optional(),\n TargetedDeliveryMethod: z.enum([\"Email\", \"Fax\", \"Mail\", \"Text\"]).describe(\"Optional forced delivery method for this recipient (Email, Fax, Mail, Text).\").optional(),\n}).passthrough().describe(\"Model for specifying additional recipients in the Deliver API request.\")).describe(\"Additional recipients beyond the originally configured list.\").optional(),\n OriginalRecipients: z.string().default(\"All\").describe(\"Original recipients to deliver; 'All', 'None', or comma-delimited list. Defaults to 'All'.\").optional(),\n}).describe(\"Request model for triggering delivery of previously generated correspondence.\");\nexport const SpondyrDeliverSpondyrOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if delivery succeeded; ERROR otherwise.\").nullable(),\n ReferenceID: z.string().describe(\"Reference ID for retrieving status later.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the Spondyr Deliver API.\");\n\nexport const spondyrDeliverSpondyr = action(\"SPONDYR_DELIVER_SPONDYR\", {\n slug: \"spondyr-deliver-spondyr\",\n name: \"Deliver Spondyr correspondence\",\n description: \"Trigger delivery of previously generated correspondence to recipients. Use this action after generating correspondence (via POST /Spondyr with IsGenerateOnly=true) to actually deliver the documents via email, fax, mail, or text message. The ReferenceID from the generate request is required to identify which correspondence to deliver.\",\n input: SpondyrDeliverSpondyrInput,\n output: SpondyrDeliverSpondyrOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACzK,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAChC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAClF,wBAAwBA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAO;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrL,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ declare const SpondyrDeliverSpondyrInput: z.ZodObject<{
|
|
|
23
23
|
Mail: "Mail";
|
|
24
24
|
Text: "Text";
|
|
25
25
|
}>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
27
|
OriginalRecipients: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
28
28
|
}, z.core.$strip>;
|
|
29
29
|
declare const SpondyrDeliverSpondyrOutput: z.ZodObject<{
|
|
@@ -33,11 +33,12 @@ declare const SpondyrDeliverSpondyrOutput: z.ZodObject<{
|
|
|
33
33
|
}>>;
|
|
34
34
|
ReferenceID: z.ZodNullable<z.ZodString>;
|
|
35
35
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const spondyrDeliverSpondyr: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
ReferenceID: string;
|
|
39
39
|
Template?: string | undefined;
|
|
40
40
|
NewRecipients?: {
|
|
41
|
+
[x: string]: unknown;
|
|
41
42
|
Fax?: string | undefined;
|
|
42
43
|
Zip?: string | undefined;
|
|
43
44
|
City?: string | undefined;
|
|
@@ -23,7 +23,7 @@ declare const SpondyrDeliverSpondyrInput: z.ZodObject<{
|
|
|
23
23
|
Mail: "Mail";
|
|
24
24
|
Text: "Text";
|
|
25
25
|
}>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
27
|
OriginalRecipients: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
28
28
|
}, z.core.$strip>;
|
|
29
29
|
declare const SpondyrDeliverSpondyrOutput: z.ZodObject<{
|
|
@@ -33,11 +33,12 @@ declare const SpondyrDeliverSpondyrOutput: z.ZodObject<{
|
|
|
33
33
|
}>>;
|
|
34
34
|
ReferenceID: z.ZodNullable<z.ZodString>;
|
|
35
35
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const spondyrDeliverSpondyr: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
ReferenceID: string;
|
|
39
39
|
Template?: string | undefined;
|
|
40
40
|
NewRecipients?: {
|
|
41
|
+
[x: string]: unknown;
|
|
41
42
|
Fax?: string | undefined;
|
|
42
43
|
Zip?: string | undefined;
|
|
43
44
|
City?: string | undefined;
|
|
@@ -26,14 +26,14 @@ const spondyrDeliverSpondyr = action("SPONDYR_DELIVER_SPONDYR", {
|
|
|
26
26
|
"Mail",
|
|
27
27
|
"Text"
|
|
28
28
|
]).describe("Optional forced delivery method for this recipient (Email, Fax, Mail, Text).").optional()
|
|
29
|
-
}).describe("Model for specifying additional recipients in the Deliver API request.")).describe("Additional recipients beyond the originally configured list.").optional(),
|
|
29
|
+
}).passthrough().describe("Model for specifying additional recipients in the Deliver API request.")).describe("Additional recipients beyond the originally configured list.").optional(),
|
|
30
30
|
OriginalRecipients: z.string().default("All").describe("Original recipients to deliver; 'All', 'None', or comma-delimited list. Defaults to 'All'.").optional()
|
|
31
31
|
}).describe("Request model for triggering delivery of previously generated correspondence."),
|
|
32
32
|
output: z.object({
|
|
33
33
|
APIStatus: z.enum(["OK", "ERROR"]).describe("OK if delivery succeeded; ERROR otherwise.").nullable(),
|
|
34
34
|
ReferenceID: z.string().describe("Reference ID for retrieving status later.").nullable(),
|
|
35
35
|
ErrorMessage: z.string().describe("Error message if APIStatus is ERROR.").nullable().optional()
|
|
36
|
-
}).describe("Response model for the Spondyr Deliver API.")
|
|
36
|
+
}).passthrough().describe("Response model for the Spondyr Deliver API.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { spondyrDeliverSpondyr };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deliver-spondyr.mjs","names":[],"sources":["../../src/actions/deliver-spondyr.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrDeliverSpondyrInput = z.object({\n Template: z.string().default(\"All\").describe(\"Templates to deliver; 'All' or comma-delimited list. Defaults to 'All'.\").optional(),\n ReferenceID: z.string().describe(\"The unique reference ID returned from the original generate request (POST /Spondyr). Used to identify which correspondence to deliver.\"),\n NewRecipients: z.array(z.object({\n Fax: z.string().describe(\"The recipient's fax number.\").optional(),\n Zip: z.string().describe(\"The recipient's postal code.\").optional(),\n City: z.string().describe(\"The recipient's city.\").optional(),\n Email: z.string().describe(\"The recipient's email address.\").optional(),\n State: z.string().describe(\"The recipient's state.\").optional(),\n Address1: z.string().describe(\"The recipient's street address.\").optional(),\n Address2: z.string().describe(\"The recipient's street address 2.\").optional(),\n LastName: z.string().describe(\"The recipient's last name.\").optional(),\n RemoteID: z.string().describe(\"The recipient's identifier from your application.\").optional(),\n Template: z.string().describe(\"Comma-delimited list of template names from the original generate request or 'All'.\").optional(),\n FirstName: z.string().describe(\"The recipient's first name.\").optional(),\n MobilePhone: z.string().describe(\"The recipient's mobile phone number.\").optional(),\n TargetedDeliveryMethod: z.enum([\"Email\", \"Fax\", \"Mail\", \"Text\"]).describe(\"Optional forced delivery method for this recipient (Email, Fax, Mail, Text).\").optional(),\n}).describe(\"Model for specifying additional recipients in the Deliver API request.\")).describe(\"Additional recipients beyond the originally configured list.\").optional(),\n OriginalRecipients: z.string().default(\"All\").describe(\"Original recipients to deliver; 'All', 'None', or comma-delimited list. Defaults to 'All'.\").optional(),\n}).describe(\"Request model for triggering delivery of previously generated correspondence.\");\nexport const SpondyrDeliverSpondyrOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if delivery succeeded; ERROR otherwise.\").nullable(),\n ReferenceID: z.string().describe(\"Reference ID for retrieving status later.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR.\").nullable().optional(),\n}).describe(\"Response model for the Spondyr Deliver API.\");\n\nexport const spondyrDeliverSpondyr = action(\"SPONDYR_DELIVER_SPONDYR\", {\n slug: \"spondyr-deliver-spondyr\",\n name: \"Deliver Spondyr correspondence\",\n description: \"Trigger delivery of previously generated correspondence to recipients. Use this action after generating correspondence (via POST /Spondyr with IsGenerateOnly=true) to actually deliver the documents via email, fax, mail, or text message. The ReferenceID from the generate request is required to identify which correspondence to deliver.\",\n input: SpondyrDeliverSpondyrInput,\n output: SpondyrDeliverSpondyrOutput,\n});\n"],"mappings":";;AA8BA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACjI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;EACzK,eAAe,EAAE,MAAM,EAAE,OAAO;GAChC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;GACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;GAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;GACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;GAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;GAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;GACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;GAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;GAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;GACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;GAClF,wBAAwB,EAAE,KAAK;IAAC;IAAS;IAAO;IAAQ;GAAM,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACrK,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"deliver-spondyr.mjs","names":[],"sources":["../../src/actions/deliver-spondyr.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrDeliverSpondyrInput = z.object({\n Template: z.string().default(\"All\").describe(\"Templates to deliver; 'All' or comma-delimited list. Defaults to 'All'.\").optional(),\n ReferenceID: z.string().describe(\"The unique reference ID returned from the original generate request (POST /Spondyr). Used to identify which correspondence to deliver.\"),\n NewRecipients: z.array(z.object({\n Fax: z.string().describe(\"The recipient's fax number.\").optional(),\n Zip: z.string().describe(\"The recipient's postal code.\").optional(),\n City: z.string().describe(\"The recipient's city.\").optional(),\n Email: z.string().describe(\"The recipient's email address.\").optional(),\n State: z.string().describe(\"The recipient's state.\").optional(),\n Address1: z.string().describe(\"The recipient's street address.\").optional(),\n Address2: z.string().describe(\"The recipient's street address 2.\").optional(),\n LastName: z.string().describe(\"The recipient's last name.\").optional(),\n RemoteID: z.string().describe(\"The recipient's identifier from your application.\").optional(),\n Template: z.string().describe(\"Comma-delimited list of template names from the original generate request or 'All'.\").optional(),\n FirstName: z.string().describe(\"The recipient's first name.\").optional(),\n MobilePhone: z.string().describe(\"The recipient's mobile phone number.\").optional(),\n TargetedDeliveryMethod: z.enum([\"Email\", \"Fax\", \"Mail\", \"Text\"]).describe(\"Optional forced delivery method for this recipient (Email, Fax, Mail, Text).\").optional(),\n}).passthrough().describe(\"Model for specifying additional recipients in the Deliver API request.\")).describe(\"Additional recipients beyond the originally configured list.\").optional(),\n OriginalRecipients: z.string().default(\"All\").describe(\"Original recipients to deliver; 'All', 'None', or comma-delimited list. Defaults to 'All'.\").optional(),\n}).describe(\"Request model for triggering delivery of previously generated correspondence.\");\nexport const SpondyrDeliverSpondyrOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if delivery succeeded; ERROR otherwise.\").nullable(),\n ReferenceID: z.string().describe(\"Reference ID for retrieving status later.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the Spondyr Deliver API.\");\n\nexport const spondyrDeliverSpondyr = action(\"SPONDYR_DELIVER_SPONDYR\", {\n slug: \"spondyr-deliver-spondyr\",\n name: \"Deliver Spondyr correspondence\",\n description: \"Trigger delivery of previously generated correspondence to recipients. Use this action after generating correspondence (via POST /Spondyr with IsGenerateOnly=true) to actually deliver the documents via email, fax, mail, or text message. The ReferenceID from the generate request is required to identify which correspondence to deliver.\",\n input: SpondyrDeliverSpondyrInput,\n output: SpondyrDeliverSpondyrOutput,\n});\n"],"mappings":";;AA8BA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACjI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;EACzK,eAAe,EAAE,MAAM,EAAE,OAAO;GAChC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;GACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;GAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;GACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;GAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;GAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;GACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;GAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;GAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;GACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;GAClF,wBAAwB,EAAE,KAAK;IAAC;IAAS;IAAO;IAAQ;GAAM,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrL,oBAAoB,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,SAAS,+EAWH;CACP,QAXyC,EAAE,OAAO;EAClD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const SpondyrEventTypeUpdateOutput = zod.z.object({
|
|
|
10
10
|
APIStatus: zod.z.enum(["OK", "ERROR"]).describe("OK if successful; ERROR otherwise.").nullable(),
|
|
11
11
|
ReferenceID: zod.z.string().describe("Identifier for the Event Type. Present when APIStatus is OK; null when ERROR.").nullable().optional(),
|
|
12
12
|
ErrorMessage: zod.z.string().describe("Error message if the update failed.").nullable().optional()
|
|
13
|
-
});
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const spondyrEventTypeUpdate = require_action.action("SPONDYR_EVENT_TYPE_UPDATE", {
|
|
15
15
|
slug: "spondyr-event-type-update",
|
|
16
16
|
name: "Update Event Type",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-type-update.cjs","names":["z","action"],"sources":["../../src/actions/event-type-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrEventTypeUpdateInput = z.object({\n Name: z.string().describe(\"The new name for the Event Type.\"),\n EventType: z.string().describe(\"The name of the existing Event Type to update.\"),\n TransactionType: z.string().describe(\"The Transaction Type name this Event Type belongs to.\"),\n});\nexport const SpondyrEventTypeUpdateOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\").nullable(),\n ReferenceID: z.string().describe(\"Identifier for the Event Type. Present when APIStatus is OK; null when ERROR.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if the update failed.\").nullable().optional(),\n});\n\nexport const spondyrEventTypeUpdate = action(\"SPONDYR_EVENT_TYPE_UPDATE\", {\n slug: \"spondyr-event-type-update\",\n name: \"Update Event Type\",\n description: \"Tool to update an existing event type name within a transaction type. Use when you need to rename an Event Type. Example: Rename the 'OrderShipped' event to 'OrderDelivered' within the 'CustomerOrders' transaction type. Note: This only changes the event type's name - it does not move the event to a different transaction type.\",\n input: SpondyrEventTypeUpdateInput,\n output: SpondyrEventTypeUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC9F,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;
|
|
1
|
+
{"version":3,"file":"event-type-update.cjs","names":["z","action"],"sources":["../../src/actions/event-type-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrEventTypeUpdateInput = z.object({\n Name: z.string().describe(\"The new name for the Event Type.\"),\n EventType: z.string().describe(\"The name of the existing Event Type to update.\"),\n TransactionType: z.string().describe(\"The Transaction Type name this Event Type belongs to.\"),\n});\nexport const SpondyrEventTypeUpdateOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\").nullable(),\n ReferenceID: z.string().describe(\"Identifier for the Event Type. Present when APIStatus is OK; null when ERROR.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if the update failed.\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrEventTypeUpdate = action(\"SPONDYR_EVENT_TYPE_UPDATE\", {\n slug: \"spondyr-event-type-update\",\n name: \"Update Event Type\",\n description: \"Tool to update an existing event type name within a transaction type. Use when you need to rename an Event Type. Example: Rename the 'OrderShipped' event to 'OrderDelivered' within the 'CustomerOrders' transaction type. Note: This only changes the event type's name - it does not move the event to a different transaction type.\",\n input: SpondyrEventTypeUpdateInput,\n output: SpondyrEventTypeUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC9F,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const SpondyrEventTypeUpdateOutput: 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 spondyrEventTypeUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
Name: string;
|
|
19
19
|
EventType: string;
|
|
@@ -13,7 +13,7 @@ declare const SpondyrEventTypeUpdateOutput: 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 spondyrEventTypeUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
Name: string;
|
|
19
19
|
EventType: string;
|
|
@@ -13,7 +13,7 @@ const spondyrEventTypeUpdate = action("SPONDYR_EVENT_TYPE_UPDATE", {
|
|
|
13
13
|
APIStatus: z.enum(["OK", "ERROR"]).describe("OK if successful; ERROR otherwise.").nullable(),
|
|
14
14
|
ReferenceID: z.string().describe("Identifier for the Event Type. Present when APIStatus is OK; null when ERROR.").nullable().optional(),
|
|
15
15
|
ErrorMessage: z.string().describe("Error message if the update failed.").nullable().optional()
|
|
16
|
-
})
|
|
16
|
+
}).passthrough()
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { spondyrEventTypeUpdate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-type-update.mjs","names":[],"sources":["../../src/actions/event-type-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrEventTypeUpdateInput = z.object({\n Name: z.string().describe(\"The new name for the Event Type.\"),\n EventType: z.string().describe(\"The name of the existing Event Type to update.\"),\n TransactionType: z.string().describe(\"The Transaction Type name this Event Type belongs to.\"),\n});\nexport const SpondyrEventTypeUpdateOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\").nullable(),\n ReferenceID: z.string().describe(\"Identifier for the Event Type. Present when APIStatus is OK; null when ERROR.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if the update failed.\").nullable().optional(),\n});\n\nexport const spondyrEventTypeUpdate = action(\"SPONDYR_EVENT_TYPE_UPDATE\", {\n slug: \"spondyr-event-type-update\",\n name: \"Update Event Type\",\n description: \"Tool to update an existing event type name within a transaction type. Use when you need to rename an Event Type. Example: Rename the 'OrderShipped' event to 'OrderDelivered' within the 'CustomerOrders' transaction type. Note: This only changes the event type's name - it does not move the event to a different transaction type.\",\n input: SpondyrEventTypeUpdateInput,\n output: SpondyrEventTypeUpdateOutput,\n});\n"],"mappings":";;AAeA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC/E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC9F,CAWS;CACP,QAX0C,EAAE,OAAO;EACnD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,
|
|
1
|
+
{"version":3,"file":"event-type-update.mjs","names":[],"sources":["../../src/actions/event-type-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrEventTypeUpdateInput = z.object({\n Name: z.string().describe(\"The new name for the Event Type.\"),\n EventType: z.string().describe(\"The name of the existing Event Type to update.\"),\n TransactionType: z.string().describe(\"The Transaction Type name this Event Type belongs to.\"),\n});\nexport const SpondyrEventTypeUpdateOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\").nullable(),\n ReferenceID: z.string().describe(\"Identifier for the Event Type. Present when APIStatus is OK; null when ERROR.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if the update failed.\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrEventTypeUpdate = action(\"SPONDYR_EVENT_TYPE_UPDATE\", {\n slug: \"spondyr-event-type-update\",\n name: \"Update Event Type\",\n description: \"Tool to update an existing event type name within a transaction type. Use when you need to rename an Event Type. Example: Rename the 'OrderShipped' event to 'OrderDelivered' within the 'CustomerOrders' transaction type. Note: This only changes the event type's name - it does not move the event to a different transaction type.\",\n input: SpondyrEventTypeUpdateInput,\n output: SpondyrEventTypeUpdateOutput,\n});\n"],"mappings":";;AAeA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC/E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC9F,CAWS;CACP,QAX0C,EAAE,OAAO;EACnD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -5,12 +5,12 @@ const SpondyrGetEventTypesInput = zod.z.object({ TransactionType: zod.z.string()
|
|
|
5
5
|
const SpondyrGetEventTypes_EventTypeItemSchema = zod.z.object({
|
|
6
6
|
Name: zod.z.string().describe("The name of the Event Type").nullable(),
|
|
7
7
|
TransactionType: zod.z.string().describe("The Transaction Type name this Event Type is for").nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const SpondyrGetEventTypesOutput = zod.z.object({
|
|
10
10
|
Data: zod.z.array(SpondyrGetEventTypes_EventTypeItemSchema).describe("List of event types for the specified transaction type. Empty list if no event types are configured.").nullable().optional(),
|
|
11
11
|
APIStatus: zod.z.string().describe("API status: 'OK' if successful, 'ERROR' if failed").nullable(),
|
|
12
12
|
ErrorMessage: zod.z.string().describe("Error message if APIStatus is 'ERROR', null otherwise").nullable().optional()
|
|
13
|
-
});
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const spondyrGetEventTypes = require_action.action("SPONDYR_GET_EVENT_TYPES", {
|
|
15
15
|
slug: "spondyr-get-event-types",
|
|
16
16
|
name: "List Event Types for Transaction Type",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-types.cjs","names":["z","action"],"sources":["../../src/actions/get-event-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetEventTypesInput = z.object({\n TransactionType: z.string().describe(\"The exact name of the Transaction Type whose event types are to be listed. Must match an existing transaction type name (case-sensitive).\"),\n}).describe(\"Request model for listing event types associated with a transaction type.\");\nconst SpondyrGetEventTypes_EventTypeItemSchema = z.object({\n Name: z.string().describe(\"The name of the Event Type\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type name this Event Type is for\").nullable(),\n});\nexport const SpondyrGetEventTypesOutput = z.object({\n Data: z.array(SpondyrGetEventTypes_EventTypeItemSchema).describe(\"List of event types for the specified transaction type. Empty list if no event types are configured.\").nullable().optional(),\n APIStatus: z.string().describe(\"API status: 'OK' if successful, 'ERROR' if failed\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is 'ERROR', null otherwise\").nullable().optional(),\n});\n\nexport const spondyrGetEventTypes = action(\"SPONDYR_GET_EVENT_TYPES\", {\n slug: \"spondyr-get-event-types\",\n name: \"List Event Types for Transaction Type\",\n description: \"Retrieves all event types associated with a specific transaction type in Spondyr. Event types define the kinds of events that can occur for a transaction type (e.g., \\\"Created\\\", \\\"Updated\\\", \\\"Cancelled\\\" events for an \\\"Order\\\" transaction type). Use this action after retrieving transaction types to discover what event types are available for a given transaction type. This is essential for understanding the event-driven workflows and setting up event-based automation in Spondyr. Returns an empty list if the transaction type exists but has no event types configured.\",\n input: SpondyrGetEventTypesInput,\n output: SpondyrGetEventTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EAClL,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACpG,CAAC;
|
|
1
|
+
{"version":3,"file":"get-event-types.cjs","names":["z","action"],"sources":["../../src/actions/get-event-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetEventTypesInput = z.object({\n TransactionType: z.string().describe(\"The exact name of the Transaction Type whose event types are to be listed. Must match an existing transaction type name (case-sensitive).\"),\n}).describe(\"Request model for listing event types associated with a transaction type.\");\nconst SpondyrGetEventTypes_EventTypeItemSchema = z.object({\n Name: z.string().describe(\"The name of the Event Type\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type name this Event Type is for\").nullable(),\n}).passthrough();\nexport const SpondyrGetEventTypesOutput = z.object({\n Data: z.array(SpondyrGetEventTypes_EventTypeItemSchema).describe(\"List of event types for the specified transaction type. Empty list if no event types are configured.\").nullable().optional(),\n APIStatus: z.string().describe(\"API status: 'OK' if successful, 'ERROR' if failed\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is 'ERROR', null otherwise\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetEventTypes = action(\"SPONDYR_GET_EVENT_TYPES\", {\n slug: \"spondyr-get-event-types\",\n name: \"List Event Types for Transaction Type\",\n description: \"Retrieves all event types associated with a specific transaction type in Spondyr. Event types define the kinds of events that can occur for a transaction type (e.g., \\\"Created\\\", \\\"Updated\\\", \\\"Cancelled\\\" events for an \\\"Order\\\" transaction type). Use this action after retrieving transaction types to discover what event types are available for a given transaction type. This is essential for understanding the event-driven workflows and setting up event-based automation in Spondyr. Returns an empty list if the transaction type exists but has no event types configured.\",\n input: SpondyrGetEventTypesInput,\n output: SpondyrGetEventTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EAClL,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7L,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,10 +8,10 @@ declare const SpondyrGetEventTypesOutput: z.ZodObject<{
|
|
|
8
8
|
Data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
9
|
Name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
TransactionType: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>>;
|
|
12
12
|
APIStatus: z.ZodNullable<z.ZodString>;
|
|
13
13
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const spondyrGetEventTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
TransactionType: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,10 +8,10 @@ declare const SpondyrGetEventTypesOutput: z.ZodObject<{
|
|
|
8
8
|
Data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
9
|
Name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
TransactionType: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>>;
|
|
12
12
|
APIStatus: z.ZodNullable<z.ZodString>;
|
|
13
13
|
ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const spondyrGetEventTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
TransactionType: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const SpondyrGetEventTypesInput = z.object({ TransactionType: z.string().describ
|
|
|
5
5
|
const SpondyrGetEventTypes_EventTypeItemSchema = z.object({
|
|
6
6
|
Name: z.string().describe("The name of the Event Type").nullable(),
|
|
7
7
|
TransactionType: z.string().describe("The Transaction Type name this Event Type is for").nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const spondyrGetEventTypes = action("SPONDYR_GET_EVENT_TYPES", {
|
|
10
10
|
slug: "spondyr-get-event-types",
|
|
11
11
|
name: "List Event Types for Transaction Type",
|
|
@@ -15,7 +15,7 @@ const spondyrGetEventTypes = action("SPONDYR_GET_EVENT_TYPES", {
|
|
|
15
15
|
Data: z.array(SpondyrGetEventTypes_EventTypeItemSchema).describe("List of event types for the specified transaction type. Empty list if no event types are configured.").nullable().optional(),
|
|
16
16
|
APIStatus: z.string().describe("API status: 'OK' if successful, 'ERROR' if failed").nullable(),
|
|
17
17
|
ErrorMessage: z.string().describe("Error message if APIStatus is 'ERROR', null otherwise").nullable().optional()
|
|
18
|
-
})
|
|
18
|
+
}).passthrough()
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { spondyrGetEventTypes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-types.mjs","names":[],"sources":["../../src/actions/get-event-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetEventTypesInput = z.object({\n TransactionType: z.string().describe(\"The exact name of the Transaction Type whose event types are to be listed. Must match an existing transaction type name (case-sensitive).\"),\n}).describe(\"Request model for listing event types associated with a transaction type.\");\nconst SpondyrGetEventTypes_EventTypeItemSchema = z.object({\n Name: z.string().describe(\"The name of the Event Type\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type name this Event Type is for\").nullable(),\n});\nexport const SpondyrGetEventTypesOutput = z.object({\n Data: z.array(SpondyrGetEventTypes_EventTypeItemSchema).describe(\"List of event types for the specified transaction type. Empty list if no event types are configured.\").nullable().optional(),\n APIStatus: z.string().describe(\"API status: 'OK' if successful, 'ERROR' if failed\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is 'ERROR', null otherwise\").nullable().optional(),\n});\n\nexport const spondyrGetEventTypes = action(\"SPONDYR_GET_EVENT_TYPES\", {\n slug: \"spondyr-get-event-types\",\n name: \"List Event Types for Transaction Type\",\n description: \"Retrieves all event types associated with a specific transaction type in Spondyr. Event types define the kinds of events that can occur for a transaction type (e.g., \\\"Created\\\", \\\"Updated\\\", \\\"Cancelled\\\" events for an \\\"Order\\\" transaction type). Use this action after retrieving transaction types to discover what event types are available for a given transaction type. This is essential for understanding the event-driven workflows and setting up event-based automation in Spondyr. Returns an empty list if the transaction type exists but has no event types configured.\",\n input: SpondyrGetEventTypesInput,\n output: SpondyrGetEventTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EAClL,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACpG,CAAC;
|
|
1
|
+
{"version":3,"file":"get-event-types.mjs","names":[],"sources":["../../src/actions/get-event-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetEventTypesInput = z.object({\n TransactionType: z.string().describe(\"The exact name of the Transaction Type whose event types are to be listed. Must match an existing transaction type name (case-sensitive).\"),\n}).describe(\"Request model for listing event types associated with a transaction type.\");\nconst SpondyrGetEventTypes_EventTypeItemSchema = z.object({\n Name: z.string().describe(\"The name of the Event Type\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type name this Event Type is for\").nullable(),\n}).passthrough();\nexport const SpondyrGetEventTypesOutput = z.object({\n Data: z.array(SpondyrGetEventTypes_EventTypeItemSchema).describe(\"List of event types for the specified transaction type. Empty list if no event types are configured.\").nullable().optional(),\n APIStatus: z.string().describe(\"API status: 'OK' if successful, 'ERROR' if failed\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is 'ERROR', null otherwise\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetEventTypes = action(\"SPONDYR_GET_EVENT_TYPES\", {\n slug: \"spondyr-get-event-types\",\n name: \"List Event Types for Transaction Type\",\n description: \"Retrieves all event types associated with a specific transaction type in Spondyr. Event types define the kinds of events that can occur for a transaction type (e.g., \\\"Created\\\", \\\"Updated\\\", \\\"Cancelled\\\" events for an \\\"Order\\\" transaction type). Use this action after retrieving transaction types to discover what event types are available for a given transaction type. This is essential for understanding the event-driven workflows and setting up event-based automation in Spondyr. Returns an empty list if the transaction type exists but has no event types configured.\",\n input: SpondyrGetEventTypesInput,\n output: SpondyrGetEventTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EAClL,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7L,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|