@keystrokehq/piggy 0.1.0 → 0.1.2

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 (111) 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.map +1 -1
  4. package/dist/actions/claim-anonymous-contact.d.cts +15 -3
  5. package/dist/actions/claim-anonymous-contact.d.cts.map +1 -1
  6. package/dist/actions/claim-anonymous-contact.d.mts +15 -3
  7. package/dist/actions/claim-anonymous-contact.d.mts.map +1 -1
  8. package/dist/actions/claim-anonymous-contact.mjs.map +1 -1
  9. package/dist/actions/create-contact-attribute.cjs +8 -8
  10. package/dist/actions/create-contact-attribute.cjs.map +1 -1
  11. package/dist/actions/create-contact-attribute.d.cts +59 -3
  12. package/dist/actions/create-contact-attribute.d.cts.map +1 -1
  13. package/dist/actions/create-contact-attribute.d.mts +59 -3
  14. package/dist/actions/create-contact-attribute.d.mts.map +1 -1
  15. package/dist/actions/create-contact-attribute.mjs +8 -8
  16. package/dist/actions/create-contact-attribute.mjs.map +1 -1
  17. package/dist/actions/create-credit-reception.cjs.map +1 -1
  18. package/dist/actions/create-credit-reception.d.cts +16 -3
  19. package/dist/actions/create-credit-reception.d.cts.map +1 -1
  20. package/dist/actions/create-credit-reception.d.mts +16 -3
  21. package/dist/actions/create-credit-reception.d.mts.map +1 -1
  22. package/dist/actions/create-credit-reception.mjs.map +1 -1
  23. package/dist/actions/create-vouchers-batch.cjs +5 -5
  24. package/dist/actions/create-vouchers-batch.cjs.map +1 -1
  25. package/dist/actions/create-vouchers-batch.d.cts +32 -3
  26. package/dist/actions/create-vouchers-batch.d.cts.map +1 -1
  27. package/dist/actions/create-vouchers-batch.d.mts +32 -3
  28. package/dist/actions/create-vouchers-batch.d.mts.map +1 -1
  29. package/dist/actions/create-vouchers-batch.mjs +5 -5
  30. package/dist/actions/create-vouchers-batch.mjs.map +1 -1
  31. package/dist/actions/find-or-create-products.cjs +4 -4
  32. package/dist/actions/find-or-create-products.cjs.map +1 -1
  33. package/dist/actions/find-or-create-products.d.cts +31 -3
  34. package/dist/actions/find-or-create-products.d.cts.map +1 -1
  35. package/dist/actions/find-or-create-products.d.mts +31 -3
  36. package/dist/actions/find-or-create-products.d.mts.map +1 -1
  37. package/dist/actions/find-or-create-products.mjs +4 -4
  38. package/dist/actions/find-or-create-products.mjs.map +1 -1
  39. package/dist/actions/find-voucher-by-code.cjs +2 -2
  40. package/dist/actions/find-voucher-by-code.cjs.map +1 -1
  41. package/dist/actions/find-voucher-by-code.d.cts +33 -3
  42. package/dist/actions/find-voucher-by-code.d.cts.map +1 -1
  43. package/dist/actions/find-voucher-by-code.d.mts +33 -3
  44. package/dist/actions/find-voucher-by-code.d.mts.map +1 -1
  45. package/dist/actions/find-voucher-by-code.mjs +2 -2
  46. package/dist/actions/find-voucher-by-code.mjs.map +1 -1
  47. package/dist/actions/get-contact-auth-token.cjs +1 -1
  48. package/dist/actions/get-contact-auth-token.cjs.map +1 -1
  49. package/dist/actions/get-contact-auth-token.d.cts +12 -3
  50. package/dist/actions/get-contact-auth-token.d.cts.map +1 -1
  51. package/dist/actions/get-contact-auth-token.d.mts +12 -3
  52. package/dist/actions/get-contact-auth-token.d.mts.map +1 -1
  53. package/dist/actions/get-contact-auth-token.mjs +1 -1
  54. package/dist/actions/get-contact-auth-token.mjs.map +1 -1
  55. package/dist/actions/get-contacts-credit-balance.cjs +1 -1
  56. package/dist/actions/get-contacts-credit-balance.cjs.map +1 -1
  57. package/dist/actions/get-contacts-credit-balance.d.cts +12 -3
  58. package/dist/actions/get-contacts-credit-balance.d.cts.map +1 -1
  59. package/dist/actions/get-contacts-credit-balance.d.mts +12 -3
  60. package/dist/actions/get-contacts-credit-balance.d.mts.map +1 -1
  61. package/dist/actions/get-contacts-credit-balance.mjs +1 -1
  62. package/dist/actions/get-contacts-credit-balance.mjs.map +1 -1
  63. package/dist/actions/list-forms.cjs +5 -5
  64. package/dist/actions/list-forms.cjs.map +1 -1
  65. package/dist/actions/list-forms.d.cts +12 -3
  66. package/dist/actions/list-forms.d.cts.map +1 -1
  67. package/dist/actions/list-forms.d.mts +12 -3
  68. package/dist/actions/list-forms.d.mts.map +1 -1
  69. package/dist/actions/list-forms.mjs +5 -5
  70. package/dist/actions/list-forms.mjs.map +1 -1
  71. package/dist/actions/list-perks.cjs.map +1 -1
  72. package/dist/actions/list-perks.d.cts +12 -3
  73. package/dist/actions/list-perks.d.cts.map +1 -1
  74. package/dist/actions/list-perks.d.mts +12 -3
  75. package/dist/actions/list-perks.d.mts.map +1 -1
  76. package/dist/actions/list-perks.mjs.map +1 -1
  77. package/dist/actions/merge-contacts.cjs.map +1 -1
  78. package/dist/actions/merge-contacts.d.cts +12 -3
  79. package/dist/actions/merge-contacts.d.cts.map +1 -1
  80. package/dist/actions/merge-contacts.d.mts +12 -3
  81. package/dist/actions/merge-contacts.d.mts.map +1 -1
  82. package/dist/actions/merge-contacts.mjs.map +1 -1
  83. package/dist/actions/send-contact-verification-email.cjs +2 -2
  84. package/dist/actions/send-contact-verification-email.cjs.map +1 -1
  85. package/dist/actions/send-contact-verification-email.d.cts +13 -3
  86. package/dist/actions/send-contact-verification-email.d.cts.map +1 -1
  87. package/dist/actions/send-contact-verification-email.d.mts +13 -3
  88. package/dist/actions/send-contact-verification-email.d.mts.map +1 -1
  89. package/dist/actions/send-contact-verification-email.mjs +2 -2
  90. package/dist/actions/send-contact-verification-email.mjs.map +1 -1
  91. package/dist/actions/update-bookings.cjs.map +1 -1
  92. package/dist/actions/update-bookings.d.cts +33 -3
  93. package/dist/actions/update-bookings.d.cts.map +1 -1
  94. package/dist/actions/update-bookings.d.mts +33 -3
  95. package/dist/actions/update-bookings.d.mts.map +1 -1
  96. package/dist/actions/update-bookings.mjs.map +1 -1
  97. package/dist/actions/update-contact-identifiers.cjs +3 -3
  98. package/dist/actions/update-contact-identifiers.cjs.map +1 -1
  99. package/dist/actions/update-contact-identifiers.d.cts +20 -3
  100. package/dist/actions/update-contact-identifiers.d.cts.map +1 -1
  101. package/dist/actions/update-contact-identifiers.d.mts +20 -3
  102. package/dist/actions/update-contact-identifiers.d.mts.map +1 -1
  103. package/dist/actions/update-contact-identifiers.mjs +3 -3
  104. package/dist/actions/update-contact-identifiers.mjs.map +1 -1
  105. package/dist/catalog.cjs +7 -1
  106. package/dist/catalog.cjs.map +1 -1
  107. package/dist/catalog.d.cts +8 -0
  108. package/dist/catalog.d.mts +8 -0
  109. package/dist/catalog.mjs +7 -1
  110. package/dist/catalog.mjs.map +1 -1
  111. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"update-bookings.d.mts","names":[],"sources":["../../src/actions/update-bookings.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAWY;AAAA,cACxC,yBAAA,EAA2B,CAAA,CAAE,UAGY;AAAA,cAEzC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-bookings.d.mts","names":[],"sources":["../../src/actions/update-bookings.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-bookings.mjs","names":[],"sources":["../../src/actions/update-bookings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyUpdateBookingsInput: z.ZodTypeAny = z.object({\n source: z.string().describe(\"Source from where the Booking was created\").optional(),\n status: z.enum([\"created\", \"in_progress\", \"canceled\", \"completed\"]).describe(\"Booking status values.\").optional(),\n ends_at: z.string().describe(\"The end date and time of the Booking in ISO 8601 format\").optional(),\n starts_at: z.string().describe(\"The start date and time of the Booking in ISO 8601 format\").optional(),\n external_id: z.string().describe(\"External identifier for the Booking\").optional(),\n booking_uuid: z.string().describe(\"The UUID of the Booking to update\"),\n company_name: z.string().describe(\"Company name associated with the booking\").optional(),\n checked_in_at: z.string().describe(\"The date and time when the party checked into the booking in ISO 8601 format\").optional(),\n prepaid_amount: z.number().int().describe(\"Amount prepaid (in cents) prior to booking start\").optional(),\n number_of_people: z.number().int().describe(\"Party size for the booking\").optional(),\n}).describe(\"Request schema for updating a booking.\");\nexport const PiggyUpdateBookingsOutput: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Updated booking data\"),\n meta: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]),\n}).describe(\"Response schema for updating a booking.\");\n\nexport const piggyUpdateBookings = action(\"PIGGY_UPDATE_BOOKINGS\", {\n slug: \"piggy-update-bookings\",\n name: \"Update Bookings\",\n description: \"Tool to update an existing booking in Piggy. Use when you need to modify booking details such as party size, status, or company name. Note: Shop and contact cannot be updated after creation.\",\n input: PiggyUpdateBookingsInput,\n output: PiggyUpdateBookingsOutput,\n});\n"],"mappings":";;AAqBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAe;GAAY;EAAW,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAC5H,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sBAAsB;EACvE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;CACzE,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-bookings.mjs","names":[],"sources":["../../src/actions/update-bookings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyUpdateBookingsInput = z.object({\n source: z.string().describe(\"Source from where the Booking was created\").optional(),\n status: z.enum([\"created\", \"in_progress\", \"canceled\", \"completed\"]).describe(\"Booking status values.\").optional(),\n ends_at: z.string().describe(\"The end date and time of the Booking in ISO 8601 format\").optional(),\n starts_at: z.string().describe(\"The start date and time of the Booking in ISO 8601 format\").optional(),\n external_id: z.string().describe(\"External identifier for the Booking\").optional(),\n booking_uuid: z.string().describe(\"The UUID of the Booking to update\"),\n company_name: z.string().describe(\"Company name associated with the booking\").optional(),\n checked_in_at: z.string().describe(\"The date and time when the party checked into the booking in ISO 8601 format\").optional(),\n prepaid_amount: z.number().int().describe(\"Amount prepaid (in cents) prior to booking start\").optional(),\n number_of_people: z.number().int().describe(\"Party size for the booking\").optional(),\n}).describe(\"Request schema for updating a booking.\");\nexport const PiggyUpdateBookingsOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Updated booking data\"),\n meta: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]),\n}).describe(\"Response schema for updating a booking.\");\n\nexport const piggyUpdateBookings = action(\"PIGGY_UPDATE_BOOKINGS\", {\n slug: \"piggy-update-bookings\",\n name: \"Update Bookings\",\n description: \"Tool to update an existing booking in Piggy. Use when you need to modify booking details such as party size, status, or company name. Note: Shop and contact cannot be updated after creation.\",\n input: PiggyUpdateBookingsInput,\n output: PiggyUpdateBookingsOutput,\n});\n"],"mappings":";;AAqBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAe;GAAY;EAAW,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAC5H,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sBAAsB;EACvE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;CACzE,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -8,10 +8,10 @@ const PiggyUpdateContactIdentifiersInput = zod.z.object({
8
8
  }).describe("Request body to update a contact identifier in Piggy.");
