@keystrokehq/sendbird 0.1.4 → 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 (91) hide show
  1. package/dist/actions/add-members-group-channel.d.cts +15 -1
  2. package/dist/actions/add-members-group-channel.d.mts +15 -1
  3. package/dist/actions/ban-user-from-group-channel.d.cts +15 -1
  4. package/dist/actions/ban-user-from-group-channel.d.mts +15 -1
  5. package/dist/actions/create-channel.d.cts +15 -1
  6. package/dist/actions/create-channel.d.cts.map +1 -1
  7. package/dist/actions/create-channel.d.mts +15 -1
  8. package/dist/actions/create-channel.d.mts.map +1 -1
  9. package/dist/actions/create-user.d.cts +15 -1
  10. package/dist/actions/create-user.d.cts.map +1 -1
  11. package/dist/actions/create-user.d.mts +15 -1
  12. package/dist/actions/create-user.d.mts.map +1 -1
  13. package/dist/actions/delete-channel.d.cts +15 -1
  14. package/dist/actions/delete-channel.d.mts +15 -1
  15. package/dist/actions/delete-message.d.cts +15 -1
  16. package/dist/actions/delete-message.d.mts +15 -1
  17. package/dist/actions/delete-user.d.cts +15 -1
  18. package/dist/actions/delete-user.d.mts +15 -1
  19. package/dist/actions/get-count-preference-of-channel.d.cts +15 -1
  20. package/dist/actions/get-count-preference-of-channel.d.mts +15 -1
  21. package/dist/actions/get-number-of-channels-by-join-status.d.cts +15 -1
  22. package/dist/actions/get-number-of-channels-by-join-status.d.mts +15 -1
  23. package/dist/actions/get-number-of-unread-items.d.cts +15 -1
  24. package/dist/actions/get-number-of-unread-items.d.mts +15 -1
  25. package/dist/actions/issue-session-token.d.cts +15 -1
  26. package/dist/actions/issue-session-token.d.mts +15 -1
  27. package/dist/actions/leave-group-channels.d.cts +15 -1
  28. package/dist/actions/leave-group-channels.d.mts +15 -1
  29. package/dist/actions/list-banned-members.d.cts +15 -1
  30. package/dist/actions/list-banned-members.d.mts +15 -1
  31. package/dist/actions/list-group-channel-messages.d.cts +15 -1
  32. package/dist/actions/list-group-channel-messages.d.mts +15 -1
  33. package/dist/actions/list-group-channels.d.cts +15 -1
  34. package/dist/actions/list-group-channels.d.mts +15 -1
  35. package/dist/actions/list-members-group-channel.d.cts +15 -1
  36. package/dist/actions/list-members-group-channel.d.mts +15 -1
  37. package/dist/actions/list-operators-custom-channel-type.d.cts +15 -1
  38. package/dist/actions/list-operators-custom-channel-type.d.mts +15 -1
  39. package/dist/actions/list-operators-group-channel.d.cts +15 -1
  40. package/dist/actions/list-operators-group-channel.d.mts +15 -1
  41. package/dist/actions/list-operators-open-channel.d.cts +15 -1
  42. package/dist/actions/list-operators-open-channel.d.mts +15 -1
  43. package/dist/actions/list-users.d.cts +15 -1
  44. package/dist/actions/list-users.d.mts +15 -1
  45. package/dist/actions/mark-all-user-messages-as-read.d.cts +15 -1
  46. package/dist/actions/mark-all-user-messages-as-read.d.mts +15 -1
  47. package/dist/actions/mute-user.d.cts +15 -1
  48. package/dist/actions/mute-user.d.mts +15 -1
  49. package/dist/actions/register-operators-custom-channel-type.d.cts +15 -1
  50. package/dist/actions/register-operators-custom-channel-type.d.mts +15 -1
  51. package/dist/actions/register-operators-group-channel.d.cts +15 -1
  52. package/dist/actions/register-operators-group-channel.d.mts +15 -1
  53. package/dist/actions/register-operators-open-channel.d.cts +15 -1
  54. package/dist/actions/register-operators-open-channel.d.mts +15 -1
  55. package/dist/actions/revoke-all-session-tokens.d.cts +15 -1
  56. package/dist/actions/revoke-all-session-tokens.d.mts +15 -1
  57. package/dist/actions/send-message.d.cts +15 -1
  58. package/dist/actions/send-message.d.mts +15 -1
  59. package/dist/actions/unban-user.d.cts +15 -1
  60. package/dist/actions/unban-user.d.mts +15 -1
  61. package/dist/actions/unmute-user.d.cts +15 -1
  62. package/dist/actions/unmute-user.d.mts +15 -1
  63. package/dist/actions/unregister-operators-custom-channel-type.d.cts +15 -1
  64. package/dist/actions/unregister-operators-custom-channel-type.d.mts +15 -1
  65. package/dist/actions/update-count-preference-of-channel.d.cts +15 -1
  66. package/dist/actions/update-count-preference-of-channel.d.mts +15 -1
  67. package/dist/actions/update-group-channel.d.cts +15 -1
  68. package/dist/actions/update-group-channel.d.mts +15 -1
  69. package/dist/actions/update-message.d.cts +15 -1
  70. package/dist/actions/update-message.d.cts.map +1 -1
  71. package/dist/actions/update-message.d.mts +15 -1
  72. package/dist/actions/update-message.d.mts.map +1 -1
  73. package/dist/actions/update-user.d.cts +15 -1
  74. package/dist/actions/update-user.d.cts.map +1 -1
  75. package/dist/actions/update-user.d.mts +15 -1
  76. package/dist/actions/update-user.d.mts.map +1 -1
  77. package/dist/actions/view-group-channel.d.cts +15 -1
  78. package/dist/actions/view-group-channel.d.mts +15 -1
  79. package/dist/actions/view-message.d.cts +15 -1
  80. package/dist/actions/view-message.d.mts +15 -1
  81. package/dist/actions/view-user.d.cts +15 -1
  82. package/dist/actions/view-user.d.mts +15 -1
  83. package/dist/app.cjs +8 -2
  84. package/dist/app.cjs.map +1 -1
  85. package/dist/app.d.cts +10 -1
  86. package/dist/app.d.cts.map +1 -1
  87. package/dist/app.d.mts +10 -1
  88. package/dist/app.d.mts.map +1 -1
  89. package/dist/app.mjs +6 -1
  90. package/dist/app.mjs.map +1 -1
  91. package/package.json +1 -1
