@reactionary/core 0.10.7 → 0.10.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactionary/core",
3
- "version": "0.10.7",
3
+ "version": "0.10.9",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./src/index.d.ts",
@@ -1,9 +1,12 @@
1
+ import { PersonalizationProfileIdentifierSchema } from "../models/identifiers.model.js";
1
2
  import { IdentitySchema } from "../models/identity.model.js";
3
+ import { PersonalizationProfileSchema } from "../models/personalization-profile.model.js";
2
4
  import { ProfileSchema } from "../models/profile.model.js";
3
5
  import { BaseQuerySchema } from "./base.query.js";
4
6
  const PersonalizationProfileQueryGetProfileSchema = BaseQuerySchema.extend({
5
7
  identity: IdentitySchema,
6
- profile: ProfileSchema.optional()
8
+ profile: ProfileSchema.optional(),
9
+ personalizationProfileIdentifier: PersonalizationProfileIdentifierSchema.optional().meta({ description: "The identifier of the personalization profile to retrieve. If not provided, the system will attempt to resolve the personalization profile based on the provided identity." })
7
10
  });
8
11
  export {
9
12
  PersonalizationProfileQueryGetProfileSchema
@@ -63,5 +63,8 @@ export declare const PersonalizationProfileQueryGetProfileSchema: import("zod").
63
63
  countryCode: import("zod").ZodString;
64
64
  }, import("zod/v4/core").$loose>>>;
65
65
  }, import("zod/v4/core").$loose>>;
66
+ personalizationProfileIdentifier: import("zod").ZodOptional<import("zod").ZodObject<{
67
+ key: import("zod").ZodString;
68
+ }, import("zod/v4/core").$loose>>;
66
69
  }, import("zod/v4/core").$loose>;
67
70
  export type PersonalizationProfileQueryGetProfile = InferType<typeof PersonalizationProfileQueryGetProfileSchema>;