vms-nest-prisma-api-document 962.0.0 → 964.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.
@@ -85,10 +85,8 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
85
85
  run_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof RunType>, "many">>>;
86
86
  execution_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExecutionStatus>, "many">>>;
87
87
  }, "strip", z.ZodTypeAny, {
88
- run_type: RunType[];
89
- execution_status: ExecutionStatus[];
90
- status: Status[];
91
88
  is_enabled: YesNo[];
89
+ status: Status[];
92
90
  search: string;
93
91
  paging: PAGING;
94
92
  page_count: number;
@@ -109,13 +107,13 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
109
107
  include_master_data: YesNo;
110
108
  date_format_id: string;
111
109
  time_zone_id: string;
110
+ run_type: RunType[];
111
+ execution_status: ExecutionStatus[];
112
112
  }, {
113
113
  date_format_id: string;
114
114
  time_zone_id: string;
115
- run_type?: RunType[] | undefined;
116
- execution_status?: ExecutionStatus[] | undefined;
117
- status?: Status[] | undefined;
118
115
  is_enabled?: YesNo[] | undefined;
116
+ status?: Status[] | undefined;
119
117
  search?: string | undefined;
120
118
  paging?: PAGING | undefined;
121
119
  page_count?: unknown;
@@ -134,6 +132,8 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
134
132
  direction: OrderBy;
135
133
  }[] | undefined;
136
134
  include_master_data?: YesNo | undefined;
135
+ run_type?: RunType[] | undefined;
136
+ execution_status?: ExecutionStatus[] | undefined;
137
137
  }>;
138
138
  type CronMonitorQueryDTO = z.infer<typeof CronMonitorQuerySchema>;
139
139
  declare const CronJobLogQuerySchema: z.ZodObject<{
@@ -172,9 +172,6 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
172
172
  execution_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExecutionStatus>, "many">>>;
173
173
  is_latest_run: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
174
174
  }, "strip", z.ZodTypeAny, {
175
- run_type: RunType[];
176
- execution_status: ExecutionStatus[];
177
- is_latest_run: YesNo[];
178
175
  status: Status[];
179
176
  search: string;
180
177
  paging: PAGING;
@@ -196,13 +193,13 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
196
193
  include_master_data: YesNo;
197
194
  date_format_id: string;
198
195
  time_zone_id: string;
196
+ run_type: RunType[];
197
+ execution_status: ExecutionStatus[];
198
+ is_latest_run: YesNo[];
199
199
  cron_job_ids: string[];
200
200
  }, {
201
201
  date_format_id: string;
202
202
  time_zone_id: string;
203
- run_type?: RunType[] | undefined;
204
- execution_status?: ExecutionStatus[] | undefined;
205
- is_latest_run?: YesNo[] | undefined;
206
203
  status?: Status[] | undefined;
207
204
  search?: string | undefined;
208
205
  paging?: PAGING | undefined;
@@ -222,6 +219,9 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
222
219
  direction: OrderBy;
223
220
  }[] | undefined;
224
221
  include_master_data?: YesNo | undefined;
222
+ run_type?: RunType[] | undefined;
223
+ execution_status?: ExecutionStatus[] | undefined;
224
+ is_latest_run?: YesNo[] | undefined;
225
225
  cron_job_ids?: string[] | undefined;
226
226
  }>;
227
227
  type CronJobLogQueryDTO = z.infer<typeof CronJobLogQuerySchema>;
@@ -40,7 +40,7 @@ interface ApiDataShareHitLog extends Record<string, unknown> {
40
40
  added_date_time: string;
41
41
  modified_date_time: string;
42
42
  }
