@keystrokehq/sender 0.1.3 → 0.1.5

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 (37) hide show
  1. package/dist/actions/create-field.d.cts +13 -1
  2. package/dist/actions/create-field.d.mts +13 -1
  3. package/dist/actions/create-or-update-subscriber.d.cts +13 -1
  4. package/dist/actions/create-or-update-subscriber.d.cts.map +1 -1
  5. package/dist/actions/create-or-update-subscriber.d.mts +13 -1
  6. package/dist/actions/create-or-update-subscriber.d.mts.map +1 -1
  7. package/dist/actions/get-all-fields.d.cts +13 -1
  8. package/dist/actions/get-all-fields.d.cts.map +1 -1
  9. package/dist/actions/get-all-fields.d.mts +13 -1
  10. package/dist/actions/get-all-fields.d.mts.map +1 -1
  11. package/dist/actions/get-all-workflows.d.cts +13 -1
  12. package/dist/actions/get-all-workflows.d.cts.map +1 -1
  13. package/dist/actions/get-all-workflows.d.mts +13 -1
  14. package/dist/actions/get-all-workflows.d.mts.map +1 -1
  15. package/dist/actions/get-campaign-by-id.d.cts +13 -1
  16. package/dist/actions/get-campaign-by-id.d.mts +13 -1
  17. package/dist/actions/get-group-by-id.d.cts +13 -1
  18. package/dist/actions/get-group-by-id.d.mts +13 -1
  19. package/dist/actions/get-subscriber-by-id.d.cts +13 -1
  20. package/dist/actions/get-subscriber-by-id.d.mts +13 -1
  21. package/dist/actions/update-subscriber-fields.d.cts +13 -1
  22. package/dist/actions/update-subscriber-fields.d.mts +13 -1
  23. package/dist/app.cjs +5 -2
  24. package/dist/app.cjs.map +1 -1
  25. package/dist/app.d.cts +9 -1
  26. package/dist/app.d.cts.map +1 -1
  27. package/dist/app.d.mts +9 -1
  28. package/dist/app.d.mts.map +1 -1
  29. package/dist/app.mjs +3 -1
  30. package/dist/app.mjs.map +1 -1
  31. package/dist/catalog.cjs +1 -1
  32. package/dist/catalog.cjs.map +1 -1
  33. package/dist/catalog.d.cts +1 -1
  34. package/dist/catalog.d.mts +1 -1
  35. package/dist/catalog.mjs +1 -1
  36. package/dist/catalog.mjs.map +1 -1
  37. package/package.json +1 -1
@@ -22,7 +22,19 @@ declare const SenderCreateFieldOutput: z.ZodObject<{
22
22
  declare const senderCreateField: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  type: string;
24
24
  title: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { senderCreateField };
28
40
  //# sourceMappingURL=create-field.d.cts.map
@@ -22,7 +22,19 @@ declare const SenderCreateFieldOutput: z.ZodObject<{
22
22
  declare const senderCreateField: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  type: string;
24
24
  title: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { senderCreateField };
28
40
  //# sourceMappingURL=create-field.d.mts.map
@@ -33,7 +33,19 @@ declare const senderCreateOrUpdateSubscriber: import("@keystrokehq/action").Work
33
33
  lastname?: string | undefined;
34
34
  firstname?: string | undefined;
35
35
  trigger_automation?: boolean | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ generic_api_key: z.ZodString;
42
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
43
+ connectionId: z.ZodString;
44
+ entityId: z.ZodString;
45
+ instanceId: z.ZodString;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ generic_api_key: z.ZodString;
48
+ }, z.core.$strip>>]>;
37
49
  //#endregion
38
50
  export { senderCreateOrUpdateSubscriber };
39
51
  //# sourceMappingURL=create-or-update-subscriber.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-or-update-subscriber.d.cts","names":[],"sources":["../../src/actions/create-or-update-subscriber.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAoBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMpC,8BAAA,gCAA8B,wBAAA;;;WAMzC,MAAA"}
1
+ {"version":3,"file":"create-or-update-subscriber.d.cts","names":[],"sources":["../../src/actions/create-or-update-subscriber.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAoBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMpC,8BAAA,gCAA8B,wBAAA"}
@@ -33,7 +33,19 @@ declare const senderCreateOrUpdateSubscriber: import("@keystrokehq/action").Work
33
33
  lastname?: string | undefined;
34
34
  firstname?: string | undefined;
35
35
  trigger_automation?: boolean | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ generic_api_key: z.ZodString;
42
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
43
+ connectionId: z.ZodString;
44
+ entityId: z.ZodString;
45
+ instanceId: z.ZodString;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ generic_api_key: z.ZodString;
48
+ }, z.core.$strip>>]>;
37
49
  //#endregion
