asfur 1.0.134 → 1.0.135

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.d.ts CHANGED
@@ -970,6 +970,7 @@ export declare const MongoUserRequestSchema: Schema<any, import("mongoose").Mode
970
970
  status?: string | null | undefined;
971
971
  title?: string | null | undefined;
972
972
  user_name?: string | null | undefined;
973
+ where?: string | null | undefined;
973
974
  file_url?: string | null | undefined;
974
975
  admin_notes?: string | null | undefined;
975
976
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
@@ -981,6 +982,7 @@ export declare const MongoUserRequestSchema: Schema<any, import("mongoose").Mode
981
982
  status?: string | null | undefined;
982
983
  title?: string | null | undefined;
983
984
  user_name?: string | null | undefined;
985
+ where?: string | null | undefined;
984
986
  file_url?: string | null | undefined;
985
987
  admin_notes?: string | null | undefined;
986
988
  }>, {}> & import("mongoose").FlatRecord<{
@@ -992,6 +994,7 @@ export declare const MongoUserRequestSchema: Schema<any, import("mongoose").Mode
992
994
  status?: string | null | undefined;
993
995
  title?: string | null | undefined;
994
996
  user_name?: string | null | undefined;
997
+ where?: string | null | undefined;
995
998
  file_url?: string | null | undefined;
996
999
  admin_notes?: string | null | undefined;
997
1000
  }> & {
package/dist/index.js CHANGED
@@ -375,6 +375,7 @@ exports.MongoUserRequestSchema = new mongoose_1.Schema({
375
375
  user_name: { type: String },
376
376
  title: { type: String },
377
377
  request_type: { type: String, required: true },
378
+ where: { type: String },
378
379
  request: { type: String, required: true },
379
380
  file_url: { type: String },
380
381
  created_at: { type: Number, default: Date.now },
package/dist/types.d.ts CHANGED
@@ -2330,6 +2330,7 @@ export declare const zodUserRequestSchema: z.ZodObject<{
2330
2330
  user_id: z.ZodString;
2331
2331
  user_name: z.ZodOptional<z.ZodString>;
2332
2332
  request_type: z.ZodString;
2333
+ where: z.ZodOptional<z.ZodString>;
2333
2334
  title: z.ZodOptional<z.ZodString>;
2334
2335
  request: z.ZodString;
2335
2336
  file_url: z.ZodOptional<z.ZodString>;
@@ -2347,6 +2348,7 @@ export declare const zodUserRequestSchema: z.ZodObject<{
2347
2348
  created_at?: number | undefined;
2348
2349
  updated_at?: number | undefined;
2349
2350
  user_name?: string | undefined;
2351
+ where?: string | undefined;
2350
2352
  file_url?: string | undefined;
2351
2353
  admin_notes?: string | undefined;
2352
2354
  }, {
@@ -2359,6 +2361,7 @@ export declare const zodUserRequestSchema: z.ZodObject<{
2359
2361
  created_at?: number | undefined;
2360
2362
  updated_at?: number | undefined;
2361
2363
  user_name?: string | undefined;
2364
+ where?: string | undefined;
2362
2365
  file_url?: string | undefined;
2363
2366
  admin_notes?: string | undefined;
2364
2367
  }>;
package/dist/types.js CHANGED
@@ -346,6 +346,7 @@ exports.zodUserRequestSchema = zod_1.z.object({
346
346
  user_id: zod_1.z.string(),
347
347
  user_name: zod_1.z.string().optional(),
348
348
  request_type: zod_1.z.string(),
349
+ where: zod_1.z.string().optional(),
349
350
  title: zod_1.z.string().optional(),
350
351
  request: zod_1.z.string(),
351
352
  file_url: zod_1.z.string().url().optional(),
package/index.ts CHANGED
@@ -438,6 +438,7 @@ export const MongoUserRequestSchema = new Schema(
438
438
  user_name: { type: String }, // optional user name for better understanding of the request context
439
439
  title: { type: String }, // optional title for the user request or feedback
440
440
  request_type: { type: String, required: true },
441
+ where: { type: String }, // where the user encountered the issue or has the request (e.g., "dashboard", "API", "mobile app")
441
442
  request: { type: String, required: true }, // user request or feedback
442
443
  file_url: { type: String }, // optional URL for any file attached to the request
443
444
  created_at: { type: Number, default: Date.now }, // creation date
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asfur",
3
- "version": "1.0.134",
3
+ "version": "1.0.135",
4
4
  "description": "SDK for interacting with the Asfur API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -403,6 +403,7 @@ export const zodUserRequestSchema = z.object({
403
403
  user_id: z.string(), // user identifier
404
404
  user_name: z.string().optional(), // optional user name for better understanding of the request context
405
405
  request_type: z.string(),
406
+ where: z.string().optional(), // optional field to specify where the user request or feedback is related to (e.g., "dashboard", "mobile_app", "specific_feature")
406
407
  title: z.string().optional(), // optional title for the user request or feedback
407
408
  request: z.string(), // user request or feedback
408
409
  file_url: z.string().url().optional(), // optional URL for any file attached to the request