43
- interface ExternalApiReport {
43
+ interface ExternalApiReport extends Record<string, unknown> {
44
44
  api_name: string;
45
45
  vendor_name: string;
46
46
  success_count: number;
@@ -61,26 +61,26 @@ declare const ApiDataShareManagementSchema: z.ZodObject<{
61
61
  allowed_ips: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
62
62
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
63
63
  }, "strip", z.ZodTypeAny, {
64
- status: Status;
65
- is_enabled: YesNo;
66
64
  api_name: string;
67
65
  vendor_name: string;
68
66
  purpose: string;
69
67
  description: string;
68
+ is_enabled: YesNo;
70
69
  auth_type: APIAuthType;
71
70
  api_key: string;
72
71
  username: string;
73
72
  password: string;
74
73
  rate_limit_rpm: number;
75
74
  allowed_ips: string[];
76
- }, {
77
75
  status: Status;
76
+ }, {
78
77
  api_name: string;
79
78
  vendor_name: string;
80
79
  allowed_ips: string[];
81
- is_enabled?: YesNo | undefined;
80
+ status: Status;
82
81
  purpose?: string | undefined;
83
82
  description?: string | undefined;
83
+ is_enabled?: YesNo | undefined;
84
84
  auth_type?: APIAuthType | undefined;
85
85
  api_key?: string | undefined;
86
86
  username?: string | undefined;
@@ -123,8 +123,9 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
123
123
  is_enabled: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
124
124
  auth_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof APIAuthType>, "many">>>;
125
125
  }, "strip", z.ZodTypeAny, {
126
- status: Status[];
127
126
  is_enabled: YesNo[];
127
+ auth_type: APIAuthType[];
128
+ status: Status[];
128
129
  search: string;
129
130
  paging: PAGING;
130
131
  page_count: number;
@@ -145,13 +146,13 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
145
146
  include_master_data: YesNo;
146
147
  date_format_id: string;
147
148
  time_zone_id: string;
148
- auth_type: APIAuthType[];
149
149
  api_data_share_ids: string[];
150
150
  }, {
151
151
  date_format_id: string;
152
152
  time_zone_id: string;
153
- status?: Status[] | undefined;
154
153
  is_enabled?: YesNo[] | undefined;
154
+ auth_type?: APIAuthType[] | undefined;
155
+ status?: Status[] | undefined;
155
156
  search?: string | undefined;
156
157
  paging?: PAGING | undefined;
157
158
  page_count?: unknown;
@@ -170,7 +171,6 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
170
171
  direction: OrderBy;
171
172
  }[] | undefined;
172
173
  include_master_data?: YesNo | undefined;
173
- auth_type?: APIAuthType[] | undefined;
174
174
  api_data_share_ids?: string[] | undefined;
175
175
  }>;
176
176
  type ApiDataShareManagementQueryDTO = z.infer<typeof ApiDataShareManagementQuerySchema>;
@@ -210,6 +210,7 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
210
210
  is_auth_success: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
211
211
  }, "strip", z.ZodTypeAny, {
212
212
  status: Status[];
213
+ is_auth_success: YesNo[];
213
214
  search: string;
214
215
  paging: PAGING;
215
216
  page_count: number;
@@ -230,13 +231,13 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
230
231
  include_master_data: YesNo;
231
232
  date_format_id: string;
232
233
  time_zone_id: string;
233
- is_auth_success: YesNo[];
234
234
  api_data_share_ids: string[];
235
235
  api_data_share_hit_log_ids: string[];
236
236
  }, {
237
237
  date_format_id: string;
238
238
  time_zone_id: string;
239
239
  status?: Status[] | undefined;
240
+ is_auth_success?: YesNo[] | undefined;
240
241
  search?: string | undefined;
241
242
  paging?: PAGING | undefined;
242
243
  page_count?: unknown;
@@ -255,7 +256,6 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
255
256
  direction: OrderBy;
256
257
  }[] | undefined;
257
258
  include_master_data?: YesNo | undefined;
258
- is_auth_success?: YesNo[] | undefined;
259
259
  api_data_share_ids?: string[] | undefined;
260
260
  api_data_share_hit_log_ids?: string[] | undefined;
261
261
  }>;
@@ -31,9 +31,8 @@ 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
- email: string;
35
- status: Status;
36
34
  mobile_number: string;
35
+ email: string;
37
36
  facebook_link: string;
38
37
  twitter_link: string;
39
38
  instagram_link: string;
