@keystrokehq/segment 0.0.9 → 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 +17 -106
- package/dist/audiences.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/computed-traits.d.mts +13 -80
- package/dist/computed-traits.mjs +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/{crud-DV9e4Spi.mjs → crud-DGM2Ekdr.mjs} +1 -1
- package/dist/deletion-suppression.d.mts +11 -67
- package/dist/deletion-suppression.mjs +2 -2
- package/dist/delivery-overview.d.mts +5 -28
- package/dist/delivery-overview.mjs +1 -1
- package/dist/destination-filters.d.mts +11 -67
- package/dist/destination-filters.mjs +1 -1
- package/dist/destinations.d.mts +29 -184
- package/dist/destinations.mjs +2 -2
- package/dist/edge-functions.d.mts +11 -67
- package/dist/edge-functions.mjs +2 -2
- package/dist/events-catalog.d.mts +7 -41
- package/dist/events-catalog.mjs +1 -1
- package/dist/factory-Dqb49Dfj.mjs +8 -0
- package/dist/functions.d.mts +26 -137
- package/dist/functions.mjs +2 -2
- package/dist/iam-groups.d.mts +19 -119
- package/dist/iam-groups.mjs +2 -2
- package/dist/iam-users.d.mts +13 -80
- package/dist/iam-users.mjs +2 -2
- package/dist/integration-CliT2xe3.mjs +26 -0
- package/dist/{integration-CeShwMIi.d.mts → integration-DWeMeBqQ.d.mts} +6 -16
- package/dist/labels.d.mts +7 -41
- package/dist/labels.mjs +2 -2
- package/dist/monitoring.d.mts +11 -67
- package/dist/monitoring.mjs +1 -1
- package/dist/profiles-sync.d.mts +9 -54
- package/dist/profiles-sync.mjs +1 -1
- package/dist/profiles.d.mts +13 -80
- package/dist/profiles.mjs +1 -1
- package/dist/reverse-etl.d.mts +25 -158
- package/dist/reverse-etl.mjs +2 -2
- package/dist/roles.d.mts +3 -15
- package/dist/roles.mjs +1 -1
- package/dist/sources.d.mts +33 -210
- package/dist/sources.mjs +2 -2
- package/dist/tracking-plans.d.mts +23 -145
- package/dist/tracking-plans.mjs +2 -2
- package/dist/tracking.d.mts +17 -106
- package/dist/tracking.mjs +1 -1
- package/dist/transformations.d.mts +11 -67
- package/dist/transformations.mjs +1 -1
- package/dist/triggers.d.mts +3 -3
- package/dist/triggers.mjs +3 -53
- package/dist/usage.d.mts +5 -28
- package/dist/usage.mjs +1 -1
- package/dist/warehouses.d.mts +23 -145
- package/dist/warehouses.mjs +2 -2
- package/dist/workspaces.d.mts +7 -41
- package/dist/workspaces.mjs +1 -1
- package/package.json +5 -5
- package/dist/factory-DRwj5eiU.mjs +0 -7
- package/dist/integration-B9FOjHPc.mjs +0 -115
|
@@ -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,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/audiences.d.ts
|
|
6
5
|
declare const audienceSchema: z.ZodObject<{
|
|
@@ -25,7 +24,7 @@ declare const listAudiences: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
25
24
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
26
25
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
27
26
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
28
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
27
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
29
28
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
30
29
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
31
30
|
us: "us";
|
|
@@ -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;
|
|
@@ -58,7 +46,7 @@ declare const getAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
58
46
|
description: z.ZodOptional<z.ZodString>;
|
|
59
47
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
60
48
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
49
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
62
50
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
63
51
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
64
52
|
us: "us";
|
|
@@ -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;
|
|
@@ -94,18 +71,7 @@ declare const createAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
94
71
|
description: z.ZodOptional<z.ZodString>;
|
|
95
72
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
96
73
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
98
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
99
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
100
|
-
us: "us";
|
|
101
|
-
eu: "eu";
|
|
102
|
-
}>>;
|
|
103
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
104
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
105
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
106
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
107
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
108
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
74
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
109
75
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
110
76
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
111
77
|
us: "us";
|
|
@@ -116,7 +82,7 @@ declare const createAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
116
82
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
117
83
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
118
84
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
119
|
-
}, z.core.$strip>>
|
|
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;
|
|
@@ -131,18 +97,7 @@ declare const updateAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
131
97
|
description: z.ZodOptional<z.ZodString>;
|
|
132
98
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
133
99
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
135
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
136
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
137
|
-
us: "us";
|
|
138
|
-
eu: "eu";
|
|
139
|
-
}>>;
|
|
140
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
141
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
142
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
143
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
144
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
145
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
100
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
146
101
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
147
102
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
148
103
|
us: "us";
|
|
@@ -153,24 +108,13 @@ declare const updateAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
153
108
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
154
109
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
155
110
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
156
|
-
}, z.core.$strip>>
|
|
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;
|
|
160
115
|
}, z.core.$strip>, z.ZodObject<{
|
|
161
116
|
deleted: z.ZodLiteral<true>;
|
|
162
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
163
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
164
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
165
|
-
us: "us";
|
|
166
|
-
eu: "eu";
|
|
167
|
-
}>>;
|
|
168
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
169
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
170
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
171
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
172
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
173
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
117
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
174
118
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
175
119
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
176
120
|
us: "us";
|
|
@@ -181,25 +125,14 @@ declare const deleteAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
181
125
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
182
126
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
183
127
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
184
|
-
}, z.core.$strip>>
|
|
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>;
|
|
188
132
|
}, z.core.$strip>, z.ZodObject<{
|
|
189
133
|
count: z.ZodOptional<z.ZodNumber>;
|
|
190
134
|
sample: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
191
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
192
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
193
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
194
|
-
us: "us";
|
|
195
|
-
eu: "eu";
|
|
196
|
-
}>>;
|
|
197
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
198
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
199
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
200
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
201
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
202
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
135
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
203
136
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
204
137
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
205
138
|
us: "us";
|
|
@@ -210,7 +143,7 @@ declare const previewAudience: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
210
143
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
211
144
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
212
145
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
213
|
-
}, z.core.$strip>>
|
|
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;
|
|
@@ -220,7 +153,7 @@ declare const getAudienceMembership: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
220
153
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
221
154
|
enteredAt: z.ZodOptional<z.ZodString>;
|
|
222
155
|
exitedAt: z.ZodOptional<z.ZodString>;
|
|
223
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
156
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
224
157
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
225
158
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
226
159
|
us: "us";
|
|
@@ -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;
|
|
@@ -255,18 +177,7 @@ declare const listAudienceMembers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
255
177
|
enteredAt: z.ZodOptional<z.ZodString>;
|
|
256
178
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
257
179
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
258
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
259
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
260
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
261
|
-
us: "us";
|
|
262
|
-
eu: "eu";
|
|
263
|
-
}>>;
|
|
264
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
265
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
266
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
267
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
268
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
269
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
180
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
270
181
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
271
182
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
272
183
|
us: "us";
|
|
@@ -277,6 +188,6 @@ declare const listAudienceMembers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
277
188
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
278
189
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
279
190
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
280
|
-
}, z.core.$strip>>
|
|
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,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/computed-traits.d.ts
|
|
6
5
|
declare const computedTraitSchema: z.ZodObject<{
|
|
@@ -25,18 +24,7 @@ declare const listComputedTraits: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
25
24
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
26
25
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
27
26
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
28
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
29
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
30
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
31
|
-
us: "us";
|
|
32
|
-
eu: "eu";
|
|
33
|
-
}>>;
|
|
34
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
35
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
36
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
37
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
38
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
39
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
27
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
40
28
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
41
29
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
42
30
|
us: "us";
|
|
@@ -47,7 +35,7 @@ declare const listComputedTraits: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
47
35
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
48
36
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
49
37
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
50
|
-
}, z.core.$strip>>
|
|
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;
|
|
@@ -58,7 +46,7 @@ declare const getComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
58
46
|
description: z.ZodOptional<z.ZodString>;
|
|
59
47
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
60
48
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
49
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
62
50
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
63
51
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
64
52
|
us: "us";
|
|
@@ -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;
|
|
@@ -94,18 +71,7 @@ declare const createComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
94
71
|
description: z.ZodOptional<z.ZodString>;
|
|
95
72
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
96
73
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
98
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
99
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
100
|
-
us: "us";
|
|
101
|
-
eu: "eu";
|
|
102
|
-
}>>;
|
|
103
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
104
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
105
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
106
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
107
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
108
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
74
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
109
75
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
110
76
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
111
77
|
us: "us";
|
|
@@ -116,7 +82,7 @@ declare const createComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
116
82
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
117
83
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
118
84
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
119
|
-
}, z.core.$strip>>
|
|
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;
|
|
@@ -131,18 +97,7 @@ declare const updateComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
131
97
|
description: z.ZodOptional<z.ZodString>;
|
|
132
98
|
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
133
99
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
135
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
136
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
137
|
-
us: "us";
|
|
138
|
-
eu: "eu";
|
|
139
|
-
}>>;
|
|
140
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
141
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
142
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
143
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
144
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
145
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
100
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
146
101
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
147
102
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
148
103
|
us: "us";
|
|
@@ -153,13 +108,13 @@ declare const updateComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
153
108
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
154
109
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
155
110
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
156
|
-
}, z.core.$strip>>
|
|
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;
|
|
160
115
|
}, z.core.$strip>, z.ZodObject<{
|
|
161
116
|
deleted: z.ZodLiteral<true>;
|
|
162
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
117
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
163
118
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
164
119
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
165
120
|
us: "us";
|
|
@@ -170,36 +125,14 @@ 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>;
|
|
188
132
|
}, z.core.$strip>, z.ZodObject<{
|
|
189
133
|
count: z.ZodOptional<z.ZodNumber>;
|
|
190
134
|
sample: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
191
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
192
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
193
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
194
|
-
us: "us";
|
|
195
|
-
eu: "eu";
|
|
196
|
-
}>>;
|
|
197
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
198
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
199
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
200
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
201
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
202
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
135
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
203
136
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
204
137
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
205
138
|
us: "us";
|
|
@@ -210,6 +143,6 @@ declare const previewComputedTrait: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
210
143
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
211
144
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
212
145
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
213
|
-
}, z.core.$strip>>
|
|
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,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/deletion-suppression.d.ts
|
|
6
5
|
declare const regulationSchema: z.ZodObject<{
|
|
@@ -31,7 +30,7 @@ declare const createUserDeletion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
31
30
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
32
31
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
33
32
|
subjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
33
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
35
34
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
36
35
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
37
36
|
us: "us";
|
|
@@ -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<{
|
|
@@ -68,18 +56,7 @@ declare const createSuppression: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
68
56
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
69
57
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
70
58
|
subjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
72
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
73
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
74
|
-
us: "us";
|
|
75
|
-
eu: "eu";
|
|
76
|
-
}>>;
|
|
77
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
78
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
79
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
80
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
81
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
82
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
59
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
83
60
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
84
61
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
85
62
|
us: "us";
|
|
@@ -90,23 +67,12 @@ declare const createSuppression: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
90
67
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
91
68
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
92
69
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
93
|
-
}, z.core.$strip>>
|
|
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<{
|
|
97
74
|
removed: z.ZodLiteral<true>;
|
|
98
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
99
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
100
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
101
|
-
us: "us";
|
|
102
|
-
eu: "eu";
|
|
103
|
-
}>>;
|
|
104
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
105
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
106
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
107
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
108
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
109
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
75
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
110
76
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
111
77
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
112
78
|
us: "us";
|
|
@@ -117,7 +83,7 @@ declare const removeSuppression: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
117
83
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
118
84
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
119
85
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
120
|
-
}, z.core.$strip>>
|
|
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>;
|
|
@@ -132,18 +98,7 @@ declare const listRegulations: _keystrokehq_core0.Operation<z.ZodIntersection<z.
|
|
|
132
98
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
133
99
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
134
100
|
totalEntries: z.ZodOptional<z.ZodNumber>;
|
|
135
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
136
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
137
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
138
|
-
us: "us";
|
|
139
|
-
eu: "eu";
|
|
140
|
-
}>>;
|
|
141
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
142
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
143
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
144
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
145
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
146
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
101
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
147
102
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
148
103
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
149
104
|
us: "us";
|
|
@@ -154,7 +109,7 @@ declare const listRegulations: _keystrokehq_core0.Operation<z.ZodIntersection<z.
|
|
|
154
109
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
155
110
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
156
111
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
157
|
-
}, z.core.$strip>>
|
|
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<{
|
|
@@ -164,18 +119,7 @@ declare const getRegulation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
164
119
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
165
120
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
166
121
|
subjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
167
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"segment", z.ZodObject<{
|
|
168
|
-
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
169
|
-
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
170
|
-
us: "us";
|
|
171
|
-
eu: "eu";
|
|
172
|
-
}>>;
|
|
173
|
-
SEGMENT_DEFAULT_WRITE_KEY: z.ZodOptional<z.ZodString>;
|
|
174
|
-
SEGMENT_WRITE_KEYS_JSON: z.ZodOptional<z.ZodString>;
|
|
175
|
-
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
176
|
-
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
177
|
-
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
178
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
122
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:segment", z.ZodObject<{
|
|
179
123
|
SEGMENT_PUBLIC_API_TOKEN: z.ZodString;
|
|
180
124
|
SEGMENT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
181
125
|
us: "us";
|
|
@@ -186,6 +130,6 @@ declare const getRegulation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
186
130
|
SEGMENT_PROFILE_API_TOKEN: z.ZodOptional<z.ZodString>;
|
|
187
131
|
SEGMENT_PROFILE_SPACE_ID: z.ZodOptional<z.ZodString>;
|
|
188
132
|
SEGMENT_WEBHOOK_SHARED_SECRET: z.ZodOptional<z.ZodString>;
|
|
189
|
-
}, z.core.$strip>>
|
|
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
|