@duvdu-v1/duvdu 1.1.236 → 1.1.238

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.
@@ -72,8 +72,10 @@ export interface IcopyrightContract {
72
72
  paymentLink: string;
73
73
  submitFiles: {
74
74
  link: string;
75
- notes: string;
75
+ notes?: string;
76
76
  status: SubmitFilesStatus;
77
+ reason?: string;
78
+ dateOfSubmission: Date;
77
79
  }[];
78
80
  createdAt: Date;
79
81
  updatedAt: Date;
@@ -44,7 +44,9 @@ exports.CopyrightContracts = (0, mongoose_1.model)(model_names_1.MODELS.copyrigh
44
44
  submitFiles: [{
45
45
  link: { type: String, default: null },
46
46
  notes: { type: String, default: null },
47
+ reason: { type: String, default: null },
47
48
  status: { type: String, enum: SubmitFilesStatus, default: SubmitFilesStatus.pending },
49
+ dateOfSubmission: { type: Date, default: null },
48
50
  }],
49
51
  rejectedBy: { type: String, enum: ['sp', 'customer'], default: null },
50
52
  paymentLink: { type: String, default: null },
@@ -83,6 +83,8 @@ export interface IprojectContract {
83
83
  link: string;
84
84
  notes: string;
85
85
  status: SubmitFilesStatus;
86
+ reason?: string;
87
+ dateOfSubmission: Date;
86
88
  }[];
87
89
  }
88
90
  export declare const ProjectContract: import("mongoose").Model<IprojectContract, {}, {}, {}, import("mongoose").Document<unknown, {}, IprojectContract> & IprojectContract & {
@@ -61,6 +61,8 @@ exports.ProjectContract = (0, mongoose_1.model)(model_names_1.MODELS.projectCont
61
61
  submitFiles: [{
62
62
  link: { type: String, default: null },
63
63
  notes: { type: String, default: null },
64
+ reason: { type: String, default: null },
65
+ dateOfSubmission: { type: Date, default: null },
64
66
  status: { type: String, enum: copyright_contract_model_1.SubmitFilesStatus, default: copyright_contract_model_1.SubmitFilesStatus.pending },
65
67
  }],
66
68
  }, { timestamps: true, collection: model_names_1.MODELS.projectContract }));
@@ -104,6 +104,8 @@ export interface ITeamContract {
104
104
  link: string;
105
105
  notes: string;
106
106
  status: SubmitFilesStatus;
107
+ reason?: string;
108
+ dateOfSubmission: Date;
107
109
  }[];
108
110
  }
109
111
  export declare const TeamContract: import("mongoose").Model<ITeamContract, {}, {}, {}, import("mongoose").Document<unknown, {}, ITeamContract> & ITeamContract & {
@@ -99,6 +99,8 @@ exports.TeamContract = (0, mongoose_1.model)(model_names_1.MODELS.teamContract,
99
99
  submitFiles: [{
100
100
  link: { type: String, default: null },
101
101
  notes: { type: String, default: null },
102
+ reason: { type: String, default: null },
103
+ dateOfSubmission: { type: Date, default: null },
102
104
  status: { type: String, enum: copyright_contract_model_1.SubmitFilesStatus, default: copyright_contract_model_1.SubmitFilesStatus.pending },
103
105
  }],
104
106
  }, { timestamps: true, collection: model_names_1.MODELS.teamContract }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duvdu-v1/duvdu",
3
- "version": "1.1.236",
3
+ "version": "1.1.238",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [