@keystrokehq/piggy 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/claim-anonymous-contact.cjs +1 -0
- package/dist/actions/claim-anonymous-contact.cjs.map +1 -1
- package/dist/actions/claim-anonymous-contact.d.cts +3 -16
- package/dist/actions/claim-anonymous-contact.d.cts.map +1 -1
- package/dist/actions/claim-anonymous-contact.d.mts +3 -16
- package/dist/actions/claim-anonymous-contact.d.mts.map +1 -1
- package/dist/actions/claim-anonymous-contact.mjs +1 -0
- package/dist/actions/claim-anonymous-contact.mjs.map +1 -1
- package/dist/actions/create-contact-attribute.cjs +1 -0
- package/dist/actions/create-contact-attribute.cjs.map +1 -1
- package/dist/actions/create-contact-attribute.d.cts +4 -24
- package/dist/actions/create-contact-attribute.d.cts.map +1 -1
- package/dist/actions/create-contact-attribute.d.mts +4 -24
- package/dist/actions/create-contact-attribute.d.mts.map +1 -1
- package/dist/actions/create-contact-attribute.mjs +1 -0
- package/dist/actions/create-contact-attribute.mjs.map +1 -1
- package/dist/actions/create-credit-reception.cjs +1 -0
- package/dist/actions/create-credit-reception.cjs.map +1 -1
- package/dist/actions/create-credit-reception.d.cts +3 -18
- package/dist/actions/create-credit-reception.d.cts.map +1 -1
- package/dist/actions/create-credit-reception.d.mts +3 -18
- package/dist/actions/create-credit-reception.d.mts.map +1 -1
- package/dist/actions/create-credit-reception.mjs +1 -0
- package/dist/actions/create-credit-reception.mjs.map +1 -1
- package/dist/actions/create-vouchers-batch.cjs +1 -0
- package/dist/actions/create-vouchers-batch.cjs.map +1 -1
- package/dist/actions/create-vouchers-batch.d.cts +3 -24
- package/dist/actions/create-vouchers-batch.d.cts.map +1 -1
- package/dist/actions/create-vouchers-batch.d.mts +3 -24
- package/dist/actions/create-vouchers-batch.d.mts.map +1 -1
- package/dist/actions/create-vouchers-batch.mjs +1 -0
- package/dist/actions/create-vouchers-batch.mjs.map +1 -1
- package/dist/actions/find-or-create-products.cjs +1 -0
- package/dist/actions/find-or-create-products.cjs.map +1 -1
- package/dist/actions/find-or-create-products.d.cts +3 -22
- package/dist/actions/find-or-create-products.d.cts.map +1 -1
- package/dist/actions/find-or-create-products.d.mts +3 -22
- package/dist/actions/find-or-create-products.d.mts.map +1 -1
- package/dist/actions/find-or-create-products.mjs +1 -0
- package/dist/actions/find-or-create-products.mjs.map +1 -1
- package/dist/actions/find-voucher-by-code.cjs +1 -0
- package/dist/actions/find-voucher-by-code.cjs.map +1 -1
- package/dist/actions/find-voucher-by-code.d.cts +3 -15
- package/dist/actions/find-voucher-by-code.d.cts.map +1 -1
- package/dist/actions/find-voucher-by-code.d.mts +3 -15
- package/dist/actions/find-voucher-by-code.d.mts.map +1 -1
- package/dist/actions/find-voucher-by-code.mjs +1 -0
- package/dist/actions/find-voucher-by-code.mjs.map +1 -1
- package/dist/actions/get-contact-auth-token.cjs +1 -0
- package/dist/actions/get-contact-auth-token.cjs.map +1 -1
- package/dist/actions/get-contact-auth-token.d.cts +3 -15
- package/dist/actions/get-contact-auth-token.d.cts.map +1 -1
- package/dist/actions/get-contact-auth-token.d.mts +3 -15
- package/dist/actions/get-contact-auth-token.d.mts.map +1 -1
- package/dist/actions/get-contact-auth-token.mjs +1 -0
- package/dist/actions/get-contact-auth-token.mjs.map +1 -1
- package/dist/actions/get-contacts-credit-balance.cjs +1 -0
- package/dist/actions/get-contacts-credit-balance.cjs.map +1 -1
- package/dist/actions/get-contacts-credit-balance.d.cts +3 -15
- package/dist/actions/get-contacts-credit-balance.d.cts.map +1 -1
- package/dist/actions/get-contacts-credit-balance.d.mts +3 -15
- package/dist/actions/get-contacts-credit-balance.d.mts.map +1 -1
- package/dist/actions/get-contacts-credit-balance.mjs +1 -0
- package/dist/actions/get-contacts-credit-balance.mjs.map +1 -1
- package/dist/actions/list-forms.cjs +1 -0
- package/dist/actions/list-forms.cjs.map +1 -1
- package/dist/actions/list-forms.d.cts +3 -13
- package/dist/actions/list-forms.d.cts.map +1 -1
- package/dist/actions/list-forms.d.mts +3 -13
- package/dist/actions/list-forms.d.mts.map +1 -1
- package/dist/actions/list-forms.mjs +1 -0
- package/dist/actions/list-forms.mjs.map +1 -1
- package/dist/actions/list-perks.cjs +1 -0
- package/dist/actions/list-perks.cjs.map +1 -1
- package/dist/actions/list-perks.d.cts +3 -13
- package/dist/actions/list-perks.d.cts.map +1 -1
- package/dist/actions/list-perks.d.mts +3 -13
- package/dist/actions/list-perks.d.mts.map +1 -1
- package/dist/actions/list-perks.mjs +1 -0
- package/dist/actions/list-perks.mjs.map +1 -1
- package/dist/actions/merge-contacts.cjs +1 -0
- package/dist/actions/merge-contacts.cjs.map +1 -1
- package/dist/actions/merge-contacts.d.cts +3 -16
- package/dist/actions/merge-contacts.d.cts.map +1 -1
- package/dist/actions/merge-contacts.d.mts +3 -16
- package/dist/actions/merge-contacts.d.mts.map +1 -1
- package/dist/actions/merge-contacts.mjs +1 -0
- package/dist/actions/merge-contacts.mjs.map +1 -1
- package/dist/actions/send-contact-verification-email.cjs +1 -0
- package/dist/actions/send-contact-verification-email.cjs.map +1 -1
- package/dist/actions/send-contact-verification-email.d.cts +3 -15
- package/dist/actions/send-contact-verification-email.d.cts.map +1 -1
- package/dist/actions/send-contact-verification-email.d.mts +3 -15
- package/dist/actions/send-contact-verification-email.d.mts.map +1 -1
- package/dist/actions/send-contact-verification-email.mjs +1 -0
- package/dist/actions/send-contact-verification-email.mjs.map +1 -1
- package/dist/actions/update-bookings.cjs +1 -0
- package/dist/actions/update-bookings.cjs.map +1 -1
- package/dist/actions/update-bookings.d.cts +3 -24
- package/dist/actions/update-bookings.d.cts.map +1 -1
- package/dist/actions/update-bookings.d.mts +3 -24
- package/dist/actions/update-bookings.d.mts.map +1 -1
- package/dist/actions/update-bookings.mjs +1 -0
- package/dist/actions/update-bookings.mjs.map +1 -1
- package/dist/actions/update-contact-identifiers.cjs +1 -0
- package/dist/actions/update-contact-identifiers.cjs.map +1 -1
- package/dist/actions/update-contact-identifiers.d.cts +3 -17
- package/dist/actions/update-contact-identifiers.d.cts.map +1 -1
- package/dist/actions/update-contact-identifiers.d.mts +3 -17
- package/dist/actions/update-contact-identifiers.d.mts.map +1 -1
- package/dist/actions/update-contact-identifiers.mjs +1 -0
- package/dist/actions/update-contact-identifiers.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["piggy","executePiggyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { piggy } from \"./app\";\nimport { executePiggyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["piggy","executePiggyTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { piggy } from \"./app\";\nimport { executePiggyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof piggy.credential> {\n return piggy.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePiggyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { piggy } from \"./app\";\nimport { executePiggyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { piggy } from \"./app\";\nimport { executePiggyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof piggy.credential> {\n return piggy.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePiggyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claim-anonymous-contact.cjs","names":["z","action"],"sources":["../../src/actions/claim-anonymous-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyClaimAnonymousContactInput = z.object({\n email: z.string().describe(\"The real email address for the Contact that is about to be not anonymous anymore\").optional(),\n anonymous_contact_uuid: z.string().describe(\"The anonymous Contact's UUID containing the fictional email address\"),\n}).describe(\"Request model for claiming an anonymous contact.\");\nconst PiggyClaimAnonymousContact_ClaimAnonymousContactDataSchema = z.object({\n type: z.string().describe(\"Result type indicating operation status\").nullable().optional(),\n message: z.string().describe(\"Human-readable message about the claim operation result\").nullable().optional(),\n}).passthrough().describe(\"Data returned after claiming an anonymous contact.\");\nexport const PiggyClaimAnonymousContactOutput = z.object({\n data: PiggyClaimAnonymousContact_ClaimAnonymousContactDataSchema.nullable().optional(),\n meta: z.array(z.unknown()).describe(\"Metadata array; typically empty for this endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response model for claiming an anonymous contact.\");\n\nexport const piggyClaimAnonymousContact = action(\"PIGGY_CLAIM_ANONYMOUS_CONTACT\", {\n slug: \"piggy-claim-anonymous-contact\",\n name: \"Claim Anonymous Contact\",\n description: \"Tool to claim an anonymous contact by associating it with a real email address. Use when converting an anonymous contact (with a fictional email) into a verified contact with a real email address.\",\n input: PiggyClaimAnonymousContactInput,\n output: PiggyClaimAnonymousContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"claim-anonymous-contact.cjs","names":["z","action"],"sources":["../../src/actions/claim-anonymous-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piggy } from \"../app\";\n\nexport const PiggyClaimAnonymousContactInput = z.object({\n email: z.string().describe(\"The real email address for the Contact that is about to be not anonymous anymore\").optional(),\n anonymous_contact_uuid: z.string().describe(\"The anonymous Contact's UUID containing the fictional email address\"),\n}).describe(\"Request model for claiming an anonymous contact.\");\nconst PiggyClaimAnonymousContact_ClaimAnonymousContactDataSchema = z.object({\n type: z.string().describe(\"Result type indicating operation status\").nullable().optional(),\n message: z.string().describe(\"Human-readable message about the claim operation result\").nullable().optional(),\n}).passthrough().describe(\"Data returned after claiming an anonymous contact.\");\nexport const PiggyClaimAnonymousContactOutput = z.object({\n data: PiggyClaimAnonymousContact_ClaimAnonymousContactDataSchema.nullable().optional(),\n meta: z.array(z.unknown()).describe(\"Metadata array; typically empty for this endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response model for claiming an anonymous contact.\");\n\nexport const piggyClaimAnonymousContact: AppAction<\n typeof PiggyClaimAnonymousContactInput,\n typeof PiggyClaimAnonymousContactOutput,\n typeof piggy.credential\n> = action(\"PIGGY_CLAIM_ANONYMOUS_CONTACT\", {\n slug: \"piggy-claim-anonymous-contact\",\n name: \"Claim Anonymous Contact\",\n description: \"Tool to claim an anonymous contact by associating it with a real email address. Use when converting an anonymous contact (with a fictional email) into a verified contact with a real email address.\",\n input: PiggyClaimAnonymousContactInput,\n output: PiggyClaimAnonymousContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACxH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACnH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAM,2DAA2D,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piggy } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/claim-anonymous-contact.d.ts
|
|
@@ -12,22 +14,7 @@ declare const PiggyClaimAnonymousContactOutput: z.ZodObject<{
|
|
|
12
14
|
}, z.core.$loose>>>;
|
|
13
15
|
meta: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const piggyClaimAnonymousContact:
|
|
16
|
-
anonymous_contact_uuid: string;
|
|
17
|
-
email?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const piggyClaimAnonymousContact: AppAction<typeof PiggyClaimAnonymousContactInput, typeof PiggyClaimAnonymousContactOutput, typeof piggy.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { piggyClaimAnonymousContact };
|
|
33
20
|
//# sourceMappingURL=claim-anonymous-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claim-anonymous-contact.d.cts","names":[],"sources":["../../src/actions/claim-anonymous-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"claim-anonymous-contact.d.cts","names":[],"sources":["../../src/actions/claim-anonymous-contact.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piggy } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/claim-anonymous-contact.d.ts
|
|
@@ -12,22 +14,7 @@ declare const PiggyClaimAnonymousContactOutput: z.ZodObject<{
|
|
|
12
14
|
}, z.core.$loose>>>;
|
|
13
15
|
meta: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const piggyClaimAnonymousContact:
|
|
16
|
-
anonymous_contact_uuid: string;
|
|
17
|
-
email?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const piggyClaimAnonymousContact: AppAction<typeof PiggyClaimAnonymousContactInput, typeof PiggyClaimAnonymousContactOutput, typeof piggy.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { piggyClaimAnonymousContact };
|
|
33
20
|
//# sourceMappingURL=claim-anonymous-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claim-anonymous-contact.d.mts","names":[],"sources":["../../src/actions/claim-anonymous-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"claim-anonymous-contact.d.mts","names":[],"sources":["../../src/actions/claim-anonymous-contact.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claim-anonymous-contact.mjs","names":[],"sources":["../../src/actions/claim-anonymous-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyClaimAnonymousContactInput = z.object({\n email: z.string().describe(\"The real email address for the Contact that is about to be not anonymous anymore\").optional(),\n anonymous_contact_uuid: z.string().describe(\"The anonymous Contact's UUID containing the fictional email address\"),\n}).describe(\"Request model for claiming an anonymous contact.\");\nconst PiggyClaimAnonymousContact_ClaimAnonymousContactDataSchema = z.object({\n type: z.string().describe(\"Result type indicating operation status\").nullable().optional(),\n message: z.string().describe(\"Human-readable message about the claim operation result\").nullable().optional(),\n}).passthrough().describe(\"Data returned after claiming an anonymous contact.\");\nexport const PiggyClaimAnonymousContactOutput = z.object({\n data: PiggyClaimAnonymousContact_ClaimAnonymousContactDataSchema.nullable().optional(),\n meta: z.array(z.unknown()).describe(\"Metadata array; typically empty for this endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response model for claiming an anonymous contact.\");\n\nexport const piggyClaimAnonymousContact = action(\"PIGGY_CLAIM_ANONYMOUS_CONTACT\", {\n slug: \"piggy-claim-anonymous-contact\",\n name: \"Claim Anonymous Contact\",\n description: \"Tool to claim an anonymous contact by associating it with a real email address. Use when converting an anonymous contact (with a fictional email) into a verified contact with a real email address.\",\n input: PiggyClaimAnonymousContactInput,\n output: PiggyClaimAnonymousContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"claim-anonymous-contact.mjs","names":[],"sources":["../../src/actions/claim-anonymous-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piggy } from \"../app\";\n\nexport const PiggyClaimAnonymousContactInput = z.object({\n email: z.string().describe(\"The real email address for the Contact that is about to be not anonymous anymore\").optional(),\n anonymous_contact_uuid: z.string().describe(\"The anonymous Contact's UUID containing the fictional email address\"),\n}).describe(\"Request model for claiming an anonymous contact.\");\nconst PiggyClaimAnonymousContact_ClaimAnonymousContactDataSchema = z.object({\n type: z.string().describe(\"Result type indicating operation status\").nullable().optional(),\n message: z.string().describe(\"Human-readable message about the claim operation result\").nullable().optional(),\n}).passthrough().describe(\"Data returned after claiming an anonymous contact.\");\nexport const PiggyClaimAnonymousContactOutput = z.object({\n data: PiggyClaimAnonymousContact_ClaimAnonymousContactDataSchema.nullable().optional(),\n meta: z.array(z.unknown()).describe(\"Metadata array; typically empty for this endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response model for claiming an anonymous contact.\");\n\nexport const piggyClaimAnonymousContact: AppAction<\n typeof PiggyClaimAnonymousContactInput,\n typeof PiggyClaimAnonymousContactOutput,\n typeof piggy.credential\n> = action(\"PIGGY_CLAIM_ANONYMOUS_CONTACT\", {\n slug: \"piggy-claim-anonymous-contact\",\n name: \"Claim Anonymous Contact\",\n description: \"Tool to claim an anonymous contact by associating it with a real email address. Use when converting an anonymous contact (with a fictional email) into a verified contact with a real email address.\",\n input: PiggyClaimAnonymousContactInput,\n output: PiggyClaimAnonymousContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACxH,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACnH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,6DAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAM9E,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd8C,EAAE,OAAO;EACvD,MAAM,2DAA2D,SAAS,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-attribute.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-attribute.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyCreateContactAttributeInput = z.object({\n name: z.string().describe(\"Unique internal identifier for the Contact Attribute\"),\n label: z.string().describe(\"Display label for the Contact Attribute\").optional(),\n options: z.array(z.object({\n label: z.string().describe(\"Option label for select or multi_select types\"),\n value: z.string().describe(\"Option value for select or multi_select types\"),\n}).passthrough()).describe(\"List of options for select or multi_select types. Each option has label and value\").optional(),\n data_type: z.enum([\"url\", \"text\", \"date\", \"phone\", \"float\", \"color\", \"email\", \"number\", \"select\", \"boolean\", \"rich_text\", \"date_time\", \"long_text\", \"date_range\", \"time_range\", \"identifier\", \"birth_date\", \"file_upload\", \"media_upload\", \"multi_select\", \"license_plate\"]).describe(\"Data type of the attribute. Determines how values are validated and rendered\"),\n description: z.string().describe(\"Human-readable description of the Contact Attribute\").optional(),\n});\nconst PiggyCreateContactAttribute_ContactAttributeOptionResponseSchema = z.object({\n label: z.string().describe(\"Option label\").nullable(),\n value: z.string().describe(\"Option value\").nullable(),\n}).passthrough();\nconst PiggyCreateContactAttribute_ContactAttributeDataSchema = z.object({\n name: z.string().describe(\"Internal name of the attribute\").nullable(),\n type: z.string().describe(\"Attribute data type\").nullable(),\n label: z.string().describe(\"Display label of the attribute\").nullable().optional(),\n options: z.array(PiggyCreateContactAttribute_ContactAttributeOptionResponseSchema).describe(\"Available options for select or multi_select types\").nullable().optional(),\n field_type: z.string().describe(\"Field rendering type in UI\").nullable(),\n description: z.string().describe(\"Description of the attribute\").nullable().optional(),\n is_piggy_defined: z.boolean().describe(\"True if attribute is defined by Piggy\").nullable(),\n is_hard_read_only: z.boolean().describe(\"Indicates if attribute is hard read-only\").nullable(),\n is_soft_read_only: z.boolean().describe(\"Indicates if attribute is soft read-only\").nullable(),\n}).passthrough();\nexport const PiggyCreateContactAttributeOutput = z.object({\n data: PiggyCreateContactAttribute_ContactAttributeDataSchema.nullable(),\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the response\"),\n}).passthrough();\n\nexport const piggyCreateContactAttribute = action(\"PIGGY_CREATE_CONTACT_ATTRIBUTE\", {\n slug: \"piggy-create-contact-attribute\",\n name: \"Create Contact Attribute\",\n description: \"Tool to create a custom Contact Attribute. Use when you need to define new fields for contacts after initial setup.\",\n input: PiggyCreateContactAttributeInput,\n output: PiggyCreateContactAttributeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact-attribute.cjs","names":["z","action"],"sources":["../../src/actions/create-contact-attribute.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piggy } from \"../app\";\n\nexport const PiggyCreateContactAttributeInput = z.object({\n name: z.string().describe(\"Unique internal identifier for the Contact Attribute\"),\n label: z.string().describe(\"Display label for the Contact Attribute\").optional(),\n options: z.array(z.object({\n label: z.string().describe(\"Option label for select or multi_select types\"),\n value: z.string().describe(\"Option value for select or multi_select types\"),\n}).passthrough()).describe(\"List of options for select or multi_select types. Each option has label and value\").optional(),\n data_type: z.enum([\"url\", \"text\", \"date\", \"phone\", \"float\", \"color\", \"email\", \"number\", \"select\", \"boolean\", \"rich_text\", \"date_time\", \"long_text\", \"date_range\", \"time_range\", \"identifier\", \"birth_date\", \"file_upload\", \"media_upload\", \"multi_select\", \"license_plate\"]).describe(\"Data type of the attribute. Determines how values are validated and rendered\"),\n description: z.string().describe(\"Human-readable description of the Contact Attribute\").optional(),\n});\nconst PiggyCreateContactAttribute_ContactAttributeOptionResponseSchema = z.object({\n label: z.string().describe(\"Option label\").nullable(),\n value: z.string().describe(\"Option value\").nullable(),\n}).passthrough();\nconst PiggyCreateContactAttribute_ContactAttributeDataSchema = z.object({\n name: z.string().describe(\"Internal name of the attribute\").nullable(),\n type: z.string().describe(\"Attribute data type\").nullable(),\n label: z.string().describe(\"Display label of the attribute\").nullable().optional(),\n options: z.array(PiggyCreateContactAttribute_ContactAttributeOptionResponseSchema).describe(\"Available options for select or multi_select types\").nullable().optional(),\n field_type: z.string().describe(\"Field rendering type in UI\").nullable(),\n description: z.string().describe(\"Description of the attribute\").nullable().optional(),\n is_piggy_defined: z.boolean().describe(\"True if attribute is defined by Piggy\").nullable(),\n is_hard_read_only: z.boolean().describe(\"Indicates if attribute is hard read-only\").nullable(),\n is_soft_read_only: z.boolean().describe(\"Indicates if attribute is soft read-only\").nullable(),\n}).passthrough();\nexport const PiggyCreateContactAttributeOutput = z.object({\n data: PiggyCreateContactAttribute_ContactAttributeDataSchema.nullable(),\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the response\"),\n}).passthrough();\n\nexport const piggyCreateContactAttribute: AppAction<\n typeof PiggyCreateContactAttributeInput,\n typeof PiggyCreateContactAttributeOutput,\n typeof piggy.credential\n> = action(\"PIGGY_CREATE_CONTACT_ATTRIBUTE\", {\n slug: \"piggy-create-contact-attribute\",\n name: \"Create Contact Attribute\",\n description: \"Tool to create a custom Contact Attribute. Use when you need to define new fields for contacts after initial setup.\",\n input: PiggyCreateContactAttributeInput,\n output: PiggyCreateContactAttributeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;EAAQ;EAAS;EAAS;EAAS;EAAS;EAAU;EAAU;EAAW;EAAa;EAAa;EAAa;EAAc;EAAc;EAAc;EAAc;EAAe;EAAgB;EAAgB;CAAe,CAAC,CAAC,CAAC,SAAS,8EAA8E;CACpW,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACnG,CAAC;AACD,MAAM,mEAAmEA,IAAAA,EAAE,OAAO;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7F,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAM,uDAAuD,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAChF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piggy } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-contact-attribute.d.ts
|
|
@@ -12,12 +14,12 @@ declare const PiggyCreateContactAttributeInput: z.ZodObject<{
|
|
|
12
14
|
number: "number";
|
|
13
15
|
boolean: "boolean";
|
|
14
16
|
date: "date";
|
|
17
|
+
email: "email";
|
|
15
18
|
url: "url";
|
|
16
19
|
text: "text";
|
|
17
20
|
phone: "phone";
|
|
18
21
|
float: "float";
|
|
19
22
|
color: "color";
|
|
20
|
-
email: "email";
|
|
21
23
|
select: "select";
|
|
22
24
|
rich_text: "rich_text";
|
|
23
25
|
date_time: "date_time";
|
|
@@ -50,29 +52,7 @@ declare const PiggyCreateContactAttributeOutput: z.ZodObject<{
|
|
|
50
52
|
}, z.core.$loose>>;
|
|
51
53
|
meta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
52
54
|
}, z.core.$loose>;
|
|
53
|
-
declare const piggyCreateContactAttribute:
|
|
54
|
-
name: string;
|
|
55
|
-
data_type: "number" | "boolean" | "date" | "url" | "text" | "phone" | "float" | "color" | "email" | "select" | "rich_text" | "date_time" | "long_text" | "date_range" | "time_range" | "identifier" | "birth_date" | "file_upload" | "media_upload" | "multi_select" | "license_plate";
|
|
56
|
-
label?: string | undefined;
|
|
57
|
-
options?: {
|
|
58
|
-
[x: string]: unknown;
|
|
59
|
-
label: string;
|
|
60
|
-
value: string;
|
|
61
|
-
}[] | undefined;
|
|
62
|
-
description?: string | undefined;
|
|
63
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
64
|
-
connectionId: z.ZodString;
|
|
65
|
-
entityId: z.ZodString;
|
|
66
|
-
instanceId: z.ZodString;
|
|
67
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>;
|
|
55
|
+
declare const piggyCreateContactAttribute: AppAction<typeof PiggyCreateContactAttributeInput, typeof PiggyCreateContactAttributeOutput, typeof piggy.credential>;
|
|
76
56
|
//#endregion
|
|
77
57
|
export { piggyCreateContactAttribute };
|
|
78
58
|
//# sourceMappingURL=create-contact-attribute.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-attribute.d.cts","names":[],"sources":["../../src/actions/create-contact-attribute.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact-attribute.d.cts","names":[],"sources":["../../src/actions/create-contact-attribute.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piggy } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-contact-attribute.d.ts
|
|
@@ -12,12 +14,12 @@ declare const PiggyCreateContactAttributeInput: z.ZodObject<{
|
|
|
12
14
|
number: "number";
|
|
13
15
|
boolean: "boolean";
|
|
14
16
|
date: "date";
|
|
17
|
+
email: "email";
|
|
15
18
|
url: "url";
|
|
16
19
|
text: "text";
|
|
17
20
|
phone: "phone";
|
|
18
21
|
float: "float";
|
|
19
22
|
color: "color";
|
|
20
|
-
email: "email";
|
|
21
23
|
select: "select";
|
|
22
24
|
rich_text: "rich_text";
|
|
23
25
|
date_time: "date_time";
|
|
@@ -50,29 +52,7 @@ declare const PiggyCreateContactAttributeOutput: z.ZodObject<{
|
|
|
50
52
|
}, z.core.$loose>>;
|
|
51
53
|
meta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
52
54
|
}, z.core.$loose>;
|
|
53
|
-
declare const piggyCreateContactAttribute:
|
|
54
|
-
name: string;
|
|
55
|
-
data_type: "number" | "boolean" | "date" | "url" | "text" | "phone" | "float" | "color" | "email" | "select" | "rich_text" | "date_time" | "long_text" | "date_range" | "time_range" | "identifier" | "birth_date" | "file_upload" | "media_upload" | "multi_select" | "license_plate";
|
|
56
|
-
label?: string | undefined;
|
|
57
|
-
options?: {
|
|
58
|
-
[x: string]: unknown;
|
|
59
|
-
label: string;
|
|
60
|
-
value: string;
|
|
61
|
-
}[] | undefined;
|
|
62
|
-
description?: string | undefined;
|
|
63
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
64
|
-
connectionId: z.ZodString;
|
|
65
|
-
entityId: z.ZodString;
|
|
66
|
-
instanceId: z.ZodString;
|
|
67
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>;
|
|
55
|
+
declare const piggyCreateContactAttribute: AppAction<typeof PiggyCreateContactAttributeInput, typeof PiggyCreateContactAttributeOutput, typeof piggy.credential>;
|
|
76
56
|
//#endregion
|
|
77
57
|
export { piggyCreateContactAttribute };
|
|
78
58
|
//# sourceMappingURL=create-contact-attribute.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-attribute.d.mts","names":[],"sources":["../../src/actions/create-contact-attribute.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact-attribute.d.mts","names":[],"sources":["../../src/actions/create-contact-attribute.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact-attribute.mjs","names":[],"sources":["../../src/actions/create-contact-attribute.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyCreateContactAttributeInput = z.object({\n name: z.string().describe(\"Unique internal identifier for the Contact Attribute\"),\n label: z.string().describe(\"Display label for the Contact Attribute\").optional(),\n options: z.array(z.object({\n label: z.string().describe(\"Option label for select or multi_select types\"),\n value: z.string().describe(\"Option value for select or multi_select types\"),\n}).passthrough()).describe(\"List of options for select or multi_select types. Each option has label and value\").optional(),\n data_type: z.enum([\"url\", \"text\", \"date\", \"phone\", \"float\", \"color\", \"email\", \"number\", \"select\", \"boolean\", \"rich_text\", \"date_time\", \"long_text\", \"date_range\", \"time_range\", \"identifier\", \"birth_date\", \"file_upload\", \"media_upload\", \"multi_select\", \"license_plate\"]).describe(\"Data type of the attribute. Determines how values are validated and rendered\"),\n description: z.string().describe(\"Human-readable description of the Contact Attribute\").optional(),\n});\nconst PiggyCreateContactAttribute_ContactAttributeOptionResponseSchema = z.object({\n label: z.string().describe(\"Option label\").nullable(),\n value: z.string().describe(\"Option value\").nullable(),\n}).passthrough();\nconst PiggyCreateContactAttribute_ContactAttributeDataSchema = z.object({\n name: z.string().describe(\"Internal name of the attribute\").nullable(),\n type: z.string().describe(\"Attribute data type\").nullable(),\n label: z.string().describe(\"Display label of the attribute\").nullable().optional(),\n options: z.array(PiggyCreateContactAttribute_ContactAttributeOptionResponseSchema).describe(\"Available options for select or multi_select types\").nullable().optional(),\n field_type: z.string().describe(\"Field rendering type in UI\").nullable(),\n description: z.string().describe(\"Description of the attribute\").nullable().optional(),\n is_piggy_defined: z.boolean().describe(\"True if attribute is defined by Piggy\").nullable(),\n is_hard_read_only: z.boolean().describe(\"Indicates if attribute is hard read-only\").nullable(),\n is_soft_read_only: z.boolean().describe(\"Indicates if attribute is soft read-only\").nullable(),\n}).passthrough();\nexport const PiggyCreateContactAttributeOutput = z.object({\n data: PiggyCreateContactAttribute_ContactAttributeDataSchema.nullable(),\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the response\"),\n}).passthrough();\n\nexport const piggyCreateContactAttribute = action(\"PIGGY_CREATE_CONTACT_ATTRIBUTE\", {\n slug: \"piggy-create-contact-attribute\",\n name: \"Create Contact Attribute\",\n description: \"Tool to create a custom Contact Attribute. Use when you need to define new fields for contacts after initial setup.\",\n input: PiggyCreateContactAttributeInput,\n output: PiggyCreateContactAttributeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact-attribute.mjs","names":[],"sources":["../../src/actions/create-contact-attribute.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piggy } from \"../app\";\n\nexport const PiggyCreateContactAttributeInput = z.object({\n name: z.string().describe(\"Unique internal identifier for the Contact Attribute\"),\n label: z.string().describe(\"Display label for the Contact Attribute\").optional(),\n options: z.array(z.object({\n label: z.string().describe(\"Option label for select or multi_select types\"),\n value: z.string().describe(\"Option value for select or multi_select types\"),\n}).passthrough()).describe(\"List of options for select or multi_select types. Each option has label and value\").optional(),\n data_type: z.enum([\"url\", \"text\", \"date\", \"phone\", \"float\", \"color\", \"email\", \"number\", \"select\", \"boolean\", \"rich_text\", \"date_time\", \"long_text\", \"date_range\", \"time_range\", \"identifier\", \"birth_date\", \"file_upload\", \"media_upload\", \"multi_select\", \"license_plate\"]).describe(\"Data type of the attribute. Determines how values are validated and rendered\"),\n description: z.string().describe(\"Human-readable description of the Contact Attribute\").optional(),\n});\nconst PiggyCreateContactAttribute_ContactAttributeOptionResponseSchema = z.object({\n label: z.string().describe(\"Option label\").nullable(),\n value: z.string().describe(\"Option value\").nullable(),\n}).passthrough();\nconst PiggyCreateContactAttribute_ContactAttributeDataSchema = z.object({\n name: z.string().describe(\"Internal name of the attribute\").nullable(),\n type: z.string().describe(\"Attribute data type\").nullable(),\n label: z.string().describe(\"Display label of the attribute\").nullable().optional(),\n options: z.array(PiggyCreateContactAttribute_ContactAttributeOptionResponseSchema).describe(\"Available options for select or multi_select types\").nullable().optional(),\n field_type: z.string().describe(\"Field rendering type in UI\").nullable(),\n description: z.string().describe(\"Description of the attribute\").nullable().optional(),\n is_piggy_defined: z.boolean().describe(\"True if attribute is defined by Piggy\").nullable(),\n is_hard_read_only: z.boolean().describe(\"Indicates if attribute is hard read-only\").nullable(),\n is_soft_read_only: z.boolean().describe(\"Indicates if attribute is soft read-only\").nullable(),\n}).passthrough();\nexport const PiggyCreateContactAttributeOutput = z.object({\n data: PiggyCreateContactAttribute_ContactAttributeDataSchema.nullable(),\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the response\"),\n}).passthrough();\n\nexport const piggyCreateContactAttribute: AppAction<\n typeof PiggyCreateContactAttributeInput,\n typeof PiggyCreateContactAttributeOutput,\n typeof piggy.credential\n> = action(\"PIGGY_CREATE_CONTACT_ATTRIBUTE\", {\n slug: \"piggy-create-contact-attribute\",\n name: \"Create Contact Attribute\",\n description: \"Tool to create a custom Contact Attribute. Use when you need to define new fields for contacts after initial setup.\",\n input: PiggyCreateContactAttributeInput,\n output: PiggyCreateContactAttributeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACvH,WAAW,EAAE,KAAK;EAAC;EAAO;EAAQ;EAAQ;EAAS;EAAS;EAAS;EAAS;EAAU;EAAU;EAAW;EAAa;EAAa;EAAa;EAAc;EAAc;EAAc;EAAc;EAAe;EAAgB;EAAgB;CAAe,CAAC,CAAC,CAAC,SAAS,8EAA8E;CACpW,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACnG,CAAC;AACD,MAAM,mEAAmE,EAAE,OAAO;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yDAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd+C,EAAE,OAAO;EACxD,MAAM,uDAAuD,SAAS;EACtE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;CAChF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-credit-reception.cjs","names":["z","action"],"sources":["../../src/actions/create-credit-reception.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyCreateCreditReceptionInput = z.object({\n credits: z.number().int().describe(\"Fixed number of credits to award. Either unit_value or credits must be provided\").optional(),\n shop_uuid: z.string().describe(\"UUID of the shop where the transaction occurred\"),\n unit_value: z.number().int().describe(\"Unit value (e.g., purchase amount in cents) for calculating credits. Either unit_value or credits must be provided\").optional(),\n contact_uuid: z.string().describe(\"UUID of the contact to receive credits\"),\n}).describe(\"Request schema for creating a credit reception.\");\nexport const PiggyCreateCreditReceptionOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Created credit reception data\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata\"),\n}).passthrough().describe(\"Response schema for credit reception creation.\");\n\nexport const piggyCreateCreditReception = action(\"PIGGY_CREATE_CREDIT_RECEPTION\", {\n slug: \"piggy-create-credit-reception\",\n name: \"Create Credit Reception\",\n description: \"Tool to create a credit reception for a contact. Use when awarding credits to customers based on purchases or fixed amounts.\",\n input: PiggyCreateCreditReceptionInput,\n output: PiggyCreateCreditReceptionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-credit-reception.cjs","names":["z","action"],"sources":["../../src/actions/create-credit-reception.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piggy } from \"../app\";\n\nexport const PiggyCreateCreditReceptionInput = z.object({\n credits: z.number().int().describe(\"Fixed number of credits to award. Either unit_value or credits must be provided\").optional(),\n shop_uuid: z.string().describe(\"UUID of the shop where the transaction occurred\"),\n unit_value: z.number().int().describe(\"Unit value (e.g., purchase amount in cents) for calculating credits. Either unit_value or credits must be provided\").optional(),\n contact_uuid: z.string().describe(\"UUID of the contact to receive credits\"),\n}).describe(\"Request schema for creating a credit reception.\");\nexport const PiggyCreateCreditReceptionOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Created credit reception data\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata\"),\n}).passthrough().describe(\"Response schema for credit reception creation.\");\n\nexport const piggyCreateCreditReception: AppAction<\n typeof PiggyCreateCreditReceptionInput,\n typeof PiggyCreateCreditReceptionOutput,\n typeof piggy.credential\n> = action(\"PIGGY_CREATE_CREDIT_RECEPTION\", {\n slug: \"piggy-create-credit-reception\",\n name: \"Create Credit Reception\",\n description: \"Tool to create a credit reception for a contact. Use when awarding credits to customers based on purchases or fixed amounts.\",\n input: PiggyCreateCreditReceptionInput,\n output: PiggyCreateCreditReceptionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACrK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC5E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B;CAChF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piggy } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-credit-reception.d.ts
|
|
@@ -11,24 +13,7 @@ declare const PiggyCreateCreditReceptionOutput: z.ZodObject<{
|
|
|
11
13
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
14
|
meta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const piggyCreateCreditReception:
|
|
15
|
-
shop_uuid: string;
|
|
16
|
-
contact_uuid: string;
|
|
17
|
-
credits?: number | undefined;
|
|
18
|
-
unit_value?: number | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const piggyCreateCreditReception: AppAction<typeof PiggyCreateCreditReceptionInput, typeof PiggyCreateCreditReceptionOutput, typeof piggy.credential>;
|
|
32
17
|
//#endregion
|
|
33
18
|
export { piggyCreateCreditReception };
|
|
34
19
|
//# sourceMappingURL=create-credit-reception.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-credit-reception.d.cts","names":[],"sources":["../../src/actions/create-credit-reception.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-credit-reception.d.cts","names":[],"sources":["../../src/actions/create-credit-reception.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piggy } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-credit-reception.d.ts
|
|
@@ -11,24 +13,7 @@ declare const PiggyCreateCreditReceptionOutput: z.ZodObject<{
|
|
|
11
13
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
14
|
meta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const piggyCreateCreditReception:
|
|
15
|
-
shop_uuid: string;
|
|
16
|
-
contact_uuid: string;
|
|
17
|
-
credits?: number | undefined;
|
|
18
|
-
unit_value?: number | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const piggyCreateCreditReception: AppAction<typeof PiggyCreateCreditReceptionInput, typeof PiggyCreateCreditReceptionOutput, typeof piggy.credential>;
|
|
32
17
|
//#endregion
|
|
33
18
|
export { piggyCreateCreditReception };
|
|
34
19
|
//# sourceMappingURL=create-credit-reception.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-credit-reception.d.mts","names":[],"sources":["../../src/actions/create-credit-reception.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-credit-reception.d.mts","names":[],"sources":["../../src/actions/create-credit-reception.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-credit-reception.mjs","names":[],"sources":["../../src/actions/create-credit-reception.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyCreateCreditReceptionInput = z.object({\n credits: z.number().int().describe(\"Fixed number of credits to award. Either unit_value or credits must be provided\").optional(),\n shop_uuid: z.string().describe(\"UUID of the shop where the transaction occurred\"),\n unit_value: z.number().int().describe(\"Unit value (e.g., purchase amount in cents) for calculating credits. Either unit_value or credits must be provided\").optional(),\n contact_uuid: z.string().describe(\"UUID of the contact to receive credits\"),\n}).describe(\"Request schema for creating a credit reception.\");\nexport const PiggyCreateCreditReceptionOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Created credit reception data\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata\"),\n}).passthrough().describe(\"Response schema for credit reception creation.\");\n\nexport const piggyCreateCreditReception = action(\"PIGGY_CREATE_CREDIT_RECEPTION\", {\n slug: \"piggy-create-credit-reception\",\n name: \"Create Credit Reception\",\n description: \"Tool to create a credit reception for a contact. Use when awarding credits to customers based on purchases or fixed amounts.\",\n input: PiggyCreateCreditReceptionInput,\n output: PiggyCreateCreditReceptionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-credit-reception.mjs","names":[],"sources":["../../src/actions/create-credit-reception.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piggy } from \"../app\";\n\nexport const PiggyCreateCreditReceptionInput = z.object({\n credits: z.number().int().describe(\"Fixed number of credits to award. Either unit_value or credits must be provided\").optional(),\n shop_uuid: z.string().describe(\"UUID of the shop where the transaction occurred\"),\n unit_value: z.number().int().describe(\"Unit value (e.g., purchase amount in cents) for calculating credits. Either unit_value or credits must be provided\").optional(),\n contact_uuid: z.string().describe(\"UUID of the contact to receive credits\"),\n}).describe(\"Request schema for creating a credit reception.\");\nexport const PiggyCreateCreditReceptionOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Created credit reception data\"),\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata\"),\n}).passthrough().describe(\"Response schema for credit reception creation.\");\n\nexport const piggyCreateCreditReception: AppAction<\n typeof PiggyCreateCreditReceptionInput,\n typeof PiggyCreateCreditReceptionOutput,\n typeof piggy.credential\n> = action(\"PIGGY_CREATE_CREDIT_RECEPTION\", {\n slug: \"piggy-create-credit-reception\",\n name: \"Create Credit Reception\",\n description: \"Tool to create a credit reception for a contact. Use when awarding credits to customers based on purchases or fixed amounts.\",\n input: PiggyCreateCreditReceptionInput,\n output: PiggyCreateCreditReceptionOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC/H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EACrK,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAC5E,CAAC,CAAC,CAAC,SAAS,iDAcH;CACP,QAd8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B;EAChF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB;CACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vouchers-batch.cjs","names":["z","action"],"sources":["../../src/actions/create-vouchers-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyCreateVouchersBatchInput = z.object({\n quantity: z.number().int().describe(\"The number of Vouchers you want to generate (min: 1, max: 500)\"),\n contact_uuid: z.string().describe(\"The Contact's UUID to be linked to the batch of Vouchers\").optional(),\n promotion_uuid: z.string().describe(\"UUID of the Promotion for which the Vouchers are to be created\"),\n activation_date: z.string().describe(\"The activation date for the batch of Vouchers in ISO 8601 format\").optional(),\n expiration_date: z.string().describe(\"The expiration date for the batch of Vouchers in ISO 8601 format\").optional(),\n custom_attributes: z.array(z.object({\n key: z.string().describe(\"Attribute key\"),\n value: z.string().describe(\"Attribute value\"),\n}).passthrough().describe(\"Custom attribute for vouchers.\")).describe(\"Additional Custom Attributes for the Vouchers\").optional(),\n}).describe(\"Request schema for batch voucher creation.\");\nconst PiggyCreateVouchersBatch_VoucherBatchDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'vouchers' for this endpoint\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the batch operation\").nullable(),\n status: z.string().describe(\"Current batch status (e.g., 'PENDING', 'COMPLETED'). Batch creation is asynchronous\").nullable(),\n quantity: z.number().int().describe(\"The number of vouchers generated in this batch\").nullable(),\n created_at: z.string().describe(\"Timestamp when batch was created\").nullable(),\n}).passthrough().describe(\"Batch voucher creation data.\");\nexport const PiggyCreateVouchersBatchOutput = z.object({\n data: PiggyCreateVouchersBatch_VoucherBatchDataSchema.nullable(),\n meta: z.array(z.record(z.string(), z.unknown())).describe(\"Response metadata (usually empty)\"),\n}).passthrough().describe(\"Response schema for batch voucher creation.\");\n\nexport const piggyCreateVouchersBatch = action(\"PIGGY_CREATE_VOUCHERS_BATCH\", {\n slug: \"piggy-create-vouchers-batch\",\n name: \"Create Vouchers Batch\",\n description: \"Tool to create a batch of vouchers for a promotion. Use when you need to generate multiple vouchers at once for a specific promotion. Batch processing is asynchronous and returns a PENDING status initially.\",\n input: PiggyCreateVouchersBatchInput,\n output: PiggyCreateVouchersBatchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vouchers-batch.cjs","names":["z","action"],"sources":["../../src/actions/create-vouchers-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piggy } from \"../app\";\n\nexport const PiggyCreateVouchersBatchInput = z.object({\n quantity: z.number().int().describe(\"The number of Vouchers you want to generate (min: 1, max: 500)\"),\n contact_uuid: z.string().describe(\"The Contact's UUID to be linked to the batch of Vouchers\").optional(),\n promotion_uuid: z.string().describe(\"UUID of the Promotion for which the Vouchers are to be created\"),\n activation_date: z.string().describe(\"The activation date for the batch of Vouchers in ISO 8601 format\").optional(),\n expiration_date: z.string().describe(\"The expiration date for the batch of Vouchers in ISO 8601 format\").optional(),\n custom_attributes: z.array(z.object({\n key: z.string().describe(\"Attribute key\"),\n value: z.string().describe(\"Attribute value\"),\n}).passthrough().describe(\"Custom attribute for vouchers.\")).describe(\"Additional Custom Attributes for the Vouchers\").optional(),\n}).describe(\"Request schema for batch voucher creation.\");\nconst PiggyCreateVouchersBatch_VoucherBatchDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'vouchers' for this endpoint\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the batch operation\").nullable(),\n status: z.string().describe(\"Current batch status (e.g., 'PENDING', 'COMPLETED'). Batch creation is asynchronous\").nullable(),\n quantity: z.number().int().describe(\"The number of vouchers generated in this batch\").nullable(),\n created_at: z.string().describe(\"Timestamp when batch was created\").nullable(),\n}).passthrough().describe(\"Batch voucher creation data.\");\nexport const PiggyCreateVouchersBatchOutput = z.object({\n data: PiggyCreateVouchersBatch_VoucherBatchDataSchema.nullable(),\n meta: z.array(z.record(z.string(), z.unknown())).describe(\"Response metadata (usually empty)\"),\n}).passthrough().describe(\"Response schema for batch voucher creation.\");\n\nexport const piggyCreateVouchersBatch: AppAction<\n typeof PiggyCreateVouchersBatchInput,\n typeof PiggyCreateVouchersBatchOutput,\n typeof piggy.credential\n> = action(\"PIGGY_CREATE_VOUCHERS_BATCH\", {\n slug: \"piggy-create-vouchers-batch\",\n name: \"Create Vouchers Batch\",\n description: \"Tool to create a batch of vouchers for a promotion. Use when you need to generate multiple vouchers at once for a specific promotion. Batch processing is asynchronous and returns a PENDING status initially.\",\n input: PiggyCreateVouchersBatchInput,\n output: PiggyCreateVouchersBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACpC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EACxC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC9C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,gDAAgD,SAAS;CAC/D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piggy } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-vouchers-batch.d.ts
|
|
@@ -22,30 +24,7 @@ declare const PiggyCreateVouchersBatchOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
meta: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const piggyCreateVouchersBatch:
|
|
26
|
-
quantity: number;
|
|
27
|
-
promotion_uuid: string;
|
|
28
|
-
contact_uuid?: string | undefined;
|
|
29
|
-
activation_date?: string | undefined;
|
|
30
|
-
expiration_date?: string | undefined;
|
|
31
|
-
custom_attributes?: {
|
|
32
|
-
[x: string]: unknown;
|
|
33
|
-
key: string;
|
|
34
|
-
value: string;
|
|
35
|
-
}[] | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const piggyCreateVouchersBatch: AppAction<typeof PiggyCreateVouchersBatchInput, typeof PiggyCreateVouchersBatchOutput, typeof piggy.credential>;
|
|
49
28
|
//#endregion
|
|
50
29
|
export { piggyCreateVouchersBatch };
|
|
51
30
|
//# sourceMappingURL=create-vouchers-batch.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vouchers-batch.d.cts","names":[],"sources":["../../src/actions/create-vouchers-batch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vouchers-batch.d.cts","names":[],"sources":["../../src/actions/create-vouchers-batch.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAkB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piggy } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-vouchers-batch.d.ts
|
|
@@ -22,30 +24,7 @@ declare const PiggyCreateVouchersBatchOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
meta: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const piggyCreateVouchersBatch:
|
|
26
|
-
quantity: number;
|
|
27
|
-
promotion_uuid: string;
|
|
28
|
-
contact_uuid?: string | undefined;
|
|
29
|
-
activation_date?: string | undefined;
|
|
30
|
-
expiration_date?: string | undefined;
|
|
31
|
-
custom_attributes?: {
|
|
32
|
-
[x: string]: unknown;
|
|
33
|
-
key: string;
|
|
34
|
-
value: string;
|
|
35
|
-
}[] | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const piggyCreateVouchersBatch: AppAction<typeof PiggyCreateVouchersBatchInput, typeof PiggyCreateVouchersBatchOutput, typeof piggy.credential>;
|
|
49
28
|
//#endregion
|
|
50
29
|
export { piggyCreateVouchersBatch };
|
|
51
30
|
//# sourceMappingURL=create-vouchers-batch.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vouchers-batch.d.mts","names":[],"sources":["../../src/actions/create-vouchers-batch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vouchers-batch.d.mts","names":[],"sources":["../../src/actions/create-vouchers-batch.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAkB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vouchers-batch.mjs","names":[],"sources":["../../src/actions/create-vouchers-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyCreateVouchersBatchInput = z.object({\n quantity: z.number().int().describe(\"The number of Vouchers you want to generate (min: 1, max: 500)\"),\n contact_uuid: z.string().describe(\"The Contact's UUID to be linked to the batch of Vouchers\").optional(),\n promotion_uuid: z.string().describe(\"UUID of the Promotion for which the Vouchers are to be created\"),\n activation_date: z.string().describe(\"The activation date for the batch of Vouchers in ISO 8601 format\").optional(),\n expiration_date: z.string().describe(\"The expiration date for the batch of Vouchers in ISO 8601 format\").optional(),\n custom_attributes: z.array(z.object({\n key: z.string().describe(\"Attribute key\"),\n value: z.string().describe(\"Attribute value\"),\n}).passthrough().describe(\"Custom attribute for vouchers.\")).describe(\"Additional Custom Attributes for the Vouchers\").optional(),\n}).describe(\"Request schema for batch voucher creation.\");\nconst PiggyCreateVouchersBatch_VoucherBatchDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'vouchers' for this endpoint\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the batch operation\").nullable(),\n status: z.string().describe(\"Current batch status (e.g., 'PENDING', 'COMPLETED'). Batch creation is asynchronous\").nullable(),\n quantity: z.number().int().describe(\"The number of vouchers generated in this batch\").nullable(),\n created_at: z.string().describe(\"Timestamp when batch was created\").nullable(),\n}).passthrough().describe(\"Batch voucher creation data.\");\nexport const PiggyCreateVouchersBatchOutput = z.object({\n data: PiggyCreateVouchersBatch_VoucherBatchDataSchema.nullable(),\n meta: z.array(z.record(z.string(), z.unknown())).describe(\"Response metadata (usually empty)\"),\n}).passthrough().describe(\"Response schema for batch voucher creation.\");\n\nexport const piggyCreateVouchersBatch = action(\"PIGGY_CREATE_VOUCHERS_BATCH\", {\n slug: \"piggy-create-vouchers-batch\",\n name: \"Create Vouchers Batch\",\n description: \"Tool to create a batch of vouchers for a promotion. Use when you need to generate multiple vouchers at once for a specific promotion. Batch processing is asynchronous and returns a PENDING status initially.\",\n input: PiggyCreateVouchersBatchInput,\n output: PiggyCreateVouchersBatchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vouchers-batch.mjs","names":[],"sources":["../../src/actions/create-vouchers-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piggy } from \"../app\";\n\nexport const PiggyCreateVouchersBatchInput = z.object({\n quantity: z.number().int().describe(\"The number of Vouchers you want to generate (min: 1, max: 500)\"),\n contact_uuid: z.string().describe(\"The Contact's UUID to be linked to the batch of Vouchers\").optional(),\n promotion_uuid: z.string().describe(\"UUID of the Promotion for which the Vouchers are to be created\"),\n activation_date: z.string().describe(\"The activation date for the batch of Vouchers in ISO 8601 format\").optional(),\n expiration_date: z.string().describe(\"The expiration date for the batch of Vouchers in ISO 8601 format\").optional(),\n custom_attributes: z.array(z.object({\n key: z.string().describe(\"Attribute key\"),\n value: z.string().describe(\"Attribute value\"),\n}).passthrough().describe(\"Custom attribute for vouchers.\")).describe(\"Additional Custom Attributes for the Vouchers\").optional(),\n}).describe(\"Request schema for batch voucher creation.\");\nconst PiggyCreateVouchersBatch_VoucherBatchDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'vouchers' for this endpoint\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the batch operation\").nullable(),\n status: z.string().describe(\"Current batch status (e.g., 'PENDING', 'COMPLETED'). Batch creation is asynchronous\").nullable(),\n quantity: z.number().int().describe(\"The number of vouchers generated in this batch\").nullable(),\n created_at: z.string().describe(\"Timestamp when batch was created\").nullable(),\n}).passthrough().describe(\"Batch voucher creation data.\");\nexport const PiggyCreateVouchersBatchOutput = z.object({\n data: PiggyCreateVouchersBatch_VoucherBatchDataSchema.nullable(),\n meta: z.array(z.record(z.string(), z.unknown())).describe(\"Response metadata (usually empty)\"),\n}).passthrough().describe(\"Response schema for batch voucher creation.\");\n\nexport const piggyCreateVouchersBatch: AppAction<\n typeof PiggyCreateVouchersBatchInput,\n typeof PiggyCreateVouchersBatchOutput,\n typeof piggy.credential\n> = action(\"PIGGY_CREATE_VOUCHERS_BATCH\", {\n slug: \"piggy-create-vouchers-batch\",\n name: \"Create Vouchers Batch\",\n description: \"Tool to create a batch of vouchers for a promotion. Use when you need to generate multiple vouchers at once for a specific promotion. Batch processing is asynchronous and returns a PENDING status initially.\",\n input: PiggyCreateVouchersBatchInput,\n output: PiggyCreateVouchersBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,mBAAmB,EAAE,MAAM,EAAE,OAAO;EACpC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EACxC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC9C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAMxD,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,MAAM,gDAAgD,SAAS;EAC/D,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|