@keystrokehq/simplero 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 (165) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-tag-to-contact.cjs +1 -0
  4. package/dist/actions/add-tag-to-contact.cjs.map +1 -1
  5. package/dist/actions/add-tag-to-contact.d.cts +3 -16
  6. package/dist/actions/add-tag-to-contact.d.cts.map +1 -1
  7. package/dist/actions/add-tag-to-contact.d.mts +3 -16
  8. package/dist/actions/add-tag-to-contact.d.mts.map +1 -1
  9. package/dist/actions/add-tag-to-contact.mjs +1 -0
  10. package/dist/actions/add-tag-to-contact.mjs.map +1 -1
  11. package/dist/actions/bulk-subscribe-to-list.cjs +1 -0
  12. package/dist/actions/bulk-subscribe-to-list.cjs.map +1 -1
  13. package/dist/actions/bulk-subscribe-to-list.d.cts +3 -31
  14. package/dist/actions/bulk-subscribe-to-list.d.cts.map +1 -1
  15. package/dist/actions/bulk-subscribe-to-list.d.mts +3 -31
  16. package/dist/actions/bulk-subscribe-to-list.d.mts.map +1 -1
  17. package/dist/actions/bulk-subscribe-to-list.mjs +1 -0
  18. package/dist/actions/bulk-subscribe-to-list.mjs.map +1 -1
  19. package/dist/actions/create-or-update-administrator.cjs +1 -0
  20. package/dist/actions/create-or-update-administrator.cjs.map +1 -1
  21. package/dist/actions/create-or-update-administrator.d.cts +3 -22
  22. package/dist/actions/create-or-update-administrator.d.cts.map +1 -1
  23. package/dist/actions/create-or-update-administrator.d.mts +3 -22
  24. package/dist/actions/create-or-update-administrator.d.mts.map +1 -1
  25. package/dist/actions/create-or-update-administrator.mjs +1 -0
  26. package/dist/actions/create-or-update-administrator.mjs.map +1 -1
  27. package/dist/actions/create-or-update-contact.cjs +1 -0
  28. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  29. package/dist/actions/create-or-update-contact.d.cts +3 -30
  30. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  31. package/dist/actions/create-or-update-contact.d.mts +3 -30
  32. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  33. package/dist/actions/create-or-update-contact.mjs +1 -0
  34. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  35. package/dist/actions/find-contact-by-email.cjs +1 -0
  36. package/dist/actions/find-contact-by-email.cjs.map +1 -1
  37. package/dist/actions/find-contact-by-email.d.cts +3 -15
  38. package/dist/actions/find-contact-by-email.d.cts.map +1 -1
  39. package/dist/actions/find-contact-by-email.d.mts +3 -15
  40. package/dist/actions/find-contact-by-email.d.mts.map +1 -1
  41. package/dist/actions/find-contact-by-email.mjs +1 -0
  42. package/dist/actions/find-contact-by-email.mjs.map +1 -1
  43. package/dist/actions/find-subscription-by-email.cjs +1 -0
  44. package/dist/actions/find-subscription-by-email.cjs.map +1 -1
  45. package/dist/actions/find-subscription-by-email.d.cts +3 -16
  46. package/dist/actions/find-subscription-by-email.d.cts.map +1 -1
  47. package/dist/actions/find-subscription-by-email.d.mts +3 -16
  48. package/dist/actions/find-subscription-by-email.d.mts.map +1 -1
  49. package/dist/actions/find-subscription-by-email.mjs +1 -0
  50. package/dist/actions/find-subscription-by-email.mjs.map +1 -1
  51. package/dist/actions/get-admin-roles.cjs +1 -0
  52. package/dist/actions/get-admin-roles.cjs.map +1 -1
  53. package/dist/actions/get-admin-roles.d.cts +3 -13
  54. package/dist/actions/get-admin-roles.d.cts.map +1 -1
  55. package/dist/actions/get-admin-roles.d.mts +3 -13
  56. package/dist/actions/get-admin-roles.d.mts.map +1 -1
  57. package/dist/actions/get-admin-roles.mjs +1 -0
  58. package/dist/actions/get-admin-roles.mjs.map +1 -1
  59. package/dist/actions/get-administrator-by-id.cjs +1 -0
  60. package/dist/actions/get-administrator-by-id.cjs.map +1 -1
  61. package/dist/actions/get-administrator-by-id.d.cts +3 -15
  62. package/dist/actions/get-administrator-by-id.d.cts.map +1 -1
  63. package/dist/actions/get-administrator-by-id.d.mts +3 -15
  64. package/dist/actions/get-administrator-by-id.d.mts.map +1 -1
  65. package/dist/actions/get-administrator-by-id.mjs +1 -0
  66. package/dist/actions/get-administrator-by-id.mjs.map +1 -1
  67. package/dist/actions/get-administrators.cjs +1 -0
  68. package/dist/actions/get-administrators.cjs.map +1 -1
  69. package/dist/actions/get-administrators.d.cts +3 -13
  70. package/dist/actions/get-administrators.d.cts.map +1 -1
  71. package/dist/actions/get-administrators.d.mts +3 -13
  72. package/dist/actions/get-administrators.d.mts.map +1 -1
  73. package/dist/actions/get-administrators.mjs +1 -0
  74. package/dist/actions/get-administrators.mjs.map +1 -1
  75. package/dist/actions/get-async-request-status.cjs +1 -0
  76. package/dist/actions/get-async-request-status.cjs.map +1 -1
  77. package/dist/actions/get-async-request-status.d.cts +3 -15
  78. package/dist/actions/get-async-request-status.d.cts.map +1 -1
  79. package/dist/actions/get-async-request-status.d.mts +3 -15
  80. package/dist/actions/get-async-request-status.d.mts.map +1 -1
  81. package/dist/actions/get-async-request-status.mjs +1 -0
  82. package/dist/actions/get-async-request-status.mjs.map +1 -1
  83. package/dist/actions/get-contact-by-id.cjs +1 -0
  84. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  85. package/dist/actions/get-contact-by-id.d.cts +3 -15
  86. package/dist/actions/get-contact-by-id.d.cts.map +1 -1
  87. package/dist/actions/get-contact-by-id.d.mts +3 -15
  88. package/dist/actions/get-contact-by-id.d.mts.map +1 -1
  89. package/dist/actions/get-contact-by-id.mjs +1 -0
  90. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  91. package/dist/actions/get-invoices.cjs +1 -0
  92. package/dist/actions/get-invoices.cjs.map +1 -1
  93. package/dist/actions/get-invoices.d.cts +3 -20
  94. package/dist/actions/get-invoices.d.cts.map +1 -1
  95. package/dist/actions/get-invoices.d.mts +3 -20
  96. package/dist/actions/get-invoices.d.mts.map +1 -1
  97. package/dist/actions/get-invoices.mjs +1 -0
  98. package/dist/actions/get-invoices.mjs.map +1 -1
  99. package/dist/actions/get-lists.cjs +1 -0
  100. package/dist/actions/get-lists.cjs.map +1 -1
  101. package/dist/actions/get-lists.d.cts +3 -13
  102. package/dist/actions/get-lists.d.cts.map +1 -1
  103. package/dist/actions/get-lists.d.mts +3 -13
  104. package/dist/actions/get-lists.d.mts.map +1 -1
  105. package/dist/actions/get-lists.mjs +1 -0
  106. package/dist/actions/get-lists.mjs.map +1 -1
  107. package/dist/actions/get-products.cjs +1 -0
  108. package/dist/actions/get-products.cjs.map +1 -1
  109. package/dist/actions/get-products.d.cts +3 -13
  110. package/dist/actions/get-products.d.cts.map +1 -1
  111. package/dist/actions/get-products.d.mts +3 -13
  112. package/dist/actions/get-products.d.mts.map +1 -1
  113. package/dist/actions/get-products.mjs +1 -0
  114. package/dist/actions/get-products.mjs.map +1 -1
  115. package/dist/actions/remove-administrator.cjs +1 -0
  116. package/dist/actions/remove-administrator.cjs.map +1 -1
  117. package/dist/actions/remove-administrator.d.cts +3 -15
  118. package/dist/actions/remove-administrator.d.cts.map +1 -1
  119. package/dist/actions/remove-administrator.d.mts +3 -15
  120. package/dist/actions/remove-administrator.d.mts.map +1 -1
  121. package/dist/actions/remove-administrator.mjs +1 -0
  122. package/dist/actions/remove-administrator.mjs.map +1 -1
  123. package/dist/actions/remove-tag-from-contact.cjs +1 -0
  124. package/dist/actions/remove-tag-from-contact.cjs.map +1 -1
  125. package/dist/actions/remove-tag-from-contact.d.cts +3 -16
  126. package/dist/actions/remove-tag-from-contact.d.cts.map +1 -1
  127. package/dist/actions/remove-tag-from-contact.d.mts +3 -16
  128. package/dist/actions/remove-tag-from-contact.d.mts.map +1 -1
  129. package/dist/actions/remove-tag-from-contact.mjs +1 -0
  130. package/dist/actions/remove-tag-from-contact.mjs.map +1 -1
  131. package/dist/actions/subscribe-to-list.cjs +1 -0
  132. package/dist/actions/subscribe-to-list.cjs.map +1 -1
  133. package/dist/actions/subscribe-to-list.d.cts +3 -28
  134. package/dist/actions/subscribe-to-list.d.cts.map +1 -1
  135. package/dist/actions/subscribe-to-list.d.mts +3 -28
  136. package/dist/actions/subscribe-to-list.d.mts.map +1 -1
  137. package/dist/actions/subscribe-to-list.mjs +1 -0
  138. package/dist/actions/subscribe-to-list.mjs.map +1 -1
  139. package/dist/actions/unsubscribe-from-list.cjs +1 -0
  140. package/dist/actions/unsubscribe-from-list.cjs.map +1 -1
  141. package/dist/actions/unsubscribe-from-list.d.cts +3 -16
  142. package/dist/actions/unsubscribe-from-list.d.cts.map +1 -1
  143. package/dist/actions/unsubscribe-from-list.d.mts +3 -16
  144. package/dist/actions/unsubscribe-from-list.d.mts.map +1 -1
  145. package/dist/actions/unsubscribe-from-list.mjs +1 -0
  146. package/dist/actions/unsubscribe-from-list.mjs.map +1 -1
  147. package/dist/actions/update-contact-credentials.cjs +1 -0
  148. package/dist/actions/update-contact-credentials.cjs.map +1 -1
  149. package/dist/actions/update-contact-credentials.d.cts +3 -20
  150. package/dist/actions/update-contact-credentials.d.cts.map +1 -1
  151. package/dist/actions/update-contact-credentials.d.mts +3 -20
  152. package/dist/actions/update-contact-credentials.d.mts.map +1 -1
  153. package/dist/actions/update-contact-credentials.mjs +1 -0
  154. package/dist/actions/update-contact-credentials.mjs.map +1 -1
  155. package/dist/app.cjs +2 -2
  156. package/dist/app.cjs.map +1 -1
  157. package/dist/app.d.cts +4 -6
  158. package/dist/app.d.cts.map +1 -1
  159. package/dist/app.d.mts +4 -6
  160. package/dist/app.d.mts.map +1 -1
  161. package/dist/app.mjs +0 -1
  162. package/dist/app.mjs.map +1 -1
  163. package/dist/index.d.cts +1 -1
  164. package/dist/index.d.mts +1 -1
  165. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/subscribe-to-list.d.ts