9
9
  const PiggyUpdateContactIdentifiers_ContactIdentifierDataSchema = zod.z.object({
10
10
  name: zod.z.string().describe("Display name of the contact identifier").nullable().optional(),
11
- value: zod.z.string().describe("The unique value of the contact identifier"),
12
- active: zod.z.boolean().describe("Active state of the contact identifier"),
11
+ value: zod.z.string().describe("The unique value of the contact identifier").nullable(),
12
+ active: zod.z.boolean().describe("Active state of the contact identifier").nullable(),
13
13
  contact: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Associated contact information (if linked)").nullable().optional(),
14
- "default": zod.z.boolean().describe("Whether this is the default contact identifier")
14
+ "default": zod.z.boolean().describe("Whether this is the default contact identifier").nullable()
15
15
  }).describe("Data returned after updating a contact identifier.");
16
16
  const PiggyUpdateContactIdentifiersOutput = zod.z.object({
17
17
  data: PiggyUpdateContactIdentifiers_ContactIdentifierDataSchema.nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-identifiers.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-identifiers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiggyUpdateContactIdentifiersInput: z.ZodTypeAny = 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.ZodTypeAny = 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\"),\n active: z.boolean().describe(\"Active state of the contact identifier\"),\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\"),\n}).describe(\"Data returned after updating a contact identifier.\");\nexport const PiggyUpdateContactIdentifiersOutput: z.ZodTypeAny = z.object({\n data: PiggyUpdateContactIdentifiers_ContactIdentifierDataSchema.nullable(),\n meta: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]),\n}).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,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9I,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACrK,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACrE,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;AAClF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAM,0DAA0D,SAAS;CACzE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact-identifiers.cjs","names":["z","action"],"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}).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}).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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9I,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACrK,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAM,0DAA0D,SAAS;CACzE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-contact-identifiers.d.ts
4
- declare const PiggyUpdateContactIdentifiersInput: z.ZodTypeAny;
5
- declare const PiggyUpdateContactIdentifiersOutput: z.ZodTypeAny;
6
- declare const piggyUpdateContactIdentifiers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PiggyUpdateContactIdentifiersInput: z.ZodObject<{
5
+ contact_identifier_name: z.ZodOptional<z.ZodString>;
6
+ contact_identifier_value: z.ZodString;
7
+ contact_identifier_active: z.ZodOptional<z.ZodBoolean>;
8
+ }, z.core.$strip>;
9
+ declare const PiggyUpdateContactIdentifiersOutput: z.ZodObject<{
10
+ data: z.ZodNullable<z.ZodObject<{
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ value: z.ZodNullable<z.ZodString>;
13
+ active: z.ZodNullable<z.ZodBoolean>;
14
+ contact: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
+ default: z.ZodNullable<z.ZodBoolean>;
16
+ }, z.core.$strip>>;
17
+ meta: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>;
18
+ }, z.core.$strip>;
19
+ declare const piggyUpdateContactIdentifiers: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ contact_identifier_value: string;
21
+ contact_identifier_name?: string | undefined;
22
+ contact_identifier_active?: boolean | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { piggyUpdateContactIdentifiers };
9
26
  //# sourceMappingURL=update-contact-identifiers.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-identifiers.d.cts","names":[],"sources":["../../src/actions/update-contact-identifiers.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIiB;AAAA,cAQvD,mCAAA,EAAqC,CAAA,CAAE,UAGW;AAAA,cAElD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-contact-identifiers.d.cts","names":[],"sources":["../../src/actions/update-contact-identifiers.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAYlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-contact-identifiers.d.ts
4
- declare const PiggyUpdateContactIdentifiersInput: z.ZodTypeAny;
5
- declare const PiggyUpdateContactIdentifiersOutput: z.ZodTypeAny;
6
- declare const piggyUpdateContactIdentifiers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PiggyUpdateContactIdentifiersInput: z.ZodObject<{
5
+ contact_identifier_name: z.ZodOptional<z.ZodString>;
6
+ contact_identifier_value: z.ZodString;
7
+ contact_identifier_active: z.ZodOptional<z.ZodBoolean>;
8
+ }, z.core.$strip>;
9
+ declare const PiggyUpdateContactIdentifiersOutput: z.ZodObject<{
10
+ data: z.ZodNullable<z.ZodObject<{
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ value: z.ZodNullable<z.ZodString>;
13
+ active: z.ZodNullable<z.ZodBoolean>;
14
+ contact: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
+ default: z.ZodNullable<z.ZodBoolean>;
16
+ }, z.core.$strip>>;
17
+ meta: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>;
18
+ }, z.core.$strip>;
19
+ declare const piggyUpdateContactIdentifiers: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ contact_identifier_value: string;
21
+ contact_identifier_name?: string | undefined;
22
+ contact_identifier_active?: boolean | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { piggyUpdateContactIdentifiers };
9
26
  //# sourceMappingURL=update-contact-identifiers.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-identifiers.d.mts","names":[],"sources":["../../src/actions/update-contact-identifiers.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIiB;AAAA,cAQvD,mCAAA,EAAqC,CAAA,CAAE,UAGW;AAAA,cAElD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-contact-identifiers.d.mts","names":[],"sources":["../../src/actions/update-contact-identifiers.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAYlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -8,10 +8,10 @@ const PiggyUpdateContactIdentifiersInput = z.object({
8
8
  }).describe("Request body to update a contact identifier in Piggy.");
