@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.
Files changed (125) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/claim-anonymous-contact.cjs +1 -0
  4. package/dist/actions/claim-anonymous-contact.cjs.map +1 -1
  5. package/dist/actions/claim-anonymous-contact.d.cts +3 -16
  6. package/dist/actions/claim-anonymous-contact.d.cts.map +1 -1
  7. package/dist/actions/claim-anonymous-contact.d.mts +3 -16
  8. package/dist/actions/claim-anonymous-contact.d.mts.map +1 -1
  9. package/dist/actions/claim-anonymous-contact.mjs +1 -0
  10. package/dist/actions/claim-anonymous-contact.mjs.map +1 -1
  11. package/dist/actions/create-contact-attribute.cjs +1 -0
  12. package/dist/actions/create-contact-attribute.cjs.map +1 -1
  13. package/dist/actions/create-contact-attribute.d.cts +4 -24
  14. package/dist/actions/create-contact-attribute.d.cts.map +1 -1
  15. package/dist/actions/create-contact-attribute.d.mts +4 -24
  16. package/dist/actions/create-contact-attribute.d.mts.map +1 -1
  17. package/dist/actions/create-contact-attribute.mjs +1 -0
  18. package/dist/actions/create-contact-attribute.mjs.map +1 -1
  19. package/dist/actions/create-credit-reception.cjs +1 -0
  20. package/dist/actions/create-credit-reception.cjs.map +1 -1
  21. package/dist/actions/create-credit-reception.d.cts +3 -18
  22. package/dist/actions/create-credit-reception.d.cts.map +1 -1
  23. package/dist/actions/create-credit-reception.d.mts +3 -18
  24. package/dist/actions/create-credit-reception.d.mts.map +1 -1
  25. package/dist/actions/create-credit-reception.mjs +1 -0
  26. package/dist/actions/create-credit-reception.mjs.map +1 -1
  27. package/dist/actions/create-vouchers-batch.cjs +1 -0
  28. package/dist/actions/create-vouchers-batch.cjs.map +1 -1
  29. package/dist/actions/create-vouchers-batch.d.cts +3 -24
  30. package/dist/actions/create-vouchers-batch.d.cts.map +1 -1
  31. package/dist/actions/create-vouchers-batch.d.mts +3 -24
  32. package/dist/actions/create-vouchers-batch.d.mts.map +1 -1
  33. package/dist/actions/create-vouchers-batch.mjs +1 -0
  34. package/dist/actions/create-vouchers-batch.mjs.map +1 -1
  35. package/dist/actions/find-or-create-products.cjs +1 -0
  36. package/dist/actions/find-or-create-products.cjs.map +1 -1
  37. package/dist/actions/find-or-create-products.d.cts +3 -22
  38. package/dist/actions/find-or-create-products.d.cts.map +1 -1
  39. package/dist/actions/find-or-create-products.d.mts +3 -22
  40. package/dist/actions/find-or-create-products.d.mts.map +1 -1
  41. package/dist/actions/find-or-create-products.mjs +1 -0
  42. package/dist/actions/find-or-create-products.mjs.map +1 -1
  43. package/dist/actions/find-voucher-by-code.cjs +1 -0
  44. package/dist/actions/find-voucher-by-code.cjs.map +1 -1
  45. package/dist/actions/find-voucher-by-code.d.cts +3 -15
  46. package/dist/actions/find-voucher-by-code.d.cts.map +1 -1
  47. package/dist/actions/find-voucher-by-code.d.mts +3 -15
  48. package/dist/actions/find-voucher-by-code.d.mts.map +1 -1
  49. package/dist/actions/find-voucher-by-code.mjs +1 -0
  50. package/dist/actions/find-voucher-by-code.mjs.map +1 -1
  51. package/dist/actions/get-contact-auth-token.cjs +1 -0
  52. package/dist/actions/get-contact-auth-token.cjs.map +1 -1
  53. package/dist/actions/get-contact-auth-token.d.cts +3 -15
  54. package/dist/actions/get-contact-auth-token.d.cts.map +1 -1
  55. package/dist/actions/get-contact-auth-token.d.mts +3 -15
  56. package/dist/actions/get-contact-auth-token.d.mts.map +1 -1
  57. package/dist/actions/get-contact-auth-token.mjs +1 -0
  58. package/dist/actions/get-contact-auth-token.mjs.map +1 -1
  59. package/dist/actions/get-contacts-credit-balance.cjs +1 -0
  60. package/dist/actions/get-contacts-credit-balance.cjs.map +1 -1
  61. package/dist/actions/get-contacts-credit-balance.d.cts +3 -15
  62. package/dist/actions/get-contacts-credit-balance.d.cts.map +1 -1
  63. package/dist/actions/get-contacts-credit-balance.d.mts +3 -15
  64. package/dist/actions/get-contacts-credit-balance.d.mts.map +1 -1
  65. package/dist/actions/get-contacts-credit-balance.mjs +1 -0
  66. package/dist/actions/get-contacts-credit-balance.mjs.map +1 -1
  67. package/dist/actions/list-forms.cjs +1 -0
  68. package/dist/actions/list-forms.cjs.map +1 -1
  69. package/dist/actions/list-forms.d.cts +3 -13
  70. package/dist/actions/list-forms.d.cts.map +1 -1
  71. package/dist/actions/list-forms.d.mts +3 -13
  72. package/dist/actions/list-forms.d.mts.map +1 -1
  73. package/dist/actions/list-forms.mjs +1 -0
  74. package/dist/actions/list-forms.mjs.map +1 -1
  75. package/dist/actions/list-perks.cjs +1 -0
  76. package/dist/actions/list-perks.cjs.map +1 -1
  77. package/dist/actions/list-perks.d.cts +3 -13
  78. package/dist/actions/list-perks.d.cts.map +1 -1
  79. package/dist/actions/list-perks.d.mts +3 -13
  80. package/dist/actions/list-perks.d.mts.map +1 -1
  81. package/dist/actions/list-perks.mjs +1 -0
  82. package/dist/actions/list-perks.mjs.map +1 -1
  83. package/dist/actions/merge-contacts.cjs +1 -0
  84. package/dist/actions/merge-contacts.cjs.map +1 -1
  85. package/dist/actions/merge-contacts.d.cts +3 -16
  86. package/dist/actions/merge-contacts.d.cts.map +1 -1
  87. package/dist/actions/merge-contacts.d.mts +3 -16
  88. package/dist/actions/merge-contacts.d.mts.map +1 -1
  89. package/dist/actions/merge-contacts.mjs +1 -0
  90. package/dist/actions/merge-contacts.mjs.map +1 -1
  91. package/dist/actions/send-contact-verification-email.cjs +1 -0
  92. package/dist/actions/send-contact-verification-email.cjs.map +1 -1
  93. package/dist/actions/send-contact-verification-email.d.cts +3 -15
  94. package/dist/actions/send-contact-verification-email.d.cts.map +1 -1
  95. package/dist/actions/send-contact-verification-email.d.mts +3 -15
  96. package/dist/actions/send-contact-verification-email.d.mts.map +1 -1
  97. package/dist/actions/send-contact-verification-email.mjs +1 -0
  98. package/dist/actions/send-contact-verification-email.mjs.map +1 -1
  99. package/dist/actions/update-bookings.cjs +1 -0
  100. package/dist/actions/update-bookings.cjs.map +1 -1
  101. package/dist/actions/update-bookings.d.cts +3 -24
  102. package/dist/actions/update-bookings.d.cts.map +1 -1
  103. package/dist/actions/update-bookings.d.mts +3 -24
  104. package/dist/actions/update-bookings.d.mts.map +1 -1
  105. package/dist/actions/update-bookings.mjs +1 -0
  106. package/dist/actions/update-bookings.mjs.map +1 -1
  107. package/dist/actions/update-contact-identifiers.cjs +1 -0
  108. package/dist/actions/update-contact-identifiers.cjs.map +1 -1
  109. package/dist/actions/update-contact-identifiers.d.cts +3 -17
  110. package/dist/actions/update-contact-identifiers.d.cts.map +1 -1
  111. package/dist/actions/update-contact-identifiers.d.mts +3 -17
  112. package/dist/actions/update-contact-identifiers.d.mts.map +1 -1
  113. package/dist/actions/update-contact-identifiers.mjs +1 -0
  114. package/dist/actions/update-contact-identifiers.mjs.map +1 -1
  115. package/dist/app.cjs +2 -2
  116. package/dist/app.cjs.map +1 -1
  117. package/dist/app.d.cts +4 -6
  118. package/dist/app.d.cts.map +1 -1
  119. package/dist/app.d.mts +4 -6
  120. package/dist/app.d.mts.map +1 -1
  121. package/dist/app.mjs +0 -1
  122. package/dist/app.mjs.map +1 -1
  123. package/dist/index.d.cts +1 -1
  124. package/dist/index.d.mts +1 -1
  125. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/update-contact-identifiers.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-identifiers.mjs","names":[],"sources":["../../src/actions/update-contact-identifiers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyUpdateContactIdentifiersInput = z.object({\n contact_identifier_name: z.string().describe(\"Display name of the contact identifier. Use this to update the human-readable label.\").optional(),\n contact_identifier_value: z.string().describe(\"The unique value of the contact identifier to update. This is the identifier of the contact identifier record itself.\"),\n contact_identifier_active: z.boolean().describe(\"Active state of the contact identifier. Set to false to deactivate, true to activate.\").optional(),\n}).describe(\"Request body to update a contact identifier in Piggy.\");\nconst PiggyUpdateContactIdentifiers_ContactIdentifierDataSchema = z.object({\n name: z.string().describe(\"Display name of the contact identifier\").nullable().optional(),\n value: z.string().describe(\"The unique value of the contact identifier\").nullable(),\n active: z.boolean().describe(\"Active state of the contact identifier\").nullable(),\n contact: z.record(z.string(), z.unknown()).describe(\"Associated contact information (if linked)\").nullable().optional(),\n \"default\": z.boolean().describe(\"Whether this is the default contact identifier\").nullable(),\n}).passthrough().describe(\"Data returned after updating a contact identifier.\");\nexport const PiggyUpdateContactIdentifiersOutput = z.object({\n data: PiggyUpdateContactIdentifiers_ContactIdentifierDataSchema.nullable(),\n meta: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]),\n}).passthrough().describe(\"Response model for updating contact identifiers.\");\n\nexport const piggyUpdateContactIdentifiers = action(\"PIGGY_UPDATE_CONTACT_IDENTIFIERS\", {\n slug: \"piggy-update-contact-identifiers\",\n name: \"Update Contact Identifiers\",\n description: \"Tool to update a contact identifier in Piggy. Use when you need to modify the display name or active state of an existing contact identifier. Only the name and active properties can be updated; the identifier value itself cannot be changed.\",\n input: PiggyUpdateContactIdentifiersInput,\n output: PiggyUpdateContactIdentifiersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9I,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACrK,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,4DAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAM9E,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,MAAM,0DAA0D,SAAS;EACzE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact-identifiers.mjs","names":[],"sources":["../../src/actions/update-contact-identifiers.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 PiggyUpdateContactIdentifiersInput = z.object({\n contact_identifier_name: z.string().describe(\"Display name of the contact identifier. Use this to update the human-readable label.\").optional(),\n contact_identifier_value: z.string().describe(\"The unique value of the contact identifier to update. This is the identifier of the contact identifier record itself.\"),\n contact_identifier_active: z.boolean().describe(\"Active state of the contact identifier. Set to false to deactivate, true to activate.\").optional(),\n}).describe(\"Request body to update a contact identifier in Piggy.\");\nconst PiggyUpdateContactIdentifiers_ContactIdentifierDataSchema = z.object({\n name: z.string().describe(\"Display name of the contact identifier\").nullable().optional(),\n value: z.string().describe(\"The unique value of the contact identifier\").nullable(),\n active: z.boolean().describe(\"Active state of the contact identifier\").nullable(),\n contact: z.record(z.string(), z.unknown()).describe(\"Associated contact information (if linked)\").nullable().optional(),\n \"default\": z.boolean().describe(\"Whether this is the default contact identifier\").nullable(),\n}).passthrough().describe(\"Data returned after updating a contact identifier.\");\nexport const PiggyUpdateContactIdentifiersOutput = z.object({\n data: PiggyUpdateContactIdentifiers_ContactIdentifierDataSchema.nullable(),\n meta: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]),\n}).passthrough().describe(\"Response model for updating contact identifiers.\");\n\nexport const piggyUpdateContactIdentifiers: AppAction<\n typeof PiggyUpdateContactIdentifiersInput,\n typeof PiggyUpdateContactIdentifiersOutput,\n typeof piggy.credential\n> = action(\"PIGGY_UPDATE_CONTACT_IDENTIFIERS\", {\n slug: \"piggy-update-contact-identifiers\",\n name: \"Update Contact Identifiers\",\n description: \"Tool to update a contact identifier in Piggy. Use when you need to modify the display name or active state of an existing contact identifier. Only the name and active properties can be updated; the identifier value itself cannot be changed.\",\n input: PiggyUpdateContactIdentifiersInput,\n output: PiggyUpdateContactIdentifiersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO;CACzD,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9I,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACrK,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,4DAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAM9E,MAAa,gCAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdiD,EAAE,OAAO;EAC1D,MAAM,0DAA0D,SAAS;EACzE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const piggy = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "piggy",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.piggy = piggy;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const piggy = defineApp({\n slug: \"piggy\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const piggy: KeystrokeApp<\"piggy\", typeof credential> = defineApp({\n slug: \"piggy\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAA4D;CACvE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const piggy: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const piggy: KeystrokeApp<"piggy", typeof credential>;
11
9
  //#endregion
12
10
  export { piggy };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const piggy: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"piggy", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const piggy: KeystrokeApp<"piggy", typeof credential>;
11
9
  //#endregion
12
10
  export { piggy };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const piggy = defineApp({
5
4
  slug: "piggy",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const piggy = defineApp({\n slug: \"piggy\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const piggy: KeystrokeApp<\"piggy\", typeof credential> = defineApp({\n slug: \"piggy\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,QAAkD,UAAU;CACvE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { piggy } from "./app.cjs";
1
2
  import { piggyClaimAnonymousContact } from "./actions/claim-anonymous-contact.cjs";
2
3
  import { piggyCreateContactAttribute } from "./actions/create-contact-attribute.cjs";
3
4
  import { piggyCreateCreditReception } from "./actions/create-credit-reception.cjs";
@@ -12,6 +13,5 @@ import { piggyMergeContacts } from "./actions/merge-contacts.cjs";
12
13
  import { piggySendContactVerificationEmail } from "./actions/send-contact-verification-email.cjs";
13
14
  import { piggyUpdateBookings } from "./actions/update-bookings.cjs";
14
15
  import { piggyUpdateContactIdentifiers } from "./actions/update-contact-identifiers.cjs";
15
- import { piggy } from "./app.cjs";
16
16
  import { piggyCatalog } from "./catalog.cjs";
17
17
  export { piggy, piggyCatalog, piggyClaimAnonymousContact, piggyCreateContactAttribute, piggyCreateCreditReception, piggyCreateVouchersBatch, piggyFindOrCreateProducts, piggyFindVoucherByCode, piggyGetContactAuthToken, piggyGetContactsCreditBalance, piggyListForms, piggyListPerks, piggyMergeContacts, piggySendContactVerificationEmail, piggyUpdateBookings, piggyUpdateContactIdentifiers };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { piggy } from "./app.mjs";
1
2
  import { piggyClaimAnonymousContact } from "./actions/claim-anonymous-contact.mjs";
2
3
  import { piggyCreateContactAttribute } from "./actions/create-contact-attribute.mjs";
3
4
  import { piggyCreateCreditReception } from "./actions/create-credit-reception.mjs";
@@ -12,6 +13,5 @@ import { piggyMergeContacts } from "./actions/merge-contacts.mjs";
12
13
  import { piggySendContactVerificationEmail } from "./actions/send-contact-verification-email.mjs";
13
14
  import { piggyUpdateBookings } from "./actions/update-bookings.mjs";
14
15
  import { piggyUpdateContactIdentifiers } from "./actions/update-contact-identifiers.mjs";
15
- import { piggy } from "./app.mjs";
16
16
  import { piggyCatalog } from "./catalog.mjs";
17
17
  export { piggy, piggyCatalog, piggyClaimAnonymousContact, piggyCreateContactAttribute, piggyCreateCreditReception, piggyCreateVouchersBatch, piggyFindOrCreateProducts, piggyFindVoucherByCode, piggyGetContactAuthToken, piggyGetContactsCreditBalance, piggyListForms, piggyListPerks, piggyMergeContacts, piggySendContactVerificationEmail, piggyUpdateBookings, piggyUpdateContactIdentifiers };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/piggy",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {