@keystrokehq/segment 0.0.1 → 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.
- package/LICENSE +21 -0
- package/dist/_official/index.d.mts +1 -1
- package/dist/audiences.d.mts +8 -8
- package/dist/client.d.mts +1 -1
- package/dist/computed-traits.d.mts +6 -6
- package/dist/connection.d.mts +1 -1
- package/dist/deletion-suppression.d.mts +5 -5
- package/dist/delivery-overview.d.mts +2 -2
- package/dist/destination-filters.d.mts +5 -5
- package/dist/destinations.d.mts +14 -14
- package/dist/edge-functions.d.mts +5 -5
- package/dist/events-catalog.d.mts +3 -3
- package/dist/functions.d.mts +15 -15
- package/dist/iam-groups.d.mts +9 -9
- package/dist/iam-users.d.mts +6 -6
- package/dist/{integration-D2yRaKFR.d.mts → integration-DJ9tRlCV.d.mts} +1 -1
- package/dist/labels.d.mts +3 -3
- package/dist/monitoring.d.mts +5 -5
- package/dist/profiles-sync.d.mts +4 -4
- package/dist/profiles.d.mts +6 -6
- package/dist/reverse-etl.d.mts +12 -12
- package/dist/roles.d.mts +1 -1
- package/dist/sources.d.mts +16 -16
- package/dist/tracking-plans.d.mts +11 -11
- package/dist/tracking.d.mts +8 -8
- package/dist/transformations.d.mts +5 -5
- package/dist/triggers.d.mts +5 -15
- package/dist/triggers.mjs +21 -174
- package/dist/usage.d.mts +2 -2
- package/dist/warehouses.d.mts +11 -11
- package/dist/workspaces.d.mts +3 -3
- package/package.json +21 -19
package/dist/warehouses.d.mts
CHANGED
|
@@ -23,7 +23,7 @@ declare const listWarehouses: _keystrokehq_core0.Operation<z.ZodIntersection<z.Z
|
|
|
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<"segment", z.ZodObject<{
|
|
26
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke: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 getWarehouse: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
54
54
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
55
55
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
56
56
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
57
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
57
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke: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 createWarehouse: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
85
85
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
86
86
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
87
87
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
88
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
88
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
89
89
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
90
90
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
91
91
|
us: "us";
|
|
@@ -116,7 +116,7 @@ declare const updateWarehouse: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
116
116
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
117
117
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
118
118
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
119
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
119
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
120
120
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
121
121
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
122
122
|
us: "us";
|
|
@@ -141,7 +141,7 @@ declare const updateWarehouse: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
142
142
|
declare const deleteWarehouse: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
143
143
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
144
|
-
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
144
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
145
145
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
146
146
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
147
147
|
us: "us";
|
|
@@ -172,7 +172,7 @@ declare const listConnectedSources: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
172
172
|
name: z.ZodOptional<z.ZodString>;
|
|
173
173
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
174
174
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
175
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
175
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
176
176
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
177
177
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
178
178
|
us: "us";
|
|
@@ -200,7 +200,7 @@ declare const connectSourceToWarehouse: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
200
200
|
sourceId: z.ZodString;
|
|
201
201
|
}, z.core.$strip>, z.ZodObject<{
|
|
202
202
|
connected: z.ZodLiteral<true>;
|
|
203
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
203
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
204
204
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
205
205
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
206
206
|
us: "us";
|
|
@@ -228,7 +228,7 @@ declare const disconnectSourceFromWarehouse: _keystrokehq_core0.Operation<z.ZodO
|
|
|
228
228
|
sourceId: z.ZodString;
|
|
229
229
|
}, z.core.$strip>, z.ZodObject<{
|
|
230
230
|
disconnected: z.ZodLiteral<true>;
|
|
231
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
231
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
232
232
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
233
233
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
234
234
|
us: "us";
|
|
@@ -256,7 +256,7 @@ declare const getSelectiveSync: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
256
256
|
}, z.core.$strip>, z.ZodObject<{
|
|
257
257
|
warehouseId: z.ZodOptional<z.ZodString>;
|
|
258
258
|
items: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
259
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
259
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
260
260
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
261
261
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
262
262
|
us: "us";
|
|
@@ -285,7 +285,7 @@ declare const updateSelectiveSync: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
285
285
|
}, z.core.$strip>, z.ZodObject<{
|
|
286
286
|
warehouseId: z.ZodOptional<z.ZodString>;
|
|
287
287
|
items: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
288
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
288
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
289
289
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
290
290
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
291
291
|
us: "us";
|
|
@@ -314,7 +314,7 @@ declare const testWarehouseConnection: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
314
314
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
315
315
|
message: z.ZodOptional<z.ZodString>;
|
|
316
316
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
317
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
317
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
318
318
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
319
319
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
320
320
|
us: "us";
|
package/dist/workspaces.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ declare const getWorkspace: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.
|
|
|
8
8
|
name: z.ZodOptional<z.ZodString>;
|
|
9
9
|
slug: z.ZodOptional<z.ZodString>;
|
|
10
10
|
region: z.ZodOptional<z.ZodString>;
|
|
11
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
11
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
12
12
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
13
13
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
14
14
|
us: "us";
|
|
@@ -38,7 +38,7 @@ declare const listSpaces: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$s
|
|
|
38
38
|
slug: z.ZodOptional<z.ZodString>;
|
|
39
39
|
description: z.ZodOptional<z.ZodString>;
|
|
40
40
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
41
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
41
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
42
42
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
43
43
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
44
44
|
us: "us";
|
|
@@ -68,7 +68,7 @@ declare const getSpace: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
68
68
|
name: z.ZodOptional<z.ZodString>;
|
|
69
69
|
slug: z.ZodOptional<z.ZodString>;
|
|
70
70
|
description: z.ZodOptional<z.ZodString>;
|
|
71
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
71
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
72
72
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
73
73
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
74
74
|
us: "us";
|
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",
|
|
@@ -143,27 +143,21 @@
|
|
|
143
143
|
"README.md",
|
|
144
144
|
"LICENSE"
|
|
145
145
|
],
|
|
146
|
-
"scripts": {
|
|
147
|
-
"typecheck": "tsgo --build",
|
|
148
|
-
"build": "tsdown",
|
|
149
|
-
"lint": "biome check .",
|
|
150
|
-
"test:unit": "vitest run --passWithNoTests --project unit",
|
|
151
|
-
"prepublishOnly": "pnpm build && pnpm test:unit",
|
|
152
|
-
"lint:fix": "biome check --write .",
|
|
153
|
-
"test:int": "vitest run --passWithNoTests --project int"
|
|
154
|
-
},
|
|
155
146
|
"dependencies": {
|
|
156
|
-
"@keystrokehq/integration-authoring": "^0.0.
|
|
157
|
-
"@keystrokehq/core": "^0.0.5",
|
|
147
|
+
"@keystrokehq/integration-authoring": "^0.0.5",
|
|
158
148
|
"zod": "^4.3.6"
|
|
159
149
|
},
|
|
150
|
+
"peerDependencies": {
|
|
151
|
+
"@keystrokehq/core": ">=0.0.7 <0.1.0"
|
|
152
|
+
},
|
|
160
153
|
"devDependencies": {
|
|
161
|
-
"@types/node": "
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
154
|
+
"@types/node": "^22.19.11",
|
|
155
|
+
"tsdown": "^0.20.3",
|
|
156
|
+
"typescript": "^5.9.3",
|
|
157
|
+
"vitest": "^4.0.18",
|
|
158
|
+
"@keystrokehq/core": "^0.0.7",
|
|
159
|
+
"@keystrokehq/test-utils": "0.0.0",
|
|
160
|
+
"@keystrokehq/typescript-config": "0.0.0"
|
|
167
161
|
},
|
|
168
162
|
"keywords": [
|
|
169
163
|
"segment",
|
|
@@ -184,5 +178,13 @@
|
|
|
184
178
|
"publishConfig": {
|
|
185
179
|
"access": "public",
|
|
186
180
|
"registry": "https://registry.npmjs.org/"
|
|
181
|
+
},
|
|
182
|
+
"scripts": {
|
|
183
|
+
"typecheck": "tsgo --build",
|
|
184
|
+
"build": "tsdown",
|
|
185
|
+
"lint": "biome check .",
|
|
186
|
+
"test:unit": "vitest run --passWithNoTests --project unit",
|
|
187
|
+
"lint:fix": "biome check --write .",
|
|
188
|
+
"test:int": "vitest run --passWithNoTests --project int"
|
|
187
189
|
}
|
|
188
|
-
}
|
|
190
|
+
}
|