@@ -10,7 +10,21 @@ declare const SendbirdRevokeAllSessionTokensOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const sendbirdRevokeAllSessionTokens: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  user_id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ subdomain: z.ZodString;
19
+ generic_api_key: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ subdomain: z.ZodString;
26
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { sendbirdRevokeAllSessionTokens };
16
30
  //# sourceMappingURL=revoke-all-session-tokens.d.mts.map
@@ -90,7 +90,21 @@ declare const sendbirdSendMessage: import("@keystrokehq/action").WorkflowActionD
90
90
  is_operator_message?: boolean | undefined;
91
91
  translation_target_languages?: string[] | undefined;
92
92
  push_notification_delivery_option?: "default" | "suppress" | "include_offline_user" | undefined;
93
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
93
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
94
+ connectionId: z.ZodString;
95
+ entityId: z.ZodString;
96
+ instanceId: z.ZodString;
97
+ }, z.core.$strip>, z.ZodObject<{
98
+ subdomain: z.ZodString;
99
+ generic_api_key: z.ZodString;
100
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ subdomain: z.ZodString;
106
+ generic_api_key: z.ZodString;
107
+ }, z.core.$strip>>]>;
94
108
  //#endregion
95
109
  export { sendbirdSendMessage };
96
110
  //# sourceMappingURL=send-message.d.cts.map
