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

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
@@ -106,6 +106,7 @@ interface IAuditColumnEntity {
106
106
 
107
107
  interface IConfigurationEntity extends IAuditColumnEntity {
108
108
  id: number;
109
+ organizationId: number;
109
110
  key: string;
110
111
  value: string;
111
112
  type: ConfigurationType;
@@ -124,6 +125,7 @@ interface IDonationHistoryEntity extends IBaseHistoryEntity {
124
125
 
125
126
  interface IDonationEntity extends IAuditColumnEntity {
126
127
  id: number;
128
+ organizationId: number;
127
129
  receiptNumber: string;
128
130
  flatNo: string;
129
131
  name?: string;
@@ -140,6 +142,7 @@ interface IExpenseHeadHistoryEntity extends IBaseHistoryEntity {
140
142
 
141
143
  interface IExpenseHeadEntity extends IAuditColumnEntity {
142
144
  id: number;
145
+ organizationId: number;
143
146
  name: string;
144
147
  description?: string;
145
148
  status: EntityStatus;
@@ -150,6 +153,7 @@ interface IExpenseHistoryEntity extends IBaseHistoryEntity {
150
153
 
151
154
  interface IExpenseEntity extends IAuditColumnEntity {
152
155
  id: number;
156
+ organizationId: number;
153
157
  name: string;
154
158
  incurredBy: number;
155
159
  vendorId: number;
@@ -231,6 +235,7 @@ interface ISponsorHistoryEntity extends IBaseHistoryEntity {
231
235
 
232
236
  interface ISponsorEntity extends IAuditColumnEntity {
233
237
  id: number;
238
+ organizationId: number;
234
239
  sponsorName: string;
235
240
  contactName: string;
236
241
  contactNo: string;
@@ -246,6 +251,7 @@ interface ITransactionHistoryEntity extends IBaseHistoryEntity {
246
251
 
247
252
  interface ITransactionEntity extends IAuditColumnEntity {
248
253
  id: number;
254
+ organizationId: number;
249
255
  date: string;
250
256
  type: TransactionType;
251
257
  particulars: string;
@@ -262,6 +268,7 @@ interface IUserHistoryEntity extends IBaseHistoryEntity {
262
268
 
263
269
  interface IUserEntity extends IAuditColumnEntity {
264
270
  id: number;
271
+ organizationId: number;
265
272
  name: string;
266
273
  password: string;
267
274
  email: string;
@@ -276,11 +283,30 @@ interface IUserEntity extends IAuditColumnEntity {
276
283
  */
277
284
  declare const USER_RELATION_CONFIG: IEntityFilterSearchData<EntityList.USER>;
278
285
 
286
+ interface IVendorBillHistoryEntity extends IBaseHistoryEntity {
287
+ }
288
+
289
+ interface IVendorBillEntity extends IAuditColumnEntity {
290
+ id: number;
291
+ organizationId: number;
292
+ vendorId: number;
293
+ expenseHeadId: number;
294
+ description: string;
295
+ invoiceNumber?: string;
296
+ totalAmount: number;
297
+ balancePayable: number;
298
+ discountAmount?: number;
299
+ discountRemarks?: string;
300
+ billStatus: VendorBillStatus;
301
+ status?: EntityStatus;
302
+ }
303
+
279
304
  interface IVendorHistoryEntity extends IBaseHistoryEntity {
280
305
  }
281
306
 
282
307
  interface IVendorEntity extends IAuditColumnEntity {
283
308
  id: number;
309
+ organizationId: number;
284
310
  name: string;
285
311
  type: string;
286
312
  mobileNumber?: string;
@@ -291,21 +317,27 @@ interface IVendorEntity extends IAuditColumnEntity {
291
317
  upiId?: string;
292
318
  }
293
319
 
294
- interface IVendorBillHistoryEntity extends IBaseHistoryEntity {
320
+ interface IOrganizationEntity extends IAuditColumnEntity {
321
+ id: number;
322
+ name: string;
323
+ status: EntityStatus;
295
324
  }
296
325
 
297
- interface IVendorBillEntity extends IAuditColumnEntity {
326
+ declare class ConfigurationModel extends BaseEntityModel implements IConfigurationEntity {
298
327
  id: number;
299
- vendorId: number;
300
- expenseHeadId: number;
301
- description: string;
302
- invoiceNumber?: string;
303
- totalAmount: number;
304
- balancePayable: number;
305
- discountAmount?: number;
306
- discountRemarks?: string;
307
- billStatus: VendorBillStatus;
308
- status?: EntityStatus;
328
+ organizationId: number;
329
+ key: string;
330
+ value: string;
331
+ type: ConfigurationType;
332
+ label: string;
333
+ createdOn: number;
334
+ updatedOn: number;
335
+ createdBy: number;
336
+ updatedBy: number;
337
+ protected constructor();
338
+ static populateFromEntity(entity: IConfigurationEntity): ConfigurationModel;
339
+ static fallBackPageSize(): number;
340
+ static defaultFallBackPageSize(): number;
309
341
  }
310
342
 
311
343
  declare class DonationHistoryModel extends BaseEntityModel implements IDonationHistoryEntity {
@@ -324,6 +356,7 @@ declare class DonationHistoryModel extends BaseEntityModel implements IDonationH
324
356
 
325
357
  declare class UserModel extends BaseEntityModel implements IUserEntity {
326
358
  id: number;
359
+ organizationId: number;
327
360
  name: string;
328
361
  password: string;
329
362
  email: string;
@@ -376,6 +409,7 @@ interface FlatOption {
376
409
  }
377
410
  declare class FlatModel extends BaseEntityModel implements IFlatEntity {
378
411
  id: number;
412
+ organizationId: number;
379
413
  wing: string;
380
414
  unitNumber: string;
381
415
  status: EntityStatus;
@@ -454,6 +488,7 @@ declare class FlatModel extends BaseEntityModel implements IFlatEntity {
454
488
 
455
489
  declare class DonationModel extends BaseEntityModel implements IDonationEntity {
456
490
  id: number;
491
+ organizationId: number;
457
492
  receiptNumber: string;
458
493
  flatNo: string;
459
494
  name?: string;
@@ -518,6 +553,7 @@ declare class ExpenseHeadHistoryModel extends BaseEntityModel implements IExpens
518
553
 
519
554
  declare class VendorModel extends BaseEntityModel implements IVendorEntity {
520
555
  id: number;
556
+ organizationId: number;
521
557
  name: string;
522
558
  type: string;
523
559
  mobileNumber?: string;
@@ -539,6 +575,7 @@ declare class VendorModel extends BaseEntityModel implements IVendorEntity {
539
575
 
540
576
  declare class VendorBillModel extends BaseEntityModel implements IVendorBillEntity {
541
577
  id: number;
578
+ organizationId: number;
542
579
  vendorId: number;
543
580
  expenseHeadId: number;
544
581
  description: string;
@@ -568,6 +605,7 @@ declare class VendorBillModel extends BaseEntityModel implements IVendorBillEnti
568
605
 
569
606
  declare class ExpenseModel extends BaseEntityModel implements IExpenseEntity {
570
607
  id: number;
608
+ organizationId: number;
571
609
  name: string;
572
610
  vendorId: number;
573
611
  expenseHeadId: number;
@@ -599,6 +637,7 @@ declare class ExpenseModel extends BaseEntityModel implements IExpenseEntity {
599
637
 
600
638
  declare class ExpenseHeadModel extends BaseEntityModel implements IExpenseHeadEntity {
601
639
  id: number;
640
+ organizationId: number;
602
641
  name: string;
603
642
  description?: string;
604
643
  status: EntityStatus;
@@ -644,6 +683,19 @@ declare class FlatHistoryModel extends BaseEntityModel implements IFlatHistoryEn
644
683
  static populateFromEntity(entity: IFlatHistoryEntity): FlatHistoryModel;
645
684
  }
646
685
 
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
+
647
699
  declare class SponsorHistoryModel extends BaseEntityModel implements ISponsorHistoryEntity {
648
700
  id: number;
649
701
  entityId: number;
@@ -660,6 +712,7 @@ declare class SponsorHistoryModel extends BaseEntityModel implements ISponsorHis
660
712
 
661
713
  declare class SponsorModel extends BaseEntityModel implements ISponsorEntity {
662
714
  id: number;
715
+ organizationId: number;
663
716
  sponsorName: string;
664
717
  contactName: string;
665
718
  contactNo: string;
@@ -696,6 +749,7 @@ declare class TransactionHistoryModel extends BaseEntityModel implements ITransa
696
749
 
697
750
  declare class TransactionModel extends BaseEntityModel implements ITransactionEntity {
698
751
  id: number;
752
+ organizationId: number;
699
753
  date: string;
700
754
  type: TransactionType;
701
755
  particulars: string;
@@ -733,20 +787,6 @@ declare class UserHistoryModel extends BaseEntityModel implements IUserHistoryEn
733
787
  static populateFromEntity(entity: IUserHistoryEntity): UserHistoryModel;
734
788
  }
735
789
 
736
- declare class VendorHistoryModel extends BaseEntityModel implements IVendorHistoryEntity {
737
- id: number;
738
- entityId: number;
739
- data: string;
740
- operation: EntityHistoryOperation;
741
- createdOn: number;
742
- updatedOn: number;
743
- createdBy: number;
744
- updatedBy: number;
745
- protected constructor();
746
- static relations: Partial<Record<EntityList, IModelRelationConfig<EntityList.VENDOR_HISTORY>>>;
747
- static populateFromEntity(entity: IVendorHistoryEntity): VendorHistoryModel;
748
- }
749
-
750
790
  declare class VendorBillHistoryModel extends BaseEntityModel implements IVendorBillHistoryEntity {
751
791
  id: number;
752
792
  entityId: number;
@@ -761,20 +801,18 @@ declare class VendorBillHistoryModel extends BaseEntityModel implements IVendorB
761
801
  static populateFromEntity(entity: IVendorBillHistoryEntity): VendorBillHistoryModel;
762
802
  }
763
803
 
764
- declare class ConfigurationModel extends BaseEntityModel implements IConfigurationEntity {
804
+ declare class VendorHistoryModel extends BaseEntityModel implements IVendorHistoryEntity {
765
805
  id: number;
766
- key: string;
767
- value: string;
768
- type: ConfigurationType;
769
- label: string;
806
+ entityId: number;
807
+ data: string;
808
+ operation: EntityHistoryOperation;
770
809
  createdOn: number;
771
810
  updatedOn: number;
772
811
  createdBy: number;
773
812
  updatedBy: number;
774
813
  protected constructor();
775
- static populateFromEntity(entity: IConfigurationEntity): ConfigurationModel;
776
- static fallBackPageSize(): number;
777
- static defaultFallBackPageSize(): number;
814
+ static relations: Partial<Record<EntityList, IModelRelationConfig<EntityList.VENDOR_HISTORY>>>;
815
+ static populateFromEntity(entity: IVendorHistoryEntity): VendorHistoryModel;
778
816
  }
779
817
 
780
818
  declare const entityListEntityModelMap: {
@@ -797,6 +835,7 @@ declare const entityListEntityModelMap: {
797
835
  flat: typeof FlatModel.populateFromEntity;
798
836
  flat_history: typeof FlatHistoryModel.populateFromEntity;
799
837
  configuration: typeof ConfigurationModel.populateFromEntity;
838
+ organization: typeof OrganizationModel.populateFromEntity;
800
839
  };
801
840
 
802
841
  declare class HttpException extends Error {
@@ -1052,6 +1091,7 @@ interface IFlatEntity extends IAuditColumnEntity {
1052
1091
  id: number;
1053
1092
  wing: string;
1054
1093
  unitNumber: string;
1094
+ organizationId: number;
1055
1095
  status: EntityStatus;
1056
1096
  }
1057
1097
  /**
@@ -1080,16 +1120,17 @@ declare enum EntityList {
1080
1120
  SPONSOR_HISTORY = "sponsor_history",
1081
1121
  FLAT = "flat",
1082
1122
  FLAT_HISTORY = "flat_history",
1083
- CONFIGURATION = "configuration"
1123
+ CONFIGURATION = "configuration",
1124
+ ORGANIZATION = "organization"
1084
1125
  }
1085
- 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 : never;
1086
- 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 : never;
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;
1087
1128
  type EntityListEntityModelMap = {
1088
1129
  [T in EntityList]: EntityModelType<T>[];
1089
1130
  };
1090
1131
 
1091
- type IEntityCreateDto<T> = Omit<T, "id" | keyof IAuditColumnEntity>;
1092
- type IEntityUpdateDto<T> = Omit<Partial<T>, "id" | keyof IAuditColumnEntity>;
1132
+ type IEntityCreateDto<T> = Omit<T, "id" | "organizationId" | keyof IAuditColumnEntity>;
1133
+ type IEntityUpdateDto<T> = Omit<Partial<T>, "id" | "organizationId" | keyof IAuditColumnEntity>;
1093
1134
  type IEntityFilterSearchData<K extends EntityList = EntityList> = {
1094
1135
  name: K;
1095
1136
  include?: IEntityFilterData<EntityType<K>>;
@@ -1157,6 +1198,13 @@ declare class EntityFilterDataHelper {
1157
1198
  mergeEntity<T extends EntityList>(entityName: T, savedEntity: EntityType<T>): EntityModelType<T>;
1158
1199
  }
1159
1200
 
1201
+ interface IConfigurationCreateDto extends IEntityCreateDto<EntityType<EntityList.CONFIGURATION>> {
1202
+ }
1203
+ interface IConfigurationUpdateDto extends IEntityUpdateDto<EntityType<EntityList.CONFIGURATION>> {
1204
+ }
1205
+ interface IConfigurationSearchDto extends IEntityFilterData<EntityType<EntityList.CONFIGURATION>> {
1206
+ }
1207
+
1160
1208
  interface IDonationCreateDto extends IEntityCreateDto<EntityType<EntityList.DONATION>> {
1161
1209
  }
1162
1210
  interface IDonationUpdateDto extends IEntityUpdateDto<EntityType<EntityList.DONATION>> {
@@ -1164,11 +1212,11 @@ interface IDonationUpdateDto extends IEntityUpdateDto<EntityType<EntityList.DONA
1164
1212
  interface IDonationSearchDto extends IEntityFilterData<EntityType<EntityList.DONATION>> {
1165
1213
  }
1166
1214
 
1167
- interface ISponsorCreateDto extends IEntityCreateDto<EntityType<EntityList.SPONSOR>> {
1215
+ interface IExpenseHeadCreateDto extends IEntityCreateDto<EntityType<EntityList.EXPENSE_HEAD>> {
1168
1216
  }
1169
- interface ISponsorUpdateDto extends IEntityUpdateDto<EntityType<EntityList.SPONSOR>> {
1217
+ interface IExpenseHeadUpdateDto extends IEntityUpdateDto<EntityType<EntityList.EXPENSE_HEAD>> {
1170
1218
  }
1171
- interface ISponsorSearchDto extends IEntityFilterData<EntityType<EntityList.SPONSOR>> {
1219
+ interface IExpenseHeadSearchDto extends IEntityFilterData<EntityType<EntityList.EXPENSE_HEAD>> {
1172
1220
  }
1173
1221
 
1174
1222
  interface IExpenseCreateDto extends IEntityCreateDto<EntityType<EntityList.EXPENSE>> {
@@ -1178,25 +1226,25 @@ interface IExpenseUpdateDto extends IEntityUpdateDto<EntityType<EntityList.EXPEN
1178
1226
  interface IExpenseSearchDto extends IEntityFilterData<EntityType<EntityList.EXPENSE>> {
1179
1227
  }
1180
1228
 
1181
- interface IExpenseHeadCreateDto extends IEntityCreateDto<EntityType<EntityList.EXPENSE_HEAD>> {
1229
+ interface IFlatCreateDto extends IEntityCreateDto<EntityType<EntityList.FLAT>> {
1182
1230
  }
1183
- interface IExpenseHeadUpdateDto extends IEntityUpdateDto<EntityType<EntityList.EXPENSE_HEAD>> {
1231
+ interface IFlatUpdateDto extends IEntityUpdateDto<EntityType<EntityList.FLAT>> {
1184
1232
  }
1185
- interface IExpenseHeadSearchDto extends IEntityFilterData<EntityType<EntityList.EXPENSE_HEAD>> {
1233
+ interface IFlatSearchDto extends IEntityFilterData<EntityType<EntityList.FLAT>> {
1186
1234
  }
1187
1235
 
1188
- interface IVendorCreateDto extends IEntityCreateDto<EntityType<EntityList.VENDOR>> {
1236
+ interface IOrganizationUpdateDto extends IEntityUpdateDto<EntityList.ORGANIZATION> {
1189
1237
  }
1190
- interface IVendorUpdateDto extends IEntityUpdateDto<EntityType<EntityList.VENDOR>> {
1238
+ interface IOrganizationCreateDto extends IEntityCreateDto<EntityList.ORGANIZATION> {
1191
1239
  }
1192
- interface IVendorSearchDto extends IEntityFilterData<EntityType<EntityList.VENDOR>> {
1240
+ interface IOrganizationCreateDto extends IEntityFilterData<EntityType<EntityList.ORGANIZATION>> {
1193
1241
  }
1194
1242
 
1195
- interface IVendorBillCreateDto extends Omit<IEntityCreateDto<EntityType<EntityList.VENDOR_BILL>>, 'invoiceNumber'> {
1243
+ interface ISponsorCreateDto extends IEntityCreateDto<EntityType<EntityList.SPONSOR>> {
1196
1244
  }
1197
- interface IVendorBillUpdateDto extends IEntityUpdateDto<EntityType<EntityList.VENDOR_BILL>> {
1245
+ interface ISponsorUpdateDto extends IEntityUpdateDto<EntityType<EntityList.SPONSOR>> {
1198
1246
  }
1199
- interface IVendorBillSearchDto extends IEntityFilterData<EntityType<EntityList.VENDOR_BILL>> {
1247
+ interface ISponsorSearchDto extends IEntityFilterData<EntityType<EntityList.SPONSOR>> {
1200
1248
  }
1201
1249
 
1202
1250
  interface ITransactionCreateDto extends IEntityCreateDto<EntityType<EntityList.TRANSACTION>> {
@@ -1213,18 +1261,18 @@ interface IUserUpdateDto extends IEntityUpdateDto<EntityType<EntityList.USER>> {
1213
1261
  interface IUserSearchDto extends IEntityFilterData<EntityType<EntityList.USER>> {
1214
1262
  }
1215
1263
 
1216
- interface IConfigurationCreateDto extends IEntityCreateDto<EntityType<EntityList.CONFIGURATION>> {
1264
+ interface IVendorBillCreateDto extends Omit<IEntityCreateDto<EntityType<EntityList.VENDOR_BILL>>, 'invoiceNumber'> {
1217
1265
  }
1218
- interface IConfigurationUpdateDto extends IEntityUpdateDto<EntityType<EntityList.CONFIGURATION>> {
1266
+ interface IVendorBillUpdateDto extends IEntityUpdateDto<EntityType<EntityList.VENDOR_BILL>> {
1219
1267
  }
1220
- interface IConfigurationSearchDto extends IEntityFilterData<EntityType<EntityList.CONFIGURATION>> {
1268
+ interface IVendorBillSearchDto extends IEntityFilterData<EntityType<EntityList.VENDOR_BILL>> {
1221
1269
  }
1222
1270
 
1223
- interface IFlatCreateDto extends IEntityCreateDto<EntityType<EntityList.FLAT>> {
1271
+ interface IVendorCreateDto extends IEntityCreateDto<EntityType<EntityList.VENDOR>> {
1224
1272
  }
1225
- interface IFlatUpdateDto extends IEntityUpdateDto<EntityType<EntityList.FLAT>> {
1273
+ interface IVendorUpdateDto extends IEntityUpdateDto<EntityType<EntityList.VENDOR>> {
1226
1274
  }
1227
- interface IFlatSearchDto extends IEntityFilterData<EntityType<EntityList.FLAT>> {
1275
+ interface IVendorSearchDto extends IEntityFilterData<EntityType<EntityList.VENDOR>> {
1228
1276
  }
1229
1277
 
1230
1278
  declare const FLAT_WING_PATTERN: RegExp;
@@ -1241,4 +1289,4 @@ declare function isSpecialFlatLabel(label: string): boolean;
1241
1289
  declare function getFlatValidationErrors(input: Partial<IFlatEntity>): FlatValidationError[];
1242
1290
  declare function validateFlatOrThrow(input: Partial<IFlatEntity>): void;
1243
1291
 
1244
- 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 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 };
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 };