38
50
  export { senderCreateOrUpdateSubscriber };
39
51
  //# sourceMappingURL=create-or-update-subscriber.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-or-update-subscriber.d.mts","names":[],"sources":["../../src/actions/create-or-update-subscriber.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAoBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMpC,8BAAA,gCAA8B,wBAAA;;;WAMzC,MAAA"}
1
+ {"version":3,"file":"create-or-update-subscriber.d.mts","names":[],"sources":["../../src/actions/create-or-update-subscriber.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAoBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMpC,8BAAA,gCAA8B,wBAAA"}
@@ -11,7 +11,19 @@ declare const SenderGetAllFieldsOutput: z.ZodObject<{
11
11
  default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
12
12
  }, z.core.$loose>>>>;
13
13
  }, z.core.$loose>;
14
- declare const senderGetAllFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const senderGetAllFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", 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<"sender", 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>>]>;
15
27
  //#endregion
16
28
  export { senderGetAllFields };
17
29
  //# sourceMappingURL=get-all-fields.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-fields.d.cts","names":[],"sources":["../../src/actions/get-all-fields.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-fields.d.cts","names":[],"sources":["../../src/actions/get-all-fields.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
@@ -11,7 +11,19 @@ declare const SenderGetAllFieldsOutput: z.ZodObject<{
11
11
  default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
12
12
  }, z.core.$loose>>>>;
13
13
  }, z.core.$loose>;
14
- declare const senderGetAllFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const senderGetAllFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", 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<"sender", 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>>]>;
15
27
  //#endregion
16
28
  export { senderGetAllFields };
17
29
  //# sourceMappingURL=get-all-fields.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-fields.d.mts","names":[],"sources":["../../src/actions/get-all-fields.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-fields.d.mts","names":[],"sources":["../../src/actions/get-all-fields.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
@@ -11,7 +11,19 @@ declare const SenderGetAllWorkflowsOutput: z.ZodObject<{
11
11
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  }, z.core.$loose>>>>;
13
13
  }, z.core.$loose>;
14
- declare const senderGetAllWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const senderGetAllWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", 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<"sender", 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>>]>;
15
27
  //#endregion
16
28
  export { senderGetAllWorkflows };
17
29
  //# sourceMappingURL=get-all-workflows.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-workflows.d.cts","names":[],"sources":["../../src/actions/get-all-workflows.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-workflows.d.cts","names":[],"sources":["../../src/actions/get-all-workflows.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
@@ -11,7 +11,19 @@ declare const SenderGetAllWorkflowsOutput: z.ZodObject<{
11
11
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  }, z.core.$loose>>>>;
13
13
  }, z.core.$loose>;
14
- declare const senderGetAllWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const senderGetAllWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", 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<"sender", 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>>]>;
15
27
  //#endregion
16
28
  export { senderGetAllWorkflows };
17
29
  //# sourceMappingURL=get-all-workflows.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-workflows.d.mts","names":[],"sources":["../../src/actions/get-all-workflows.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-workflows.d.mts","names":[],"sources":["../../src/actions/get-all-workflows.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
@@ -24,7 +24,19 @@ declare const SenderGetCampaignByIdOutput: z.ZodObject<{
24
24
  }, z.core.$loose>;
25
25
  declare const senderGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  campaign_id: string;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>;
28
40
  //#endregion
29
41
  export { senderGetCampaignById };
30
42
  //# sourceMappingURL=get-campaign-by-id.d.cts.map
@@ -24,7 +24,19 @@ declare const SenderGetCampaignByIdOutput: z.ZodObject<{
24
24
  }, z.core.$loose>;
25
25
  declare const senderGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  campaign_id: string;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>;
28
40
  //#endregion
29
41
  export { senderGetCampaignById };
30
42
  //# sourceMappingURL=get-campaign-by-id.d.mts.map
@@ -17,7 +17,19 @@ declare const SenderGetGroupByIdOutput: z.ZodObject<{
17
17
  }, z.core.$loose>;