@@ -90,7 +90,21 @@ declare const sendbirdSendMessage: import("@keystrokehq/action").WorkflowActionD
90
90
  is_operator_message?: boolean | undefined;
91
91
  translation_target_languages?: string[] | undefined;
92
92
  push_notification_delivery_option?: "default" | "suppress" | "include_offline_user" | undefined;
93
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
93
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
94
+ connectionId: z.ZodString;
95
+ entityId: z.ZodString;
96
+ instanceId: z.ZodString;
97
+ }, z.core.$strip>, z.ZodObject<{
98
+ subdomain: z.ZodString;
99
+ generic_api_key: z.ZodString;
100
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ subdomain: z.ZodString;
106
+ generic_api_key: z.ZodString;
107
+ }, z.core.$strip>>]>;
94
108
  //#endregion
95
109
  export { sendbirdSendMessage };
96
110
  //# sourceMappingURL=send-message.d.mts.map
@@ -9,7 +9,21 @@ declare const SendbirdUnbanUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
9
  declare const sendbirdUnbanUser: import("@keystrokehq/action").WorkflowActionDefinition<{
10
10
  channel_url: string;
11
11
  banned_user_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ subdomain: z.ZodString;
18
+ generic_api_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ subdomain: z.ZodString;
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>;
13
27
  //#endregion
14
28
  export { sendbirdUnbanUser };
15
29
  //# sourceMappingURL=unban-user.d.cts.map
@@ -9,7 +9,21 @@ declare const SendbirdUnbanUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
9
  declare const sendbirdUnbanUser: import("@keystrokehq/action").WorkflowActionDefinition<{
10
10
  channel_url: string;
11
11
  banned_user_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ subdomain: z.ZodString;
18
+ generic_api_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ subdomain: z.ZodString;
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>;
13
27
  //#endregion
14
28
  export { sendbirdUnbanUser };
15
29
  //# sourceMappingURL=unban-user.d.mts.map
@@ -16,7 +16,21 @@ declare const SendbirdUnmuteUserOutput: z.ZodObject<{
16
16
  declare const sendbirdUnmuteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  channel_url: string;
18
18
  muted_user_id: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ subdomain: z.ZodString;
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ subdomain: z.ZodString;
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>;
20
34
  //#endregion
21
35
  export { sendbirdUnmuteUser };
22
36
  //# sourceMappingURL=unmute-user.d.cts.map
@@ -16,7 +16,21 @@ declare const SendbirdUnmuteUserOutput: z.ZodObject<{
16
16
  declare const sendbirdUnmuteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  channel_url: string;
18
18
  muted_user_id: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ subdomain: z.ZodString;
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ subdomain: z.ZodString;
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>;
20
34
  //#endregion
21
35
  export { sendbirdUnmuteUser };
22
36
  //# sourceMappingURL=unmute-user.d.mts.map
@@ -14,7 +14,21 @@ declare const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodObject<{
14
14
  declare const sendbirdUnregisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  user_ids: string[];
16
16
  custom_type: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ subdomain: z.ZodString;
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ subdomain: z.ZodString;
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>;
18
32
  //#endregion
19
33
  export { sendbirdUnregisterOperatorsCustomChannelType };
20
34
  //# sourceMappingURL=unregister-operators-custom-channel-type.d.cts.map
@@ -14,7 +14,21 @@ declare const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodObject<{
14
14
  declare const sendbirdUnregisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  user_ids: string[];
16
16
  custom_type: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ subdomain: z.ZodString;
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ subdomain: z.ZodString;
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>;
18
32
  //#endregion
19
33
  export { sendbirdUnregisterOperatorsCustomChannelType };
20
34
  //# sourceMappingURL=unregister-operators-custom-channel-type.d.mts.map
@@ -19,7 +19,21 @@ declare const sendbirdUpdateCountPreferenceOfChannel: import("@keystrokehq/actio
19
19
  user_id: string;
20
20
  channel_url: string;
21
21
  count_preference: "all" | "unread_message_count_only" | "mention_count_only" | "none";
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ subdomain: z.ZodString;
28
+ generic_api_key: z.ZodString;
29
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ subdomain: z.ZodString;
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>;
23
37
  //#endregion
24
38
  export { sendbirdUpdateCountPreferenceOfChannel };
25
39
  //# sourceMappingURL=update-count-preference-of-channel.d.cts.map
@@ -19,7 +19,21 @@ declare const sendbirdUpdateCountPreferenceOfChannel: import("@keystrokehq/actio
19
19
  user_id: string;
20
20
  channel_url: string;
21
21
  count_preference: "all" | "unread_message_count_only" | "mention_count_only" | "none";
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ subdomain: z.ZodString;
28
+ generic_api_key: z.ZodString;
29
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ subdomain: z.ZodString;
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>;
23
37
  //#endregion
24
38
  export { sendbirdUpdateCountPreferenceOfChannel };
25
39
  //# sourceMappingURL=update-count-preference-of-channel.d.mts.map
@@ -45,7 +45,21 @@ declare const sendbirdUpdateGroupChannel: import("@keystrokehq/action").Workflow
45
45
  is_distinct?: boolean | undefined;
46
46
  is_ephemeral?: boolean | undefined;
47
47
  my_count_preference?: "unread_message_count_only" | "all_count" | undefined;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ subdomain: z.ZodString;
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ subdomain: z.ZodString;
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>;
49
63
  //#endregion
50
64
  export { sendbirdUpdateGroupChannel };
51
65
  //# sourceMappingURL=update-group-channel.d.cts.map
@@ -45,7 +45,21 @@ declare const sendbirdUpdateGroupChannel: import("@keystrokehq/action").Workflow
45
45
  is_distinct?: boolean | undefined;
46
46
  is_ephemeral?: boolean | undefined;
47
47
  my_count_preference?: "unread_message_count_only" | "all_count" | undefined;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ subdomain: z.ZodString;
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ subdomain: z.ZodString;
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>;
49
63
  //#endregion
50
64
  export { sendbirdUpdateGroupChannel };
51
65
  //# sourceMappingURL=update-group-channel.d.mts.map
@@ -56,7 +56,21 @@ declare const sendbirdUpdateMessage: import("@keystrokehq/action").WorkflowActio
56
56
  sorted_metaarray?: Record<string, unknown>[] | undefined;
57
57
  mentioned_user_ids?: string[] | undefined;
58
58
  push_notification_delivery_option?: string | undefined;
59
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
59
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
60
+ connectionId: z.ZodString;
61
+ entityId: z.ZodString;
62
+ instanceId: z.ZodString;
63
+ }, z.core.$strip>, z.ZodObject<{
64
+ subdomain: z.ZodString;
65
+ generic_api_key: z.ZodString;
66
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
67
+ connectionId: z.ZodString;
68
+ entityId: z.ZodString;
69
+ instanceId: z.ZodString;
70
+ }, z.core.$strip>, z.ZodObject<{
71
+ subdomain: z.ZodString;
72
+ generic_api_key: z.ZodString;
73
+ }, z.core.$strip>>]>;
60
74
  //#endregion
61
75
  export { sendbirdUpdateMessage };
62
76
  //# sourceMappingURL=update-message.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-message.d.cts","names":[],"sources":["../../src/actions/update-message.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyB3B,qBAAA,gCAAqB,wBAAA;;;;;;;;;;;;qBAMhC,MAAA"}
1
+ {"version":3,"file":"update-message.d.cts","names":[],"sources":["../../src/actions/update-message.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyB3B,qBAAA,gCAAqB,wBAAA"}
@@ -56,7 +56,21 @@ declare const sendbirdUpdateMessage: import("@keystrokehq/action").WorkflowActio
56
56
  sorted_metaarray?: Record<string, unknown>[] | undefined;
57
57
  mentioned_user_ids?: string[] | undefined;
58
58
  push_notification_delivery_option?: string | undefined;
59
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
59
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
60
+ connectionId: z.ZodString;
61
+ entityId: z.ZodString;
62
+ instanceId: z.ZodString;
63
+ }, z.core.$strip>, z.ZodObject<{
64
+ subdomain: z.ZodString;
65
+ generic_api_key: z.ZodString;
66
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
67
+ connectionId: z.ZodString;
68
+ entityId: z.ZodString;
69
+ instanceId: z.ZodString;
70
+ }, z.core.$strip>, z.ZodObject<{
71
+ subdomain: z.ZodString;
72
+ generic_api_key: z.ZodString;
73
+ }, z.core.$strip>>]>;
60
74
  //#endregion
61
75
  export { sendbirdUpdateMessage };
62
76
  //# sourceMappingURL=update-message.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-message.d.mts","names":[],"sources":["../../src/actions/update-message.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyB3B,qBAAA,gCAAqB,wBAAA;;;;;;;;;;;;qBAMhC,MAAA"}
1
+ {"version":3,"file":"update-message.d.mts","names":[],"sources":["../../src/actions/update-message.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyB3B,qBAAA,gCAAqB,wBAAA"}
@@ -34,7 +34,21 @@ declare const sendbirdUpdateUser: import("@keystrokehq/action").WorkflowActionDe
34
34
  profile_url?: string | undefined;
35
35
  issue_access_token?: boolean | undefined;
36
36
  preferred_languages?: string[] | undefined;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ subdomain: z.ZodString;
43
+ generic_api_key: z.ZodString;
44
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
45
+ connectionId: z.ZodString;
46
+ entityId: z.ZodString;
47
+ instanceId: z.ZodString;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ subdomain: z.ZodString;
50
+ generic_api_key: z.ZodString;
51
+ }, z.core.$strip>>]>;
38
52
  //#endregion
39
53
  export { sendbirdUpdateUser };
40
54
  //# sourceMappingURL=update-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,kBAAA,gCAAkB,wBAAA;;aAM7B,MAAA"}
1
+ {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,kBAAA,gCAAkB,wBAAA"}
@@ -34,7 +34,21 @@ declare const sendbirdUpdateUser: import("@keystrokehq/action").WorkflowActionDe
34
34
  profile_url?: string | undefined;
35
35
  issue_access_token?: boolean | undefined;
36
36
  preferred_languages?: string[] | undefined;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ subdomain: z.ZodString;
43
+ generic_api_key: z.ZodString;
44
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
45
+ connectionId: z.ZodString;
46
+ entityId: z.ZodString;
47
+ instanceId: z.ZodString;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ subdomain: z.ZodString;
50
+ generic_api_key: z.ZodString;
51
+ }, z.core.$strip>>]>;
38
52
  //#endregion
39
53
  export { sendbirdUpdateUser };
40
54
  //# sourceMappingURL=update-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,kBAAA,gCAAkB,wBAAA;;aAM7B,MAAA"}
1
+ {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,kBAAA,gCAAkB,wBAAA"}
@@ -52,7 +52,21 @@ declare const sendbirdViewGroupChannel: import("@keystrokehq/action").WorkflowAc
52
52
  show_read_receipt?: boolean | undefined;
53
53
  show_migration_info?: boolean | undefined;
54
54
  show_delivery_receipt?: boolean | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ subdomain: z.ZodString;
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ subdomain: z.ZodString;
68
+ generic_api_key: z.ZodString;
69
+ }, z.core.$strip>>]>;
56
70
  //#endregion
57
71
  export { sendbirdViewGroupChannel };
58
72
  //# sourceMappingURL=view-group-channel.d.cts.map
@@ -52,7 +52,21 @@ declare const sendbirdViewGroupChannel: import("@keystrokehq/action").WorkflowAc
52
52
  show_read_receipt?: boolean | undefined;
53
53
  show_migration_info?: boolean | undefined;
54
54
  show_delivery_receipt?: boolean | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ subdomain: z.ZodString;
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ subdomain: z.ZodString;
68
+ generic_api_key: z.ZodString;
69
+ }, z.core.$strip>>]>;
56
70
  //#endregion
