1
0
forked from Yara724/api

update the fanavaran for both tejarat no and parsian clients , dont forget about the env files

This commit is contained in:
2026-07-20 16:28:25 +03:30
parent 70160543a2
commit 8ba97537a4
19 changed files with 925 additions and 379 deletions

View File

@@ -86,6 +86,15 @@ export class FanavaranSyncStage {
@Prop({ type: MongooseSchema.Types.Mixed })
response?: unknown;
@Prop({ type: Number, default: 0 })
retryCount?: number;
@Prop({ type: Number, default: 2 })
maxRetries?: number;
@Prop({ type: Date })
nextRetryAt?: Date;
}
export const FanavaranSyncStageSchema =
SchemaFactory.createForClass(FanavaranSyncStage);