@mac777/project-pinecone-models 1.1.26 → 1.1.27

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.
@@ -9,8 +9,8 @@ declare const verificationDocumentSchema: mongoose.Schema<any, mongoose.Model<an
9
9
  userId: mongoose.Types.ObjectId;
10
10
  status: "pending" | "approved" | "rejected";
11
11
  type: "other" | "nid" | "passport" | "trade_license" | "tax_certificate" | "incorporation_cert";
12
- url: string;
13
12
  filename: string;
13
+ objectKey: string;
14
14
  expiresAt?: NativeDate | null | undefined;
15
15
  rejectionReason?: string | null | undefined;
16
16
  reviewedBy?: mongoose.Types.ObjectId | null | undefined;
@@ -24,8 +24,8 @@ declare const verificationDocumentSchema: mongoose.Schema<any, mongoose.Model<an
24
24
  userId: mongoose.Types.ObjectId;
25
25
  status: "pending" | "approved" | "rejected";
26
26
  type: "other" | "nid" | "passport" | "trade_license" | "tax_certificate" | "incorporation_cert";
27
- url: string;
28
27
  filename: string;
28
+ objectKey: string;
29
29
  expiresAt?: NativeDate | null | undefined;
30
30
  rejectionReason?: string | null | undefined;
31
31
  reviewedBy?: mongoose.Types.ObjectId | null | undefined;
@@ -41,8 +41,8 @@ declare const verificationDocumentSchema: mongoose.Schema<any, mongoose.Model<an
41
41
  userId: mongoose.Types.ObjectId;
42
42
  status: "pending" | "approved" | "rejected";
43
43
  type: "other" | "nid" | "passport" | "trade_license" | "tax_certificate" | "incorporation_cert";
44
- url: string;
45
44
  filename: string;
45
+ objectKey: string;
46
46
  expiresAt?: NativeDate | null | undefined;
47
47
  rejectionReason?: string | null | undefined;
48
48
  reviewedBy?: mongoose.Types.ObjectId | null | undefined;
@@ -27,7 +27,7 @@ const verificationDocumentSchema = new mongoose_1.default.Schema({
27
27
  trim: true
28
28
  },
29
29
  // File
30
- url: {
30
+ objectKey: {
31
31
  type: String,
32
32
  required: true
33
33
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mac777/project-pinecone-models",
3
- "version": "1.1.26",
3
+ "version": "1.1.27",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -25,7 +25,7 @@ const verificationDocumentSchema = new mongoose.Schema({
25
25
  },
26
26
 
27
27
  // File
28
- url: {
28
+ objectKey: {
29
29
  type: String,
30
30
  required: true
31
31
  },