57
71
  export { sendbirdViewGroupChannel };
58
72
  //# sourceMappingURL=view-group-channel.d.mts.map
@@ -60,7 +60,21 @@ declare const sendbirdViewMessage: import("@keystrokehq/action").WorkflowActionD
60
60
  message_id: number;
61
61
  channel_url: string;
62
62
  with_sorted_metaarray?: boolean | undefined;
63
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
63
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
64
+ connectionId: z.ZodString;
65
+ entityId: z.ZodString;
66
+ instanceId: z.ZodString;
67
+ }, z.core.$strip>, z.ZodObject<{
68
+ subdomain: z.ZodString;
69
+ generic_api_key: z.ZodString;
70
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
71
+ connectionId: z.ZodString;
72
+ entityId: z.ZodString;
73
+ instanceId: z.ZodString;
74
+ }, z.core.$strip>, z.ZodObject<{
75
+ subdomain: z.ZodString;
76
+ generic_api_key: z.ZodString;
77
+ }, z.core.$strip>>]>;
64
78
  //#endregion
65
79
  export { sendbirdViewMessage };
66
80
  //# sourceMappingURL=view-message.d.cts.map
@@ -60,7 +60,21 @@ declare const sendbirdViewMessage: import("@keystrokehq/action").WorkflowActionD
60
60
  message_id: number;