9
9
  const PiggyUpdateContactIdentifiers_ContactIdentifierDataSchema = z.object({
10
10
  name: z.string().describe("Display name of the contact identifier").nullable().optional(),
11
- value: z.string().describe("The unique value of the contact identifier"),
12
- active: z.boolean().describe("Active state of the contact identifier"),
11
+ value: z.string().describe("The unique value of the contact identifier").nullable(),
12
+ active: z.boolean().describe("Active state of the contact identifier").nullable(),
13
13
  contact: z.record(z.string(), z.unknown()).describe("Associated contact information (if linked)").nullable().optional(),
14
- "default": z.boolean().describe("Whether this is the default contact identifier")
14
+ "default": z.boolean().describe("Whether this is the default contact identifier").nullable()
15
15
  }).describe("Data returned after updating a contact identifier.");
16
16
  const piggyUpdateContactIdentifiers = action("PIGGY_UPDATE_CONTACT_IDENTIFIERS", {
17
17
  slug: "piggy-update-contact-identifiers",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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\"),\n active: z.boolean().describe(\"Active state of the contact identifier\"),\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\"),\n}).describe(\"Data returned after updating a contact identifier.\");\nexport const PiggyUpdateContactIdentifiersOutput: z.ZodTypeAny = z.object({\n data: PiggyUpdateContactIdentifiers_ContactIdentifierDataSchema.nullable(),\n meta: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]),\n}).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,qCAAmD,EAAE,OAAO;CACvE,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,4DAA0E,EAAE,OAAO;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACrE,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;AAClF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAMhE,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+D,EAAE,OAAO;EACxE,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,SAAS,kDAOF;AACV,CAAC"}
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}).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}).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,SAAS,oDAAoD;AAMhE,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,SAAS,kDAOF;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const piggyCatalog = {
7
7
  "category": "Marketing Automation",
8
8
  "logo": "https://logos.composio.dev/api/piggy",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your Piggy API key. You can find it in your Piggy account settings under Integrations > API."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.piggyCatalog = piggyCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const piggyCatalog = {\n \"slug\": \"piggy\",\n \"name\": \"Piggy\",\n \"description\": \"Piggy offers cashback and loyalty program integrations for online stores, letting users earn points or discounts and encouraging repeat purchases\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/piggy\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const piggyCatalog = {\n \"slug\": \"piggy\",\n \"name\": \"Piggy\",\n \"description\": \"Piggy offers cashback and loyalty program integrations for online stores, letting users earn points or discounts and encouraging repeat purchases\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/piggy\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Piggy API key. You can find it in your Piggy account settings under Integrations > API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const piggyCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/piggy";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Piggy API key. You can find it in your Piggy account settings under Integrations > API.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { piggyCatalog };
@@ -8,6 +8,14 @@ declare const piggyCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/piggy";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Piggy API key. You can find it in your Piggy account settings under Integrations > API.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { piggyCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const piggyCatalog = {
7
7
  "category": "Marketing Automation",
8
8
  "logo": "https://logos.composio.dev/api/piggy",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your Piggy API key. You can find it in your Piggy account settings under Integrations > API."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { piggyCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const piggyCatalog = {\n \"slug\": \"piggy\",\n \"name\": \"Piggy\",\n \"description\": \"Piggy offers cashback and loyalty program integrations for online stores, letting users earn points or discounts and encouraging repeat purchases\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/piggy\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const piggyCatalog = {\n \"slug\": \"piggy\",\n \"name\": \"Piggy\",\n \"description\": \"Piggy offers cashback and loyalty program integrations for online stores, letting users earn points or discounts and encouraging repeat purchases\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/piggy\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Piggy API key. You can find it in your Piggy account settings under Integrations > API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/piggy",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {