@keystrokehq/segment 0.0.8 → 0.0.9
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/_official/index.d.mts +1 -1
- package/dist/_official/index.mjs +1 -1
- package/dist/audiences.d.mts +9 -9
- package/dist/audiences.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/computed-traits.d.mts +7 -7
- package/dist/computed-traits.mjs +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/{crud-SWa_79Hg.mjs → crud-DV9e4Spi.mjs} +1 -1
- package/dist/deletion-suppression.d.mts +6 -6
- package/dist/deletion-suppression.mjs +2 -2
- package/dist/delivery-overview.d.mts +3 -3
- package/dist/delivery-overview.mjs +1 -1
- package/dist/destination-filters.d.mts +6 -6
- package/dist/destination-filters.mjs +1 -1
- package/dist/destinations.d.mts +15 -15
- package/dist/destinations.mjs +2 -2
- package/dist/edge-functions.d.mts +6 -6
- package/dist/edge-functions.mjs +2 -2
- package/dist/events-catalog.d.mts +4 -4
- package/dist/events-catalog.mjs +1 -1
- package/dist/factory-DRwj5eiU.mjs +7 -0
- package/dist/functions.d.mts +16 -16
- package/dist/functions.mjs +2 -2
- package/dist/iam-groups.d.mts +10 -10
- package/dist/iam-groups.mjs +2 -2
- package/dist/iam-users.d.mts +7 -7
- package/dist/iam-users.mjs +2 -2
- package/dist/integration-B9FOjHPc.mjs +115 -0
- package/dist/{integration-DJ9tRlCV.d.mts → integration-CeShwMIi.d.mts} +3 -4
- package/dist/labels.d.mts +4 -4
- package/dist/labels.mjs +2 -2
- package/dist/monitoring.d.mts +6 -6
- package/dist/monitoring.mjs +1 -1
- package/dist/profiles-sync.d.mts +5 -5
- package/dist/profiles-sync.mjs +1 -1
- package/dist/profiles.d.mts +7 -7
- package/dist/profiles.mjs +1 -1
- package/dist/reverse-etl.d.mts +13 -13
- package/dist/reverse-etl.mjs +2 -2
- package/dist/roles.d.mts +2 -2
- package/dist/roles.mjs +1 -1
- package/dist/sources.d.mts +17 -17
- package/dist/sources.mjs +2 -2
- package/dist/tracking-plans.d.mts +12 -12
- package/dist/tracking-plans.mjs +2 -2
- package/dist/tracking.d.mts +9 -9
- package/dist/tracking.mjs +1 -1
- package/dist/transformations.d.mts +6 -6
- package/dist/transformations.mjs +1 -1
- package/dist/triggers.d.mts +3 -3
- package/dist/triggers.mjs +53 -3
- package/dist/usage.d.mts +3 -3
- package/dist/usage.mjs +1 -1
- package/dist/warehouses.d.mts +12 -12
- package/dist/warehouses.mjs +2 -2
- package/dist/workspaces.d.mts +4 -4
- package/dist/workspaces.mjs +1 -1
- package/package.json +4 -4
- package/dist/factory-CvfKfzMq.mjs +0 -8
- package/dist/integration-B5zYasBZ.mjs +0 -25
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as segmentOfficialIntegration, i as segmentBundle } from "../integration-
|
|
1
|
+
import { a as segmentOfficialIntegration, i as segmentBundle } from "../integration-CeShwMIi.mjs";
|
|
2
2
|
export { segmentBundle, segmentOfficialIntegration };
|
package/dist/_official/index.mjs
CHANGED
package/dist/audiences.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
|
|
5
5
|
//#region src/audiences.d.ts
|
|
6
6
|
declare const audienceSchema: z.ZodObject<{
|
|
@@ -25,7 +25,7 @@ declare const listAudiences: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
25
25
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
26
26
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
27
27
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
28
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
28
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
29
29
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
30
30
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
31
31
|
us: "us";
|
|
@@ -58,7 +58,7 @@ declare const getAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
58
58
|
description: z.ZodOptional<z.ZodString>;
|
|
59
59
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
60
60
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
61
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
62
62
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
63
63
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
64
64
|
us: "us";
|
|
@@ -94,7 +94,7 @@ declare const createAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
94
94
|
description: z.ZodOptional<z.ZodString>;
|
|
95
95
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
96
96
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
97
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
98
98
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
99
99
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
100
100
|
us: "us";
|
|
@@ -131,7 +131,7 @@ declare const updateAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
131
131
|
description: z.ZodOptional<z.ZodString>;
|
|
132
132
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
133
133
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
134
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
135
135
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
136
136
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
137
137
|
us: "us";
|
|
@@ -159,7 +159,7 @@ declare const deleteAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
159
159
|
id: z.ZodString;
|
|
160
160
|
}, z.core.$strip>, z.ZodObject<{
|
|
161
161
|
deleted: z.ZodLiteral<true>;
|
|
162
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
162
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
163
163
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
164
164
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
165
165
|
us: "us";
|
|
@@ -188,7 +188,7 @@ declare const previewAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
188
188
|
}, z.core.$strip>, z.ZodObject<{
|
|
189
189
|
count: z.ZodOptional<z.ZodNumber>;
|
|
190
190
|
sample: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
191
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
191
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
192
192
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
193
193
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
194
194
|
us: "us";
|
|
@@ -220,7 +220,7 @@ declare const getAudienceMembership: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
220
220
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
221
221
|
enteredAt: z.ZodOptional<z.ZodString>;
|
|
222
222
|
exitedAt: z.ZodOptional<z.ZodString>;
|
|
223
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
223
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
224
224
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
225
225
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
226
226
|
us: "us";
|
|
@@ -255,7 +255,7 @@ declare const listAudienceMembers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
255
255
|
enteredAt: z.ZodOptional<z.ZodString>;
|
|
256
256
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
257
257
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
258
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
258
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
259
259
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
260
260
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
261
261
|
us: "us";
|
package/dist/audiences.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSegmentClient } from "./client.mjs";
|
|
2
2
|
import { a as segmentLooseObjectSchema, n as segmentIdSchema } from "./common-CdGiJbjq.mjs";
|
|
3
|
-
import { t as segmentOperation } from "./factory-
|
|
3
|
+
import { t as segmentOperation } from "./factory-DRwj5eiU.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/audiences.ts
|
package/dist/client.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
|
|
5
5
|
//#region src/computed-traits.d.ts
|
|
6
6
|
declare const computedTraitSchema: z.ZodObject<{
|
|
@@ -25,7 +25,7 @@ declare const listComputedTraits: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
25
25
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
26
26
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
27
27
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
28
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
28
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
29
29
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
30
30
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
31
31
|
us: "us";
|
|
@@ -58,7 +58,7 @@ declare const getComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
58
58
|
description: z.ZodOptional<z.ZodString>;
|
|
59
59
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
60
60
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
61
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
62
62
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
63
63
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
64
64
|
us: "us";
|
|
@@ -94,7 +94,7 @@ declare const createComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
94
94
|
description: z.ZodOptional<z.ZodString>;
|
|
95
95
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
96
96
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
97
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
98
98
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
99
99
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
100
100
|
us: "us";
|
|
@@ -131,7 +131,7 @@ declare const updateComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
131
131
|
description: z.ZodOptional<z.ZodString>;
|
|
132
132
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
133
133
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
134
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
135
135
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
136
136
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
137
137
|
us: "us";
|
|
@@ -159,7 +159,7 @@ declare const deleteComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
159
159
|
id: z.ZodString;
|
|
160
160
|
}, z.core.$strip>, z.ZodObject<{
|
|
161
161
|
deleted: z.ZodLiteral<true>;
|
|
162
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
162
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
163
163
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
164
164
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
165
165
|
us: "us";
|
|
@@ -188,7 +188,7 @@ declare const previewComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
188
188
|
}, z.core.$strip>, z.ZodObject<{
|
|
189
189
|
count: z.ZodOptional<z.ZodNumber>;
|
|
190
190
|
sample: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
191
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
191
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
192
192
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
193
193
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
194
194
|
us: "us";
|
package/dist/computed-traits.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSegmentClient } from "./client.mjs";
|
|
2
2
|
import { a as segmentLooseObjectSchema, n as segmentIdSchema } from "./common-CdGiJbjq.mjs";
|
|
3
|
-
import { t as segmentOperation } from "./factory-
|
|
3
|
+
import { t as segmentOperation } from "./factory-DRwj5eiU.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/computed-traits.ts
|
package/dist/connection.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as segmentBundle, n as SegmentRegion, r as segment, t as SegmentCredentials } from "./integration-
|
|
1
|
+
import { i as segmentBundle, n as SegmentRegion, r as segment, t as SegmentCredentials } from "./integration-CeShwMIi.mjs";
|
|
2
2
|
export { type SegmentCredentials, type SegmentRegion, segment, segmentBundle };
|
package/dist/connection.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSegmentClient } from "./client.mjs";
|
|
2
2
|
import { o as segmentPaginationInputSchema } from "./common-CdGiJbjq.mjs";
|
|
3
|
-
import { t as segmentOperation } from "./factory-
|
|
3
|
+
import { t as segmentOperation } from "./factory-DRwj5eiU.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/crud.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
|
|
5
5
|
//#region src/deletion-suppression.d.ts
|
|
6
6
|
declare const regulationSchema: z.ZodObject<{
|
|
@@ -31,7 +31,7 @@ declare const createUserDeletion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
31
31
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
32
32
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
33
33
|
subjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
34
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
35
35
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
36
36
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
37
37
|
us: "us";
|
|
@@ -68,7 +68,7 @@ declare const createSuppression: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
68
68
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
69
69
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
70
70
|
subjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
71
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
72
72
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
73
73
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
74
74
|
us: "us";
|
|
@@ -95,7 +95,7 @@ declare const removeSuppression: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
95
95
|
id: z.ZodString;
|
|
96
96
|
}, z.core.$strip>, z.ZodObject<{
|
|
97
97
|
removed: z.ZodLiteral<true>;
|
|
98
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
98
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
99
99
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
100
100
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
101
101
|
us: "us";
|
|
@@ -132,7 +132,7 @@ declare const listRegulations: _keystrokehq_core0.Operation<z.ZodIntersection<z.
|
|
|
132
132
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
133
133
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
134
134
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
135
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
135
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
136
136
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
137
137
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
138
138
|
us: "us";
|
|
@@ -164,7 +164,7 @@ declare const getRegulation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
164
164
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
165
165
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
166
166
|
subjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
167
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
167
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
168
168
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
169
169
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
170
170
|
us: "us";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSegmentClient } from "./client.mjs";
|
|
2
2
|
import { a as segmentLooseObjectSchema, n as segmentIdSchema } from "./common-CdGiJbjq.mjs";
|
|
3
|
-
import { t as segmentOperation } from "./factory-
|
|
4
|
-
import { n as crudList, t as crudGet } from "./crud-
|
|
3
|
+
import { t as segmentOperation } from "./factory-DRwj5eiU.mjs";
|
|
4
|
+
import { n as crudList, t as crudGet } from "./crud-DV9e4Spi.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/deletion-suppression.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
|
|
5
5
|
//#region src/delivery-overview.d.ts
|
|
6
6
|
declare const listDeliveryOverviewMetrics: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObject<{
|
|
@@ -16,7 +16,7 @@ declare const listDeliveryOverviewMetrics: _keystrokehq_core0.Operation<z.ZodInt
|
|
|
16
16
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
17
17
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
18
18
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
19
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
19
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
20
20
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
21
21
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
22
22
|
us: "us";
|
|
@@ -52,7 +52,7 @@ declare const listDeliveryOverviewEvents: _keystrokehq_core0.Operation<z.ZodInte
|
|
|
52
52
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
53
53
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
54
54
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
55
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
55
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
56
56
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
57
57
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
58
58
|
us: "us";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
|
|
5
5
|
//#region src/destination-filters.d.ts
|
|
6
6
|
declare const destinationFilterSchema: z.ZodObject<{
|
|
@@ -24,7 +24,7 @@ declare const listDestinationFilters: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
24
24
|
title: z.ZodOptional<z.ZodString>;
|
|
25
25
|
description: z.ZodOptional<z.ZodString>;
|
|
26
26
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
27
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
27
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
28
28
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
29
29
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
30
30
|
us: "us";
|
|
@@ -58,7 +58,7 @@ declare const getDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
58
58
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
59
59
|
title: z.ZodOptional<z.ZodString>;
|
|
60
60
|
description: z.ZodOptional<z.ZodString>;
|
|
61
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
61
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
62
62
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
63
63
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
64
64
|
us: "us";
|
|
@@ -96,7 +96,7 @@ declare const createDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
96
96
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
97
97
|
title: z.ZodOptional<z.ZodString>;
|
|
98
98
|
description: z.ZodOptional<z.ZodString>;
|
|
99
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
99
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
100
100
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
101
101
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
102
102
|
us: "us";
|
|
@@ -135,7 +135,7 @@ declare const updateDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
135
135
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
136
136
|
title: z.ZodOptional<z.ZodString>;
|
|
137
137
|
description: z.ZodOptional<z.ZodString>;
|
|
138
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
138
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
139
139
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
140
140
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
141
141
|
us: "us";
|
|
@@ -163,7 +163,7 @@ declare const deleteDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
163
163
|
filterId: z.ZodString;
|
|
164
164
|
}, z.core.$strip>, z.ZodObject<{
|
|
165
165
|
deleted: z.ZodLiteral<true>;
|
|
166
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
166
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
167
167
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
168
168
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
169
169
|
us: "us";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSegmentClient } from "./client.mjs";
|
|
2
2
|
import { a as segmentLooseObjectSchema, n as segmentIdSchema } from "./common-CdGiJbjq.mjs";
|
|
3
|
-
import { t as segmentOperation } from "./factory-
|
|
3
|
+
import { t as segmentOperation } from "./factory-DRwj5eiU.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/destination-filters.ts
|
package/dist/destinations.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
|
|
5
5
|
//#region src/destinations.d.ts
|
|
6
6
|
declare const destinationSchema: z.ZodObject<{
|
|
@@ -25,7 +25,7 @@ declare const listDestinations: _keystrokehq_core0.Operation<z.ZodIntersection<z
|
|
|
25
25
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
26
26
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
27
27
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
28
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
28
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
29
29
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
30
30
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
31
31
|
us: "us";
|
|
@@ -57,7 +57,7 @@ declare const getDestination: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
57
57
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
58
58
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
59
59
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
60
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
60
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
61
61
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
62
62
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
63
63
|
us: "us";
|
|
@@ -89,7 +89,7 @@ declare const createDestination: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
89
89
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
90
90
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
91
91
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
92
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
92
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
93
93
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
94
94
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
95
95
|
us: "us";
|
|
@@ -121,7 +121,7 @@ declare const updateDestination: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
121
121
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
122
122
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
123
123
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
124
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
124
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
125
125
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
126
126
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
127
127
|
us: "us";
|
|
@@ -146,7 +146,7 @@ declare const updateDestination: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
146
146
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
147
147
|
declare const deleteDestination: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
148
148
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
149
|
-
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
149
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
150
150
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
151
151
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
152
152
|
us: "us";
|
|
@@ -182,7 +182,7 @@ declare const listDestinationMetadata: _keystrokehq_core0.Operation<z.ZodInterse
|
|
|
182
182
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
183
183
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
184
184
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
185
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
185
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
186
186
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
187
187
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
188
188
|
us: "us";
|
|
@@ -213,7 +213,7 @@ declare const getDestinationMetadata: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
213
213
|
description: z.ZodOptional<z.ZodString>;
|
|
214
214
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
215
215
|
website: z.ZodOptional<z.ZodString>;
|
|
216
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
216
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
217
217
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
218
218
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
219
219
|
us: "us";
|
|
@@ -248,7 +248,7 @@ declare const listSubscriptions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
248
248
|
trigger: z.ZodOptional<z.ZodString>;
|
|
249
249
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
250
250
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
251
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
251
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
252
252
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
253
253
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
254
254
|
us: "us";
|
|
@@ -281,7 +281,7 @@ declare const createSubscription: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
281
281
|
actionSlug: z.ZodOptional<z.ZodString>;
|
|
282
282
|
trigger: z.ZodOptional<z.ZodString>;
|
|
283
283
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
284
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
284
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
285
285
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
286
286
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
287
287
|
us: "us";
|
|
@@ -318,7 +318,7 @@ declare const updateSubscription: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
318
318
|
actionSlug: z.ZodOptional<z.ZodString>;
|
|
319
319
|
trigger: z.ZodOptional<z.ZodString>;
|
|
320
320
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
321
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
321
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
322
322
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
323
323
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
324
324
|
us: "us";
|
|
@@ -346,7 +346,7 @@ declare const deleteSubscription: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
346
346
|
subscriptionId: z.ZodString;
|
|
347
347
|
}, z.core.$strip>, z.ZodObject<{
|
|
348
348
|
deleted: z.ZodLiteral<true>;
|
|
349
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
349
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
350
350
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
351
351
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
352
352
|
us: "us";
|
|
@@ -378,7 +378,7 @@ declare const listDeliveryMetricsSummary: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
378
378
|
totalFailed: z.ZodOptional<z.ZodNumber>;
|
|
379
379
|
totalRetried: z.ZodOptional<z.ZodNumber>;
|
|
380
380
|
metrics: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
381
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
381
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
382
382
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
383
383
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
384
384
|
us: "us";
|
|
@@ -411,7 +411,7 @@ declare const listDeliveryMetricsSeries: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
411
411
|
totalFailed: z.ZodOptional<z.ZodNumber>;
|
|
412
412
|
totalRetried: z.ZodOptional<z.ZodNumber>;
|
|
413
413
|
metrics: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
414
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
414
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
415
415
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
416
416
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
417
417
|
us: "us";
|
|
@@ -446,7 +446,7 @@ declare const listEventDeliveryFailures: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
446
446
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
447
447
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
448
448
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
449
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
449
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
450
450
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
451
451
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
452
452
|
us: "us";
|
package/dist/destinations.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSegmentClient } from "./client.mjs";
|
|
2
2
|
import { a as segmentLooseObjectSchema, n as segmentIdSchema } from "./common-CdGiJbjq.mjs";
|
|
3
|
-
import { t as segmentOperation } from "./factory-
|
|
4
|
-
import { n as crudList, r as crudMutate, t as crudGet } from "./crud-
|
|
3
|
+
import { t as segmentOperation } from "./factory-DRwj5eiU.mjs";
|
|
4
|
+
import { n as crudList, r as crudMutate, t as crudGet } from "./crud-DV9e4Spi.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/destinations.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
|
|
5
5
|
//#region src/edge-functions.d.ts
|
|
6
6
|
declare const edgeFunctionSchema: z.ZodObject<{
|
|
@@ -23,7 +23,7 @@ declare const listEdgeFunctions: _keystrokehq_core0.Operation<z.ZodIntersection<
|
|
|
23
23
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
24
24
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
25
25
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
26
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
26
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
27
27
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
28
28
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
29
29
|
us: "us";
|
|
@@ -54,7 +54,7 @@ declare const getEdgeFunction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
54
54
|
description: z.ZodOptional<z.ZodString>;
|
|
55
55
|
code: z.ZodOptional<z.ZodString>;
|
|
56
56
|
deployedVersion: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
57
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
57
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
58
58
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
59
59
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
60
60
|
us: "us";
|
|
@@ -85,7 +85,7 @@ declare const upsertEdgeFunction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
85
85
|
description: z.ZodOptional<z.ZodString>;
|
|
86
86
|
code: z.ZodOptional<z.ZodString>;
|
|
87
87
|
deployedVersion: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
88
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
88
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
89
89
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
90
90
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
91
91
|
us: "us";
|
|
@@ -110,7 +110,7 @@ declare const upsertEdgeFunction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
110
110
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
111
111
|
declare const deleteEdgeFunction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
112
112
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
113
|
-
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
113
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
114
114
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
115
115
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
116
116
|
us: "us";
|
|
@@ -141,7 +141,7 @@ declare const deployEdgeFunction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
141
141
|
description: z.ZodOptional<z.ZodString>;
|
|
142
142
|
code: z.ZodOptional<z.ZodString>;
|
|
143
143
|
deployedVersion: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
144
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
144
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
145
145
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
146
146
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
147
147
|
us: "us";
|
package/dist/edge-functions.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSegmentClient } from "./client.mjs";
|
|
2
2
|
import { a as segmentLooseObjectSchema, n as segmentIdSchema } from "./common-CdGiJbjq.mjs";
|
|
3
|
-
import { t as segmentOperation } from "./factory-
|
|
4
|
-
import { n as crudList, r as crudMutate, t as crudGet } from "./crud-
|
|
3
|
+
import { t as segmentOperation } from "./factory-DRwj5eiU.mjs";
|
|
4
|
+
import { n as crudList, r as crudMutate, t as crudGet } from "./crud-DV9e4Spi.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/edge-functions.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
|
|
5
5
|
//#region src/events-catalog.d.ts
|
|
6
6
|
declare const listEventVolume: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObject<{
|
|
@@ -15,7 +15,7 @@ declare const listEventVolume: _keystrokehq_core0.Operation<z.ZodIntersection<z.
|
|
|
15
15
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
16
16
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
17
17
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
18
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
18
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
19
19
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
20
20
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
21
21
|
us: "us";
|
|
@@ -50,7 +50,7 @@ declare const listEventViolations: _keystrokehq_core0.Operation<z.ZodIntersectio
|
|
|
50
50
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
51
51
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
52
52
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
53
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
53
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
54
54
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
55
55
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
56
56
|
us: "us";
|
|
@@ -84,7 +84,7 @@ declare const listEventSchema: _keystrokehq_core0.Operation<z.ZodIntersection<z.
|
|
|
84
84
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
85
85
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
86
86
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
87
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
87
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
88
88
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
89
89
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
90
90
|
us: "us";
|
package/dist/events-catalog.mjs
CHANGED