@alpic-ai/api 1.157.2 → 1.158.0
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/index.mjs +6 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -425,7 +425,8 @@ z.object({
|
|
|
425
425
|
collectRequestPayload: z.boolean(),
|
|
426
426
|
collectResponsePayload: z.boolean(),
|
|
427
427
|
collectErrorMessage: z.boolean(),
|
|
428
|
-
collectUserData: z.boolean()
|
|
428
|
+
collectUserData: z.boolean(),
|
|
429
|
+
identityTraitKey: z.string().min(1).max(200).nullable()
|
|
429
430
|
});
|
|
430
431
|
z.object({
|
|
431
432
|
id: z.string(),
|
|
@@ -1269,7 +1270,10 @@ const RESERVED_KEYS = [
|
|
|
1269
1270
|
"BUILD_ARG_START_COMMAND",
|
|
1270
1271
|
"ALPIC_HOST",
|
|
1271
1272
|
"ALPIC_CUSTOM_DOMAINS",
|
|
1272
|
-
"ALPIC_INTENT_META_KEY"
|
|
1273
|
+
"ALPIC_INTENT_META_KEY",
|
|
1274
|
+
"ALPIC_FEEDBACK_META_KEY",
|
|
1275
|
+
"ALPIC_EVENTS_META_KEY",
|
|
1276
|
+
"ALPIC_IDENTIFY_META_KEY"
|
|
1273
1277
|
];
|
|
1274
1278
|
const environmentVariableSchema = z.object({
|
|
1275
1279
|
key: z.string().min(2, "Key must be at least 2 characters").regex(/^[a-zA-Z]([a-zA-Z0-9_])+$/, "Key must start with a letter and contain only letters, numbers, and underscores").refine((key) => !RESERVED_KEYS.includes(key), "This key is reserved and cannot be used as an environment variable key"),
|