18
18
  declare const senderGetGroupById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  group_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { senderGetGroupById };
23
35
  //# sourceMappingURL=get-group-by-id.d.cts.map
@@ -17,7 +17,19 @@ declare const SenderGetGroupByIdOutput: z.ZodObject<{
17
17
  }, z.core.$loose>;
18
18
  declare const senderGetGroupById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  group_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { senderGetGroupById };
23
35
  //# sourceMappingURL=get-group-by-id.d.mts.map
@@ -17,7 +17,19 @@ declare const SenderGetSubscriberByIdOutput: z.ZodObject<{
17
17
  }, z.core.$loose>;
18
18
  declare const senderGetSubscriberById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  subscriber_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { senderGetSubscriberById };
23
35
  //# sourceMappingURL=get-subscriber-by-id.d.cts.map
@@ -17,7 +17,19 @@ declare const SenderGetSubscriberByIdOutput: z.ZodObject<{
17
17
  }, z.core.$loose>;
18
18
  declare const senderGetSubscriberById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  subscriber_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { senderGetSubscriberById };
23
35
  //# sourceMappingURL=get-subscriber-by-id.d.mts.map
@@ -30,7 +30,19 @@ declare const senderUpdateSubscriberFields: import("@keystrokehq/action").Workfl
30
30
  groups?: string[] | undefined;
31
31
  lastname?: string | undefined;
32
32
  firstname?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ generic_api_key: z.ZodString;
45
+ }, z.core.$strip>>]>;
34
46
  //#endregion
35
47
  export { senderUpdateSubscriberFields };
36
48
  //# sourceMappingURL=update-subscriber-fields.d.cts.map
@@ -30,7 +30,19 @@ declare const senderUpdateSubscriberFields: import("@keystrokehq/action").Workfl
30
30
  groups?: string[] | undefined;
31
31
  lastname?: string | undefined;
32
32
  firstname?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ generic_api_key: z.ZodString;
45
+ }, z.core.$strip>>]>;
34
46
  //#endregion
35
47
  export { senderUpdateSubscriberFields };
36
48
  //# sourceMappingURL=update-subscriber-fields.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const sender = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const sender = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "sender",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.sender = sender;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sender = defineApp({\n slug: \"sender\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,uCAAA,CAAA,CAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
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 sender = defineApp({\n slug: \"sender\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const sender: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const sender: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { sender };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const sender: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const sender: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sender", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { sender };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const sender = defineApp({
4
5
  slug: "sender",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { sender };
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\";\n\nexport const sender = defineApp({\n slug: \"sender\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
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 sender = defineApp({\n slug: \"sender\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const senderCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/sender",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_token": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Token",
13
13
  "secret": true,
14
14
  "description": "Navigate to Settings > API access tokens in your Sender account to create a token"
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const senderCatalog = {\n \"slug\": \"sender\",\n \"name\": \"Sender\",\n \"description\": \"Email marketing platform for creating campaigns, automating workflows, and tracking results\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_token\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Navigate to Settings > API access tokens in your Sender account to create a token\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,aAAa;EACX,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const senderCatalog = {\n \"slug\": \"sender\",\n \"name\": \"Sender\",\n \"description\": \"Email marketing platform for creating campaigns, automating workflows, and tracking results\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Navigate to Settings > API access tokens in your Sender account to create a token\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const senderCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_token: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Token";
14
14
  readonly secret: true;
15
15
  readonly description: "Navigate to Settings > API access tokens in your Sender account to create a token";
@@ -9,7 +9,7 @@ declare const senderCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_token: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Token";
14
14
  readonly secret: true;
15
15
  readonly description: "Navigate to Settings > API access tokens in your Sender account to create a token";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const senderCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/sender",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_token": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Token",
13
13
  "secret": true,
14
14
  "description": "Navigate to Settings > API access tokens in your Sender account to create a token"
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const senderCatalog = {\n \"slug\": \"sender\",\n \"name\": \"Sender\",\n \"description\": \"Email marketing platform for creating campaigns, automating workflows, and tracking results\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_token\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Navigate to Settings > API access tokens in your Sender account to create a token\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,aAAa;EACX,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const senderCatalog = {\n \"slug\": \"sender\",\n \"name\": \"Sender\",\n \"description\": \"Email marketing platform for creating campaigns, automating workflows, and tracking results\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Navigate to Settings > API access tokens in your Sender account to create a token\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/sender",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"