@@ -34,34 +36,7 @@ declare const SimpleroSubscribeToListOutput: z.ZodObject<{
34
36
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
37
  customer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
38
  }, z.core.$loose>;
37
- declare const simpleroSubscribeToList: import("@keystrokehq/action").WorkflowActionDefinition<{
38
- email: string;
39
- list_id: number;
40
- ref?: number | undefined;
41
- tags?: string | undefined;
42
- phone?: string | undefined;
43
- track?: string | undefined;
44
- referrer?: string | undefined;
45
- last_name?: string | undefined;
46
- first_name?: string | undefined;
47
- ip_address?: string | undefined;
48
- gdpr_consent?: boolean | undefined;
49
- landing_page_id?: number | undefined;
50
- first_activated_at?: string | undefined;
51
- auto_responder_start_at?: string | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
53
- connectionId: z.ZodString;
54
- entityId: z.ZodString;
55
- instanceId: z.ZodString;
56
- }, z.core.$strip>, z.ZodObject<{
57
- generic_api_key: z.ZodString;
58
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
59
- connectionId: z.ZodString;
60
- entityId: z.ZodString;
61
- instanceId: z.ZodString;
62
- }, z.core.$strip>, z.ZodObject<{
63
- generic_api_key: z.ZodString;
64
- }, z.core.$strip>>]>;
39
+ declare const simpleroSubscribeToList: AppAction<typeof SimpleroSubscribeToListInput, typeof SimpleroSubscribeToListOutput, typeof simplero.credential>;
65
40
  //#endregion
