@alpic-ai/api 0.0.0-staging.g8ba1a76 → 0.0.0-staging.g8bbe6e9
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.d.mts +1 -0
- package/dist/index.mjs +8 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
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"),
|
|
@@ -1585,7 +1589,8 @@ const deployEnvironmentContractV1 = oc.route({
|
|
|
1585
1589
|
successDescription: "The environment has been deployed successfully"
|
|
1586
1590
|
}).errors({
|
|
1587
1591
|
NOT_FOUND: {},
|
|
1588
|
-
BAD_REQUEST: {}
|
|
1592
|
+
BAD_REQUEST: {},
|
|
1593
|
+
CONFLICT: {}
|
|
1589
1594
|
}).input(z.object({
|
|
1590
1595
|
environmentId: z.string().describe("The ID of the environment to deploy"),
|
|
1591
1596
|
token: z.string().describe("The token to identify the source archive").optional(),
|