@keystrokehq/segment 0.0.8 → 0.0.15
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 +8 -97
- package/dist/audiences.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/computed-traits.d.mts +6 -73
- 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-DGM2Ekdr.mjs} +1 -1
- package/dist/deletion-suppression.d.mts +5 -61
- package/dist/deletion-suppression.mjs +2 -2
- package/dist/delivery-overview.d.mts +2 -25
- package/dist/delivery-overview.mjs +1 -1
- package/dist/destination-filters.d.mts +5 -61
- package/dist/destination-filters.mjs +1 -1
- package/dist/destinations.d.mts +14 -169
- package/dist/destinations.mjs +2 -2
- package/dist/edge-functions.d.mts +5 -61
- package/dist/edge-functions.mjs +2 -2
- package/dist/events-catalog.d.mts +3 -37
- package/dist/events-catalog.mjs +1 -1
- package/dist/{factory-CvfKfzMq.mjs → factory-Dqb49Dfj.mjs} +1 -1
- package/dist/functions.d.mts +10 -121
- package/dist/functions.mjs +2 -2
- package/dist/iam-groups.d.mts +9 -109
- package/dist/iam-groups.mjs +2 -2
- package/dist/iam-users.d.mts +6 -73
- package/dist/iam-users.mjs +2 -2
- package/dist/{integration-B5zYasBZ.mjs → integration-CliT2xe3.mjs} +1 -0
- package/dist/{integration-DJ9tRlCV.d.mts → integration-DWeMeBqQ.d.mts} +3 -14
- package/dist/labels.d.mts +3 -37
- package/dist/labels.mjs +2 -2
- package/dist/monitoring.d.mts +5 -61
- package/dist/monitoring.mjs +1 -1
- package/dist/profiles-sync.d.mts +4 -49
- package/dist/profiles-sync.mjs +1 -1
- package/dist/profiles.d.mts +6 -73
- package/dist/profiles.mjs +1 -1
- package/dist/reverse-etl.d.mts +12 -145
- package/dist/reverse-etl.mjs +2 -2
- package/dist/roles.d.mts +1 -13
- package/dist/roles.mjs +1 -1
- package/dist/sources.d.mts +16 -193
- package/dist/sources.mjs +2 -2
- package/dist/tracking-plans.d.mts +11 -133
- package/dist/tracking-plans.mjs +2 -2
- package/dist/tracking.d.mts +8 -97
- package/dist/tracking.mjs +1 -1
- package/dist/transformations.d.mts +5 -61
- package/dist/transformations.mjs +1 -1
- package/dist/triggers.d.mts +1 -1
- package/dist/triggers.mjs +1 -1
- package/dist/usage.d.mts +2 -25
- package/dist/usage.mjs +1 -1
- package/dist/warehouses.d.mts +11 -133
- package/dist/warehouses.mjs +2 -2
- package/dist/workspaces.d.mts +3 -37
- package/dist/workspaces.mjs +1 -1
- package/package.json +4 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as segmentOfficialIntegration, i as segmentBundle } from "../integration-
|
|
1
|
+
import { a as segmentOfficialIntegration, i as segmentBundle } from "../integration-DWeMeBqQ.mjs";
|
|
2
2
|
export { segmentBundle, segmentOfficialIntegration };
|
package/dist/_official/index.mjs
CHANGED
package/dist/audiences.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/audiences.d.ts
|
|
@@ -36,18 +35,7 @@ declare const listAudiences: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
36
35
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
37
36
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
38
37
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
39
|
-
}, z.core.$strip
|
|
40
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
41
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
42
|
-
us: "us";
|
|
43
|
-
eu: "eu";
|
|
44
|
-
}>>;
|
|
45
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
46
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
47
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
48
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
49
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
50
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
38
|
+
}, z.core.$strip>>], undefined>;
|
|
51
39
|
declare const getAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
52
40
|
spaceId: z.ZodString;
|
|
53
41
|
id: z.ZodString;
|
|
@@ -69,18 +57,7 @@ declare const getAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
69
57
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
70
58
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
71
59
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, z.core.$strip
|
|
73
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
74
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
75
|
-
us: "us";
|
|
76
|
-
eu: "eu";
|
|
77
|
-
}>>;
|
|
78
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
79
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
80
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
81
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
82
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
83
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
60
|
+
}, z.core.$strip>>], undefined>;
|
|
84
61
|
declare const createAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
85
62
|
spaceId: z.ZodString;
|
|
86
63
|
name: z.ZodString;
|
|
@@ -105,18 +82,7 @@ declare const createAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
105
82
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
106
83
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
107
84
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
108
|
-
}, z.core.$strip
|
|
109
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
110
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
111
|
-
us: "us";
|
|
112
|
-
eu: "eu";
|
|
113
|
-
}>>;
|
|
114
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
115
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
116
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
117
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
118
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
119
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
85
|
+
}, z.core.$strip>>], undefined>;
|
|
120
86
|
declare const updateAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
121
87
|
spaceId: z.ZodString;
|
|
122
88
|
id: z.ZodString;
|
|
@@ -142,18 +108,7 @@ declare const updateAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
142
108
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
143
109
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
144
110
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
145
|
-
}, z.core.$strip
|
|
146
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
147
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
148
|
-
us: "us";
|
|
149
|
-
eu: "eu";
|
|
150
|
-
}>>;
|
|
151
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
152
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
153
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
154
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
155
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
156
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
111
|
+
}, z.core.$strip>>], undefined>;
|
|
157
112
|
declare const deleteAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
158
113
|
spaceId: z.ZodString;
|
|
159
114
|
id: z.ZodString;
|
|
@@ -170,18 +125,7 @@ declare const deleteAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
170
125
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
171
126
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
172
127
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
173
|
-
}, z.core.$strip
|
|
174
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
175
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
176
|
-
us: "us";
|
|
177
|
-
eu: "eu";
|
|
178
|
-
}>>;
|
|
179
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
180
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
181
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
182
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
183
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
184
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
128
|
+
}, z.core.$strip>>], undefined>;
|
|
185
129
|
declare const previewAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
186
130
|
spaceId: z.ZodString;
|
|
187
131
|
definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -199,18 +143,7 @@ declare const previewAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
199
143
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
200
144
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
201
145
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
202
|
-
}, z.core.$strip
|
|
203
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
204
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
205
|
-
us: "us";
|
|
206
|
-
eu: "eu";
|
|
207
|
-
}>>;
|
|
208
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
209
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
210
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
211
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
212
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
213
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
146
|
+
}, z.core.$strip>>], undefined>;
|
|
214
147
|
declare const getAudienceMembership: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
215
148
|
spaceId: z.ZodString;
|
|
216
149
|
id: z.ZodString;
|
|
@@ -231,18 +164,7 @@ declare const getAudienceMembership: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
231
164
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
232
165
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
233
166
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
234
|
-
}, z.core.$strip
|
|
235
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
236
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
237
|
-
us: "us";
|
|
238
|
-
eu: "eu";
|
|
239
|
-
}>>;
|
|
240
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
241
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
242
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
243
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
244
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
245
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
167
|
+
}, z.core.$strip>>], undefined>;
|
|
246
168
|
declare const listAudienceMembers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
247
169
|
spaceId: z.ZodString;
|
|
248
170
|
id: z.ZodString;
|
|
@@ -266,17 +188,6 @@ declare const listAudienceMembers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
266
188
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
267
189
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
268
190
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
269
|
-
}, z.core.$strip
|
|
270
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
271
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
272
|
-
us: "us";
|
|
273
|
-
eu: "eu";
|
|
274
|
-
}>>;
|
|
275
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
276
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
277
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
278
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
279
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
280
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
191
|
+
}, z.core.$strip>>], undefined>;
|
|
281
192
|
//#endregion
|
|
282
193
|
export { audienceSchema, createAudience, deleteAudience, getAudience, getAudienceMembership, listAudienceMembers, listAudiences, previewAudience, updateAudience };
|
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-Dqb49Dfj.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/audiences.ts
|
package/dist/client.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/computed-traits.d.ts
|
|
@@ -36,18 +35,7 @@ declare const listComputedTraits: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
36
35
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
37
36
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
38
37
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
39
|
-
}, z.core.$strip
|
|
40
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
41
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
42
|
-
us: "us";
|
|
43
|
-
eu: "eu";
|
|
44
|
-
}>>;
|
|
45
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
46
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
47
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
48
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
49
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
50
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
38
|
+
}, z.core.$strip>>], undefined>;
|
|
51
39
|
declare const getComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
52
40
|
spaceId: z.ZodString;
|
|
53
41
|
id: z.ZodString;
|
|
@@ -69,18 +57,7 @@ declare const getComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
69
57
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
70
58
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
71
59
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, z.core.$strip
|
|
73
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
74
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
75
|
-
us: "us";
|
|
76
|
-
eu: "eu";
|
|
77
|
-
}>>;
|
|
78
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
79
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
80
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
81
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
82
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
83
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
60
|
+
}, z.core.$strip>>], undefined>;
|
|
84
61
|
declare const createComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
85
62
|
spaceId: z.ZodString;
|
|
86
63
|
name: z.ZodString;
|
|
@@ -105,18 +82,7 @@ declare const createComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
105
82
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
106
83
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
107
84
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
108
|
-
}, z.core.$strip
|
|
109
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
110
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
111
|
-
us: "us";
|
|
112
|
-
eu: "eu";
|
|
113
|
-
}>>;
|
|
114
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
115
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
116
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
117
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
118
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
119
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
85
|
+
}, z.core.$strip>>], undefined>;
|
|
120
86
|
declare const updateComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
121
87
|
spaceId: z.ZodString;
|
|
122
88
|
id: z.ZodString;
|
|
@@ -142,18 +108,7 @@ declare const updateComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
142
108
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
143
109
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
144
110
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
145
|
-
}, z.core.$strip
|
|
146
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
147
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
148
|
-
us: "us";
|
|
149
|
-
eu: "eu";
|
|
150
|
-
}>>;
|
|
151
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
152
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
153
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
154
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
155
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
156
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
111
|
+
}, z.core.$strip>>], undefined>;
|
|
157
112
|
declare const deleteComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
158
113
|
spaceId: z.ZodString;
|
|
159
114
|
id: z.ZodString;
|
|
@@ -170,18 +125,7 @@ declare const deleteComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
170
125
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
171
126
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
172
127
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
173
|
-
}, z.core.$strip
|
|
174
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
175
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
176
|
-
us: "us";
|
|
177
|
-
eu: "eu";
|
|
178
|
-
}>>;
|
|
179
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
180
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
181
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
182
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
183
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
184
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
128
|
+
}, z.core.$strip>>], undefined>;
|
|
185
129
|
declare const previewComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
186
130
|
spaceId: z.ZodString;
|
|
187
131
|
definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -199,17 +143,6 @@ declare const previewComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
199
143
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
200
144
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
201
145
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
202
|
-
}, z.core.$strip
|
|
203
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
204
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
205
|
-
us: "us";
|
|
206
|
-
eu: "eu";
|
|
207
|
-
}>>;
|
|
208
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
209
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
210
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
211
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
212
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
213
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
146
|
+
}, z.core.$strip>>], undefined>;
|
|
214
147
|
//#endregion
|
|
215
148
|
export { computedTraitSchema, createComputedTrait, deleteComputedTrait, getComputedTrait, listComputedTraits, previewComputedTrait, updateComputedTrait };
|
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-Dqb49Dfj.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-DWeMeBqQ.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-Dqb49Dfj.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/crud.ts
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/deletion-suppression.d.ts
|
|
@@ -42,18 +41,7 @@ declare const createUserDeletion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
42
41
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
43
42
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
44
43
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
45
|
-
}, z.core.$strip
|
|
46
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
47
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
48
|
-
us: "us";
|
|
49
|
-
eu: "eu";
|
|
50
|
-
}>>;
|
|
51
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
52
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
53
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
54
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
55
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
56
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
44
|
+
}, z.core.$strip>>], undefined>;
|
|
57
45
|
declare const createSuppression: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
58
46
|
subjectIds: z.ZodArray<z.ZodString>;
|
|
59
47
|
subjectType: z.ZodDefault<z.ZodEnum<{
|
|
@@ -79,18 +67,7 @@ declare const createSuppression: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
79
67
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
80
68
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
81
69
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
82
|
-
}, z.core.$strip
|
|
83
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
84
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
85
|
-
us: "us";
|
|
86
|
-
eu: "eu";
|
|
87
|
-
}>>;
|
|
88
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
89
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
90
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
91
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
92
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
93
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
70
|
+
}, z.core.$strip>>], undefined>;
|
|
94
71
|
declare const removeSuppression: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
95
72
|
id: z.ZodString;
|
|
96
73
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -106,18 +83,7 @@ declare const removeSuppression: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
106
83
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
107
84
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
108
85
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
109
|
-
}, z.core.$strip
|
|
110
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
111
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
112
|
-
us: "us";
|
|
113
|
-
eu: "eu";
|
|
114
|
-
}>>;
|
|
115
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
116
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
117
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
118
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
119
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
120
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
86
|
+
}, z.core.$strip>>], undefined>;
|
|
121
87
|
declare const listRegulations: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObject<{
|
|
122
88
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
123
89
|
pageToken: z.ZodOptional<z.ZodString>;
|
|
@@ -143,18 +109,7 @@ declare const listRegulations: _keystrokehq_core0.Operation<z.ZodIntersection<z.
|
|
|
143
109
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
144
110
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
145
111
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
146
|
-
}, z.core.$strip
|
|
147
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
148
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
149
|
-
us: "us";
|
|
150
|
-
eu: "eu";
|
|
151
|
-
}>>;
|
|
152
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
153
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
154
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
155
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
156
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
157
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
112
|
+
}, z.core.$strip>>], undefined>;
|
|
158
113
|
declare const getRegulation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
159
114
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
160
115
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -175,17 +130,6 @@ declare const getRegulation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
175
130
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
176
131
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
177
132
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
178
|
-
}, z.core.$strip
|
|
179
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
180
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
181
|
-
us: "us";
|
|
182
|
-
eu: "eu";
|
|
183
|
-
}>>;
|
|
184
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
185
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
186
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
187
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
188
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
189
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
133
|
+
}, z.core.$strip>>], undefined>;
|
|
190
134
|
//#endregion
|
|
191
135
|
export { createSuppression, createUserDeletion, getRegulation, listRegulations, regulationSchema, removeSuppression, suppressionSchema };
|
|
@@ -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-Dqb49Dfj.mjs";
|
|
4
|
+
import { n as crudList, t as crudGet } from "./crud-DGM2Ekdr.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/deletion-suppression.ts
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/delivery-overview.d.ts
|
|
@@ -27,18 +26,7 @@ declare const listDeliveryOverviewMetrics: _keystrokehq_core0.Operation<z.ZodInt
|
|
|
27
26
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
28
27
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
29
28
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
30
|
-
}, z.core.$strip
|
|
31
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
32
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
33
|
-
us: "us";
|
|
34
|
-
eu: "eu";
|
|
35
|
-
}>>;
|
|
36
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
37
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
38
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
39
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
40
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
41
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
29
|
+
}, z.core.$strip>>], undefined>;
|
|
42
30
|
declare const listDeliveryOverviewEvents: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObject<{
|
|
43
31
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
44
32
|
pageToken: z.ZodOptional<z.ZodString>;
|
|
@@ -63,17 +51,6 @@ declare const listDeliveryOverviewEvents: _keystrokehq_core0.Operation<z.ZodInte
|
|
|
63
51
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
64
52
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
65
53
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
66
|
-
}, z.core.$strip
|
|
67
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
68
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
69
|
-
us: "us";
|
|
70
|
-
eu: "eu";
|
|
71
|
-
}>>;
|
|
72
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
73
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
74
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
75
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
76
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
77
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
54
|
+
}, z.core.$strip>>], undefined>;
|
|
78
55
|
//#endregion
|
|
79
56
|
export { listDeliveryOverviewEvents, listDeliveryOverviewMetrics };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/destination-filters.d.ts
|
|
@@ -35,18 +34,7 @@ declare const listDestinationFilters: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
35
34
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
36
35
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
37
36
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
38
|
-
}, z.core.$strip
|
|
39
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
40
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
41
|
-
us: "us";
|
|
42
|
-
eu: "eu";
|
|
43
|
-
}>>;
|
|
44
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
45
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
46
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
47
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
48
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
49
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
37
|
+
}, z.core.$strip>>], undefined>;
|
|
50
38
|
declare const getDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
51
39
|
destinationId: z.ZodString;
|
|
52
40
|
filterId: z.ZodString;
|
|
@@ -69,18 +57,7 @@ declare const getDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
69
57
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
70
58
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
71
59
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, z.core.$strip
|
|
73
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
74
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
75
|
-
us: "us";
|
|
76
|
-
eu: "eu";
|
|
77
|
-
}>>;
|
|
78
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
79
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
80
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
81
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
82
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
83
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
60
|
+
}, z.core.$strip>>], undefined>;
|
|
84
61
|
declare const createDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
85
62
|
destinationId: z.ZodString;
|
|
86
63
|
if: z.ZodString;
|
|
@@ -107,18 +84,7 @@ declare const createDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
107
84
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
108
85
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
109
86
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
110
|
-
}, z.core.$strip
|
|
111
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
112
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
113
|
-
us: "us";
|
|
114
|
-
eu: "eu";
|
|
115
|
-
}>>;
|
|
116
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
117
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
118
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
119
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
120
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
121
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
87
|
+
}, z.core.$strip>>], undefined>;
|
|
122
88
|
declare const updateDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
123
89
|
destinationId: z.ZodString;
|
|
124
90
|
filterId: z.ZodString;
|
|
@@ -146,18 +112,7 @@ declare const updateDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
146
112
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
147
113
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
148
114
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
149
|
-
}, z.core.$strip
|
|
150
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
151
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
152
|
-
us: "us";
|
|
153
|
-
eu: "eu";
|
|
154
|
-
}>>;
|
|
155
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
156
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
157
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
158
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
159
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
160
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
115
|
+
}, z.core.$strip>>], undefined>;
|
|
161
116
|
declare const deleteDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
162
117
|
destinationId: z.ZodString;
|
|
163
118
|
filterId: z.ZodString;
|
|
@@ -174,17 +129,6 @@ declare const deleteDestinationFilter: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
174
129
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
175
130
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
176
131
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
177
|
-
}, z.core.$strip
|
|
178
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
179
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
180
|
-
us: "us";
|
|
181
|
-
eu: "eu";
|
|
182
|
-
}>>;
|
|
183
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
184
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
185
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
186
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
187
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
188
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
132
|
+
}, z.core.$strip>>], undefined>;
|
|
189
133
|
//#endregion
|
|
190
134
|
export { createDestinationFilter, deleteDestinationFilter, destinationFilterSchema, getDestinationFilter, listDestinationFilters, updateDestinationFilter };
|
|
@@ -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-Dqb49Dfj.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/destination-filters.ts
|