66
41
  export { simpleroSubscribeToList };
67
42
  //# sourceMappingURL=subscribe-to-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscribe-to-list.d.mts","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAwB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAW7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"subscribe-to-list.d.mts","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAwB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAW7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -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/subscribe-to-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"subscribe-to-list.mjs","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroSubscribeToListInput = z.object({\n ref: z.number().int().describe(\"Affiliate reference for conversion attribution.\").optional(),\n tags: z.string().describe(\"Comma-separated tag list (tags are trimmed of leading/trailing whitespace automatically).\").optional(),\n email: z.string().describe(\"Contact's email address (required).\"),\n phone: z.string().describe(\"Sanitized phone number with country code first (e.g., '15551231234').\").optional(),\n track: z.string().describe(\"Tracking keyword to identify subscription source.\").optional(),\n list_id: z.number().int().describe(\"The ID of the mailing list to subscribe to.\"),\n referrer: z.string().describe(\"Last external URL visited before subscription.\").optional(),\n last_name: z.string().describe(\"Contact's surname.\").optional(),\n first_name: z.string().describe(\"Contact's given name.\").optional(),\n ip_address: z.string().describe(\"Actual IP address that the customer used to subscribe.\").optional(),\n gdpr_consent: z.boolean().describe(\"GDPR consent indicator.\").optional(),\n landing_page_id: z.number().int().describe(\"Landing page ID for conversion tracking.\").optional(),\n first_activated_at: z.string().describe(\"Initial activation timestamp in ISO 8601 format.\").optional(),\n auto_responder_start_at: z.string().describe(\"Automation sequence start date in ISO 8601 format.\").optional(),\n}).describe(\"Request parameters for subscribing a contact to a mailing list.\");\nconst SimpleroSubscribeToList_CustomerObjectSchema = z.object({\n id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tag list.\").nullable().optional(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the subscriber.\");\nexport const SimpleroSubscribeToListOutput = z.object({\n id: z.number().int().describe(\"Subscription record ID.\").nullable().optional(),\n active: z.boolean().describe(\"Subscription status.\").nullable().optional(),\n list_id: z.number().int().describe(\"Associated list identifier.\").nullable().optional(),\n customer: SimpleroSubscribeToList_CustomerObjectSchema.nullable().optional(),\n confirmed: z.boolean().describe(\"Email confirmation status.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n customer_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for list subscription.\");\n\nexport const simpleroSubscribeToList = action(\"SIMPLERO_SUBSCRIBE_TO_LIST\", {\n slug: \"simplero-subscribe-to-list\",\n name: \"Subscribe to List\",\n description: \"Tool to add a new subscriber to a specific mailing list. Use when you need to subscribe a contact with their email address to a list.\",\n input: SimpleroSubscribeToListInput,\n output: SimpleroSubscribeToListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAChI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAA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BAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAYnE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,UAAU,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"subscribe-to-list.mjs","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroSubscribeToListInput = z.object({\n ref: z.number().int().describe(\"Affiliate reference for conversion attribution.\").optional(),\n tags: z.string().describe(\"Comma-separated tag list (tags are trimmed of leading/trailing whitespace automatically).\").optional(),\n email: z.string().describe(\"Contact's email address (required).\"),\n phone: z.string().describe(\"Sanitized phone number with country code first (e.g., '15551231234').\").optional(),\n track: z.string().describe(\"Tracking keyword to identify subscription source.\").optional(),\n list_id: z.number().int().describe(\"The ID of the mailing list to subscribe to.\"),\n referrer: z.string().describe(\"Last external URL visited before subscription.\").optional(),\n last_name: z.string().describe(\"Contact's surname.\").optional(),\n first_name: z.string().describe(\"Contact's given name.\").optional(),\n ip_address: z.string().describe(\"Actual IP address that the customer used to subscribe.\").optional(),\n gdpr_consent: z.boolean().describe(\"GDPR consent indicator.\").optional(),\n landing_page_id: z.number().int().describe(\"Landing page ID for conversion tracking.\").optional(),\n first_activated_at: z.string().describe(\"Initial activation timestamp in ISO 8601 format.\").optional(),\n auto_responder_start_at: z.string().describe(\"Automation sequence start date in ISO 8601 format.\").optional(),\n}).describe(\"Request parameters for subscribing a contact to a mailing list.\");\nconst SimpleroSubscribeToList_CustomerObjectSchema = z.object({\n id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tag list.\").nullable().optional(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the subscriber.\");\nexport const SimpleroSubscribeToListOutput = z.object({\n id: z.number().int().describe(\"Subscription record ID.\").nullable().optional(),\n active: z.boolean().describe(\"Subscription status.\").nullable().optional(),\n list_id: z.number().int().describe(\"Associated list identifier.\").nullable().optional(),\n customer: SimpleroSubscribeToList_CustomerObjectSchema.nullable().optional(),\n confirmed: z.boolean().describe(\"Email confirmation status.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n customer_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for list subscription.\");\n\nexport const simpleroSubscribeToList: AppAction<\n typeof SimpleroSubscribeToListInput,\n typeof SimpleroSubscribeToListOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_SUBSCRIBE_TO_LIST\", {\n slug: \"simplero-subscribe-to-list\",\n name: \"Subscribe to List\",\n description: \"Tool to add a new subscriber to a specific mailing list. Use when you need to subscribe a contact with their email address to a list.\",\n input: SimpleroSubscribeToListInput,\n output: SimpleroSubscribeToListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAChI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACvE,iBAAiB,EAAE,OAAO,CAAC,CAAC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B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,UAAU,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/unsubscribe-from-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-list.cjs","names":["z","action"],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).passthrough().describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;AAC/G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"unsubscribe-from-list.cjs","names":["z","action"],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).passthrough().describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList: AppAction<\n typeof SimpleroUnsubscribeFromListInput,\n typeof SimpleroUnsubscribeFromListOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;AAC/G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/unsubscribe-from-list.d.ts
