@mody-park-cha-raja/finance_common 4.35.1-beta.0 → 4.35.1-beta.1

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.mts CHANGED
@@ -104,9 +104,24 @@ interface IAuditColumnEntity {
104
104
  updatedBy: number;
105
105
  }
106
106
 
107
+ interface IDtoValidationError {
108
+ key: string;
109
+ message: string;
110
+ }
111
+
112
+ type Nullable<T> = T | null;
113
+
114
+ interface IAartiEntity extends IAuditColumnEntity {
115
+ id: number;
116
+ titleEN: string;
117
+ titleMR: string;
118
+ englishVersion: string;
119
+ hindiVersion: string;
120
+ displayOrder?: Nullable<number>;
121
+ }
122
+
107
123
  interface IConfigurationEntity extends IAuditColumnEntity {
108
124
  id: number;
109
- organizationId: number;
110
125
  key: string;
111
126
  value: string;
112
127
  type: ConfigurationType;
@@ -125,7 +140,6 @@ interface IDonationHistoryEntity extends IBaseHistoryEntity {
125
140
 
126
141
  interface IDonationEntity extends IAuditColumnEntity {
127
142
  id: number;
128
- organizationId: number;
129
143
  receiptNumber: string;
130
144
  flatNo: string;
131
145
  name?: string;
@@ -142,7 +156,6 @@ interface IExpenseHeadHistoryEntity extends IBaseHistoryEntity {
142
156
 
143
157
  interface IExpenseHeadEntity extends IAuditColumnEntity {
144
158
  id: number;
145
- organizationId: number;
146
159
  name: string;
147
160
  description?: string;
148
161
  status: EntityStatus;
@@ -153,7 +166,6 @@ interface IExpenseHistoryEntity extends IBaseHistoryEntity {
153
166
 
154
167
  interface IExpenseEntity extends IAuditColumnEntity {
155
168
  id: number;
156
- organizationId: number;
157
169
  name: string;
158
170
  incurredBy: number;
159
171
  vendorId: number;
@@ -170,13 +182,6 @@ interface IExpenseEntity extends IAuditColumnEntity {
170
182
  interface IFlatHistoryEntity extends IBaseHistoryEntity {
171
183
  }
172
184
 
173
- interface IDtoValidationError {
174
- key: string;
175
- message: string;
176
- }
177
-
178
- type Nullable<T> = T | null;
179
-
180
185
  /**
181
186
  * Utility class for validating date codes in `YYYYMMDD` format.
182
187
  *
@@ -216,11 +221,6 @@ declare class DateUtil {
216
221
  static isFuture(epoch: number): boolean;
217
222
  }
218
223
 
219
- declare abstract class BaseEntityModel {
220
- static relations: Partial<Record<EntityList, IModelRelationConfig<EntityList>>>;
221
- populateRelations(searchResponse: ISearchV2Response, visited?: Set<string>): this;
222
- }
223
-
224
224
  interface ICashBookEntry {
225
225
  date: string;
226
226
  particulars: string;
@@ -235,7 +235,6 @@ interface ISponsorHistoryEntity extends IBaseHistoryEntity {
235
235
 
236
236
  interface ISponsorEntity extends IAuditColumnEntity {
237
237
  id: number;
238
- organizationId: number;
239
238
  sponsorName: string;
240
239
  contactName: string;
241
240
  contactNo: string;
@@ -251,7 +250,6 @@ interface ITransactionHistoryEntity extends IBaseHistoryEntity {
251
250
 
252
251
  interface ITransactionEntity extends IAuditColumnEntity {
253
252
  id: number;
254
- organizationId: number;
255
253
  date: string;
256
254
  type: TransactionType;
257
255
  particulars: string;
@@ -268,7 +266,6 @@ interface IUserHistoryEntity extends IBaseHistoryEntity {
268
266
 
269
267
  interface IUserEntity extends IAuditColumnEntity {
270
268
  id: number;
271
- organizationId: number;
272
269
  name: string;
273
270
  password: string;
274
271
  email: string;
@@ -283,12 +280,26 @@ interface IUserEntity extends IAuditColumnEntity {
283
280
  */
284
281
  declare const USER_RELATION_CONFIG: IEntityFilterSearchData<EntityList.USER>;
285
282
 
283
+ interface IVendorHistoryEntity extends IBaseHistoryEntity {
284
+ }
285
+
286
+ interface IVendorEntity extends IAuditColumnEntity {
287
+ id: number;
288
+ name: string;
289
+ type: string;
290
+ mobileNumber?: string;
291
+ bankName?: string;
292
+ bankAccountNumber?: string;
293
+ ifscCode?: string;
294
+ bankAddress?: string;
295
+ upiId?: string;
296
+ }
297
+
286
298
  interface IVendorBillHistoryEntity extends IBaseHistoryEntity {
287
299
  }
288
300
 
289
301
  interface IVendorBillEntity extends IAuditColumnEntity {
290
302
  id: number;
291
- organizationId: number;
292
303
  vendorId: number;
293
304
  expenseHeadId: number;
294
305
  description: string;
@@ -301,31 +312,49 @@ interface IVendorBillEntity extends IAuditColumnEntity {
301
312
  status?: EntityStatus;
302
313
  }
303
314
 
304
- interface IVendorHistoryEntity extends IBaseHistoryEntity {
315
+ declare abstract class BaseEntityModel {
316
+ static relations: Partial<Record<EntityList, IModelRelationConfig<EntityList>>>;
317
+ populateRelations(searchResponse: ISearchV2Response, visited?: Set<string>): this;
305
318
  }
306
319
 
307
- interface IVendorEntity extends IAuditColumnEntity {
320
+ declare class UserModel extends BaseEntityModel implements IUserEntity {
308
321
  id: number;
309
- organizationId: number;
310
322
  name: string;
311
- type: string;
312
- mobileNumber?: string;
313
- bankName?: string;
314
- bankAccountNumber?: string;
315
- ifscCode?: string;
316
- bankAddress?: string;
317
- upiId?: string;
323
+ password: string;
324
+ email: string;
325
+ phone: string;
326
+ createdOn: number;
327
+ updatedOn: number;
328
+ createdBy: number;
329
+ updatedBy: number;
330
+ private static _superAdminEmail;
331
+ static setSuperAdminEmail(email: string): void;
332
+ static mandalAccountUser(): UserModel;
333
+ static isSuperAdmin(email: string): boolean;
334
+ protected constructor();
335
+ static populateFromEntity(entity: IUserEntity): UserModel;
318
336
  }
319
337
 
320
- interface IOrganizationEntity extends IAuditColumnEntity {
338
+ declare class AartiModel extends BaseEntityModel implements IAartiEntity {
321
339
  id: number;
322
- name: string;
323
- status: EntityStatus;
340
+ titleEN: string;
341
+ titleMR: string;
342
+ englishVersion: string;
343
+ hindiVersion: string;
344
+ displayOrder?: Nullable<number>;
345
+ createdOn: number;
346
+ updatedOn: number;
347
+ createdBy: number;
348
+ updatedBy: number;
349
+ protected constructor();
350
+ static populateFromEntity(entity: IAartiEntity): AartiModel;
351
+ createdByUser?: UserModel;
352
+ updatedByUser?: UserModel;
353
+ static relations: Partial<Record<EntityList, IModelRelationConfig<EntityList>>>;
324
354
  }
325
355
 
326
356
  declare class ConfigurationModel extends BaseEntityModel implements IConfigurationEntity {
327
357
  id: number;
328
- organizationId: number;
329
358
  key: string;
330
359
  value: string;
331
360
  type: ConfigurationType;
@@ -354,25 +383,6 @@ declare class DonationHistoryModel extends BaseEntityModel implements IDonationH
354
383
  static populateFromEntity(entity: IDonationHistoryEntity): DonationHistoryModel;
355
384
  }
356
385
 
357
- declare class UserModel extends BaseEntityModel implements IUserEntity {
358
- id: number;
359
- organizationId: number;
360
- name: string;
361
- password: string;
362
- email: string;
363
- phone: string;
364
- createdOn: number;
365
- updatedOn: number;
366
- createdBy: number;
367
- updatedBy: number;
368
- private static _superAdminEmail;
369
- static setSuperAdminEmail(email: string): void;
370
- static mandalAccountUser(): UserModel;
371
- static isSuperAdmin(email: string): boolean;
372
- protected constructor();
373
- static populateFromEntity(entity: IUserEntity): UserModel;
374
- }
375
-
376
386
  interface FlatDonationLike {
377
387
  flatNo: string;
378
388
  amount: number;
@@ -409,7 +419,6 @@ interface FlatOption {
409
419
  }
410
420
  declare class FlatModel extends BaseEntityModel implements IFlatEntity {
411
421
  id: number;
412
- organizationId: number;
413
422
  wing: string;
414
423
  unitNumber: string;
415
424
  status: EntityStatus;
@@ -488,7 +497,6 @@ declare class FlatModel extends BaseEntityModel implements IFlatEntity {
488
497
 
489
498
  declare class DonationModel extends BaseEntityModel implements IDonationEntity {
490
499
  id: number;
491
- organizationId: number;
492
500
  receiptNumber: string;
493
501
  flatNo: string;
494
502
  name?: string;
@@ -553,7 +561,6 @@ declare class ExpenseHeadHistoryModel extends BaseEntityModel implements IExpens
553
561
 
554
562
  declare class VendorModel extends BaseEntityModel implements IVendorEntity {
555
563
  id: number;
556
- organizationId: number;
557
564
  name: string;
558
565
  type: string;
559
566
  mobileNumber?: string;
@@ -575,7 +582,6 @@ declare class VendorModel extends BaseEntityModel implements IVendorEntity {
575
582
 
576
583
  declare class VendorBillModel extends BaseEntityModel implements IVendorBillEntity {
577
584
  id: number;
578
- organizationId: number;
579
585
  vendorId: number;
580
586
  expenseHeadId: number;
581
587
  description: string;
@@ -605,7 +611,6 @@ declare class VendorBillModel extends BaseEntityModel implements IVendorBillEnti
605
611
 
606
612
  declare class ExpenseModel extends BaseEntityModel implements IExpenseEntity {
607
613
  id: number;
608
- organizationId: number;
609
614
  name: string;
610
615
  vendorId: number;
611
616
  expenseHeadId: number;
@@ -637,7 +642,6 @@ declare class ExpenseModel extends BaseEntityModel implements IExpenseEntity {
637
642
 
638
643
  declare class ExpenseHeadModel extends BaseEntityModel implements IExpenseHeadEntity {
639
644
  id: number;
640
- organizationId: number;
641
645
  name: string;
642
646
  description?: string;
643
647
  status: EntityStatus;
@@ -683,19 +687,6 @@ declare class FlatHistoryModel extends BaseEntityModel implements IFlatHistoryEn
683
687
  static populateFromEntity(entity: IFlatHistoryEntity): FlatHistoryModel;
684
688
  }
685
689
 
686
- declare class OrganizationModel extends BaseEntityModel implements IOrganizationEntity {
687
- id: number;
688
- name: string;
689
- status: EntityStatus;
690
- createdOn: number;
691
- updatedOn: number;
692
- createdBy: number;
693
- updatedBy: number;
694
- protected constructor();
695
- static relations: Partial<Record<EntityList, IModelRelationConfig<EntityList.ORGANIZATION>>>;
696
- static populateFromEntity(entity: IOrganizationEntity): OrganizationModel;
697
- }
698
-
699
690
  declare class SponsorHistoryModel extends BaseEntityModel implements ISponsorHistoryEntity {
700
691
  id: number;
701
692
  entityId: number;
@@ -712,7 +703,6 @@ declare class SponsorHistoryModel extends BaseEntityModel implements ISponsorHis
712
703
 
713
704
  declare class SponsorModel extends BaseEntityModel implements ISponsorEntity {
714
705
  id: number;
715
- organizationId: number;
716
706
  sponsorName: string;
717
707
  contactName: string;
718
708
  contactNo: string;
@@ -749,7 +739,6 @@ declare class TransactionHistoryModel extends BaseEntityModel implements ITransa
749
739
 
750
740
  declare class TransactionModel extends BaseEntityModel implements ITransactionEntity {
751
741
  id: number;
752
- organizationId: number;
753
742
  date: string;
754
743
  type: TransactionType;
755
744
  particulars: string;
@@ -816,6 +805,7 @@ declare class VendorHistoryModel extends BaseEntityModel implements IVendorHisto
816
805
  }
817
806
 
818
807
  declare const entityListEntityModelMap: {
808
+ aarti: typeof AartiModel.populateFromEntity;
819
809
  donation: typeof DonationModel.populateFromEntity;
820
810
  donation_history: typeof DonationHistoryModel.populateFromEntity;
821
811
  user: typeof UserModel.populateFromEntity;
@@ -835,7 +825,6 @@ declare const entityListEntityModelMap: {
835
825
  flat: typeof FlatModel.populateFromEntity;
836
826
  flat_history: typeof FlatHistoryModel.populateFromEntity;
837
827
  configuration: typeof ConfigurationModel.populateFromEntity;
838
- organization: typeof OrganizationModel.populateFromEntity;
839
828
  };
840
829
 
841
830
  declare class HttpException extends Error {
@@ -1091,7 +1080,6 @@ interface IFlatEntity extends IAuditColumnEntity {
1091
1080
  id: number;
1092
1081
  wing: string;
1093
1082
  unitNumber: string;
1094
- organizationId: number;
1095
1083
  status: EntityStatus;
1096
1084
  }
1097
1085
  /**
@@ -1102,6 +1090,7 @@ interface IFlatEntity extends IAuditColumnEntity {
1102
1090
  declare const FLAT_DONATION_RELATION_CONFIG: IEntityFilterSearchData<EntityList.FLAT>;
1103
1091
 
1104
1092
  declare enum EntityList {
1093
+ AARTI = "aarti",
1105
1094
  DONATION = "donation",
1106
1095
  DONATION_HISTORY = "donation_history",
1107
1096
  USER = "user",
@@ -1120,17 +1109,16 @@ declare enum EntityList {
1120
1109
  SPONSOR_HISTORY = "sponsor_history",
1121
1110
  FLAT = "flat",
1122
1111
  FLAT_HISTORY = "flat_history",
1123
- CONFIGURATION = "configuration",
1124
- ORGANIZATION = "organization"
1112
+ CONFIGURATION = "configuration"
1125
1113
  }
1126
- type EntityType<T extends EntityList> = T extends EntityList.DONATION ? IDonationEntity : T extends EntityList.DONATION_HISTORY ? IDonationHistoryEntity : T extends EntityList.USER ? IUserEntity : T extends EntityList.USER_HISTORY ? IUserHistoryEntity : T extends EntityList.EXPENSE ? IExpenseEntity : T extends EntityList.EXPENSE_HISTORY ? IExpenseHistoryEntity : T extends EntityList.EXPENSE_HEAD ? IExpenseHeadEntity : T extends EntityList.EXPENSE_HEAD_HISTORY ? IExpenseHeadHistoryEntity : T extends EntityList.VENDOR ? IVendorEntity : T extends EntityList.VENDOR_HISTORY ? IVendorHistoryEntity : T extends EntityList.VENDOR_BILL ? IVendorBillEntity : T extends EntityList.VENDOR_BILL_HISTORY ? IVendorBillHistoryEntity : T extends EntityList.TRANSACTION ? ITransactionEntity : T extends EntityList.TRANSACTION_HISTORY ? ITransactionHistoryEntity : T extends EntityList.SPONSOR ? ISponsorEntity : T extends EntityList.SPONSOR_HISTORY ? ISponsorHistoryEntity : T extends EntityList.FLAT ? IFlatEntity : T extends EntityList.FLAT_HISTORY ? IFlatHistoryEntity : T extends EntityList.CONFIGURATION ? IConfigurationEntity : T extends EntityList.ORGANIZATION ? IOrganizationEntity : never;
1127
- type EntityModelType<T extends EntityList> = T extends EntityList.DONATION ? DonationModel : T extends EntityList.DONATION_HISTORY ? DonationHistoryModel : T extends EntityList.USER ? UserModel : T extends EntityList.USER_HISTORY ? UserHistoryModel : T extends EntityList.EXPENSE ? ExpenseModel : T extends EntityList.EXPENSE_HISTORY ? ExpenseHistoryModel : T extends EntityList.EXPENSE_HEAD ? ExpenseHeadModel : T extends EntityList.EXPENSE_HEAD_HISTORY ? ExpenseHeadHistoryModel : T extends EntityList.VENDOR ? VendorModel : T extends EntityList.VENDOR_HISTORY ? VendorHistoryModel : T extends EntityList.VENDOR_BILL ? VendorBillModel : T extends EntityList.VENDOR_BILL_HISTORY ? VendorBillHistoryModel : T extends EntityList.TRANSACTION ? TransactionModel : T extends EntityList.TRANSACTION_HISTORY ? TransactionHistoryModel : T extends EntityList.SPONSOR ? SponsorModel : T extends EntityList.SPONSOR_HISTORY ? SponsorHistoryModel : T extends EntityList.FLAT ? FlatModel : T extends EntityList.FLAT_HISTORY ? FlatHistoryModel : T extends EntityList.CONFIGURATION ? ConfigurationModel : T extends EntityList.ORGANIZATION ? OrganizationModel : never;
1114
+ type EntityType<T extends EntityList> = T extends EntityList.AARTI ? IAartiEntity : T extends EntityList.DONATION ? IDonationEntity : T extends EntityList.DONATION_HISTORY ? IDonationHistoryEntity : T extends EntityList.USER ? IUserEntity : T extends EntityList.USER_HISTORY ? IUserHistoryEntity : T extends EntityList.EXPENSE ? IExpenseEntity : T extends EntityList.EXPENSE_HISTORY ? IExpenseHistoryEntity : T extends EntityList.EXPENSE_HEAD ? IExpenseHeadEntity : T extends EntityList.EXPENSE_HEAD_HISTORY ? IExpenseHeadHistoryEntity : T extends EntityList.VENDOR ? IVendorEntity : T extends EntityList.VENDOR_HISTORY ? IVendorHistoryEntity : T extends EntityList.VENDOR_BILL ? IVendorBillEntity : T extends EntityList.VENDOR_BILL_HISTORY ? IVendorBillHistoryEntity : T extends EntityList.TRANSACTION ? ITransactionEntity : T extends EntityList.TRANSACTION_HISTORY ? ITransactionHistoryEntity : T extends EntityList.SPONSOR ? ISponsorEntity : T extends EntityList.SPONSOR_HISTORY ? ISponsorHistoryEntity : T extends EntityList.FLAT ? IFlatEntity : T extends EntityList.FLAT_HISTORY ? IFlatHistoryEntity : T extends EntityList.CONFIGURATION ? IConfigurationEntity : never;
1115
+ type EntityModelType<T extends EntityList> = T extends EntityList.AARTI ? AartiModel : T extends EntityList.DONATION ? DonationModel : T extends EntityList.DONATION_HISTORY ? DonationHistoryModel : T extends EntityList.USER ? UserModel : T extends EntityList.USER_HISTORY ? UserHistoryModel : T extends EntityList.EXPENSE ? ExpenseModel : T extends EntityList.EXPENSE_HISTORY ? ExpenseHistoryModel : T extends EntityList.EXPENSE_HEAD ? ExpenseHeadModel : T extends EntityList.EXPENSE_HEAD_HISTORY ? ExpenseHeadHistoryModel : T extends EntityList.VENDOR ? VendorModel : T extends EntityList.VENDOR_HISTORY ? VendorHistoryModel : T extends EntityList.VENDOR_BILL ? VendorBillModel : T extends EntityList.VENDOR_BILL_HISTORY ? VendorBillHistoryModel : T extends EntityList.TRANSACTION ? TransactionModel : T extends EntityList.TRANSACTION_HISTORY ? TransactionHistoryModel : T extends EntityList.SPONSOR ? SponsorModel : T extends EntityList.SPONSOR_HISTORY ? SponsorHistoryModel : T extends EntityList.FLAT ? FlatModel : T extends EntityList.FLAT_HISTORY ? FlatHistoryModel : T extends EntityList.CONFIGURATION ? ConfigurationModel : never;
1128
1116
  type EntityListEntityModelMap = {
1129
1117
  [T in EntityList]: EntityModelType<T>[];
1130
1118
  };
1131
1119
 
1132
- type IEntityCreateDto<T> = Omit<T, "id" | "organizationId" | keyof IAuditColumnEntity>;
1133
- type IEntityUpdateDto<T> = Omit<Partial<T>, "id" | "organizationId" | keyof IAuditColumnEntity>;
1120
+ type IEntityCreateDto<T> = Omit<T, "id" | keyof IAuditColumnEntity>;
1121
+ type IEntityUpdateDto<T> = Omit<Partial<T>, "id" | keyof IAuditColumnEntity>;
1134
1122
  type IEntityFilterSearchData<K extends EntityList = EntityList> = {
1135
1123
  name: K;
1136
1124
  include?: IEntityFilterData<EntityType<K>>;
@@ -1198,11 +1186,11 @@ declare class EntityFilterDataHelper {
1198
1186
  mergeEntity<T extends EntityList>(entityName: T, savedEntity: EntityType<T>): EntityModelType<T>;
1199
1187
  }
1200
1188
 
1201
- interface IConfigurationCreateDto extends IEntityCreateDto<EntityType<EntityList.CONFIGURATION>> {
1189
+ interface IAartiCreateDto extends IEntityCreateDto<EntityType<EntityList.AARTI>> {
1202
1190
  }
1203
- interface IConfigurationUpdateDto extends IEntityUpdateDto<EntityType<EntityList.CONFIGURATION>> {
1191
+ interface IAartiUpdateDto extends IEntityUpdateDto<EntityType<EntityList.AARTI>> {
1204
1192
  }
1205
- interface IConfigurationSearchDto extends IEntityFilterData<EntityType<EntityList.CONFIGURATION>> {
1193
+ interface IAartiSearchDto extends IEntityFilterData<EntityType<EntityList.AARTI>> {
1206
1194
  }
1207
1195
 
1208
1196
  interface IDonationCreateDto extends IEntityCreateDto<EntityType<EntityList.DONATION>> {
@@ -1212,11 +1200,11 @@ interface IDonationUpdateDto extends IEntityUpdateDto<EntityType<EntityList.DONA
1212
1200
  interface IDonationSearchDto extends IEntityFilterData<EntityType<EntityList.DONATION>> {
1213
1201
  }
1214
1202
 
1215
- interface IExpenseHeadCreateDto extends IEntityCreateDto<EntityType<EntityList.EXPENSE_HEAD>> {
1203
+ interface ISponsorCreateDto extends IEntityCreateDto<EntityType<EntityList.SPONSOR>> {
1216
1204
  }
1217
- interface IExpenseHeadUpdateDto extends IEntityUpdateDto<EntityType<EntityList.EXPENSE_HEAD>> {
1205
+ interface ISponsorUpdateDto extends IEntityUpdateDto<EntityType<EntityList.SPONSOR>> {
1218
1206
  }
1219
- interface IExpenseHeadSearchDto extends IEntityFilterData<EntityType<EntityList.EXPENSE_HEAD>> {
1207
+ interface ISponsorSearchDto extends IEntityFilterData<EntityType<EntityList.SPONSOR>> {
1220
1208
  }
1221
1209
 
1222
1210
  interface IExpenseCreateDto extends IEntityCreateDto<EntityType<EntityList.EXPENSE>> {
@@ -1226,25 +1214,25 @@ interface IExpenseUpdateDto extends IEntityUpdateDto<EntityType<EntityList.EXPEN
1226
1214
  interface IExpenseSearchDto extends IEntityFilterData<EntityType<EntityList.EXPENSE>> {
1227
1215
  }
1228
1216
 
1229
- interface IFlatCreateDto extends IEntityCreateDto<EntityType<EntityList.FLAT>> {
1217
+ interface IExpenseHeadCreateDto extends IEntityCreateDto<EntityType<EntityList.EXPENSE_HEAD>> {
1230
1218
  }
1231
- interface IFlatUpdateDto extends IEntityUpdateDto<EntityType<EntityList.FLAT>> {
1219
+ interface IExpenseHeadUpdateDto extends IEntityUpdateDto<EntityType<EntityList.EXPENSE_HEAD>> {
1232
1220
  }
1233
- interface IFlatSearchDto extends IEntityFilterData<EntityType<EntityList.FLAT>> {
1221
+ interface IExpenseHeadSearchDto extends IEntityFilterData<EntityType<EntityList.EXPENSE_HEAD>> {
1234
1222
  }
1235
1223
 
1236
- interface IOrganizationUpdateDto extends IEntityUpdateDto<EntityList.ORGANIZATION> {
1224
+ interface IVendorCreateDto extends IEntityCreateDto<EntityType<EntityList.VENDOR>> {
1237
1225
  }
1238
- interface IOrganizationCreateDto extends IEntityCreateDto<EntityList.ORGANIZATION> {
1226
+ interface IVendorUpdateDto extends IEntityUpdateDto<EntityType<EntityList.VENDOR>> {
1239
1227
  }
1240
- interface IOrganizationCreateDto extends IEntityFilterData<EntityType<EntityList.ORGANIZATION>> {
1228
+ interface IVendorSearchDto extends IEntityFilterData<EntityType<EntityList.VENDOR>> {
1241
1229
  }
1242
1230
 
1243
- interface ISponsorCreateDto extends IEntityCreateDto<EntityType<EntityList.SPONSOR>> {
1231
+ interface IVendorBillCreateDto extends Omit<IEntityCreateDto<EntityType<EntityList.VENDOR_BILL>>, 'invoiceNumber'> {
1244
1232
  }
1245
- interface ISponsorUpdateDto extends IEntityUpdateDto<EntityType<EntityList.SPONSOR>> {
1233
+ interface IVendorBillUpdateDto extends IEntityUpdateDto<EntityType<EntityList.VENDOR_BILL>> {
1246
1234
  }
1247
- interface ISponsorSearchDto extends IEntityFilterData<EntityType<EntityList.SPONSOR>> {
1235
+ interface IVendorBillSearchDto extends IEntityFilterData<EntityType<EntityList.VENDOR_BILL>> {
1248
1236
  }
1249
1237
 
1250
1238
  interface ITransactionCreateDto extends IEntityCreateDto<EntityType<EntityList.TRANSACTION>> {
@@ -1261,18 +1249,18 @@ interface IUserUpdateDto extends IEntityUpdateDto<EntityType<EntityList.USER>> {
1261
1249
  interface IUserSearchDto extends IEntityFilterData<EntityType<EntityList.USER>> {
1262
1250
  }
1263
1251
 
1264
- interface IVendorBillCreateDto extends Omit<IEntityCreateDto<EntityType<EntityList.VENDOR_BILL>>, 'invoiceNumber'> {
1252
+ interface IConfigurationCreateDto extends IEntityCreateDto<EntityType<EntityList.CONFIGURATION>> {
1265
1253
  }
1266
- interface IVendorBillUpdateDto extends IEntityUpdateDto<EntityType<EntityList.VENDOR_BILL>> {
1254
+ interface IConfigurationUpdateDto extends IEntityUpdateDto<EntityType<EntityList.CONFIGURATION>> {
1267
1255
  }
1268
- interface IVendorBillSearchDto extends IEntityFilterData<EntityType<EntityList.VENDOR_BILL>> {
1256
+ interface IConfigurationSearchDto extends IEntityFilterData<EntityType<EntityList.CONFIGURATION>> {
1269
1257
  }
1270
1258
 
1271
- interface IVendorCreateDto extends IEntityCreateDto<EntityType<EntityList.VENDOR>> {
1259
+ interface IFlatCreateDto extends IEntityCreateDto<EntityType<EntityList.FLAT>> {
1272
1260
  }
1273
- interface IVendorUpdateDto extends IEntityUpdateDto<EntityType<EntityList.VENDOR>> {
1261
+ interface IFlatUpdateDto extends IEntityUpdateDto<EntityType<EntityList.FLAT>> {
1274
1262
  }
1275
- interface IVendorSearchDto extends IEntityFilterData<EntityType<EntityList.VENDOR>> {
1263
+ interface IFlatSearchDto extends IEntityFilterData<EntityType<EntityList.FLAT>> {
1276
1264
  }
1277
1265
 
1278
1266
  declare const FLAT_WING_PATTERN: RegExp;
@@ -1289,4 +1277,4 @@ declare function isSpecialFlatLabel(label: string): boolean;
1289
1277
  declare function getFlatValidationErrors(input: Partial<IFlatEntity>): FlatValidationError[];
1290
1278
  declare function validateFlatOrThrow(input: Partial<IFlatEntity>): void;
1291
1279
 
1292
- export { ALL_WINGS_SELECTION, BadRequestException, BaseEntityModel, ConfigurationKey, ConfigurationModel, ConfigurationType, DateCodeUtils, DateUtil, DonationHistoryModel, DonationModel, EntityFilterDataHelper, EntityHistoryOperation, EntityList, type EntityListEntityModelMap, type EntityModelType, EntityStatus, type EntityType, ExpenseHeadHistoryModel, ExpenseHeadModel, ExpenseHistoryModel, ExpenseModel, FLATS_BY_WING, FLAT_DONATION_RELATION_CONFIG, FLAT_NUMBERS, FLAT_UNIT_NUMBER_PATTERN, FLAT_WING_PATTERN, type FlatCollectionEntry, type FlatCollectionStatus, type FlatDonationLike, FlatHistoryModel, type FlatIdDonationLike, FlatModel, type FlatOption, type FlatParseResult, type FlatValidationError, ForbiddenException, HttpException, type IAuditColumnEntity, type IBaseHistoryEntity, type ICashBookEntry, type IConfigurationCreateDto, type IConfigurationEntity, type IConfigurationSearchDto, type IConfigurationUpdateDto, type IDonationCreateDto, type IDonationEntity, type IDonationHistoryEntity, type IDonationSearchDto, type IDonationUpdateDto, type IDtoValidationError, type IEntityCreateDto, type IEntityFilterData, type IEntityFilterSearchData, type IEntityFilterSearchDataV2, type IEntityUpdateDto, type IExpenseCreateDto, type IExpenseEntity, type IExpenseHeadCreateDto, type IExpenseHeadEntity, type IExpenseHeadHistoryEntity, type IExpenseHeadSearchDto, type IExpenseHeadUpdateDto, type IExpenseHistoryEntity, type IExpenseSearchDto, type IExpenseUpdateDto, type IFlatCreateDto, type IFlatEntity, type IFlatHistoryEntity, type IFlatSearchDto, type IFlatUpdateDto, type IMappingPropertyEntry, type IModelRelationConfig, type IOrganizationCreateDto, type IOrganizationEntity, type IOrganizationUpdateDto, type ISearchV2Response, type ISponsorCreateDto, type ISponsorEntity, type ISponsorHistoryEntity, type ISponsorSearchDto, type ISponsorUpdateDto, type ITransactionCreateDto, type ITransactionEntity, type ITransactionHistoryEntity, type ITransactionSearchDto, type ITransactionUpdateDto, type IUserCreateDto, type IUserEntity, type IUserHistoryEntity, type IUserSearchDto, type IUserUpdateDto, type IVendorBillCreateDto, type IVendorBillEntity, type IVendorBillHistoryEntity, type IVendorBillSearchDto, type IVendorBillUpdateDto, type IVendorCreateDto, type IVendorEntity, type IVendorHistoryEntity, type IVendorSearchDto, type IVendorUpdateDto, NotFoundException, type Nullable, OrderByDirection, OrganizationModel, PAYMENT_OPTIONS, PaymentType, ReferenceIdPrefix, RelationType, SHOP_UNIT_NUMBER_PATTERN, SHOP_WING, SPECIAL_FLATS, SPECIAL_FLAT_LABELS, SponsorHistoryModel, SponsorModel, SponsorTier, TransactionEntityType, TransactionHistoryModel, TransactionModel, TransactionType, USER_RELATION_CONFIG, UnauthorizedException, type UserExpenseReport, type UserExpenseReportTotals, type UserExpenseRow, UserHistoryModel, UserModel, VendorBillHistoryModel, VendorBillModel, VendorBillStatus, VendorHistoryModel, VendorModel, VendorType, WINGS, WING_ALPHABETS, type WingCollectionDonationByIdLike, type WingCollectionDonationLike, type WingCollectionReport, type WingCollectionRow, type WingCollectionTotals, type XlsxCellAddress, type XlsxMergeRange, type XlsxSerializationType, type XlsxSheetInput, type XlsxSheetOptions, buildUserExpenseReport, buildUserExpenseWorkbook, buildWingWiseCollectionReport, buildWingWiseCollectionReportByFlatId, buildWingWiseCollectionWorkbook, buildXlsxWorkbook, convertNumberToWords, definedValues, diffArrays, entityListEntityModelMap, epochToReadableDate, getFlatValidationErrors, getObjectDiffingKeys, getWingSelectionLabel, getWingSelectionSlug, groupBy, isSpecialFlatLabel, isValidFlatWing, roundToTwoDecimals, serializeXlsx, validateFlatOrThrow };
1280
+ export { ALL_WINGS_SELECTION, AartiModel, BadRequestException, BaseEntityModel, ConfigurationKey, ConfigurationModel, ConfigurationType, DateCodeUtils, DateUtil, DonationHistoryModel, DonationModel, EntityFilterDataHelper, EntityHistoryOperation, EntityList, type EntityListEntityModelMap, type EntityModelType, EntityStatus, type EntityType, ExpenseHeadHistoryModel, ExpenseHeadModel, ExpenseHistoryModel, ExpenseModel, FLATS_BY_WING, FLAT_DONATION_RELATION_CONFIG, FLAT_NUMBERS, FLAT_UNIT_NUMBER_PATTERN, FLAT_WING_PATTERN, type FlatCollectionEntry, type FlatCollectionStatus, type FlatDonationLike, FlatHistoryModel, type FlatIdDonationLike, FlatModel, type FlatOption, type FlatParseResult, type FlatValidationError, ForbiddenException, HttpException, type IAartiCreateDto, type IAartiEntity, type IAartiSearchDto, type IAartiUpdateDto, type IAuditColumnEntity, type IBaseHistoryEntity, type ICashBookEntry, type IConfigurationCreateDto, type IConfigurationEntity, type IConfigurationSearchDto, type IConfigurationUpdateDto, type IDonationCreateDto, type IDonationEntity, type IDonationHistoryEntity, type IDonationSearchDto, type IDonationUpdateDto, type IDtoValidationError, type IEntityCreateDto, type IEntityFilterData, type IEntityFilterSearchData, type IEntityFilterSearchDataV2, type IEntityUpdateDto, type IExpenseCreateDto, type IExpenseEntity, type IExpenseHeadCreateDto, type IExpenseHeadEntity, type IExpenseHeadHistoryEntity, type IExpenseHeadSearchDto, type IExpenseHeadUpdateDto, type IExpenseHistoryEntity, type IExpenseSearchDto, type IExpenseUpdateDto, type IFlatCreateDto, type IFlatEntity, type IFlatHistoryEntity, type IFlatSearchDto, type IFlatUpdateDto, type IMappingPropertyEntry, type IModelRelationConfig, type ISearchV2Response, type ISponsorCreateDto, type ISponsorEntity, type ISponsorHistoryEntity, type ISponsorSearchDto, type ISponsorUpdateDto, type ITransactionCreateDto, type ITransactionEntity, type ITransactionHistoryEntity, type ITransactionSearchDto, type ITransactionUpdateDto, type IUserCreateDto, type IUserEntity, type IUserHistoryEntity, type IUserSearchDto, type IUserUpdateDto, type IVendorBillCreateDto, type IVendorBillEntity, type IVendorBillHistoryEntity, type IVendorBillSearchDto, type IVendorBillUpdateDto, type IVendorCreateDto, type IVendorEntity, type IVendorHistoryEntity, type IVendorSearchDto, type IVendorUpdateDto, NotFoundException, type Nullable, OrderByDirection, PAYMENT_OPTIONS, PaymentType, ReferenceIdPrefix, RelationType, SHOP_UNIT_NUMBER_PATTERN, SHOP_WING, SPECIAL_FLATS, SPECIAL_FLAT_LABELS, SponsorHistoryModel, SponsorModel, SponsorTier, TransactionEntityType, TransactionHistoryModel, TransactionModel, TransactionType, USER_RELATION_CONFIG, UnauthorizedException, type UserExpenseReport, type UserExpenseReportTotals, type UserExpenseRow, UserHistoryModel, UserModel, VendorBillHistoryModel, VendorBillModel, VendorBillStatus, VendorHistoryModel, VendorModel, VendorType, WINGS, WING_ALPHABETS, type WingCollectionDonationByIdLike, type WingCollectionDonationLike, type WingCollectionReport, type WingCollectionRow, type WingCollectionTotals, type XlsxCellAddress, type XlsxMergeRange, type XlsxSerializationType, type XlsxSheetInput, type XlsxSheetOptions, buildUserExpenseReport, buildUserExpenseWorkbook, buildWingWiseCollectionReport, buildWingWiseCollectionReportByFlatId, buildWingWiseCollectionWorkbook, buildXlsxWorkbook, convertNumberToWords, definedValues, diffArrays, entityListEntityModelMap, epochToReadableDate, getFlatValidationErrors, getObjectDiffingKeys, getWingSelectionLabel, getWingSelectionSlug, groupBy, isSpecialFlatLabel, isValidFlatWing, roundToTwoDecimals, serializeXlsx, validateFlatOrThrow };