@keystrokehq/segment 0.0.1 → 0.0.4

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.
@@ -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";
@@ -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.1",
3
+ "version": "0.0.4",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -143,27 +143,18 @@
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.1",
157
- "@keystrokehq/core": "^0.0.5",
147
+ "@keystrokehq/core": "^0.0.7",
148
+ "@keystrokehq/integration-authoring": "^0.0.4",
158
149
  "zod": "^4.3.6"
159
150
  },
160
151
  "devDependencies": {
161
- "@types/node": "catalog:",
162
- "@keystrokehq/test-utils": "workspace:*",
163
- "@keystrokehq/typescript-config": "workspace:*",
164
- "tsdown": "catalog:",
165
- "typescript": "catalog:",
166
- "vitest": "catalog:"
152
+ "@types/node": "^22.19.11",
153
+ "tsdown": "^0.20.3",
154
+ "typescript": "^5.9.3",
155
+ "vitest": "^4.0.18",
156
+ "@keystrokehq/test-utils": "0.0.0",
157
+ "@keystrokehq/typescript-config": "0.0.0"
167
158
  },
168
159
  "keywords": [
169
160
  "segment",
@@ -184,5 +175,13 @@
184
175
  "publishConfig": {
185
176
  "access": "public",
186
177
  "registry": "https://registry.npmjs.org/"
178
+ },
179
+ "scripts": {
180
+ "typecheck": "tsgo --build",
181
+ "build": "tsdown",
182
+ "lint": "biome check .",
183
+ "test:unit": "vitest run --passWithNoTests --project unit",
184
+ "lint:fix": "biome check --write .",
185
+ "test:int": "vitest run --passWithNoTests --project int"
187
186
  }
188
- }
187
+ }