@vulog/aima-user 1.2.39 → 1.2.41

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.cjs CHANGED
@@ -54,6 +54,7 @@ const createBusinessProfileSchema = zod.z.object({
54
54
  costCenterId: zod.z.string().uuid().nullish()
55
55
  })
56
56
  });
57
+ /** @deprecated Use `addUserToBusiness` from `@vulog/aima-business` instead */
57
58
  const createBusinessProfile = async (client, userId, businessId, data) => {
58
59
  const result = createBusinessProfileSchema.safeParse({
59
60
  userId,
package/dist/index.d.cts CHANGED
@@ -213,6 +213,7 @@ type CreateBusinessProfile = {
213
213
  requestId: string;
214
214
  costCenterId?: string | null;
215
215
  };
216
+ /** @deprecated Use `addUserToBusiness` from `@vulog/aima-business` instead */
216
217
  declare const createBusinessProfile: (client: Client, userId: string, businessId: string, data: CreateBusinessProfile) => Promise<UserProfile>;
217
218
  //#endregion
218
219
  //#region src/createUser.d.ts
package/dist/index.d.mts CHANGED
@@ -213,6 +213,7 @@ type CreateBusinessProfile = {
213
213
  requestId: string;
214
214
  costCenterId?: string | null;
215
215
  };
216
+ /** @deprecated Use `addUserToBusiness` from `@vulog/aima-business` instead */
216
217
  declare const createBusinessProfile: (client: Client, userId: string, businessId: string, data: CreateBusinessProfile) => Promise<UserProfile>;
217
218
  //#endregion
218
219
  //#region src/createUser.d.ts
package/dist/index.mjs CHANGED
@@ -53,6 +53,7 @@ const createBusinessProfileSchema = z.object({
53
53
  costCenterId: z.string().uuid().nullish()
54
54
  })
55
55
  });
56
+ /** @deprecated Use `addUserToBusiness` from `@vulog/aima-business` instead */
56
57
  const createBusinessProfile = async (client, userId, businessId, data) => {
57
58
  const result = createBusinessProfileSchema.safeParse({
58
59
  userId,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vulog/aima-user",
3
3
  "type": "module",
4
- "version": "1.2.39",
4
+ "version": "1.2.41",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.cts",
@@ -32,9 +32,9 @@
32
32
  "author": "Vulog",
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
- "@vulog/aima-client": "1.2.39",
36
- "@vulog/aima-config": "1.2.39",
37
- "@vulog/aima-core": "1.2.39"
35
+ "@vulog/aima-client": "1.2.41",
36
+ "@vulog/aima-config": "1.2.41",
37
+ "@vulog/aima-core": "1.2.41"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "zod": "^4.3.6"
@@ -21,6 +21,7 @@ const createBusinessProfileSchema = z.object({
21
21
  }),
22
22
  });
23
23
 
24
+ /** @deprecated Use `addUserToBusiness` from `@vulog/aima-business` instead */
24
25
  export const createBusinessProfile = async (
25
26
  client: Client,
26
27
  userId: string,