@keystrokehq/onesignal_rest_api 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 (49) hide show
  1. package/dist/actions/begin-live-activity.d.cts +13 -1
  2. package/dist/actions/begin-live-activity.d.mts +13 -1
  3. package/dist/actions/create-notification.d.cts +13 -1
  4. package/dist/actions/create-notification.d.mts +13 -1
  5. package/dist/actions/create-template.d.cts +13 -1
  6. package/dist/actions/create-template.d.mts +13 -1
  7. package/dist/actions/create-user.d.cts +13 -1
  8. package/dist/actions/create-user.d.cts.map +1 -1
  9. package/dist/actions/create-user.d.mts +13 -1
  10. package/dist/actions/create-user.d.mts.map +1 -1
  11. package/dist/actions/delete-alias.d.cts +13 -1
  12. package/dist/actions/delete-alias.d.mts +13 -1
  13. package/dist/actions/delete-device.d.cts +13 -1
  14. package/dist/actions/delete-device.d.mts +13 -1
  15. package/dist/actions/fetch-user-identity.d.cts +13 -1
  16. package/dist/actions/fetch-user-identity.d.mts +13 -1
  17. package/dist/actions/get-eligible-iams.d.cts +13 -1
  18. package/dist/actions/get-eligible-iams.d.mts +13 -1
  19. package/dist/actions/update-device.d.cts +13 -1
  20. package/dist/actions/update-device.d.cts.map +1 -1
  21. package/dist/actions/update-device.d.mts +13 -1
  22. package/dist/actions/update-device.d.mts.map +1 -1
  23. package/dist/actions/update-subscription.d.cts +13 -1
  24. package/dist/actions/update-subscription.d.mts +13 -1
  25. package/dist/actions/view-an-app.d.cts +13 -1
  26. package/dist/actions/view-an-app.d.mts +13 -1
  27. package/dist/actions/view-device.d.cts +13 -1
  28. package/dist/actions/view-device.d.mts +13 -1
  29. package/dist/actions/view-devices.d.cts +13 -1
  30. package/dist/actions/view-devices.d.mts +13 -1
  31. package/dist/actions/view-notifications.d.cts +13 -1
  32. package/dist/actions/view-notifications.d.mts +13 -1
  33. package/dist/actions/view-segments.d.cts +13 -1
  34. package/dist/actions/view-segments.d.mts +13 -1
  35. package/dist/app.cjs +5 -2
  36. package/dist/app.cjs.map +1 -1
  37. package/dist/app.d.cts +9 -1
  38. package/dist/app.d.cts.map +1 -1
  39. package/dist/app.d.mts +9 -1
  40. package/dist/app.d.mts.map +1 -1
  41. package/dist/app.mjs +3 -1
  42. package/dist/app.mjs.map +1 -1
  43. package/dist/catalog.cjs +1 -1
  44. package/dist/catalog.cjs.map +1 -1
  45. package/dist/catalog.d.cts +1 -1
  46. package/dist/catalog.d.mts +1 -1
  47. package/dist/catalog.mjs +1 -1
  48. package/dist/catalog.mjs.map +1 -1
  49. package/package.json +1 -1
@@ -15,7 +15,19 @@ declare const onesignalRestApiBeginLiveActivity: import("@keystrokehq/action").W
15
15
  push_token: string;
16
16
  activity_id: string;
17
17
  subscription_id: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { onesignalRestApiBeginLiveActivity };
21
33
  //# sourceMappingURL=begin-live-activity.d.cts.map
@@ -15,7 +15,19 @@ declare const onesignalRestApiBeginLiveActivity: import("@keystrokehq/action").W
15
15
  push_token: string;
16
16
  activity_id: string;
17
17
  subscription_id: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { onesignalRestApiBeginLiveActivity };
21
33
  //# sourceMappingURL=begin-live-activity.d.mts.map
@@ -51,7 +51,19 @@ declare const onesignalRestApiCreateNotification: import("@keystrokehq/action").
51
51
  included_segments?: string[] | undefined;
52
52
  android_channel_id?: string | undefined;
53
53
  include_player_ids?: string[] | undefined;
