expo-backend-types 0.59.0-EXPO-405-EB-Rutas-necesarias.7 → 0.59.0-EXPO-405-EB-Rutas-necesarias.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.
@@ -1,56 +1,23 @@
1
1
  import z from 'zod';
2
2
  export declare const allocateParticipantRoleSchema: z.ZodObject<{
3
- roleIds: z.ZodArray<z.ZodObject<Pick<{
4
- id: z.ZodString;
5
- name: z.ZodString;
6
- groupId: z.ZodString;
7
- type: z.ZodNativeEnum<{
8
- PROFILE: "PROFILE";
9
- EVENT: "EVENT";
10
- PARTICIPANT: "PARTICIPANT";
11
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
12
- PRODUCTION_ROLE: "PRODUCTION_ROLE";
13
- FORM_OPTION: "FORM_OPTION";
14
- PARTICIPANT_ROLE: "PARTICIPANT_ROLE";
15
- }>;
16
- created_at: z.ZodDate;
17
- updated_at: z.ZodDate;
18
- }, "id">, "strip", z.ZodTypeAny, {
19
- id: string;
20
- }, {
21
- id: string;
22
- }>, "many">;
3
+ roleIds: z.ZodArray<z.ZodString, "many">;
23
4
  profileId: z.ZodString;
24
5
  }, "strip", z.ZodTypeAny, {
25
6
  profileId: string;
26
- roleIds: {
27
- id: string;
28
- }[];
7
+ roleIds: string[];
29
8
  }, {
30
9
  profileId: string;
31
- roleIds: {
32
- id: string;
33
- }[];
10
+ roleIds: string[];
34
11
  }>;
35
12
  declare const AllocateParticipantRoleDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
36
- roleIds: z.ZodArray<z.ZodObject<{
37
- id: z.ZodString;
38
- }, z.UnknownKeysParam, z.ZodTypeAny, {
39
- id: string;
40
- }, {
41
- id: string;
42
- }>, "many">;
13
+ roleIds: z.ZodArray<z.ZodString, "many">;
43
14
  profileId: z.ZodString;
44
15
  }, z.UnknownKeysParam, z.ZodTypeAny, {
45
16
  profileId: string;
46
- roleIds: {
47
- id: string;
48
- }[];
17
+ roleIds: string[];
49
18
  }, {
50
19
  profileId: string;
51
- roleIds: {
52
- id: string;
53
- }[];
20
+ roleIds: string[];
54
21
  }>>;
55
22
  export declare class AllocateParticipantRoleDto extends AllocateParticipantRoleDto_base {
56
23
  }
@@ -9,11 +9,7 @@ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/cre
9
9
  const tag_dto_1 = require("../../tag/dto/tag.dto");
10
10
  const zod_1 = __importDefault(require("zod"));
11
11
  exports.allocateParticipantRoleSchema = zod_1.default.object({
12
- roleIds: tag_dto_1.tagSchema
13
- .pick({
14
- id: true,
15
- })
16
- .array(),
12
+ roleIds: tag_dto_1.tagSchema.shape.id.array(),
17
13
  profileId: profile_schema_1.profileSchema.shape.id,
18
14
  });
19
15
  class AllocateParticipantRoleDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.allocateParticipantRoleSchema) {
@@ -4598,6 +4598,10 @@ export interface components {
4598
4598
  created_at: string;
4599
4599
  updated_at: string;
4600
4600
  };
4601
+ AllocateParticipantRoleDto: {
4602
+ roleIds: string[];
4603
+ profileId: string;
4604
+ };
4601
4605
  AllocateParticipantRoleResponseDto: {
4602
4606
  id: string;
4603
4607
  shortId: number;
@@ -8399,7 +8403,11 @@ export interface operations {
8399
8403
  path?: never;
8400
8404
  cookie?: never;
8401
8405
  };
8402
- requestBody?: never;
8406
+ requestBody: {
8407
+ content: {
8408
+ "application/json": components["schemas"]["AllocateParticipantRoleDto"];
8409
+ };
8410
+ };
8403
8411
  responses: {
8404
8412
  200: {
8405
8413
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.59.0-EXPO-405-EB-Rutas-necesarias.7",
3
+ "version": "0.59.0-EXPO-405-EB-Rutas-necesarias.9",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,