@keystrokehq/rafflys 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.
- package/dist/actions/get-current-user.d.cts +13 -1
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +13 -1
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/list-promotions.d.cts +13 -1
- package/dist/actions/list-promotions.d.mts +13 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,19 @@ declare const RafflysGetCurrentUserOutput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$loose>>;
|
|
14
14
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
15
|
}, z.core.$loose>;
|
|
16
|
-
declare const rafflysGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
16
|
+
declare const rafflysGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rafflys", 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<"rafflys", 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 { rafflysGetCurrentUser };
|
|
19
31
|
//# sourceMappingURL=get-current-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
|
|
@@ -13,7 +13,19 @@ declare const RafflysGetCurrentUserOutput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$loose>>;
|
|
14
14
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
15
|
}, z.core.$loose>;
|
|
16
|
-
declare const rafflysGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
16
|
+
declare const rafflysGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rafflys", 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<"rafflys", 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 { rafflysGetCurrentUser };
|
|
19
31
|
//# sourceMappingURL=get-current-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
|
|
@@ -11,7 +11,19 @@ declare const RafflysListPromotionsOutput: z.ZodObject<{
|
|
|
11
11
|
declare const rafflysListPromotions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
page?: number | undefined;
|
|
13
13
|
per_page?: number | undefined;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rafflys", 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<"rafflys", 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 { rafflysListPromotions };
|
|
17
29
|
//# sourceMappingURL=list-promotions.d.cts.map
|
|
@@ -11,7 +11,19 @@ declare const RafflysListPromotionsOutput: z.ZodObject<{
|
|
|
11
11
|
declare const rafflysListPromotions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
page?: number | undefined;
|
|
13
13
|
per_page?: number | undefined;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rafflys", 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<"rafflys", 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 { rafflysListPromotions };
|
|
17
29
|
//# sourceMappingURL=list-promotions.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 rafflys = (0,
|
|
4
|
+
const rafflys = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "rafflys",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential: { generic_api_key: zod.z.string() }
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.rafflys = rafflys;
|
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 rafflys = defineApp({\n slug: \"rafflys\",\n auth: \"keystroke\",\n});\n"],"mappings":"
|
|
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 rafflys = defineApp({\n slug: \"rafflys\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,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 rafflys: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential
|
|
4
|
+
declare const rafflys: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"rafflys", 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 { rafflys };
|
|
5
13
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,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 rafflys: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential
|
|
4
|
+
declare const rafflys: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"rafflys", 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 { rafflys };
|
|
5
13
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,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 rafflys = defineApp({
|
|
4
5
|
slug: "rafflys",
|
|
5
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential: { generic_api_key: z.string() }
|
|
6
8
|
});
|
|
7
9
|
//#endregion
|
|
8
10
|
export { rafflys };
|
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 rafflys = defineApp({\n slug: \"rafflys\",\n auth: \"keystroke\",\n});\n"],"mappings":"
|
|
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 rafflys = defineApp({\n slug: \"rafflys\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const rafflysCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/rafflys",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "You can find your API key in your project settings."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rafflysCatalog = {\n \"slug\": \"rafflys\",\n \"name\": \"Rafflys\",\n \"description\": \"Rafflys hosts giveaways and contests, enabling brands to engage audiences, grow social reach, and reward participants with automated selection processes\",\n \"category\": \"Social Media Marketing\",\n \"logo\": \"https://logos.composio.dev/api/rafflys\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rafflysCatalog = {\n \"slug\": \"rafflys\",\n \"name\": \"Rafflys\",\n \"description\": \"Rafflys hosts giveaways and contests, enabling brands to engage audiences, grow social reach, and reward participants with automated selection processes\",\n \"category\": \"Social Media Marketing\",\n \"logo\": \"https://logos.composio.dev/api/rafflys\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"You can find your API key in your project settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,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/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const rafflysCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "You can find your API key in your project settings.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const rafflysCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "You can find your API key in your project settings.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const rafflysCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/rafflys",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "You can find your API key in your project settings."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rafflysCatalog = {\n \"slug\": \"rafflys\",\n \"name\": \"Rafflys\",\n \"description\": \"Rafflys hosts giveaways and contests, enabling brands to engage audiences, grow social reach, and reward participants with automated selection processes\",\n \"category\": \"Social Media Marketing\",\n \"logo\": \"https://logos.composio.dev/api/rafflys\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rafflysCatalog = {\n \"slug\": \"rafflys\",\n \"name\": \"Rafflys\",\n \"description\": \"Rafflys hosts giveaways and contests, enabling brands to engage audiences, grow social reach, and reward participants with automated selection processes\",\n \"category\": \"Social Media Marketing\",\n \"logo\": \"https://logos.composio.dev/api/rafflys\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"You can find your API key in your project settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,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"}
|