54
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_api_key: z.ZodString;
60
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
61
+ connectionId: z.ZodString;
62
+ entityId: z.ZodString;
63
+ instanceId: z.ZodString;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ generic_api_key: z.ZodString;
66
+ }, z.core.$strip>>]>;
55
67
  //#endregion
56
68
  export { onesignalRestApiCreateNotification };
57
69
  //# sourceMappingURL=create-notification.d.cts.map
@@ -51,7 +51,19 @@ declare const onesignalRestApiCreateNotification: import("@keystrokehq/action").
51
51
  included_segments?: string[] | undefined;
52
52
  android_channel_id?: string | undefined;
53
53
  include_player_ids?: string[] | undefined;
54
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_api_key: z.ZodString;
60
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
61
+ connectionId: z.ZodString;
62
+ entityId: z.ZodString;
63
+ instanceId: z.ZodString;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ generic_api_key: z.ZodString;
66
+ }, z.core.$strip>>]>;
55
67
  //#endregion
56
68
  export { onesignalRestApiCreateNotification };
57
69
  //# sourceMappingURL=create-notification.d.mts.map
@@ -71,7 +71,19 @@ declare const onesignalRestApiCreateTemplate: import("@keystrokehq/action").Work
71
71
  isChromeWeb?: boolean | undefined;
72
72
  email_subject?: string | undefined;
73
73
  dynamic_content?: Record<string, unknown> | undefined;
74
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
74
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
75
+ connectionId: z.ZodString;
76
+ entityId: z.ZodString;
77
+ instanceId: z.ZodString;
78
+ }, z.core.$strip>, z.ZodObject<{
79
+ generic_api_key: z.ZodString;
80
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
81
+ connectionId: z.ZodString;
82
+ entityId: z.ZodString;
83
+ instanceId: z.ZodString;
84
+ }, z.core.$strip>, z.ZodObject<{
85
+ generic_api_key: z.ZodString;
86
+ }, z.core.$strip>>]>;
75
87
  //#endregion
76
88
  export { onesignalRestApiCreateTemplate };
77
89
  //# sourceMappingURL=create-template.d.cts.map
@@ -71,7 +71,19 @@ declare const onesignalRestApiCreateTemplate: import("@keystrokehq/action").Work
71
71
  isChromeWeb?: boolean | undefined;
72
72
  email_subject?: string | undefined;
73
73
  dynamic_content?: Record<string, unknown> | undefined;
74
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
74
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
75
+ connectionId: z.ZodString;
76
+ entityId: z.ZodString;
77
+ instanceId: z.ZodString;
78
+ }, z.core.$strip>, z.ZodObject<{
79
+ generic_api_key: z.ZodString;
80
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
81
+ connectionId: z.ZodString;
82
+ entityId: z.ZodString;
83
+ instanceId: z.ZodString;
84
+ }, z.core.$strip>, z.ZodObject<{
85
+ generic_api_key: z.ZodString;
86
+ }, z.core.$strip>>]>;
75
87
  //#endregion
76
88
  export { onesignalRestApiCreateTemplate };
77
89
  //# sourceMappingURL=create-template.d.mts.map
@@ -91,7 +91,19 @@ declare const onesignalRestApiCreateUser: import("@keystrokehq/action").Workflow
91
91
  subscription_options?: {
92
92
  retain_previous_owner?: boolean | undefined;
93
93
  } | undefined;
94
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
94
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
95
+ connectionId: z.ZodString;
96
+ entityId: z.ZodString;
97
+ instanceId: z.ZodString;
98
+ }, z.core.$strip>, z.ZodObject<{
99
+ generic_api_key: z.ZodString;
100
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ generic_api_key: z.ZodString;
106
+ }, z.core.$strip>>]>;
95
107
  //#endregion
96
108
  export { onesignalRestApiCreateUser };
97
109
  //# sourceMappingURL=create-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0C/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA;;;;;;;;;;;WAMrC,MAAA;;;gBAAA,MAAA"}
