asfur 1.0.133 → 1.0.134

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
@@ -968,6 +968,8 @@ export declare const MongoUserRequestSchema: Schema<any, import("mongoose").Mode
968
968
  request_type: string;
969
969
  request: string;
970
970
  status?: string | null | undefined;
971
+ title?: string | null | undefined;
972
+ user_name?: string | null | undefined;
971
973
  file_url?: string | null | undefined;
972
974
  admin_notes?: string | null | undefined;
973
975
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
@@ -977,6 +979,8 @@ export declare const MongoUserRequestSchema: Schema<any, import("mongoose").Mode
977
979
  request_type: string;
978
980
  request: string;
979
981
  status?: string | null | undefined;
982
+ title?: string | null | undefined;
983
+ user_name?: string | null | undefined;
980
984
  file_url?: string | null | undefined;
981
985
  admin_notes?: string | null | undefined;
982
986
  }>, {}> & import("mongoose").FlatRecord<{
@@ -986,6 +990,8 @@ export declare const MongoUserRequestSchema: Schema<any, import("mongoose").Mode
986
990
  request_type: string;
987
991
  request: string;
988
992
  status?: string | null | undefined;
993
+ title?: string | null | undefined;
994
+ user_name?: string | null | undefined;
989
995
  file_url?: string | null | undefined;
990
996
  admin_notes?: string | null | undefined;
991
997
  }> & {
package/dist/index.js CHANGED
@@ -372,6 +372,8 @@ exports.MongoPolygonSchema = new mongoose_1.Schema({
372
372
  });
373
373
  exports.MongoUserRequestSchema = new mongoose_1.Schema({
374
374
  user_id: { type: String, required: true },
375
+ user_name: { type: String },
376
+ title: { type: String },
375
377
  request_type: { type: String, required: true },
376
378
  request: { type: String, required: true },
377
379
  file_url: { type: String },
package/dist/types.d.ts CHANGED
@@ -2328,7 +2328,9 @@ export declare const zodPolygonSchema: z.ZodObject<{
2328
2328
  export declare const zodUserRequestSchema: z.ZodObject<{
2329
2329
  _id: z.ZodOptional<z.ZodString>;
2330
2330
  user_id: z.ZodString;
2331
+ user_name: z.ZodOptional<z.ZodString>;
2331
2332
  request_type: z.ZodString;
2333
+ title: z.ZodOptional<z.ZodString>;
2332
2334
  request: z.ZodString;
2333
2335
  file_url: z.ZodOptional<z.ZodString>;
2334
2336
  created_at: z.ZodOptional<z.ZodNumber>;
@@ -2340,9 +2342,11 @@ export declare const zodUserRequestSchema: z.ZodObject<{
2340
2342
  request_type: string;
2341
2343
  request: string;
2342
2344
  status?: string | undefined;
2345
+ title?: string | undefined;
2343
2346
  _id?: string | undefined;
2344
2347
  created_at?: number | undefined;
2345
2348
  updated_at?: number | undefined;
2349
+ user_name?: string | undefined;
2346
2350
  file_url?: string | undefined;
2347
2351
  admin_notes?: string | undefined;
2348
2352
  }, {
@@ -2350,9 +2354,11 @@ export declare const zodUserRequestSchema: z.ZodObject<{
2350
2354
  request_type: string;
2351
2355
  request: string;
2352
2356
  status?: string | undefined;
2357
+ title?: string | undefined;
2353
2358
  _id?: string | undefined;
2354
2359
  created_at?: number | undefined;
2355
2360
  updated_at?: number | undefined;
2361
+ user_name?: string | undefined;
2356
2362
  file_url?: string | undefined;
2357
2363
  admin_notes?: string | undefined;
2358
2364
  }>;
package/dist/types.js CHANGED
@@ -344,7 +344,9 @@ exports.zodPolygonSchema = zod_1.z.object({
344
344
  exports.zodUserRequestSchema = zod_1.z.object({
345
345
  _id: zod_1.z.string().optional(),
346
346
  user_id: zod_1.z.string(),
347
+ user_name: zod_1.z.string().optional(),
347
348
  request_type: zod_1.z.string(),
349
+ title: zod_1.z.string().optional(),
348
350
  request: zod_1.z.string(),
349
351
  file_url: zod_1.z.string().url().optional(),
350
352
  created_at: zod_1.z.number().optional(),
package/index.ts CHANGED
@@ -435,6 +435,8 @@ export const MongoPolygonSchema = new Schema(
435
435
  export const MongoUserRequestSchema = new Schema(
436
436
  {
437
437
  user_id: { type: String, required: true }, // user identifier
438
+ user_name: { type: String }, // optional user name for better understanding of the request context
439
+ title: { type: String }, // optional title for the user request or feedback
438
440
  request_type: { type: String, required: true },
439
441
  request: { type: String, required: true }, // user request or feedback
440
442
  file_url: { type: String }, // optional URL for any file attached to the request
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asfur",
3
- "version": "1.0.133",
3
+ "version": "1.0.134",
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
@@ -401,7 +401,9 @@ export const zodPolygonSchema = z.object({
401
401
  export const zodUserRequestSchema = z.object({
402
402
  _id: z.string().optional(),
403
403
  user_id: z.string(), // user identifier
404
+ user_name: z.string().optional(), // optional user name for better understanding of the request context
404
405
  request_type: z.string(),
406
+ title: z.string().optional(), // optional title for the user request or feedback
405
407
  request: z.string(), // user request or feedback
406
408
  file_url: z.string().url().optional(), // optional URL for any file attached to the request
407
409
  created_at: z.number().optional(), // creation date