61
61
  channel_url: string;
62
62
  with_sorted_metaarray?: boolean | undefined;
63
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
63
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
64
+ connectionId: z.ZodString;
65
+ entityId: z.ZodString;
66
+ instanceId: z.ZodString;
67
+ }, z.core.$strip>, z.ZodObject<{
68
+ subdomain: z.ZodString;
69
+ generic_api_key: z.ZodString;
70
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
71
+ connectionId: z.ZodString;
72
+ entityId: z.ZodString;
73
+ instanceId: z.ZodString;
74
+ }, z.core.$strip>, z.ZodObject<{
75
+ subdomain: z.ZodString;
76
+ generic_api_key: z.ZodString;
77
+ }, z.core.$strip>>]>;
64
78
  //#endregion
65
79
  export { sendbirdViewMessage };
66
80
  //# sourceMappingURL=view-message.d.mts.map
@@ -22,7 +22,21 @@ declare const SendbirdViewUserOutput: z.ZodObject<{
22
22
  }, z.core.$loose>;
23
23
  declare const sendbirdViewUser: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  user_id: 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<"sendbird", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ subdomain: z.ZodString;
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ subdomain: z.ZodString;
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>;
26
40
  //#endregion
27
41
  export { sendbirdViewUser };
28
42
  //# sourceMappingURL=view-user.d.cts.map
@@ -22,7 +22,21 @@ declare const SendbirdViewUserOutput: z.ZodObject<{
22
22
  }, z.core.$loose>;
23
23
  declare const sendbirdViewUser: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  user_id: 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<"sendbird", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ subdomain: z.ZodString;
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ subdomain: z.ZodString;
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>;
26
40
  //#endregion
27
41
  export { sendbirdViewUser };
28
42
  //# sourceMappingURL=view-user.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,13 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const sendbird = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const sendbird = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "sendbird",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ subdomain: zod.z.string(),
9
+ generic_api_key: zod.z.string()
10
+ }
5
11
  });
6
12
  //#endregion
7
13
  exports.sendbird = sendbird;
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 sendbird = defineApp({\n slug: \"sendbird\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,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 sendbird = defineApp({\n slug: \"sendbird\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAWA,IAAAA,EAAE,OAAO;EACpB,iBAAiBA,IAAAA,EAAE,OAAO;CAC5B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const sendbird: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const sendbird: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ subdomain: z.ZodString;
10
+ generic_api_key: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { sendbird };
5
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}