1
+ {"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0C/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
@@ -91,7 +91,19 @@ declare const onesignalRestApiCreateUser: import("@keystrokehq/action").Workflow
91
91
  subscription_options?: {
92
92
  retain_previous_owner?: boolean | undefined;
93
93
  } | undefined;
94
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
94
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
95
+ connectionId: z.ZodString;
96
+ entityId: z.ZodString;
97
+ instanceId: z.ZodString;
98
+ }, z.core.$strip>, z.ZodObject<{
99
+ generic_api_key: z.ZodString;
100
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ generic_api_key: z.ZodString;
106
+ }, z.core.$strip>>]>;
95
107
  //#endregion
96
108
  export { onesignalRestApiCreateUser };
97
109
  //# sourceMappingURL=create-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0C/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA;;;;;;;;;;;WAMrC,MAAA;;;gBAAA,MAAA"}
1
+ {"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0C/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
@@ -15,7 +15,19 @@ declare const onesignalRestApiDeleteAlias: import("@keystrokehq/action").Workflo
15
15
  alias_id: string;
16
16
  alias_label: string;
17
17
  alias_label_to_delete: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { onesignalRestApiDeleteAlias };
21
33
  //# sourceMappingURL=delete-alias.d.cts.map
@@ -15,7 +15,19 @@ declare const onesignalRestApiDeleteAlias: import("@keystrokehq/action").Workflo
15
15
  alias_id: string;
16
16
  alias_label: string;
17
17
  alias_label_to_delete: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { onesignalRestApiDeleteAlias };
21
33
  //# sourceMappingURL=delete-alias.d.mts.map
@@ -13,7 +13,19 @@ declare const OnesignalRestApiDeleteDeviceOutput: z.ZodObject<{
13
13
  declare const onesignalRestApiDeleteDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  app_id: string;
15
15
  player_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ generic_api_key: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { onesignalRestApiDeleteDevice };
19
31
  //# sourceMappingURL=delete-device.d.cts.map
@@ -13,7 +13,19 @@ declare const OnesignalRestApiDeleteDeviceOutput: z.ZodObject<{
13
13
  declare const onesignalRestApiDeleteDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  app_id: string;
15
15
  player_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ generic_api_key: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { onesignalRestApiDeleteDevice };
19
31
  //# sourceMappingURL=delete-device.d.mts.map
@@ -13,7 +13,19 @@ declare const onesignalRestApiFetchUserIdentity: import("@keystrokehq/action").W
13
13
  app_id: string;
14
14
  alias_id: string;
15
15
  alias_label: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ generic_api_key: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { onesignalRestApiFetchUserIdentity };
19
31
  //# sourceMappingURL=fetch-user-identity.d.cts.map
@@ -13,7 +13,19 @@ declare const onesignalRestApiFetchUserIdentity: import("@keystrokehq/action").W
13
13
  app_id: string;
14
14
  alias_id: string;
15
15
  alias_label: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ generic_api_key: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { onesignalRestApiFetchUserIdentity };
19
31
  //# sourceMappingURL=fetch-user-identity.d.mts.map
@@ -11,7 +11,19 @@ declare const OnesignalRestApiGetEligibleIamsOutput: z.ZodObject<{
11
11
  declare const onesignalRestApiGetEligibleIams: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  app_id: string;
13
13
  subscription_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", 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<"onesignal_rest_api", 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 { onesignalRestApiGetEligibleIams };
17
29
  //# sourceMappingURL=get-eligible-iams.d.cts.map
@@ -11,7 +11,19 @@ declare const OnesignalRestApiGetEligibleIamsOutput: z.ZodObject<{
11
11
  declare const onesignalRestApiGetEligibleIams: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  app_id: string;
13
13
  subscription_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", 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<"onesignal_rest_api", 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 { onesignalRestApiGetEligibleIams };
17
29
  //# sourceMappingURL=get-eligible-iams.d.mts.map
@@ -60,7 +60,19 @@ declare const onesignalRestApiUpdateDevice: import("@keystrokehq/action").Workfl
60
60
  custom_attributes?: Record<string, unknown> | undefined;
61
61
  notification_types?: number | undefined;
62
62
  external_user_id_auth_hash?: string | 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<"onesignal_rest_api", z.ZodObject<{
64
+ connectionId: z.ZodString;
65
+ entityId: z.ZodString;
66
+ instanceId: z.ZodString;
67
+ }, z.core.$strip>, z.ZodObject<{
68
+ generic_api_key: z.ZodString;
69
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
70
+ connectionId: z.ZodString;
71
+ entityId: z.ZodString;
72
+ instanceId: z.ZodString;
73
+ }, z.core.$strip>, z.ZodObject<{
74
+ generic_api_key: z.ZodString;
75
+ }, z.core.$strip>>]>;
64
76
  //#endregion
65
77
  export { onesignalRestApiUpdateDevice };
66
78
  //# sourceMappingURL=update-device.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-device.d.cts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA;;;SAMvC,MAAA;;;;;;;;;;;;;;;;;;;;;sBAAA,MAAA"}
1
+ {"version":3,"file":"update-device.d.cts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -60,7 +60,19 @@ declare const onesignalRestApiUpdateDevice: import("@keystrokehq/action").Workfl
60
60
  custom_attributes?: Record<string, unknown> | undefined;
61
61
  notification_types?: number | undefined;
62
62
  external_user_id_auth_hash?: string | 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<"onesignal_rest_api", z.ZodObject<{
64
+ connectionId: z.ZodString;
65
+ entityId: z.ZodString;
66
+ instanceId: z.ZodString;
67
+ }, z.core.$strip>, z.ZodObject<{
68
+ generic_api_key: z.ZodString;
69
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
70
+ connectionId: z.ZodString;
71
+ entityId: z.ZodString;
72
+ instanceId: z.ZodString;
73
+ }, z.core.$strip>, z.ZodObject<{
74
+ generic_api_key: z.ZodString;
75
+ }, z.core.$strip>>]>;
64
76
  //#endregion
65
77
  export { onesignalRestApiUpdateDevice };
66
78
  //# sourceMappingURL=update-device.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-device.d.mts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA;;;SAMvC,MAAA;;;;;;;;;;;;;;;;;;;;;sBAAA,MAAA"}
1
+ {"version":3,"file":"update-device.d.mts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -81,7 +81,19 @@ declare const onesignalRestApiUpdateSubscription: import("@keystrokehq/action").
81
81
  };
82
82
  subscription_id: string;
83
83
  retain_previous_owner?: boolean | undefined;
84
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
84
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
85
+ connectionId: z.ZodString;
86
+ entityId: z.ZodString;
87
+ instanceId: z.ZodString;
88
+ }, z.core.$strip>, z.ZodObject<{
89
+ generic_api_key: z.ZodString;
90
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
91
+ connectionId: z.ZodString;
92
+ entityId: z.ZodString;
93
+ instanceId: z.ZodString;
94
+ }, z.core.$strip>, z.ZodObject<{
95
+ generic_api_key: z.ZodString;
96
+ }, z.core.$strip>>]>;
85
97
  //#endregion
86
98
  export { onesignalRestApiUpdateSubscription };
87
99
  //# sourceMappingURL=update-subscription.d.cts.map
@@ -81,7 +81,19 @@ declare const onesignalRestApiUpdateSubscription: import("@keystrokehq/action").
81
81
  };
82
82
  subscription_id: string;
83
83
  retain_previous_owner?: boolean | undefined;
84
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
84
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
85
+ connectionId: z.ZodString;
86
+ entityId: z.ZodString;
87
+ instanceId: z.ZodString;
88
+ }, z.core.$strip>, z.ZodObject<{
89
+ generic_api_key: z.ZodString;
90
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
91
+ connectionId: z.ZodString;
92
+ entityId: z.ZodString;
93
+ instanceId: z.ZodString;
94
+ }, z.core.$strip>, z.ZodObject<{
95
+ generic_api_key: z.ZodString;
96
+ }, z.core.$strip>>]>;
85
97
  //#endregion
