@keystrokehq/onesignal_user_auth 0.1.0 → 0.1.3
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-user.cjs +5 -5
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +75 -3
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +75 -3
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +5 -5
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-alias.cjs +2 -2
- package/dist/actions/delete-alias.cjs.map +1 -1
- package/dist/actions/delete-alias.d.cts +17 -3
- package/dist/actions/delete-alias.d.cts.map +1 -1
- package/dist/actions/delete-alias.d.mts +17 -3
- package/dist/actions/delete-alias.d.mts.map +1 -1
- package/dist/actions/delete-alias.mjs +2 -2
- package/dist/actions/delete-alias.mjs.map +1 -1
- package/dist/actions/edit-device.cjs +2 -2
- package/dist/actions/edit-device.cjs.map +1 -1
- package/dist/actions/edit-device.d.cts +50 -3
- package/dist/actions/edit-device.d.cts.map +1 -1
- package/dist/actions/edit-device.d.mts +50 -3
- package/dist/actions/edit-device.d.mts.map +1 -1
- package/dist/actions/edit-device.mjs +2 -2
- package/dist/actions/edit-device.mjs.map +1 -1
- package/dist/actions/onesignal-view-segment.cjs +1 -1
- package/dist/actions/onesignal-view-segment.cjs.map +1 -1
- package/dist/actions/onesignal-view-segment.d.cts +11 -3
- package/dist/actions/onesignal-view-segment.d.cts.map +1 -1
- package/dist/actions/onesignal-view-segment.d.mts +11 -3
- package/dist/actions/onesignal-view-segment.d.mts.map +1 -1
- package/dist/actions/onesignal-view-segment.mjs +1 -1
- package/dist/actions/onesignal-view-segment.mjs.map +1 -1
- package/dist/actions/update-subscription-by-token.cjs +2 -2
- package/dist/actions/update-subscription-by-token.cjs.map +1 -1
- package/dist/actions/update-subscription-by-token.d.cts +70 -3
- package/dist/actions/update-subscription-by-token.d.cts.map +1 -1
- package/dist/actions/update-subscription-by-token.d.mts +70 -3
- package/dist/actions/update-subscription-by-token.d.mts.map +1 -1
- package/dist/actions/update-subscription-by-token.mjs +2 -2
- package/dist/actions/update-subscription-by-token.mjs.map +1 -1
- package/dist/actions/view-app.cjs +5 -5
- package/dist/actions/view-app.cjs.map +1 -1
- package/dist/actions/view-app.d.cts +34 -3
- package/dist/actions/view-app.d.cts.map +1 -1
- package/dist/actions/view-app.d.mts +34 -3
- package/dist/actions/view-app.d.mts.map +1 -1
- package/dist/actions/view-app.mjs +5 -5
- package/dist/actions/view-app.mjs.map +1 -1
- package/dist/actions/view-broadcasts.cjs +7 -7
- package/dist/actions/view-broadcasts.cjs.map +1 -1
- package/dist/actions/view-broadcasts.d.cts +25 -3
- package/dist/actions/view-broadcasts.d.cts.map +1 -1
- package/dist/actions/view-broadcasts.d.mts +25 -3
- package/dist/actions/view-broadcasts.d.mts.map +1 -1
- package/dist/actions/view-broadcasts.mjs +7 -7
- package/dist/actions/view-broadcasts.mjs.map +1 -1
- package/dist/actions/view-device.cjs +4 -4
- package/dist/actions/view-device.cjs.map +1 -1
- package/dist/actions/view-device.d.cts +26 -3
- package/dist/actions/view-device.d.cts.map +1 -1
- package/dist/actions/view-device.d.mts +26 -3
- package/dist/actions/view-device.d.mts.map +1 -1
- package/dist/actions/view-device.mjs +4 -4
- package/dist/actions/view-device.mjs.map +1 -1
- package/dist/actions/view-outcomes.cjs +2 -2
- package/dist/actions/view-outcomes.cjs.map +1 -1
- package/dist/actions/view-outcomes.d.cts +30 -3
- package/dist/actions/view-outcomes.d.cts.map +1 -1
- package/dist/actions/view-outcomes.d.mts +30 -3
- package/dist/actions/view-outcomes.d.mts.map +1 -1
- package/dist/actions/view-outcomes.mjs +2 -2
- package/dist/actions/view-outcomes.mjs.map +1 -1
- package/dist/actions/view-segments.cjs +7 -7
- package/dist/actions/view-segments.cjs.map +1 -1
- package/dist/actions/view-segments.d.cts +29 -3
- package/dist/actions/view-segments.d.cts.map +1 -1
- package/dist/actions/view-segments.d.mts +29 -3
- package/dist/actions/view-segments.d.mts.map +1 -1
- package/dist/actions/view-segments.mjs +7 -7
- package/dist/actions/view-segments.mjs.map +1 -1
- package/dist/actions/view-user-unread-message-count.cjs +1 -1
- package/dist/actions/view-user-unread-message-count.cjs.map +1 -1
- package/dist/actions/view-user-unread-message-count.d.cts +13 -3
- package/dist/actions/view-user-unread-message-count.d.cts.map +1 -1
- package/dist/actions/view-user-unread-message-count.d.mts +13 -3
- package/dist/actions/view-user-unread-message-count.d.mts.map +1 -1
- package/dist/actions/view-user-unread-message-count.mjs +1 -1
- package/dist/actions/view-user-unread-message-count.mjs.map +1 -1
- package/dist/actions/view-user.cjs +5 -5
- package/dist/actions/view-user.cjs.map +1 -1
- package/dist/actions/view-user.d.cts +42 -3
- package/dist/actions/view-user.d.cts.map +1 -1
- package/dist/actions/view-user.d.mts +42 -3
- package/dist/actions/view-user.d.mts.map +1 -1
- package/dist/actions/view-user.mjs +5 -5
- package/dist/actions/view-user.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/view-outcomes.d.ts
|
|
4
|
-
declare const OnesignalUserAuthViewOutcomesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnesignalUserAuthViewOutcomesInput: z.ZodObject<{
|
|
5
|
+
app_id: z.ZodString;
|
|
6
|
+
outcome_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
outcome_platforms: z.ZodOptional<z.ZodString>;
|
|
8
|
+
outcome_time_range: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
"1h": "1h";
|
|
10
|
+
"1d": "1d";
|
|
11
|
+
"1mo": "1mo";
|
|
12
|
+
}>>;
|
|
13
|
+
outcome_attribution: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
direct: "direct";
|
|
15
|
+
influenced: "influenced";
|
|
16
|
+
unattributed: "unattributed";
|
|
17
|
+
total: "total";
|
|
18
|
+
}>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const OnesignalUserAuthViewOutcomesOutput: z.ZodObject<{
|
|
21
|
+
outcomes: z.ZodArray<z.ZodObject<{
|
|
22
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
aggregation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
declare const onesignalUserAuthViewOutcomes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
app_id: string;
|
|
29
|
+
outcome_names?: string[] | undefined;
|
|
30
|
+
outcome_platforms?: string | undefined;
|
|
31
|
+
outcome_time_range?: "1h" | "1d" | "1mo" | undefined;
|
|
32
|
+
outcome_attribution?: "direct" | "influenced" | "unattributed" | "total" | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { onesignalUserAuthViewOutcomes };
|
|
9
36
|
//# sourceMappingURL=view-outcomes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-outcomes.d.mts","names":[],"sources":["../../src/actions/view-outcomes.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"view-outcomes.d.mts","names":[],"sources":["../../src/actions/view-outcomes.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAYlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -21,13 +21,13 @@ const OnesignalUserAuthViewOutcomes_OutcomeSchema = z.object({
|
|
|
21
21
|
id: z.string().describe("Outcome identifier").nullable().optional(),
|
|
22
22
|
value: z.number().int().describe("Outcome value").nullable().optional(),
|
|
23
23
|
aggregation: z.string().describe("Aggregation type (e.g., 'count', 'sum')").nullable().optional()
|
|
24
|
-
}).describe("Representation of a single outcome object.");
|
|
24
|
+
}).passthrough().describe("Representation of a single outcome object.");
|
|
25
25
|
const onesignalUserAuthViewOutcomes = action("ONESIGNAL_USER_AUTH_VIEW_OUTCOMES", {
|
|
26
26
|
slug: "onesignal_user_auth-view-outcomes",
|
|
27
27
|
name: "View Outcomes",
|
|
28
28
|
description: "Tool to view all outcomes associated with a OneSignal app. Use to retrieve outcome metrics filtered by time range, platforms, and attribution type.",
|
|
29
29
|
input: OnesignalUserAuthViewOutcomesInput,
|
|
30
|
-
output: z.object({ outcomes: z.array(OnesignalUserAuthViewOutcomes_OutcomeSchema).describe("List of outcome objects for the app") }).describe("Response schema for viewing OneSignal outcomes.")
|
|
30
|
+
output: z.object({ outcomes: z.array(OnesignalUserAuthViewOutcomes_OutcomeSchema).describe("List of outcome objects for the app") }).passthrough().describe("Response schema for viewing OneSignal outcomes.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { onesignalUserAuthViewOutcomes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-outcomes.mjs","names":[],"sources":["../../src/actions/view-outcomes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewOutcomesInput
|
|
1
|
+
{"version":3,"file":"view-outcomes.mjs","names":[],"sources":["../../src/actions/view-outcomes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewOutcomesInput = z.object({\n app_id: z.string().describe(\"OneSignal App ID in UUID v4 format to retrieve outcomes for.\"),\n outcome_names: z.array(z.string()).describe(\"List of outcome names with aggregation type to fetch. Format: 'outcome_name.aggregation_type' (e.g., 'my_outcome.count' or 'my_outcome.sum'). For clicks use 'os__click.count', for confirmed deliveries use 'os__confirmed_delivery.count', for session duration use 'os__session_duration.count'.\").optional(),\n outcome_platforms: z.string().describe(\"Comma-separated list of platform device_type integers to include. Defaults to '0,1,2,5,8,11,14,17' if not specified.\").optional(),\n outcome_time_range: z.enum([\"1h\", \"1d\", \"1mo\"]).describe(\"Time range for outcome data.\").optional(),\n outcome_attribution: z.enum([\"direct\", \"influenced\", \"unattributed\", \"total\"]).describe(\"Attribution type for outcomes.\").optional(),\n}).describe(\"Request parameters for viewing OneSignal outcomes for an app.\");\nconst OnesignalUserAuthViewOutcomes_OutcomeSchema = z.object({\n id: z.string().describe(\"Outcome identifier\").nullable().optional(),\n value: z.number().int().describe(\"Outcome value\").nullable().optional(),\n aggregation: z.string().describe(\"Aggregation type (e.g., 'count', 'sum')\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single outcome object.\");\nexport const OnesignalUserAuthViewOutcomesOutput = z.object({\n outcomes: z.array(OnesignalUserAuthViewOutcomes_OutcomeSchema).describe(\"List of outcome objects for the app\"),\n}).passthrough().describe(\"Response schema for viewing OneSignal outcomes.\");\n\nexport const onesignalUserAuthViewOutcomes = action(\"ONESIGNAL_USER_AUTH_VIEW_OUTCOMES\", {\n slug: \"onesignal_user_auth-view-outcomes\",\n name: \"View Outcomes\",\n description: \"Tool to view all outcomes associated with a OneSignal app. Use to retrieve outcome metrics filtered by time range, platforms, and attribution type.\",\n input: OnesignalUserAuthViewOutcomesInput,\n output: OnesignalUserAuthViewOutcomesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC1F,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qSAAqS,CAAC,CAAC,SAAS;CAC5V,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACxK,oBAAoB,EAAE,KAAK;EAAC;EAAM;EAAM;CAAK,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClG,qBAAqB,EAAE,KAAK;EAAC;EAAU;EAAc;EAAgB;CAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,UAAU,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,qCAAqC,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -7,25 +7,25 @@ const OnesignalUserAuthViewSegmentsInput = zod.z.object({
|
|
|
7
7
|
offset: zod.z.number().int().describe("Offset for pagination (number of items to skip).").optional()
|
|
8
8
|
}).describe("Request parameters for listing OneSignal segments for an app.");
|
|
9
9
|
const OnesignalUserAuthViewSegments_SegmentSchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Segment ID"),
|
|
11
|
-
name: zod.z.string().describe("Name of the segment"),
|
|
10
|
+
id: zod.z.string().describe("Segment ID").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Name of the segment").nullable(),
|
|
12
12
|
app_id: zod.z.string().describe("App ID the segment belongs to").nullable().optional(),
|
|
13
13
|
source: zod.z.string().describe("Source of the segment (e.g., 'default')").nullable().optional(),
|
|
14
14
|
filters: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Filters used to create the segment (if applicable)").nullable().optional(),
|
|
15
15
|
is_active: zod.z.boolean().describe("Whether the segment is active").nullable().optional(),
|
|
16
16
|
read_only: zod.z.boolean().describe("Whether the segment is read-only").nullable().optional(),
|
|
17
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp of segment creation"),
|
|
18
|
-
updated_at: zod.z.string().describe("ISO 8601 timestamp of last segment update"),
|
|
17
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp of segment creation").nullable(),
|
|
18
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp of last segment update").nullable(),
|
|
19
19
|
segment_status: zod.z.string().describe("Status of the segment").nullable().optional(),
|
|
20
20
|
loading_started_at: zod.z.string().describe("ISO 8601 timestamp when loading started").nullable().optional(),
|
|
21
21
|
loading_completed_at: zod.z.string().describe("ISO 8601 timestamp when loading completed").nullable().optional()
|
|
22
|
-
}).describe("Representation of a OneSignal segment object.");
|
|
22
|
+
}).passthrough().describe("Representation of a OneSignal segment object.");
|
|
23
23
|
const OnesignalUserAuthViewSegmentsOutput = zod.z.object({
|
|
24
24
|
limit: zod.z.number().int().describe("Limit used for pagination").nullable().optional(),
|
|
25
25
|
offset: zod.z.number().int().describe("Offset used for pagination").nullable().optional(),
|
|
26
26
|
segments: zod.z.array(OnesignalUserAuthViewSegments_SegmentSchema).describe("List of segment objects for the app"),
|
|
27
|
-
total_count: zod.z.number().int().describe("Total number of segments available for the app")
|
|
28
|
-
}).describe("Response schema for listing OneSignal segments.");
|
|
27
|
+
total_count: zod.z.number().int().describe("Total number of segments available for the app").nullable()
|
|
28
|
+
}).passthrough().describe("Response schema for listing OneSignal segments.");
|
|
29
29
|
const onesignalUserAuthViewSegments = require_action.action("ONESIGNAL_USER_AUTH_VIEW_SEGMENTS", {
|
|
30
30
|
slug: "onesignal_user_auth-view-segments",
|
|
31
31
|
name: "View Segments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-segments.cjs","names":["z","action"],"sources":["../../src/actions/view-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewSegmentsInput
|
|
1
|
+
{"version":3,"file":"view-segments.cjs","names":["z","action"],"sources":["../../src/actions/view-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewSegmentsInput = z.object({\n limit: z.number().int().describe(\"Number of segments to return (1 to 300). Defaults to OneSignal default if omitted.\").optional(),\n app_id: z.string().describe(\"OneSignal App ID to list segments for\"),\n offset: z.number().int().describe(\"Offset for pagination (number of items to skip).\").optional(),\n}).describe(\"Request parameters for listing OneSignal segments for an app.\");\nconst OnesignalUserAuthViewSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Segment ID\").nullable(),\n name: z.string().describe(\"Name of the segment\").nullable(),\n app_id: z.string().describe(\"App ID the segment belongs to\").nullable().optional(),\n source: z.string().describe(\"Source of the segment (e.g., 'default')\").nullable().optional(),\n filters: z.array(z.record(z.string(), z.unknown())).describe(\"Filters used to create the segment (if applicable)\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the segment is active\").nullable().optional(),\n read_only: z.boolean().describe(\"Whether the segment is read-only\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of segment creation\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last segment update\").nullable(),\n segment_status: z.string().describe(\"Status of the segment\").nullable().optional(),\n loading_started_at: z.string().describe(\"ISO 8601 timestamp when loading started\").nullable().optional(),\n loading_completed_at: z.string().describe(\"ISO 8601 timestamp when loading completed\").nullable().optional(),\n}).passthrough().describe(\"Representation of a OneSignal segment object.\");\nexport const OnesignalUserAuthViewSegmentsOutput = z.object({\n limit: z.number().int().describe(\"Limit used for pagination\").nullable().optional(),\n offset: z.number().int().describe(\"Offset used for pagination\").nullable().optional(),\n segments: z.array(OnesignalUserAuthViewSegments_SegmentSchema).describe(\"List of segment objects for the app\"),\n total_count: z.number().int().describe(\"Total number of segments available for the app\").nullable(),\n}).passthrough().describe(\"Response schema for listing OneSignal segments.\");\n\nexport const onesignalUserAuthViewSegments = action(\"ONESIGNAL_USER_AUTH_VIEW_SEGMENTS\", {\n slug: \"onesignal_user_auth-view-segments\",\n name: \"View Segments\",\n description: \"Tool to list all segments for an app. Use after obtaining the app_id to retrieve a paginated list of segments.\",\n input: OnesignalUserAuthViewSegmentsInput,\n output: OnesignalUserAuthViewSegmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,qCAAqC;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/view-segments.d.ts
|
|
4
|
-
declare const OnesignalUserAuthViewSegmentsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnesignalUserAuthViewSegmentsInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
app_id: z.ZodString;
|
|
7
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OnesignalUserAuthViewSegmentsOutput: z.ZodObject<{
|
|
10
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
filters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
18
|
+
is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
read_only: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
21
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
segment_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
loading_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
loading_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
total_count: z.ZodNullable<z.ZodNumber>;
|
|
27
|
+
}, z.core.$loose>;
|
|
28
|
+
declare const onesignalUserAuthViewSegments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
app_id: string;
|
|
30
|
+
limit?: number | undefined;
|
|
31
|
+
offset?: number | undefined;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { onesignalUserAuthViewSegments };
|
|
9
35
|
//# sourceMappingURL=view-segments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-segments.d.cts","names":[],"sources":["../../src/actions/view-segments.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"view-segments.d.cts","names":[],"sources":["../../src/actions/view-segments.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAmBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAOnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/view-segments.d.ts
|
|
4
|
-
declare const OnesignalUserAuthViewSegmentsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnesignalUserAuthViewSegmentsInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
app_id: z.ZodString;
|
|
7
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OnesignalUserAuthViewSegmentsOutput: z.ZodObject<{
|
|
10
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
filters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
18
|
+
is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
read_only: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
21
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
segment_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
loading_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
loading_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
total_count: z.ZodNullable<z.ZodNumber>;
|
|
27
|
+
}, z.core.$loose>;
|
|
28
|
+
declare const onesignalUserAuthViewSegments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
app_id: string;
|
|
30
|
+
limit?: number | undefined;
|
|
31
|
+
offset?: number | undefined;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { onesignalUserAuthViewSegments };
|
|
9
35
|
//# sourceMappingURL=view-segments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-segments.d.mts","names":[],"sources":["../../src/actions/view-segments.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"view-segments.d.mts","names":[],"sources":["../../src/actions/view-segments.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAmBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAOnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -7,19 +7,19 @@ const OnesignalUserAuthViewSegmentsInput = z.object({
|
|
|
7
7
|
offset: z.number().int().describe("Offset for pagination (number of items to skip).").optional()
|
|
8
8
|
}).describe("Request parameters for listing OneSignal segments for an app.");
|
|
9
9
|
const OnesignalUserAuthViewSegments_SegmentSchema = z.object({
|
|
10
|
-
id: z.string().describe("Segment ID"),
|
|
11
|
-
name: z.string().describe("Name of the segment"),
|
|
10
|
+
id: z.string().describe("Segment ID").nullable(),
|
|
11
|
+
name: z.string().describe("Name of the segment").nullable(),
|
|
12
12
|
app_id: z.string().describe("App ID the segment belongs to").nullable().optional(),
|
|
13
13
|
source: z.string().describe("Source of the segment (e.g., 'default')").nullable().optional(),
|
|
14
14
|
filters: z.array(z.record(z.string(), z.unknown())).describe("Filters used to create the segment (if applicable)").nullable().optional(),
|
|
15
15
|
is_active: z.boolean().describe("Whether the segment is active").nullable().optional(),
|
|
16
16
|
read_only: z.boolean().describe("Whether the segment is read-only").nullable().optional(),
|
|
17
|
-
created_at: z.string().describe("ISO 8601 timestamp of segment creation"),
|
|
18
|
-
updated_at: z.string().describe("ISO 8601 timestamp of last segment update"),
|
|
17
|
+
created_at: z.string().describe("ISO 8601 timestamp of segment creation").nullable(),
|
|
18
|
+
updated_at: z.string().describe("ISO 8601 timestamp of last segment update").nullable(),
|
|
19
19
|
segment_status: z.string().describe("Status of the segment").nullable().optional(),
|
|
20
20
|
loading_started_at: z.string().describe("ISO 8601 timestamp when loading started").nullable().optional(),
|
|
21
21
|
loading_completed_at: z.string().describe("ISO 8601 timestamp when loading completed").nullable().optional()
|
|
22
|
-
}).describe("Representation of a OneSignal segment object.");
|
|
22
|
+
}).passthrough().describe("Representation of a OneSignal segment object.");
|
|
23
23
|
const onesignalUserAuthViewSegments = action("ONESIGNAL_USER_AUTH_VIEW_SEGMENTS", {
|
|
24
24
|
slug: "onesignal_user_auth-view-segments",
|
|
25
25
|
name: "View Segments",
|
|
@@ -29,8 +29,8 @@ const onesignalUserAuthViewSegments = action("ONESIGNAL_USER_AUTH_VIEW_SEGMENTS"
|
|
|
29
29
|
limit: z.number().int().describe("Limit used for pagination").nullable().optional(),
|
|
30
30
|
offset: z.number().int().describe("Offset used for pagination").nullable().optional(),
|
|
31
31
|
segments: z.array(OnesignalUserAuthViewSegments_SegmentSchema).describe("List of segment objects for the app"),
|
|
32
|
-
total_count: z.number().int().describe("Total number of segments available for the app")
|
|
33
|
-
}).describe("Response schema for listing OneSignal segments.")
|
|
32
|
+
total_count: z.number().int().describe("Total number of segments available for the app").nullable()
|
|
33
|
+
}).passthrough().describe("Response schema for listing OneSignal segments.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { onesignalUserAuthViewSegments };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-segments.mjs","names":[],"sources":["../../src/actions/view-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewSegmentsInput
|
|
1
|
+
{"version":3,"file":"view-segments.mjs","names":[],"sources":["../../src/actions/view-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewSegmentsInput = z.object({\n limit: z.number().int().describe(\"Number of segments to return (1 to 300). Defaults to OneSignal default if omitted.\").optional(),\n app_id: z.string().describe(\"OneSignal App ID to list segments for\"),\n offset: z.number().int().describe(\"Offset for pagination (number of items to skip).\").optional(),\n}).describe(\"Request parameters for listing OneSignal segments for an app.\");\nconst OnesignalUserAuthViewSegments_SegmentSchema = z.object({\n id: z.string().describe(\"Segment ID\").nullable(),\n name: z.string().describe(\"Name of the segment\").nullable(),\n app_id: z.string().describe(\"App ID the segment belongs to\").nullable().optional(),\n source: z.string().describe(\"Source of the segment (e.g., 'default')\").nullable().optional(),\n filters: z.array(z.record(z.string(), z.unknown())).describe(\"Filters used to create the segment (if applicable)\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the segment is active\").nullable().optional(),\n read_only: z.boolean().describe(\"Whether the segment is read-only\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of segment creation\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last segment update\").nullable(),\n segment_status: z.string().describe(\"Status of the segment\").nullable().optional(),\n loading_started_at: z.string().describe(\"ISO 8601 timestamp when loading started\").nullable().optional(),\n loading_completed_at: z.string().describe(\"ISO 8601 timestamp when loading completed\").nullable().optional(),\n}).passthrough().describe(\"Representation of a OneSignal segment object.\");\nexport const OnesignalUserAuthViewSegmentsOutput = z.object({\n limit: z.number().int().describe(\"Limit used for pagination\").nullable().optional(),\n offset: z.number().int().describe(\"Offset used for pagination\").nullable().optional(),\n segments: z.array(OnesignalUserAuthViewSegments_SegmentSchema).describe(\"List of segment objects for the app\"),\n total_count: z.number().int().describe(\"Total number of segments available for the app\").nullable(),\n}).passthrough().describe(\"Response schema for listing OneSignal segments.\");\n\nexport const onesignalUserAuthViewSegments = action(\"ONESIGNAL_USER_AUTH_VIEW_SEGMENTS\", {\n slug: \"onesignal_user_auth-view-segments\",\n name: \"View Segments\",\n description: \"Tool to list all segments for an app. Use after obtaining the app_id to retrieve a paginated list of segments.\",\n input: OnesignalUserAuth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CAAC,CAAC,SAAS;CACjF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAQzE,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZiD,EAAE,OAAO;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,qCAAqC;EAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const OnesignalUserAuthViewUserUnreadMessageCountInput = zod.z.object({
|
|
|
6
6
|
alias_id: zod.z.string().describe("The identifier or value set for the desired alias label."),
|
|
7
7
|
alias_label: zod.z.string().describe("The alias name or key to locate the user. Most commonly set as `external_id` but can be the `onesignal_id` or a custom alias.")
|
|
8
8
|
}).describe("Request model for viewing user's unread message count.");
|
|
9
|
-
const OnesignalUserAuthViewUserUnreadMessageCountOutput = zod.z.object({ count: zod.z.number().int().default(0).describe("The number of unread messages for the user.").nullable().optional() }).describe("Response model for user's unread message count.");
|
|
9
|
+
const OnesignalUserAuthViewUserUnreadMessageCountOutput = zod.z.object({ count: zod.z.number().int().default(0).describe("The number of unread messages for the user.").nullable().optional() }).passthrough().describe("Response model for user's unread message count.");
|
|
10
10
|
const onesignalUserAuthViewUserUnreadMessageCount = require_action.action("ONESIGNAL_USER_AUTH_VIEW_USER_UNREAD_MESSAGE_COUNT", {
|
|
11
11
|
slug: "onesignal_user_auth-view-user-unread-message-count",
|
|
12
12
|
name: "View User Unread Message Count",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-user-unread-message-count.cjs","names":["z","action"],"sources":["../../src/actions/view-user-unread-message-count.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewUserUnreadMessageCountInput
|
|
1
|
+
{"version":3,"file":"view-user-unread-message-count.cjs","names":["z","action"],"sources":["../../src/actions/view-user-unread-message-count.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewUserUnreadMessageCountInput = z.object({\n app_id: z.string().describe(\"Your OneSignal App ID in UUID v4 format. See [Keys & IDs](/docs/keys-and-ids).\"),\n alias_id: z.string().describe(\"The identifier or value set for the desired alias label.\"),\n alias_label: z.string().describe(\"The alias name or key to locate the user. Most commonly set as `external_id` but can be the `onesignal_id` or a custom alias.\"),\n}).describe(\"Request model for viewing user's unread message count.\");\nexport const OnesignalUserAuthViewUserUnreadMessageCountOutput = z.object({\n count: z.number().int().default(0).describe(\"The number of unread messages for the user.\").nullable().optional(),\n}).passthrough().describe(\"Response model for user's unread message count.\");\n\nexport const onesignalUserAuthViewUserUnreadMessageCount = action(\"ONESIGNAL_USER_AUTH_VIEW_USER_UNREAD_MESSAGE_COUNT\", {\n slug: \"onesignal_user_auth-view-user-unread-message-count\",\n name: \"View User Unread Message Count\",\n description: \"Tool to retrieve the unread message count for a specific user. Use when you need to check how many unread inbox messages a user has.\",\n input: OnesignalUserAuthViewUserUnreadMessageCountInput,\n output: OnesignalUserAuthViewUserUnreadMessageCountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC5G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;AAClK,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,oDAAoDA,IAAAA,EAAE,OAAO,EACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,8CAA8CC,eAAAA,OAAO,sDAAsD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/view-user-unread-message-count.d.ts
|
|
4
|
-
declare const OnesignalUserAuthViewUserUnreadMessageCountInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnesignalUserAuthViewUserUnreadMessageCountInput: z.ZodObject<{
|
|
5
|
+
app_id: z.ZodString;
|
|
6
|
+
alias_id: z.ZodString;
|
|
7
|
+
alias_label: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OnesignalUserAuthViewUserUnreadMessageCountOutput: z.ZodObject<{
|
|
10
|
+
count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const onesignalUserAuthViewUserUnreadMessageCount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
app_id: string;
|
|
14
|
+
alias_id: string;
|
|
15
|
+
alias_label: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { onesignalUserAuthViewUserUnreadMessageCount };
|
|
9
19
|
//# sourceMappingURL=view-user-unread-message-count.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-user-unread-message-count.d.cts","names":[],"sources":["../../src/actions/view-user-unread-message-count.ts"],"mappings":";;;cAIa,gDAAA,
|
|
1
|
+
{"version":3,"file":"view-user-unread-message-count.d.cts","names":[],"sources":["../../src/actions/view-user-unread-message-count.ts"],"mappings":";;;cAIa,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;cAKhD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;cAIjD,2CAAA,gCAA2C,wBAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/view-user-unread-message-count.d.ts
|
|
4
|
-
declare const OnesignalUserAuthViewUserUnreadMessageCountInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnesignalUserAuthViewUserUnreadMessageCountInput: z.ZodObject<{
|
|
5
|
+
app_id: z.ZodString;
|
|
6
|
+
alias_id: z.ZodString;
|
|
7
|
+
alias_label: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OnesignalUserAuthViewUserUnreadMessageCountOutput: z.ZodObject<{
|
|
10
|
+
count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const onesignalUserAuthViewUserUnreadMessageCount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
app_id: string;
|
|
14
|
+
alias_id: string;
|
|
15
|
+
alias_label: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { onesignalUserAuthViewUserUnreadMessageCount };
|
|
9
19
|
//# sourceMappingURL=view-user-unread-message-count.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-user-unread-message-count.d.mts","names":[],"sources":["../../src/actions/view-user-unread-message-count.ts"],"mappings":";;;cAIa,gDAAA,
|
|
1
|
+
{"version":3,"file":"view-user-unread-message-count.d.mts","names":[],"sources":["../../src/actions/view-user-unread-message-count.ts"],"mappings":";;;cAIa,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;cAKhD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;cAIjD,2CAAA,gCAA2C,wBAAA"}
|
|
@@ -9,7 +9,7 @@ const onesignalUserAuthViewUserUnreadMessageCount = action("ONESIGNAL_USER_AUTH_
|
|
|
9
9
|
alias_id: z.string().describe("The identifier or value set for the desired alias label."),
|
|
10
10
|
alias_label: z.string().describe("The alias name or key to locate the user. Most commonly set as `external_id` but can be the `onesignal_id` or a custom alias.")
|
|
11
11
|
}).describe("Request model for viewing user's unread message count."),
|
|
12
|
-
output: z.object({ count: z.number().int().default(0).describe("The number of unread messages for the user.").nullable().optional() }).describe("Response model for user's unread message count.")
|
|
12
|
+
output: z.object({ count: z.number().int().default(0).describe("The number of unread messages for the user.").nullable().optional() }).passthrough().describe("Response model for user's unread message count.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { onesignalUserAuthViewUserUnreadMessageCount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-user-unread-message-count.mjs","names":[],"sources":["../../src/actions/view-user-unread-message-count.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewUserUnreadMessageCountInput
|
|
1
|
+
{"version":3,"file":"view-user-unread-message-count.mjs","names":[],"sources":["../../src/actions/view-user-unread-message-count.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewUserUnreadMessageCountInput = z.object({\n app_id: z.string().describe(\"Your OneSignal App ID in UUID v4 format. See [Keys & IDs](/docs/keys-and-ids).\"),\n alias_id: z.string().describe(\"The identifier or value set for the desired alias label.\"),\n alias_label: z.string().describe(\"The alias name or key to locate the user. Most commonly set as `external_id` but can be the `onesignal_id` or a custom alias.\"),\n}).describe(\"Request model for viewing user's unread message count.\");\nexport const OnesignalUserAuthViewUserUnreadMessageCountOutput = z.object({\n count: z.number().int().default(0).describe(\"The number of unread messages for the user.\").nullable().optional(),\n}).passthrough().describe(\"Response model for user's unread message count.\");\n\nexport const onesignalUserAuthViewUserUnreadMessageCount = action(\"ONESIGNAL_USER_AUTH_VIEW_USER_UNREAD_MESSAGE_COUNT\", {\n slug: \"onesignal_user_auth-view-user-unread-message-count\",\n name: \"View User Unread Message Count\",\n description: \"Tool to retrieve the unread message count for a specific user. Use when you need to check how many unread inbox messages a user has.\",\n input: OnesignalUserAuthViewUserUnreadMessageCountInput,\n output: OnesignalUserAuthViewUserUnreadMessageCountOutput,\n});\n"],"mappings":";;AAaA,MAAa,8CAA8C,OAAO,sDAAsD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8D,EAAE,OAAO;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC5G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;CAClK,CAAC,CAAC,CAAC,SAAS,wDASH;CACP,QAT+D,EAAE,OAAO,EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -9,13 +9,13 @@ const OnesignalUserAuthViewUserInput = zod.z.object({
|
|
|
9
9
|
const OnesignalUserAuthViewUser_UserIdentitySchema = zod.z.object({
|
|
10
10
|
external_id: zod.z.string().describe("External user ID linked to the user").nullable().optional(),
|
|
11
11
|
onesignal_id: zod.z.string().describe("OneSignal user ID").nullable().optional()
|
|
12
|
-
}).describe("Identity information for a OneSignal user.");
|
|
12
|
+
}).passthrough().describe("Identity information for a OneSignal user.");
|
|
13
13
|
const OnesignalUserAuthViewUser_UserPropertiesSchema = zod.z.object({
|
|
14
|
-
tags: zod.z.
|
|
14
|
+
tags: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value tags assigned to the user").nullable().optional(),
|
|
15
15
|
country: zod.z.string().describe("Country code (e.g., 'US')").nullable().optional(),
|
|
16
16
|
last_active: zod.z.number().int().describe("Unix timestamp of last activity").nullable().optional(),
|
|
17
17
|
first_active: zod.z.number().int().describe("Unix timestamp of first activity").nullable().optional()
|
|
18
|
-
}).describe("User properties including tags and activity timestamps.");
|
|
18
|
+
}).passthrough().describe("User properties including tags and activity timestamps.");
|
|
19
19
|
const OnesignalUserAuthViewUser_UserSubscriptionSchema = zod.z.object({
|
|
20
20
|
id: zod.z.string().describe("Subscription ID").nullable().optional(),
|
|
21
21
|
sdk: zod.z.string().describe("SDK version").nullable().optional(),
|
|
@@ -35,12 +35,12 @@ const OnesignalUserAuthViewUser_UserSubscriptionSchema = zod.z.object({
|
|
|
35
35
|
session_time: zod.z.number().int().describe("Total session time in seconds").nullable().optional(),
|
|
36
36
|
session_count: zod.z.number().int().describe("Number of sessions for this subscription").nullable().optional(),
|
|
37
37
|
notification_types: zod.z.number().int().describe("Notification permission setting").nullable().optional()
|
|
38
|
-
}).describe("Subscription details for a user device.");
|
|
38
|
+
}).passthrough().describe("Subscription details for a user device.");
|
|
39
39
|
const OnesignalUserAuthViewUserOutput = zod.z.object({
|
|
40
40
|
identity: OnesignalUserAuthViewUser_UserIdentitySchema.nullable().optional(),
|
|
41
41
|
properties: OnesignalUserAuthViewUser_UserPropertiesSchema.nullable().optional(),
|
|
42
42
|
subscriptions: zod.z.array(OnesignalUserAuthViewUser_UserSubscriptionSchema).describe("List of device subscriptions for the user").nullable().optional()
|
|
43
|
-
}).describe("Response model for viewing a OneSignal user.\n\nIncludes identity, properties, tags, and device subscriptions.");
|
|
43
|
+
}).passthrough().describe("Response model for viewing a OneSignal user.\n\nIncludes identity, properties, tags, and device subscriptions.");
|
|
44
44
|
const onesignalUserAuthViewUser = require_action.action("ONESIGNAL_USER_AUTH_VIEW_USER", {
|
|
45
45
|
slug: "onesignal_user_auth-view-user",
|
|
46
46
|
name: "View OneSignal User",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-user.cjs","names":["z","action"],"sources":["../../src/actions/view-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewUserInput
|
|
1
|
+
{"version":3,"file":"view-user.cjs","names":["z","action"],"sources":["../../src/actions/view-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnesignalUserAuthViewUserInput = z.object({\n app_id: z.string().describe(\"Your OneSignal App ID in UUID v4 format. See [Keys & IDs](/docs/keys-and-ids).\"),\n alias_id: z.string().describe(\"The specific identifier for the given alias to identify the user.\"),\n alias_label: z.string().describe(\"The alias name or key to locate the user. Most commonly set as `external_id` but can be the `onesignal_id` or a custom alias. See [Aliases](/docs/aliases).\"),\n}).describe(\"Request model for viewing a OneSignal user by alias.\");\nconst OnesignalUserAuthViewUser_UserIdentitySchema = z.object({\n external_id: z.string().describe(\"External user ID linked to the user\").nullable().optional(),\n onesignal_id: z.string().describe(\"OneSignal user ID\").nullable().optional(),\n}).passthrough().describe(\"Identity information for a OneSignal user.\");\nconst OnesignalUserAuthViewUser_UserPropertiesSchema = z.object({\n tags: z.record(z.string(), z.unknown()).describe(\"Custom key-value tags assigned to the user\").nullable().optional(),\n country: z.string().describe(\"Country code (e.g., 'US')\").nullable().optional(),\n last_active: z.number().int().describe(\"Unix timestamp of last activity\").nullable().optional(),\n first_active: z.number().int().describe(\"Unix timestamp of first activity\").nullable().optional(),\n}).passthrough().describe(\"User properties including tags and activity timestamps.\");\nconst OnesignalUserAuthViewUser_UserSubscriptionSchema = z.object({\n id: z.string().describe(\"Subscription ID\").nullable().optional(),\n sdk: z.string().describe(\"SDK version\").nullable().optional(),\n type: z.string().describe(\"Subscription type\").nullable().optional(),\n token: z.string().describe(\"Device token for push notifications\").nullable().optional(),\n app_id: z.string().describe(\"OneSignal App ID\").nullable().optional(),\n rooted: z.boolean().describe(\"Whether device is rooted/jailbroken\").nullable().optional(),\n carrier: z.string().describe(\"Mobile carrier\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether notifications are enabled\").nullable().optional(),\n net_type: z.number().int().describe(\"Network type\").nullable().optional(),\n web_auth: z.string().describe(\"Web push authentication secret\").nullable().optional(),\n web_p256: z.string().describe(\"Web push P256 public key\").nullable().optional(),\n device_os: z.string().describe(\"Operating system version\").nullable().optional(),\n test_type: z.number().int().describe(\"Test type indicator\").nullable().optional(),\n app_version: z.string().describe(\"Application version\").nullable().optional(),\n device_model: z.string().describe(\"Device model name\").nullable().optional(),\n session_time: z.number().int().describe(\"Total session time in seconds\").nullable().optional(),\n session_count: z.number().int().describe(\"Number of sessions for this subscription\").nullable().optional(),\n notification_types: z.number().int().describe(\"Notification permission setting\").nullable().optional(),\n}).passthrough().describe(\"Subscription details for a user device.\");\nexport const OnesignalUserAuthViewUserOutput = z.object({\n identity: OnesignalUserAuthViewUser_UserIdentitySchema.nullable().optional(),\n properties: OnesignalUserAuthViewUser_UserPropertiesSchema.nullable().optional(),\n subscriptions: z.array(OnesignalUserAuthViewUser_UserSubscriptionSchema).describe(\"List of device subscriptions for the user\").nullable().optional(),\n}).passthrough().describe(\"Response model for viewing a OneSignal user.\\n\\nIncludes identity, properties, tags, and device subscriptions.\");\n\nexport const onesignalUserAuthViewUser = action(\"ONESIGNAL_USER_AUTH_VIEW_USER\", {\n slug: \"onesignal_user_auth-view-user\",\n name: \"View OneSignal User\",\n description: \"Tool to retrieve user details by alias label and ID. Use when you need to fetch user data including tags, subscriptions, and identity information.\",\n input: OnesignalUserAuthViewUserInput,\n output: OnesignalUserAuthViewUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC5G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;AAChM,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO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9 +1,48 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/view-user.d.ts
|
|
4
|
-
declare const OnesignalUserAuthViewUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnesignalUserAuthViewUserInput: z.ZodObject<{
|
|
5
|
+
app_id: z.ZodString;
|
|
6
|
+
alias_id: z.ZodString;
|
|
7
|
+
alias_label: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OnesignalUserAuthViewUserOutput: z.ZodObject<{
|
|
10
|
+
identity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
onesignal_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, z.core.$loose>>>;
|
|
14
|
+
properties: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
last_active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
first_active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
|
+
subscriptions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
sdk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
rooted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
carrier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
+
net_type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
web_auth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
web_p256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
device_os: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
test_type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
app_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
device_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
session_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
session_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
notification_types: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
+
}, z.core.$loose>>>>;
|
|
40
|
+
}, z.core.$loose>;
|
|
41
|
+
declare const onesignalUserAuthViewUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
|
+
app_id: string;
|
|
43
|
+
alias_id: string;
|
|
44
|
+
alias_label: string;
|
|
45
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
46
|
//#endregion
|
|
8
47
|
export { onesignalUserAuthViewUser };
|
|
9
48
|
//# sourceMappingURL=view-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-user.d.cts","names":[],"sources":["../../src/actions/view-user.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"view-user.d.cts","names":[],"sources":["../../src/actions/view-user.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAmC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,48 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/view-user.d.ts
|
|
4
|
-
declare const OnesignalUserAuthViewUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnesignalUserAuthViewUserInput: z.ZodObject<{
|
|
5
|
+
app_id: z.ZodString;
|
|
6
|
+
alias_id: z.ZodString;
|
|
7
|
+
alias_label: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OnesignalUserAuthViewUserOutput: z.ZodObject<{
|
|
10
|
+
identity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
onesignal_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, z.core.$loose>>>;
|
|
14
|
+
properties: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
last_active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
first_active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
|
+
subscriptions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
sdk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
rooted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
carrier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
+
net_type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
web_auth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
web_p256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
device_os: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
test_type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
app_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
device_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
session_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
session_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
notification_types: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
+
}, z.core.$loose>>>>;
|
|
40
|
+
}, z.core.$loose>;
|
|
41
|
+
declare const onesignalUserAuthViewUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
|
+
app_id: string;
|
|
43
|
+
alias_id: string;
|
|
44
|
+
alias_label: string;
|
|
45
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
46
|
//#endregion
|
|
8
47
|
export { onesignalUserAuthViewUser };
|
|
9
48
|
//# sourceMappingURL=view-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-user.d.mts","names":[],"sources":["../../src/actions/view-user.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"view-user.d.mts","names":[],"sources":["../../src/actions/view-user.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAmC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
|