@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
package/dist/profiles.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/profiles.d.ts
|
|
6
6
|
declare const getProfileTraits: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -11,7 +11,7 @@ declare const getProfileTraits: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>, z.ZodObject<{
|
|
12
12
|
traits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13
13
|
cursor: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
14
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
15
15
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
16
16
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
17
17
|
us: "us";
|
|
@@ -42,7 +42,7 @@ declare const getProfileEvents: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
42
42
|
}, z.core.$strip>, z.ZodObject<{
|
|
43
43
|
data: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
44
44
|
cursor: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
45
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
45
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
46
46
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
47
47
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
48
48
|
us: "us";
|
|
@@ -78,7 +78,7 @@ declare const getProfileExternalIds: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
78
78
|
collection: z.ZodOptional<z.ZodString>;
|
|
79
79
|
created_at: z.ZodOptional<z.ZodString>;
|
|
80
80
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
81
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
81
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
82
82
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
83
83
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
84
84
|
us: "us";
|
|
@@ -111,7 +111,7 @@ declare const getProfileLinks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
111
111
|
source_id: z.ZodOptional<z.ZodString>;
|
|
112
112
|
source_name: z.ZodOptional<z.ZodString>;
|
|
113
113
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
114
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
114
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
115
115
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
116
116
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
117
117
|
us: "us";
|
|
@@ -139,7 +139,7 @@ declare const getProfileMetadata: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
139
139
|
spaceId: z.ZodOptional<z.ZodString>;
|
|
140
140
|
}, z.core.$strip>, z.ZodObject<{
|
|
141
141
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
142
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
142
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
143
143
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
144
144
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
145
145
|
us: "us";
|
|
@@ -170,7 +170,7 @@ declare const listProfilesByAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
170
170
|
}, z.core.$strip>, z.ZodObject<{
|
|
171
171
|
data: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
172
172
|
cursor: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
173
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
173
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
174
174
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
175
175
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
176
176
|
us: "us";
|
package/dist/profiles.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/profiles.ts
|
package/dist/reverse-etl.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/reverse-etl.d.ts
|
|
6
6
|
declare const reverseEtlModelSchema: z.ZodObject<{
|
|
@@ -48,7 +48,7 @@ declare const listReverseEtlModels: _keystrokehq_core0.Operation<z.ZodIntersecti
|
|
|
48
48
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
49
49
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
50
50
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
51
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
51
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
52
52
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
53
53
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
54
54
|
us: "us";
|
|
@@ -81,7 +81,7 @@ declare const getReverseEtlModel: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
81
81
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
82
82
|
query: z.ZodOptional<z.ZodString>;
|
|
83
83
|
scheduleStrategy: z.ZodOptional<z.ZodString>;
|
|
84
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
84
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
85
85
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
86
86
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
87
87
|
us: "us";
|
|
@@ -114,7 +114,7 @@ declare const createReverseEtlModel: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
114
114
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
115
115
|
query: z.ZodOptional<z.ZodString>;
|
|
116
116
|
scheduleStrategy: z.ZodOptional<z.ZodString>;
|
|
117
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
117
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
118
118
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
119
119
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
120
120
|
us: "us";
|
|
@@ -147,7 +147,7 @@ declare const updateReverseEtlModel: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
147
147
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
148
148
|
query: z.ZodOptional<z.ZodString>;
|
|
149
149
|
scheduleStrategy: z.ZodOptional<z.ZodString>;
|
|
150
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
150
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
151
151
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
152
152
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
153
153
|
us: "us";
|
|
@@ -172,7 +172,7 @@ declare const updateReverseEtlModel: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
172
172
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
173
173
|
declare const deleteReverseEtlModel: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
174
174
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
175
|
-
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
175
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
176
176
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
177
177
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
178
178
|
us: "us";
|
|
@@ -210,7 +210,7 @@ declare const runReverseEtlModel: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
210
210
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
211
211
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
212
212
|
error: z.ZodOptional<z.ZodString>;
|
|
213
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
213
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
214
214
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
215
215
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
216
216
|
us: "us";
|
|
@@ -253,7 +253,7 @@ declare const listReverseEtlRuns: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
253
253
|
error: z.ZodOptional<z.ZodString>;
|
|
254
254
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
255
255
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
256
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
256
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
257
257
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
258
258
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
259
259
|
us: "us";
|
|
@@ -292,7 +292,7 @@ declare const getReverseEtlRun: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
292
292
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
293
293
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
294
294
|
error: z.ZodOptional<z.ZodString>;
|
|
295
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
295
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
296
296
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
297
297
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
298
298
|
us: "us";
|
|
@@ -325,7 +325,7 @@ declare const listReverseEtlSubscriptions: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
325
325
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
326
326
|
mappings: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
327
327
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
328
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
328
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
329
329
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
330
330
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
331
331
|
us: "us";
|
|
@@ -359,7 +359,7 @@ declare const createReverseEtlSubscription: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
359
359
|
destinationId: z.ZodOptional<z.ZodString>;
|
|
360
360
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
361
361
|
mappings: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
362
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
362
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
363
363
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
364
364
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
365
365
|
us: "us";
|
|
@@ -393,7 +393,7 @@ declare const updateReverseEtlSubscription: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
393
393
|
destinationId: z.ZodOptional<z.ZodString>;
|
|
394
394
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
395
395
|
mappings: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
396
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
396
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
397
397
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
398
398
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
399
399
|
us: "us";
|
|
@@ -421,7 +421,7 @@ declare const deleteReverseEtlSubscription: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
421
421
|
subscriptionId: z.ZodString;
|
|
422
422
|
}, z.core.$strip>, z.ZodObject<{
|
|
423
423
|
deleted: z.ZodLiteral<true>;
|
|
424
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
424
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
425
425
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
426
426
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
427
427
|
us: "us";
|
package/dist/reverse-etl.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/reverse-etl.ts
|
package/dist/roles.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/roles.d.ts
|
|
6
6
|
declare const roleSchema: z.ZodObject<{
|
|
@@ -21,7 +21,7 @@ declare const listRoles: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObj
|
|
|
21
21
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
22
22
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
23
23
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
24
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
24
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
25
25
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
26
26
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
27
27
|
us: "us";
|
package/dist/roles.mjs
CHANGED
package/dist/sources.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/sources.d.ts
|
|
6
6
|
declare const segmentSourceSchema: z.ZodObject<{
|
|
@@ -37,7 +37,7 @@ declare const listSources: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodO
|
|
|
37
37
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
38
38
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
39
39
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
40
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
40
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
41
41
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
42
42
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
43
43
|
us: "us";
|
|
@@ -75,7 +75,7 @@ declare const getSource: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
75
75
|
description: z.ZodOptional<z.ZodString>;
|
|
76
76
|
}, z.core.$strip>>>;
|
|
77
77
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
78
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
78
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
79
79
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
80
80
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
81
81
|
us: "us";
|
|
@@ -113,7 +113,7 @@ declare const createSource: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
113
113
|
description: z.ZodOptional<z.ZodString>;
|
|
114
114
|
}, z.core.$strip>>>;
|
|
115
115
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
116
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
116
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
117
117
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
118
118
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
119
119
|
us: "us";
|
|
@@ -151,7 +151,7 @@ declare const updateSource: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
151
151
|
description: z.ZodOptional<z.ZodString>;
|
|
152
152
|
}, z.core.$strip>>>;
|
|
153
153
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
154
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
154
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
155
155
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
156
156
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
157
157
|
us: "us";
|
|
@@ -178,7 +178,7 @@ declare const deleteSource: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
178
178
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
179
179
|
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
180
180
|
deleted: z.ZodLiteral<true>;
|
|
181
|
-
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>]>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
181
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>]>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
182
182
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
183
183
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
184
184
|
us: "us";
|
|
@@ -211,7 +211,7 @@ declare const listWriteKeys: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
211
211
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
212
212
|
lastUsedAt: z.ZodOptional<z.ZodString>;
|
|
213
213
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
214
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
214
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
215
215
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
216
216
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
217
217
|
us: "us";
|
|
@@ -242,7 +242,7 @@ declare const rotateWriteKey: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
242
242
|
writeKey: z.ZodOptional<z.ZodString>;
|
|
243
243
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
244
244
|
lastUsedAt: z.ZodOptional<z.ZodString>;
|
|
245
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
245
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
246
246
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
247
247
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
248
248
|
us: "us";
|
|
@@ -271,7 +271,7 @@ declare const removeWriteKey: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
271
271
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
272
272
|
}, z.core.$strip>, z.ZodObject<{
|
|
273
273
|
removed: z.ZodLiteral<true>;
|
|
274
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
274
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
275
275
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
276
276
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
277
277
|
us: "us";
|
|
@@ -303,7 +303,7 @@ declare const listSchemaSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
303
303
|
identifyEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
304
304
|
trackEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
305
305
|
groupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
306
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
306
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
307
307
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
308
308
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
309
309
|
us: "us";
|
|
@@ -341,7 +341,7 @@ declare const updateSchemaSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
341
341
|
identifyEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
342
342
|
trackEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
343
343
|
groupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
344
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
344
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
345
345
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
346
346
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
347
347
|
us: "us";
|
|
@@ -377,7 +377,7 @@ declare const addLabels: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
377
377
|
value: z.ZodString;
|
|
378
378
|
description: z.ZodOptional<z.ZodString>;
|
|
379
379
|
}, z.core.$strip>>;
|
|
380
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
380
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
381
381
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
382
382
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
383
383
|
us: "us";
|
|
@@ -409,7 +409,7 @@ declare const removeLabels: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
409
409
|
}, z.core.$strip>>;
|
|
410
410
|
}, z.core.$strip>, z.ZodObject<{
|
|
411
411
|
removed: z.ZodLiteral<true>;
|
|
412
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
412
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
413
413
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
414
414
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
415
415
|
us: "us";
|
|
@@ -440,7 +440,7 @@ declare const listConnectedWarehouses: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
440
440
|
name: z.ZodOptional<z.ZodString>;
|
|
441
441
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
442
442
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
443
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
443
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
444
444
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
445
445
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
446
446
|
us: "us";
|
|
@@ -471,7 +471,7 @@ declare const listConnectedDestinations: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
471
471
|
name: z.ZodOptional<z.ZodString>;
|
|
472
472
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
473
473
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
474
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
474
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
475
475
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
476
476
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
477
477
|
us: "us";
|
|
@@ -501,7 +501,7 @@ declare const listConnectedTrackingPlans: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
501
501
|
id: z.ZodString;
|
|
502
502
|
name: z.ZodOptional<z.ZodString>;
|
|
503
503
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
504
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
504
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
505
505
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
506
506
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
507
507
|
us: "us";
|
|
@@ -533,7 +533,7 @@ declare const listFilters: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
533
533
|
actions: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
534
534
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
535
535
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
536
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
536
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
537
537
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
538
538
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
539
539
|
us: "us";
|
package/dist/sources.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as SegmentApiError } from "./errors-4FGnrowW.mjs";
|
|
2
2
|
import { createSegmentClient } from "./client.mjs";
|
|
3
3
|
import { a as segmentLooseObjectSchema, n as segmentIdSchema, r as segmentLabelSchema } from "./common-CdGiJbjq.mjs";
|
|
4
|
-
import { t as segmentOperation } from "./factory-
|
|
5
|
-
import { n as crudList, r as crudMutate, t as crudGet } from "./crud-
|
|
4
|
+
import { t as segmentOperation } from "./factory-DRwj5eiU.mjs";
|
|
5
|
+
import { n as crudList, r as crudMutate, t as crudGet } from "./crud-DV9e4Spi.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/sources.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/tracking-plans.d.ts
|
|
6
6
|
declare const listTrackingPlans: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObject<{
|
|
@@ -16,7 +16,7 @@ declare const listTrackingPlans: _keystrokehq_core0.Operation<z.ZodIntersection<
|
|
|
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";
|
|
@@ -47,7 +47,7 @@ declare const getTrackingPlan: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
47
47
|
name: z.ZodOptional<z.ZodString>;
|
|
48
48
|
description: z.ZodOptional<z.ZodString>;
|
|
49
49
|
type: z.ZodOptional<z.ZodString>;
|
|
50
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
50
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
51
51
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
52
52
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
53
53
|
us: "us";
|
|
@@ -78,7 +78,7 @@ declare const createTrackingPlan: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
78
78
|
name: z.ZodOptional<z.ZodString>;
|
|
79
79
|
description: z.ZodOptional<z.ZodString>;
|
|
80
80
|
type: z.ZodOptional<z.ZodString>;
|
|
81
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
81
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
82
82
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
83
83
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
84
84
|
us: "us";
|
|
@@ -109,7 +109,7 @@ declare const updateTrackingPlan: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
109
109
|
name: z.ZodOptional<z.ZodString>;
|
|
110
110
|
description: z.ZodOptional<z.ZodString>;
|
|
111
111
|
type: z.ZodOptional<z.ZodString>;
|
|
112
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
112
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
113
113
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
114
114
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
115
115
|
us: "us";
|
|
@@ -134,7 +134,7 @@ declare const updateTrackingPlan: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
134
134
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
135
135
|
declare const deleteTrackingPlan: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
136
136
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
137
|
-
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
137
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
138
138
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
139
139
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
140
140
|
us: "us";
|
|
@@ -166,7 +166,7 @@ declare const listTrackingPlanRules: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
166
166
|
version: z.ZodOptional<z.ZodNumber>;
|
|
167
167
|
description: z.ZodOptional<z.ZodString>;
|
|
168
168
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
169
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
169
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
170
170
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
171
171
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
172
172
|
us: "us";
|
|
@@ -204,7 +204,7 @@ declare const replaceTrackingPlanRules: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
204
204
|
version: z.ZodOptional<z.ZodNumber>;
|
|
205
205
|
description: z.ZodOptional<z.ZodString>;
|
|
206
206
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
207
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
207
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
208
208
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
209
209
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
210
210
|
us: "us";
|
|
@@ -234,7 +234,7 @@ declare const listTrackingPlanSources: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
234
234
|
sourceId: z.ZodString;
|
|
235
235
|
trackingPlanId: z.ZodOptional<z.ZodString>;
|
|
236
236
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
237
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
237
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
238
238
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
239
239
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
240
240
|
us: "us";
|
|
@@ -263,7 +263,7 @@ declare const connectTrackingPlanSource: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
263
263
|
}, z.core.$strip>, z.ZodObject<{
|
|
264
264
|
sourceId: z.ZodString;
|
|
265
265
|
trackingPlanId: z.ZodOptional<z.ZodString>;
|
|
266
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
266
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
267
267
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
268
268
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
269
269
|
us: "us";
|
|
@@ -291,7 +291,7 @@ declare const disconnectTrackingPlanSource: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
291
291
|
sourceId: z.ZodString;
|
|
292
292
|
}, z.core.$strip>, z.ZodObject<{
|
|
293
293
|
removed: z.ZodLiteral<true>;
|
|
294
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
294
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
295
295
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
296
296
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
297
297
|
us: "us";
|
|
@@ -324,7 +324,7 @@ declare const listTrackingPlanViolations: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
324
324
|
violationReason: z.ZodOptional<z.ZodString>;
|
|
325
325
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
326
326
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
327
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
327
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
328
328
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
329
329
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
330
330
|
us: "us";
|
package/dist/tracking-plans.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/tracking-plans.ts
|
package/dist/tracking.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/tracking.d.ts
|
|
6
6
|
declare const identify: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
@@ -40,7 +40,7 @@ declare const identify: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodInte
|
|
|
40
40
|
group: "group";
|
|
41
41
|
alias: "alias";
|
|
42
42
|
}>;
|
|
43
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
43
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
44
44
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
45
45
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
46
46
|
us: "us";
|
|
@@ -101,7 +101,7 @@ declare const track: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodInterse
|
|
|
101
101
|
group: "group";
|
|
102
102
|
alias: "alias";
|
|
103
103
|
}>;
|
|
104
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
104
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
105
105
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
106
106
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
107
107
|
us: "us";
|
|
@@ -163,7 +163,7 @@ declare const page: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodIntersec
|
|
|
163
163
|
group: "group";
|
|
164
164
|
alias: "alias";
|
|
165
165
|
}>;
|
|
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";
|
|
@@ -225,7 +225,7 @@ declare const screen: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodInters
|
|
|
225
225
|
group: "group";
|
|
226
226
|
alias: "alias";
|
|
227
227
|
}>;
|
|
228
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
228
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
229
229
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
230
230
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
231
231
|
us: "us";
|
|
@@ -286,7 +286,7 @@ declare const group: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodInterse
|
|
|
286
286
|
group: "group";
|
|
287
287
|
alias: "alias";
|
|
288
288
|
}>;
|
|
289
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
289
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
290
290
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
291
291
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
292
292
|
us: "us";
|
|
@@ -344,7 +344,7 @@ declare const alias: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObject<
|
|
|
344
344
|
group: "group";
|
|
345
345
|
alias: "alias";
|
|
346
346
|
}>;
|
|
347
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
347
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
348
348
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
349
349
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
350
350
|
us: "us";
|
|
@@ -410,7 +410,7 @@ declare const batch: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObject<
|
|
|
410
410
|
alias: "alias";
|
|
411
411
|
}>;
|
|
412
412
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
413
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
413
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
414
414
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
415
415
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
416
416
|
us: "us";
|
|
@@ -472,7 +472,7 @@ declare const importEvent: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodI
|
|
|
472
472
|
group: "group";
|
|
473
473
|
alias: "alias";
|
|
474
474
|
}>;
|
|
475
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
475
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
476
476
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
477
477
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
478
478
|
us: "us";
|
package/dist/tracking.mjs
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/transformations.d.ts
|
|
6
6
|
declare const transformationSchema: z.ZodObject<{
|
|
@@ -31,7 +31,7 @@ declare const listTransformations: _keystrokehq_core0.Operation<z.ZodIntersectio
|
|
|
31
31
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
32
32
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
33
33
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
34
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
34
|
+
}, z.core.$strip>, 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";
|
|
@@ -66,7 +66,7 @@ declare const getTransformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
66
66
|
newEventName: z.ZodOptional<z.ZodString>;
|
|
67
67
|
propertyRenames: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
68
68
|
propertyValueTransformations: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
69
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
69
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
70
70
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
71
71
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
72
72
|
us: "us";
|
|
@@ -101,7 +101,7 @@ declare const createTransformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
101
101
|
newEventName: z.ZodOptional<z.ZodString>;
|
|
102
102
|
propertyRenames: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
103
103
|
propertyValueTransformations: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
104
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
104
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
105
105
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
106
106
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
107
107
|
us: "us";
|
|
@@ -136,7 +136,7 @@ declare const updateTransformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
136
136
|
newEventName: z.ZodOptional<z.ZodString>;
|
|
137
137
|
propertyRenames: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
138
138
|
propertyValueTransformations: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
139
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
139
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
140
140
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
141
141
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
142
142
|
us: "us";
|
|
@@ -161,7 +161,7 @@ declare const updateTransformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
161
161
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
162
162
|
declare const deleteTransformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
163
163
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
164
|
-
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
164
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
165
165
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
166
166
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
167
167
|
us: "us";
|