86
98
  export { onesignalRestApiUpdateSubscription };
87
99
  //# sourceMappingURL=update-subscription.d.mts.map
@@ -15,7 +15,19 @@ declare const OnesignalRestApiViewAnAppOutput: z.ZodObject<{
15
15
  }, z.core.$loose>;
16
16
  declare const onesignalRestApiViewAnApp: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  app_id: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { onesignalRestApiViewAnApp };
21
33
  //# sourceMappingURL=view-an-app.d.cts.map
@@ -15,7 +15,19 @@ declare const OnesignalRestApiViewAnAppOutput: z.ZodObject<{
15
15
  }, z.core.$loose>;
16
16
  declare const onesignalRestApiViewAnApp: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  app_id: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { onesignalRestApiViewAnApp };
21
33
  //# sourceMappingURL=view-an-app.d.mts.map
@@ -32,7 +32,19 @@ declare const OnesignalRestApiViewDeviceOutput: z.ZodObject<{
32
32
  declare const onesignalRestApiViewDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  app_id: string;
34
34
  player_id: string;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { onesignalRestApiViewDevice };
38
50
  //# sourceMappingURL=view-device.d.cts.map
@@ -32,7 +32,19 @@ declare const OnesignalRestApiViewDeviceOutput: z.ZodObject<{
32
32
  declare const onesignalRestApiViewDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  app_id: string;
34
34
  player_id: string;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { onesignalRestApiViewDevice };
38
50
  //# sourceMappingURL=view-device.d.mts.map
@@ -49,7 +49,19 @@ declare const onesignalRestApiViewDevices: import("@keystrokehq/action").Workflo
49
49
  app_id: string;
50
50
  limit?: number | undefined;
51
51
  offset?: number | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
52
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", 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<"onesignal_rest_api", 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>>]>;
53
65
  //#endregion
54
66
  export { onesignalRestApiViewDevices };
55
67
  //# sourceMappingURL=view-devices.d.cts.map
@@ -49,7 +49,19 @@ declare const onesignalRestApiViewDevices: import("@keystrokehq/action").Workflo
49
49
  app_id: string;
50
50
  limit?: number | undefined;
51
51
  offset?: number | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
52
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", 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<"onesignal_rest_api", 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>>]>;
53
65
  //#endregion
54
66
  export { onesignalRestApiViewDevices };
55
67
  //# sourceMappingURL=view-devices.d.mts.map
@@ -32,7 +32,19 @@ declare const onesignalRestApiViewNotifications: import("@keystrokehq/action").W
32
32
  app_id: string;
33
33
  limit?: number | undefined;
34
34
  offset?: number | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { onesignalRestApiViewNotifications };
38
50
  //# sourceMappingURL=view-notifications.d.cts.map
@@ -32,7 +32,19 @@ declare const onesignalRestApiViewNotifications: import("@keystrokehq/action").W
32
32
  app_id: string;
33
33
  limit?: number | undefined;
34
34
  offset?: number | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { onesignalRestApiViewNotifications };
38
50
  //# sourceMappingURL=view-notifications.d.mts.map
@@ -27,7 +27,19 @@ declare const onesignalRestApiViewSegments: import("@keystrokehq/action").Workfl
27
27
  app_id: string;
28
28
  limit?: number | undefined;
29
29
  offset?: number | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", 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>>]>;
31
43
  //#endregion
32
44
  export { onesignalRestApiViewSegments };
33
45
  //# sourceMappingURL=view-segments.d.cts.map
@@ -27,7 +27,19 @@ declare const onesignalRestApiViewSegments: import("@keystrokehq/action").Workfl
27
27
  app_id: string;
28
28
  limit?: number | undefined;
29
29
  offset?: number | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onesignal_rest_api", 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>>]>;
31
43
  //#endregion
32
44
  export { onesignalRestApiViewSegments };
33
45
  //# sourceMappingURL=view-segments.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 onesignalRestApi = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const onesignalRestApi = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "onesignal_rest_api",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.onesignalRestApi = onesignalRestApi;
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 onesignalRestApi = defineApp({\n slug: \"onesignal_rest_api\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,oBAAA,uCAAA,CAAA,CAAA,UAAA,CAA6B;CACxC,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 onesignalRestApi = defineApp({\n slug: \"onesignal_rest_api\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,oBAAA,GAAA,2BAAA,UAAA,CAA6B;CACxC,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 onesignalRestApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const onesignalRestApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"onesignal_rest_api", 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 { onesignalRestApi };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,gBAAA,6BAAgB,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,gBAAA,6BAAgB,GAAA,+BAAA,UAAA,uBAAA,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 onesignalRestApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const onesignalRestApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"onesignal_rest_api", 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 { onesignalRestApi };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,gBAAA,6BAAgB,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,gBAAA,6BAAgB,GAAA,+BAAA,UAAA,uBAAA,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 onesignalRestApi = defineApp({
4
5
  slug: "onesignal_rest_api",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { onesignalRestApi };
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 onesignalRestApi = defineApp({\n slug: \"onesignal_rest_api\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,mBAAmB,UAAU;CACxC,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 onesignalRestApi = defineApp({\n slug: \"onesignal_rest_api\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,mBAAmB,UAAU;CACxC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const onesignalRestApiCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/onesignal_rest_api",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "OneSignal App API Key",
13
13
  "secret": true,
14
14
  "description": "The App API Key is a private key used for most REST API requests related to a specific app. Find it in the OneSignal Dashboard under Settings > Keys & IDs."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const onesignalRestApiCatalog = {\n \"slug\": \"onesignal_rest_api\",\n \"name\": \"OneSignal REST API\",\n \"description\": \"The OneSignal REST API enables developers to programmatically send push notifications, emails, and SMS, manage users and subscriptions, and configure apps.\",\n \"category\": \"Notifications\",\n \"logo\": \"https://logos.composio.dev/api/onesignal_rest_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"OneSignal App API Key\",\n \"secret\": true,\n \"description\": \"The App API Key is a private key used for most REST API requests related to a specific app. Find it in the OneSignal Dashboard under Settings > Keys & IDs.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,0BAA0B;CACrC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const onesignalRestApiCatalog = {\n \"slug\": \"onesignal_rest_api\",\n \"name\": \"OneSignal REST API\",\n \"description\": \"The OneSignal REST API enables developers to programmatically send push notifications, emails, and SMS, manage users and subscriptions, and configure apps.\",\n \"category\": \"Notifications\",\n \"logo\": \"https://logos.composio.dev/api/onesignal_rest_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"OneSignal App API Key\",\n \"secret\": true,\n \"description\": \"The App API Key is a private key used for most REST API requests related to a specific app. Find it in the OneSignal Dashboard under Settings > Keys & IDs.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,0BAA0B;CACrC,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 onesignalRestApiCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "OneSignal App API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The App API Key is a private key used for most REST API requests related to a specific app. Find it in the OneSignal Dashboard under Settings > Keys & IDs.";
@@ -9,7 +9,7 @@ declare const onesignalRestApiCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "OneSignal App API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The App API Key is a private key used for most REST API requests related to a specific app. Find it in the OneSignal Dashboard under Settings > Keys & IDs.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const onesignalRestApiCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/onesignal_rest_api",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "OneSignal App API Key",
13
13
  "secret": true,
14
14
  "description": "The App API Key is a private key used for most REST API requests related to a specific app. Find it in the OneSignal Dashboard under Settings > Keys & IDs."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const onesignalRestApiCatalog = {\n \"slug\": \"onesignal_rest_api\",\n \"name\": \"OneSignal REST API\",\n \"description\": \"The OneSignal REST API enables developers to programmatically send push notifications, emails, and SMS, manage users and subscriptions, and configure apps.\",\n \"category\": \"Notifications\",\n \"logo\": \"https://logos.composio.dev/api/onesignal_rest_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"OneSignal App API Key\",\n \"secret\": true,\n \"description\": \"The App API Key is a private key used for most REST API requests related to a specific app. Find it in the OneSignal Dashboard under Settings > Keys & IDs.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,0BAA0B;CACrC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const onesignalRestApiCatalog = {\n \"slug\": \"onesignal_rest_api\",\n \"name\": \"OneSignal REST API\",\n \"description\": \"The OneSignal REST API enables developers to programmatically send push notifications, emails, and SMS, manage users and subscriptions, and configure apps.\",\n \"category\": \"Notifications\",\n \"logo\": \"https://logos.composio.dev/api/onesignal_rest_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"OneSignal App API Key\",\n \"secret\": true,\n \"description\": \"The App API Key is a private key used for most REST API requests related to a specific app. Find it in the OneSignal Dashboard under Settings > Keys & IDs.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,0BAA0B;CACrC,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/onesignal_rest_api",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"