vms-nest-prisma-api-document 980.0.0 → 981.0.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.
@@ -10,6 +10,8 @@ interface SBR {
10
10
  status: boolean;
11
11
  message: string;
12
12
  error?: string;
13
+ data?: any;
14
+ id?: string;
13
15
  }
14
16
  interface BR<T> {
15
17
  status: boolean;
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  user_id: string;
24
24
  organisation_id: string;
25
- country_id: string;
26
25
  login_from: LoginFrom;
26
+ country_id: string;
27
27
  os_details: Record<string, any>;
28
28
  ip_details: Record<string, any>;
29
29
  }, {
30
30
  user_id: string;
31
31
  organisation_id: string;
32
- country_id: string;
33
32
  login_from: LoginFrom;
33
+ country_id: string;
34
34
  os_details?: Record<string, any> | undefined;
35
35
  ip_details?: Record<string, any> | undefined;
36
36
  }>;
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
48
48
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
49
49
  country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
- login_from: LoginFrom;
52
51
  search: string;
53
52
  paging: PAGING;
54
53
  page_count: number;
55
54
  page_index: number;
55
+ login_from: LoginFrom;
56
56
  date_format_id: string;
57
57
  time_zone_id: string;
58
58
  user_ids: string[];
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
43
43
  user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
44
44
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
45
45
  }, "strip", z.ZodTypeAny, {
46
- login_from: LoginFrom;
47
46
  search: string;
48
47
  paging: PAGING;
49
48
  page_count: number;
50
49
  page_index: number;
50
+ login_from: LoginFrom;
51
51
  date_format_id: string;
52
52
  time_zone_id: string;
53
53
  user_ids: string[];
@@ -31,6 +31,7 @@ declare const ContactUsDetailSchema: z.ZodObject<{
31
31
  telegram_chat_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
32
32
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
33
33
  }, "strip", z.ZodTypeAny, {
34
+ status: Status;
34
35
  mobile_number: string;
35
36
  email: string;
36
37
  facebook_link: string;
@@ -41,7 +42,6 @@ declare const ContactUsDetailSchema: z.ZodObject<{
41
42
  pinterest_link: string;
42
43
  whats_app_chat_url: string;
43
44
  telegram_chat_url: string;
44
- status: Status;
45
45
  }, {
46
46
  status: Status;
47
47
  mobile_number?: string | undefined;
@@ -23,14 +23,14 @@ declare const ExclusiveFeatureAccessSchema: z.ZodObject<{
23
23
  message: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
24
24
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
25
25
  }, "strip", z.ZodTypeAny, {
26
- status: Status;
26
+ subject: string;
27
27
  message: string;
28
28
  organisation_id: string;
29
- subject: string;
30
- }, {
31
29
  status: Status;
32
- organisation_id: string;
30
+ }, {
33
31
  subject: string;
32
+ organisation_id: string;
33
+ status: Status;
34
34
  message?: string | undefined;
35
35
  }>;
36
36
  type ExclusiveFeatureAccessDTO = z.infer<typeof ExclusiveFeatureAccessSchema>;
@@ -89,8 +89,8 @@ declare const ExclusiveFeatureAccessQuerySchema: z.ZodObject<{
89
89
  include_master_data: YesNo;
90
90
  date_format_id: string;
91
91
  time_zone_id: string;
92
- organisation_ids: string[];
93
92
  exclusive_feature_access_ids: string[];
93
+ organisation_ids: string[];
94
94
  }, {
95
95
  date_format_id: string;
96
96
  time_zone_id: string;
@@ -113,8 +113,8 @@ declare const ExclusiveFeatureAccessQuerySchema: z.ZodObject<{
113
113
  direction: OrderBy;
114
114
  }[] | undefined;
115
115
  include_master_data?: YesNo | undefined;
116
- organisation_ids?: string[] | undefined;
117
116
  exclusive_feature_access_ids?: string[] | undefined;
117
+ organisation_ids?: string[] | undefined;
118
118
  }>;
119
119
  type ExclusiveFeatureAccessQueryDTO = z.infer<typeof ExclusiveFeatureAccessQuerySchema>;
120
120
  declare const toExclusiveFeatureAccessPayload: (row: ExclusiveFeatureAccess) => ExclusiveFeatureAccessDTO;
@@ -25,10 +25,10 @@ declare const RequestDemoSchema: z.ZodObject<{
25
25
  admin_view: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
26
26
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
27
27
  }, "strip", z.ZodTypeAny, {
28
- email: string;
29
- status: Status;
30
28
  message: string;
29
+ status: Status;
31
30
  name: string;
31
+ email: string;
32
32
  mobile: string;
33
33
  admin_message: string;
34
34
  city: string;
@@ -37,8 +37,8 @@ declare const RequestDemoSchema: z.ZodObject<{
37
37
  status: Status;
38
38
  name: string;
39
39
  admin_view: YesNo;
40
- email?: string | undefined;
41
40
  message?: string | undefined;
41
+ email?: string | undefined;
42
42
  mobile?: string | undefined;
43
43
  admin_message?: string | undefined;
44
44
  city?: string | undefined;
@@ -134,15 +134,15 @@ declare const RequestDemoCreateSchema: z.ZodObject<{
134
134
  message: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
135
135
  city: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
136
136
  }, "strip", z.ZodTypeAny, {
137
- email: string;
138
137
  message: string;
139
138
  name: string;
139
+ email: string;
140
140
  mobile: string;
141
141
  city: string;
142
142
  }, {
143
143
  name: string;
144
- email?: string | undefined;
145
144
  message?: string | undefined;
145
+ email?: string | undefined;
146
146
  mobile?: string | undefined;
147
147
  city?: string | undefined;
148
148
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vms-nest-prisma-api-document",
3
- "version": "980.0.0",
3
+ "version": "981.0.0",
4
4
  "description": "Reusable API SDK built with NestJS, Prisma, Axios, and Zod for VMS frontends.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",