@@ -42,10 +41,11 @@ declare const ContactUsDetailSchema: z.ZodObject<{
42
41
  pinterest_link: string;
43
42
  whats_app_chat_url: string;
44
43
  telegram_chat_url: string;
44
+ status: Status;
45
45
  }, {
46
46
  status: Status;
47
- email?: string | undefined;
48
47
  mobile_number?: string | undefined;
48
+ email?: string | undefined;
49
49
  facebook_link?: string | undefined;
50
50
  twitter_link?: string | undefined;
51
51
  instagram_link?: string | undefined;
@@ -26,24 +26,24 @@ declare const RequestDemoSchema: z.ZodObject<{
26
26
  admin_view: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
27
27
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
28
28
  }, "strip", z.ZodTypeAny, {
29
+ email: string;
30
+ status: Status;
31
+ message: string;
29
32
  first_name: string;
30
33
  last_name: string;
31
34
  mobile: string;
32
35
  country_code: string;
33
- email: string;
34
- message: string;
35
36
  admin_message: string;
36
37
  admin_view: YesNo;
37
- status: Status;
38
38
  }, {
39
+ status: Status;
39
40
  first_name: string;
40
41
  admin_view: YesNo;
41
- status: Status;
42
+ email?: string | undefined;
43
+ message?: string | undefined;
42
44
  last_name?: string | undefined;
43
45
  mobile?: string | undefined;
44
46
  country_code?: string | undefined;
45
- email?: string | undefined;
46
- message?: string | undefined;
47
47
  admin_message?: string | undefined;
48
48
  }>;
49
49
  type RequestDemoDTO = z.infer<typeof RequestDemoSchema>;
@@ -81,7 +81,6 @@ declare const RequestDemoQuerySchema: z.ZodObject<{
81
81
  request_demo_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
82
82
  admin_view: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
83
83
  }, "strip", z.ZodTypeAny, {
84
- admin_view: YesNo[];
85
84
  status: Status[];
86
85
  search: string;
87
86
  paging: PAGING;
@@ -103,11 +102,11 @@ declare const RequestDemoQuerySchema: z.ZodObject<{
103
102
  include_master_data: YesNo;
104
103
  date_format_id: string;
105
104
  time_zone_id: string;
105
+ admin_view: YesNo[];
106
106
  request_demo_ids: string[];
107
107
  }, {
108
108
  date_format_id: string;
109
109
  time_zone_id: string;
110
- admin_view?: YesNo[] | undefined;
111
110
  status?: Status[] | undefined;
112
111
  search?: string | undefined;
113
112
  paging?: PAGING | undefined;
@@ -127,6 +126,7 @@ declare const RequestDemoQuerySchema: z.ZodObject<{
127
126
  direction: OrderBy;
128
127
  }[] | undefined;
129
128
  include_master_data?: YesNo | undefined;
129
+ admin_view?: YesNo[] | undefined;
130
130
  request_demo_ids?: string[] | undefined;
131
131
  }>;
132
132
  type RequestDemoQueryDTO = z.infer<typeof RequestDemoQuerySchema>;
@@ -138,19 +138,19 @@ declare const RequestDemoCreateSchema: z.ZodObject<{
138
138
  email: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
139
139
  message: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
140
140
  }, "strip", z.ZodTypeAny, {
141
+ email: string;
142
+ message: string;
141
143
  first_name: string;
142
144
  last_name: string;
143
145
  mobile: string;
144
146
  country_code: string;
145
- email: string;
146
- message: string;
147
147
  }, {
148
148
  first_name: string;
149
+ email?: string | undefined;
150
+ message?: string | undefined;
149
151
  last_name?: string | undefined;
150
152
  mobile?: string | undefined;
151
153
  country_code?: string | undefined;
152
- email?: string | undefined;
153
- message?: string | undefined;
154
154
  }>;
155
155
  type RequestDemoCreateDTO = z.infer<typeof RequestDemoCreateSchema>;
156
156
  declare const toFaqPayload: (request_demo: RequestDemo) => RequestDemoDTO;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vms-nest-prisma-api-document",
3
- "version": "962.0.0",
3
+ "version": "964.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",