@@ -8,22 +10,7 @@ declare const SimpleroUnsubscribeFromListInput: z.ZodObject<{
8
10
  declare const SimpleroUnsubscribeFromListOutput: z.ZodObject<{
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const simpleroUnsubscribeFromList: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- email: string;
13
- list_id: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
13
+ declare const simpleroUnsubscribeFromList: AppAction<typeof SimpleroUnsubscribeFromListInput, typeof SimpleroUnsubscribeFromListOutput, typeof simplero.credential>;
27
14
  //#endregion
28
15
  export { simpleroUnsubscribeFromList };
29
16
  //# sourceMappingURL=unsubscribe-from-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-list.d.cts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"unsubscribe-from-list.d.cts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/unsubscribe-from-list.d.ts
@@ -8,22 +10,7 @@ declare const SimpleroUnsubscribeFromListInput: z.ZodObject<{
8
10
  declare const SimpleroUnsubscribeFromListOutput: z.ZodObject<{
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const simpleroUnsubscribeFromList: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- email: string;
13
- list_id: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
13
+ declare const simpleroUnsubscribeFromList: AppAction<typeof SimpleroUnsubscribeFromListInput, typeof SimpleroUnsubscribeFromListOutput, typeof simplero.credential>;
27
14
  //#endregion
28
15
  export { simpleroUnsubscribeFromList };
29
16
  //# sourceMappingURL=unsubscribe-from-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-list.d.mts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"unsubscribe-from-list.d.mts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simpleroUnsubscribeFromList = action("SIMPLERO_UNSUBSCRIBE_FROM_LIST", {
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-list.mjs","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).passthrough().describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CAC/G,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"unsubscribe-from-list.mjs","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).passthrough().describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList: AppAction<\n typeof SimpleroUnsubscribeFromListInput,\n typeof SimpleroUnsubscribeFromListOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":";;;AAcA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CAC/G,CAAC,CAAC,CAAC,SAAS,yDAaH;CACP,QAb+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-contact-credentials.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-credentials.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).passthrough().describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredentialsInput,\n output: SimpleroUpdateContactCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,I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,SAAS,CAAC,CAAC,SAAS;CAC/H,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact-credentials.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).passthrough().describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials: AppAction<\n typeof SimpleroUpdateContactCredentialsInput,\n typeof SimpleroUpdateContactCredentialsOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredentialsInput,\n output: SimpleroUpdateContactCredentialsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,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@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-contact-credentials.d.ts
@@ -30,26 +32,7 @@ declare const SimpleroUpdateContactCredentialsOutput: z.ZodObject<{
30
32
  lead_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
33
  customer_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
34
  }, z.core.$loose>;
33
- declare const simpleroUpdateContactCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
34
- id?: number | undefined;
35
- email?: string | undefined;
36
- token?: string | undefined;
37
- last_name?: string | undefined;
38
- first_name?: string | undefined;
39
- update_login_email?: boolean | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- generic_api_key: z.ZodString;
46
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
47
- connectionId: z.ZodString;
48
- entityId: z.ZodString;
49
- instanceId: z.ZodString;
50
- }, z.core.$strip>, z.ZodObject<{
51
- generic_api_key: z.ZodString;
52
- }, z.core.$strip>>]>;
35
+ declare const simpleroUpdateContactCredentials: AppAction<typeof SimpleroUpdateContactCredentialsInput, typeof SimpleroUpdateContactCredentialsOutput, typeof simplero.credential>;
53
36
  //#endregion
54
37
  export { simpleroUpdateContactCredentials };
55
38
  //# sourceMappingURL=update-contact-credentials.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-credentials.d.cts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsBtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"update-contact-credentials.d.cts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsBtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-contact-credentials.d.ts
@@ -30,26 +32,7 @@ declare const SimpleroUpdateContactCredentialsOutput: z.ZodObject<{
30
32
  lead_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
33
  customer_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
34
  }, z.core.$loose>;
33
- declare const simpleroUpdateContactCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
34
- id?: number | undefined;
35
- email?: string | undefined;
36
- token?: string | undefined;
37
- last_name?: string | undefined;
38
- first_name?: string | undefined;
39
- update_login_email?: boolean | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- generic_api_key: z.ZodString;
46
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
47
- connectionId: z.ZodString;
48
- entityId: z.ZodString;
49
- instanceId: z.ZodString;
50
- }, z.core.$strip>, z.ZodObject<{
51
- generic_api_key: z.ZodString;
52
- }, z.core.$strip>>]>;
35
+ declare const simpleroUpdateContactCredentials: AppAction<typeof SimpleroUpdateContactCredentialsInput, typeof SimpleroUpdateContactCredentialsOutput, typeof simplero.credential>;
53
36
  //#endregion
