@keystrokehq/segment 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,9 +20,9 @@ declare const suppressionSchema: z.ZodObject<{
|
|
|
20
20
|
declare const createUserDeletion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
21
21
|
subjectIds: z.ZodArray<z.ZodString>;
|
|
22
22
|
subjectType: z.ZodDefault<z.ZodEnum<{
|
|
23
|
-
email: "email";
|
|
24
23
|
userId: "userId";
|
|
25
24
|
anonymousId: "anonymousId";
|
|
25
|
+
email: "email";
|
|
26
26
|
}>>;
|
|
27
27
|
}, z.core.$strip>, z.ZodObject<{
|
|
28
28
|
id: z.ZodString;
|
|
@@ -57,9 +57,9 @@ declare const createUserDeletion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
57
57
|
declare const createSuppression: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
58
58
|
subjectIds: z.ZodArray<z.ZodString>;
|
|
59
59
|
subjectType: z.ZodDefault<z.ZodEnum<{
|
|
60
|
-
email: "email";
|
|
61
60
|
userId: "userId";
|
|
62
61
|
anonymousId: "anonymousId";
|
|
62
|
+
email: "email";
|
|
63
63
|
}>>;
|
|
64
64
|
}, z.core.$strip>, z.ZodObject<{
|
|
65
65
|
id: z.ZodString;
|
package/dist/reverse-etl.d.mts
CHANGED
|
@@ -16,10 +16,10 @@ declare const reverseEtlRunSchema: z.ZodObject<{
|
|
|
16
16
|
id: z.ZodString;
|
|
17
17
|
modelId: z.ZodOptional<z.ZodString>;
|
|
18
18
|
status: z.ZodOptional<z.ZodEnum<{
|
|
19
|
-
PENDING: "PENDING";
|
|
20
19
|
IN_PROGRESS: "IN_PROGRESS";
|
|
21
20
|
SUCCEEDED: "SUCCEEDED";
|
|
22
21
|
FAILED: "FAILED";
|
|
22
|
+
PENDING: "PENDING";
|
|
23
23
|
CANCELED: "CANCELED";
|
|
24
24
|
}>>;
|
|
25
25
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -201,10 +201,10 @@ declare const runReverseEtlModel: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
201
201
|
id: z.ZodString;
|
|
202
202
|
modelId: z.ZodOptional<z.ZodString>;
|
|
203
203
|
status: z.ZodOptional<z.ZodEnum<{
|
|
204
|
-
PENDING: "PENDING";
|
|
205
204
|
IN_PROGRESS: "IN_PROGRESS";
|
|
206
205
|
SUCCEEDED: "SUCCEEDED";
|
|
207
206
|
FAILED: "FAILED";
|
|
207
|
+
PENDING: "PENDING";
|
|
208
208
|
CANCELED: "CANCELED";
|
|
209
209
|
}>>;
|
|
210
210
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -242,10 +242,10 @@ declare const listReverseEtlRuns: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
242
242
|
id: z.ZodString;
|
|
243
243
|
modelId: z.ZodOptional<z.ZodString>;
|
|
244
244
|
status: z.ZodOptional<z.ZodEnum<{
|
|
245
|
-
PENDING: "PENDING";
|
|
246
245
|
IN_PROGRESS: "IN_PROGRESS";
|
|
247
246
|
SUCCEEDED: "SUCCEEDED";
|
|
248
247
|
FAILED: "FAILED";
|
|
248
|
+
PENDING: "PENDING";
|
|
249
249
|
CANCELED: "CANCELED";
|
|
250
250
|
}>>;
|
|
251
251
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -283,10 +283,10 @@ declare const getReverseEtlRun: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
283
283
|
id: z.ZodString;
|
|
284
284
|
modelId: z.ZodOptional<z.ZodString>;
|
|
285
285
|
status: z.ZodOptional<z.ZodEnum<{
|
|
286
|
-
PENDING: "PENDING";
|
|
287
286
|
IN_PROGRESS: "IN_PROGRESS";
|
|
288
287
|
SUCCEEDED: "SUCCEEDED";
|
|
289
288
|
FAILED: "FAILED";
|
|
289
|
+
PENDING: "PENDING";
|
|
290
290
|
CANCELED: "CANCELED";
|
|
291
291
|
}>>;
|
|
292
292
|
startedAt: z.ZodOptional<z.ZodString>;
|
package/dist/tracking.d.mts
CHANGED
|
@@ -33,11 +33,11 @@ declare const identify: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodInte
|
|
|
33
33
|
}, z.core.$strip>>, z.ZodObject<{
|
|
34
34
|
sent: z.ZodBoolean;
|
|
35
35
|
method: z.ZodEnum<{
|
|
36
|
-
group: "group";
|
|
37
36
|
page: "page";
|
|
38
37
|
screen: "screen";
|
|
39
38
|
identify: "identify";
|
|
40
39
|
track: "track";
|
|
40
|
+
group: "group";
|
|
41
41
|
alias: "alias";
|
|
42
42
|
}>;
|
|
43
43
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
@@ -94,11 +94,11 @@ declare const track: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodInterse
|
|
|
94
94
|
}, z.core.$strip>>, z.ZodObject<{
|
|
95
95
|
sent: z.ZodBoolean;
|
|
96
96
|
method: z.ZodEnum<{
|
|
97
|
-
group: "group";
|
|
98
97
|
page: "page";
|
|
99
98
|
screen: "screen";
|
|
100
99
|
identify: "identify";
|
|
101
100
|
track: "track";
|
|
101
|
+
group: "group";
|
|
102
102
|
alias: "alias";
|
|
103
103
|
}>;
|
|
104
104
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
@@ -156,11 +156,11 @@ declare const page: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodIntersec
|
|
|
156
156
|
}, z.core.$strip>>, z.ZodObject<{
|
|
157
157
|
sent: z.ZodBoolean;
|
|
158
158
|
method: z.ZodEnum<{
|
|
159
|
-
group: "group";
|
|
160
159
|
page: "page";
|
|
161
160
|
screen: "screen";
|
|
162
161
|
identify: "identify";
|
|
163
162
|
track: "track";
|
|
163
|
+
group: "group";
|
|
164
164
|
alias: "alias";
|
|
165
165
|
}>;
|
|
166
166
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
@@ -218,11 +218,11 @@ declare const screen: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodInters
|
|
|
218
218
|
}, z.core.$strip>>, z.ZodObject<{
|
|
219
219
|
sent: z.ZodBoolean;
|
|
220
220
|
method: z.ZodEnum<{
|
|
221
|
-
group: "group";
|
|
222
221
|
page: "page";
|
|
223
222
|
screen: "screen";
|
|
224
223
|
identify: "identify";
|
|
225
224
|
track: "track";
|
|
225
|
+
group: "group";
|
|
226
226
|
alias: "alias";
|
|
227
227
|
}>;
|
|
228
228
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
@@ -279,11 +279,11 @@ declare const group: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodInterse
|
|
|
279
279
|
}, z.core.$strip>>, z.ZodObject<{
|
|
280
280
|
sent: z.ZodBoolean;
|
|
281
281
|
method: z.ZodEnum<{
|
|
282
|
-
group: "group";
|
|
283
282
|
page: "page";
|
|
284
283
|
screen: "screen";
|
|
285
284
|
identify: "identify";
|
|
286
285
|
track: "track";
|
|
286
|
+
group: "group";
|
|
287
287
|
alias: "alias";
|
|
288
288
|
}>;
|
|
289
289
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
@@ -337,11 +337,11 @@ declare const alias: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObject<
|
|
|
337
337
|
}, z.core.$strip>>, z.ZodObject<{
|
|
338
338
|
sent: z.ZodBoolean;
|
|
339
339
|
method: z.ZodEnum<{
|
|
340
|
-
group: "group";
|
|
341
340
|
page: "page";
|
|
342
341
|
screen: "screen";
|
|
343
342
|
identify: "identify";
|
|
344
343
|
track: "track";
|
|
344
|
+
group: "group";
|
|
345
345
|
alias: "alias";
|
|
346
346
|
}>;
|
|
347
347
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
@@ -390,11 +390,11 @@ declare const batch: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObject<
|
|
|
390
390
|
}, z.core.$strip>, z.ZodObject<{
|
|
391
391
|
events: z.ZodArray<z.ZodObject<{
|
|
392
392
|
type: z.ZodEnum<{
|
|
393
|
-
group: "group";
|
|
394
393
|
page: "page";
|
|
395
394
|
screen: "screen";
|
|
396
395
|
identify: "identify";
|
|
397
396
|
track: "track";
|
|
397
|
+
group: "group";
|
|
398
398
|
alias: "alias";
|
|
399
399
|
}>;
|
|
400
400
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
@@ -402,11 +402,11 @@ declare const batch: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObject<
|
|
|
402
402
|
chunksSent: z.ZodNumber;
|
|
403
403
|
rejected: z.ZodArray<z.ZodObject<{
|
|
404
404
|
type: z.ZodEnum<{
|
|
405
|
-
group: "group";
|
|
406
405
|
page: "page";
|
|
407
406
|
screen: "screen";
|
|
408
407
|
identify: "identify";
|
|
409
408
|
track: "track";
|
|
409
|
+
group: "group";
|
|
410
410
|
alias: "alias";
|
|
411
411
|
}>;
|
|
412
412
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
@@ -465,11 +465,11 @@ declare const importEvent: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodI
|
|
|
465
465
|
}, z.core.$strip>>, z.ZodObject<{
|
|
466
466
|
sent: z.ZodBoolean;
|
|
467
467
|
method: z.ZodEnum<{
|
|
468
|
-
group: "group";
|
|
469
468
|
page: "page";
|
|
470
469
|
screen: "screen";
|
|
471
470
|
identify: "identify";
|
|
472
471
|
track: "track";
|
|
472
|
+
group: "group";
|
|
473
473
|
alias: "alias";
|
|
474
474
|
}>;
|
|
475
475
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/segment",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -144,15 +144,18 @@
|
|
|
144
144
|
"LICENSE"
|
|
145
145
|
],
|
|
146
146
|
"dependencies": {
|
|
147
|
-
"@keystrokehq/
|
|
148
|
-
"@keystrokehq/integration-authoring": "^0.0.4",
|
|
147
|
+
"@keystrokehq/integration-authoring": "^0.0.5",
|
|
149
148
|
"zod": "^4.3.6"
|
|
150
149
|
},
|
|
150
|
+
"peerDependencies": {
|
|
151
|
+
"@keystrokehq/core": ">=0.0.7 <0.1.0"
|
|
152
|
+
},
|
|
151
153
|
"devDependencies": {
|
|
152
154
|
"@types/node": "^22.19.11",
|
|
153
155
|
"tsdown": "^0.20.3",
|
|
154
156
|
"typescript": "^5.9.3",
|
|
155
157
|
"vitest": "^4.0.18",
|
|
158
|
+
"@keystrokehq/core": "^0.0.7",
|
|
156
159
|
"@keystrokehq/test-utils": "0.0.0",
|
|
157
160
|
"@keystrokehq/typescript-config": "0.0.0"
|
|
158
161
|
},
|