54
37
  export { simpleroUpdateContactCredentials };
55
38
  //# sourceMappingURL=update-contact-credentials.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-credentials.d.mts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsBtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"update-contact-credentials.d.mts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsBtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simpleroUpdateContactCredentials = action("SIMPLERO_UPDATE_CONTACT_CREDENTIALS", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-credentials.mjs","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).passthrough().describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredential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}
1
+ {"version":3,"file":"update-contact-credentials.mjs","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).passthrough().describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials: AppAction<\n typeof SimpleroUpdateContactCredentialsInput,\n typeof SimpleroUpdateContactCredentialsOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredentialsInput,\n output: SimpleroUpdateContactCredentialsOutput,\n});\n"],"mappings":";;;AAoCA,MAAa,mCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtCmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACzI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5E,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,SAAS,2DA+BH;CACP,QA/BoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAA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AA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,sCAAsC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;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 simplero = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "simplero",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.simplero = simplero;
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 simplero = defineApp({\n slug: \"simplero\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,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 simplero: KeystrokeApp<\"simplero\", typeof credential> = defineApp({\n slug: \"simplero\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,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 simplero: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"simplero", 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 simplero: KeystrokeApp<"simplero", typeof credential>;
11
9
  //#endregion
12
10
  export { simplero };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,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,QAAA,EAAU,YAAY,oBAAoB,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 simplero: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"simplero", 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 simplero: KeystrokeApp<"simplero", typeof credential>;
11
9
  //#endregion
12
10
  export { simplero };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,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,QAAA,EAAU,YAAY,oBAAoB,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 simplero = defineApp({
5
4
  slug: "simplero",
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 simplero = defineApp({\n slug: \"simplero\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,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 simplero: KeystrokeApp<\"simplero\", typeof credential> = defineApp({\n slug: \"simplero\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { simplero } from "./app.cjs";
1
2
  import { simpleroAddTagToContact } from "./actions/add-tag-to-contact.cjs";
2
3
  import { simpleroBulkSubscribeToList } from "./actions/bulk-subscribe-to-list.cjs";
3
4
  import { simpleroCreateOrUpdateAdministrator } from "./actions/create-or-update-administrator.cjs";
@@ -17,6 +18,5 @@ import { simpleroRemoveTagFromContact } from "./actions/remove-tag-from-contact.
17
18
  import { simpleroSubscribeToList } from "./actions/subscribe-to-list.cjs";
18
19
  import { simpleroUnsubscribeFromList } from "./actions/unsubscribe-from-list.cjs";
19
20
  import { simpleroUpdateContactCredentials } from "./actions/update-contact-credentials.cjs";
20
- import { simplero } from "./app.cjs";
21
21
  import { simpleroCatalog } from "./catalog.cjs";
22
22
  export { simplero, simpleroAddTagToContact, simpleroBulkSubscribeToList, simpleroCatalog, simpleroCreateOrUpdateAdministrator, simpleroCreateOrUpdateContact, simpleroFindContactByEmail, simpleroFindSubscriptionByEmail, simpleroGetAdminRoles, simpleroGetAdministratorById, simpleroGetAdministrators, simpleroGetAsyncRequestStatus, simpleroGetContactById, simpleroGetInvoices, simpleroGetLists, simpleroGetProducts, simpleroRemoveAdministrator, simpleroRemoveTagFromContact, simpleroSubscribeToList, simpleroUnsubscribeFromList, simpleroUpdateContactCredentials };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { simplero } from "./app.mjs";
1
2
  import { simpleroAddTagToContact } from "./actions/add-tag-to-contact.mjs";
2
3
  import { simpleroBulkSubscribeToList } from "./actions/bulk-subscribe-to-list.mjs";
3
4
  import { simpleroCreateOrUpdateAdministrator } from "./actions/create-or-update-administrator.mjs";
@@ -17,6 +18,5 @@ import { simpleroRemoveTagFromContact } from "./actions/remove-tag-from-contact.
17
18
  import { simpleroSubscribeToList } from "./actions/subscribe-to-list.mjs";
18
19
  import { simpleroUnsubscribeFromList } from "./actions/unsubscribe-from-list.mjs";
19
20
  import { simpleroUpdateContactCredentials } from "./actions/update-contact-credentials.mjs";
20
- import { simplero } from "./app.mjs";
21
21
  import { simpleroCatalog } from "./catalog.mjs";
22
22
  export { simplero, simpleroAddTagToContact, simpleroBulkSubscribeToList, simpleroCatalog, simpleroCreateOrUpdateAdministrator, simpleroCreateOrUpdateContact, simpleroFindContactByEmail, simpleroFindSubscriptionByEmail, simpleroGetAdminRoles, simpleroGetAdministratorById, simpleroGetAdministrators, simpleroGetAsyncRequestStatus, simpleroGetContactById, simpleroGetInvoices, simpleroGetLists, simpleroGetProducts, simpleroRemoveAdministrator, simpleroRemoveTagFromContact, simpleroSubscribeToList, simpleroUnsubscribeFromList, simpleroUpdateContactCredentials };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/simplero",
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": {