@mody-park-cha-raja/finance_common 4.37.0 → 4.38.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 +86 -38
- package/dist/index.d.ts +86 -38
- package/dist/index.js +34 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +33 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -122,6 +122,7 @@ interface IAartiEntity extends IAuditColumnEntity {
|
|
|
122
122
|
|
|
123
123
|
interface IConfigurationEntity extends IAuditColumnEntity {
|
|
124
124
|
id: number;
|
|
125
|
+
organizationId: number;
|
|
125
126
|
key: string;
|
|
126
127
|
value: string;
|
|
127
128
|
type: ConfigurationType;
|
|
@@ -140,6 +141,7 @@ interface IDonationHistoryEntity extends IBaseHistoryEntity {
|
|
|
140
141
|
|
|
141
142
|
interface IDonationEntity extends IAuditColumnEntity {
|
|
142
143
|
id: number;
|
|
144
|
+
organizationId: number;
|
|
143
145
|
receiptNumber: string;
|
|
144
146
|
flatNo: string;
|
|
145
147
|
name?: string;
|
|
@@ -156,6 +158,7 @@ interface IExpenseHeadHistoryEntity extends IBaseHistoryEntity {
|
|
|
156
158
|
|
|
157
159
|
interface IExpenseHeadEntity extends IAuditColumnEntity {
|
|
158
160
|
id: number;
|
|
161
|
+
organizationId: number;
|
|
159
162
|
name: string;
|
|
160
163
|
description?: string;
|
|
161
164
|
status: EntityStatus;
|
|
@@ -166,6 +169,7 @@ interface IExpenseHistoryEntity extends IBaseHistoryEntity {
|
|
|
166
169
|
|
|
167
170
|
interface IExpenseEntity extends IAuditColumnEntity {
|
|
168
171
|
id: number;
|
|
172
|
+
organizationId: number;
|
|
169
173
|
name: string;
|
|
170
174
|
incurredBy: number;
|
|
171
175
|
vendorId: number;
|
|
@@ -235,6 +239,7 @@ interface ISponsorHistoryEntity extends IBaseHistoryEntity {
|
|
|
235
239
|
|
|
236
240
|
interface ISponsorEntity extends IAuditColumnEntity {
|
|
237
241
|
id: number;
|
|
242
|
+
organizationId: number;
|
|
238
243
|
sponsorName: string;
|
|
239
244
|
contactName: string;
|
|
240
245
|
contactNo: string;
|
|
@@ -250,6 +255,7 @@ interface ITransactionHistoryEntity extends IBaseHistoryEntity {
|
|
|
250
255
|
|
|
251
256
|
interface ITransactionEntity extends IAuditColumnEntity {
|
|
252
257
|
id: number;
|
|
258
|
+
organizationId: number;
|
|
253
259
|
date: string;
|
|
254
260
|
type: TransactionType;
|
|
255
261
|
particulars: string;
|
|
@@ -266,6 +272,7 @@ interface IUserHistoryEntity extends IBaseHistoryEntity {
|
|
|
266
272
|
|
|
267
273
|
interface IUserEntity extends IAuditColumnEntity {
|
|
268
274
|
id: number;
|
|
275
|
+
organizationId: number;
|
|
269
276
|
name: string;
|
|
270
277
|
password: string;
|
|
271
278
|
email: string;
|
|
@@ -280,11 +287,30 @@ interface IUserEntity extends IAuditColumnEntity {
|
|
|
280
287
|
*/
|
|
281
288
|
declare const USER_RELATION_CONFIG: IEntityFilterSearchData<EntityList.USER>;
|
|
282
289
|
|
|
290
|
+
interface IVendorBillHistoryEntity extends IBaseHistoryEntity {
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
interface IVendorBillEntity extends IAuditColumnEntity {
|
|
294
|
+
id: number;
|
|
295
|
+
organizationId: number;
|
|
296
|
+
vendorId: number;
|
|
297
|
+
expenseHeadId: number;
|
|
298
|
+
description: string;
|
|
299
|
+
invoiceNumber?: string;
|
|
300
|
+
totalAmount: number;
|
|
301
|
+
balancePayable: number;
|
|
302
|
+
discountAmount?: number;
|
|
303
|
+
discountRemarks?: string;
|
|
304
|
+
billStatus: VendorBillStatus;
|
|
305
|
+
status?: EntityStatus;
|
|
306
|
+
}
|
|
307
|
+
|
|
283
308
|
interface IVendorHistoryEntity extends IBaseHistoryEntity {
|
|
284
309
|
}
|
|
285
310
|
|
|
286
311
|
interface IVendorEntity extends IAuditColumnEntity {
|
|
287
312
|
id: number;
|
|
313
|
+
organizationId: number;
|
|
288
314
|
name: string;
|
|
289
315
|
type: string;
|
|
290
316
|
mobileNumber?: string;
|
|
@@ -295,21 +321,10 @@ interface IVendorEntity extends IAuditColumnEntity {
|
|
|
295
321
|
upiId?: string;
|
|
296
322
|
}
|
|
297
323
|
|
|
298
|
-
interface
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
interface IVendorBillEntity extends IAuditColumnEntity {
|
|
324
|
+
interface IOrganizationEntity extends IAuditColumnEntity {
|
|
302
325
|
id: number;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
description: string;
|
|
306
|
-
invoiceNumber?: string;
|
|
307
|
-
totalAmount: number;
|
|
308
|
-
balancePayable: number;
|
|
309
|
-
discountAmount?: number;
|
|
310
|
-
discountRemarks?: string;
|
|
311
|
-
billStatus: VendorBillStatus;
|
|
312
|
-
status?: EntityStatus;
|
|
326
|
+
name: string;
|
|
327
|
+
status: EntityStatus;
|
|
313
328
|
}
|
|
314
329
|
|
|
315
330
|
declare abstract class BaseEntityModel {
|
|
@@ -319,6 +334,7 @@ declare abstract class BaseEntityModel {
|
|
|
319
334
|
|
|
320
335
|
declare class UserModel extends BaseEntityModel implements IUserEntity {
|
|
321
336
|
id: number;
|
|
337
|
+
organizationId: number;
|
|
322
338
|
name: string;
|
|
323
339
|
password: string;
|
|
324
340
|
email: string;
|
|
@@ -355,6 +371,7 @@ declare class AartiModel extends BaseEntityModel implements IAartiEntity {
|
|
|
355
371
|
|
|
356
372
|
declare class ConfigurationModel extends BaseEntityModel implements IConfigurationEntity {
|
|
357
373
|
id: number;
|
|
374
|
+
organizationId: number;
|
|
358
375
|
key: string;
|
|
359
376
|
value: string;
|
|
360
377
|
type: ConfigurationType;
|
|
@@ -419,6 +436,7 @@ interface FlatOption {
|
|
|
419
436
|
}
|
|
420
437
|
declare class FlatModel extends BaseEntityModel implements IFlatEntity {
|
|
421
438
|
id: number;
|
|
439
|
+
organizationId: number;
|
|
422
440
|
wing: string;
|
|
423
441
|
unitNumber: string;
|
|
424
442
|
status: EntityStatus;
|
|
@@ -497,6 +515,7 @@ declare class FlatModel extends BaseEntityModel implements IFlatEntity {
|
|
|
497
515
|
|
|
498
516
|
declare class DonationModel extends BaseEntityModel implements IDonationEntity {
|
|
499
517
|
id: number;
|
|
518
|
+
organizationId: number;
|
|
500
519
|
receiptNumber: string;
|
|
501
520
|
flatNo: string;
|
|
502
521
|
name?: string;
|
|
@@ -561,6 +580,7 @@ declare class ExpenseHeadHistoryModel extends BaseEntityModel implements IExpens
|
|
|
561
580
|
|
|
562
581
|
declare class VendorModel extends BaseEntityModel implements IVendorEntity {
|
|
563
582
|
id: number;
|
|
583
|
+
organizationId: number;
|
|
564
584
|
name: string;
|
|
565
585
|
type: string;
|
|
566
586
|
mobileNumber?: string;
|
|
@@ -582,6 +602,7 @@ declare class VendorModel extends BaseEntityModel implements IVendorEntity {
|
|
|
582
602
|
|
|
583
603
|
declare class VendorBillModel extends BaseEntityModel implements IVendorBillEntity {
|
|
584
604
|
id: number;
|
|
605
|
+
organizationId: number;
|
|
585
606
|
vendorId: number;
|
|
586
607
|
expenseHeadId: number;
|
|
587
608
|
description: string;
|
|
@@ -611,6 +632,7 @@ declare class VendorBillModel extends BaseEntityModel implements IVendorBillEnti
|
|
|
611
632
|
|
|
612
633
|
declare class ExpenseModel extends BaseEntityModel implements IExpenseEntity {
|
|
613
634
|
id: number;
|
|
635
|
+
organizationId: number;
|
|
614
636
|
name: string;
|
|
615
637
|
vendorId: number;
|
|
616
638
|
expenseHeadId: number;
|
|
@@ -642,6 +664,7 @@ declare class ExpenseModel extends BaseEntityModel implements IExpenseEntity {
|
|
|
642
664
|
|
|
643
665
|
declare class ExpenseHeadModel extends BaseEntityModel implements IExpenseHeadEntity {
|
|
644
666
|
id: number;
|
|
667
|
+
organizationId: number;
|
|
645
668
|
name: string;
|
|
646
669
|
description?: string;
|
|
647
670
|
status: EntityStatus;
|
|
@@ -687,6 +710,19 @@ declare class FlatHistoryModel extends BaseEntityModel implements IFlatHistoryEn
|
|
|
687
710
|
static populateFromEntity(entity: IFlatHistoryEntity): FlatHistoryModel;
|
|
688
711
|
}
|
|
689
712
|
|
|
713
|
+
declare class OrganizationModel extends BaseEntityModel implements IOrganizationEntity {
|
|
714
|
+
id: number;
|
|
715
|
+
name: string;
|
|
716
|
+
status: EntityStatus;
|
|
717
|
+
createdOn: number;
|
|
718
|
+
updatedOn: number;
|
|
719
|
+
createdBy: number;
|
|
720
|
+
updatedBy: number;
|
|
721
|
+
protected constructor();
|
|
722
|
+
static relations: Partial<Record<EntityList, IModelRelationConfig<EntityList.ORGANIZATION>>>;
|
|
723
|
+
static populateFromEntity(entity: IOrganizationEntity): OrganizationModel;
|
|
724
|
+
}
|
|
725
|
+
|
|
690
726
|
declare class SponsorHistoryModel extends BaseEntityModel implements ISponsorHistoryEntity {
|
|
691
727
|
id: number;
|
|
692
728
|
entityId: number;
|
|
@@ -703,6 +739,7 @@ declare class SponsorHistoryModel extends BaseEntityModel implements ISponsorHis
|
|
|
703
739
|
|
|
704
740
|
declare class SponsorModel extends BaseEntityModel implements ISponsorEntity {
|
|
705
741
|
id: number;
|
|
742
|
+
organizationId: number;
|
|
706
743
|
sponsorName: string;
|
|
707
744
|
contactName: string;
|
|
708
745
|
contactNo: string;
|
|
@@ -739,6 +776,7 @@ declare class TransactionHistoryModel extends BaseEntityModel implements ITransa
|
|
|
739
776
|
|
|
740
777
|
declare class TransactionModel extends BaseEntityModel implements ITransactionEntity {
|
|
741
778
|
id: number;
|
|
779
|
+
organizationId: number;
|
|
742
780
|
date: string;
|
|
743
781
|
type: TransactionType;
|
|
744
782
|
particulars: string;
|
|
@@ -825,6 +863,7 @@ declare const entityListEntityModelMap: {
|
|
|
825
863
|
flat: typeof FlatModel.populateFromEntity;
|
|
826
864
|
flat_history: typeof FlatHistoryModel.populateFromEntity;
|
|
827
865
|
configuration: typeof ConfigurationModel.populateFromEntity;
|
|
866
|
+
organization: typeof OrganizationModel.populateFromEntity;
|
|
828
867
|
};
|
|
829
868
|
|
|
830
869
|
declare class HttpException extends Error {
|
|
@@ -1080,6 +1119,7 @@ interface IFlatEntity extends IAuditColumnEntity {
|
|
|
1080
1119
|
id: number;
|
|
1081
1120
|
wing: string;
|
|
1082
1121
|
unitNumber: string;
|
|
1122
|
+
organizationId: number;
|
|
1083
1123
|
status: EntityStatus;
|
|
1084
1124
|
}
|
|
1085
1125
|
/**
|
|
@@ -1109,16 +1149,17 @@ declare enum EntityList {
|
|
|
1109
1149
|
SPONSOR_HISTORY = "sponsor_history",
|
|
1110
1150
|
FLAT = "flat",
|
|
1111
1151
|
FLAT_HISTORY = "flat_history",
|
|
1112
|
-
CONFIGURATION = "configuration"
|
|
1152
|
+
CONFIGURATION = "configuration",
|
|
1153
|
+
ORGANIZATION = "organization"
|
|
1113
1154
|
}
|
|
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;
|
|
1155
|
+
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 : T extends EntityList.ORGANIZATION ? IOrganizationEntity : never;
|
|
1156
|
+
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 : T extends EntityList.ORGANIZATION ? OrganizationModel : never;
|
|
1116
1157
|
type EntityListEntityModelMap = {
|
|
1117
1158
|
[T in EntityList]: EntityModelType<T>[];
|
|
1118
1159
|
};
|
|
1119
1160
|
|
|
1120
|
-
type IEntityCreateDto<T> = Omit<T, "id" | keyof IAuditColumnEntity>;
|
|
1121
|
-
type IEntityUpdateDto<T> = Omit<Partial<T>, "id" | keyof IAuditColumnEntity>;
|
|
1161
|
+
type IEntityCreateDto<T> = Omit<T, "id" | "organizationId" | keyof IAuditColumnEntity>;
|
|
1162
|
+
type IEntityUpdateDto<T> = Omit<Partial<T>, "id" | "organizationId" | keyof IAuditColumnEntity>;
|
|
1122
1163
|
type IEntityFilterSearchData<K extends EntityList = EntityList> = {
|
|
1123
1164
|
name: K;
|
|
1124
1165
|
include?: IEntityFilterData<EntityType<K>>;
|
|
@@ -1193,6 +1234,13 @@ interface IAartiUpdateDto extends IEntityUpdateDto<EntityType<EntityList.AARTI>>
|
|
|
1193
1234
|
interface IAartiSearchDto extends IEntityFilterData<EntityType<EntityList.AARTI>> {
|
|
1194
1235
|
}
|
|
1195
1236
|
|
|
1237
|
+
interface IConfigurationCreateDto extends IEntityCreateDto<EntityType<EntityList.CONFIGURATION>> {
|
|
1238
|
+
}
|
|
1239
|
+
interface IConfigurationUpdateDto extends IEntityUpdateDto<EntityType<EntityList.CONFIGURATION>> {
|
|
1240
|
+
}
|
|
1241
|
+
interface IConfigurationSearchDto extends IEntityFilterData<EntityType<EntityList.CONFIGURATION>> {
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1196
1244
|
interface IDonationCreateDto extends IEntityCreateDto<EntityType<EntityList.DONATION>> {
|
|
1197
1245
|
}
|
|
1198
1246
|
interface IDonationUpdateDto extends IEntityUpdateDto<EntityType<EntityList.DONATION>> {
|
|
@@ -1200,11 +1248,11 @@ interface IDonationUpdateDto extends IEntityUpdateDto<EntityType<EntityList.DONA
|
|
|
1200
1248
|
interface IDonationSearchDto extends IEntityFilterData<EntityType<EntityList.DONATION>> {
|
|
1201
1249
|
}
|
|
1202
1250
|
|
|
1203
|
-
interface
|
|
1251
|
+
interface IExpenseHeadCreateDto extends IEntityCreateDto<EntityType<EntityList.EXPENSE_HEAD>> {
|
|
1204
1252
|
}
|
|
1205
|
-
interface
|
|
1253
|
+
interface IExpenseHeadUpdateDto extends IEntityUpdateDto<EntityType<EntityList.EXPENSE_HEAD>> {
|
|
1206
1254
|
}
|
|
1207
|
-
interface
|
|
1255
|
+
interface IExpenseHeadSearchDto extends IEntityFilterData<EntityType<EntityList.EXPENSE_HEAD>> {
|
|
1208
1256
|
}
|
|
1209
1257
|
|
|
1210
1258
|
interface IExpenseCreateDto extends IEntityCreateDto<EntityType<EntityList.EXPENSE>> {
|
|
@@ -1214,25 +1262,25 @@ interface IExpenseUpdateDto extends IEntityUpdateDto<EntityType<EntityList.EXPEN
|
|
|
1214
1262
|
interface IExpenseSearchDto extends IEntityFilterData<EntityType<EntityList.EXPENSE>> {
|
|
1215
1263
|
}
|
|
1216
1264
|
|
|
1217
|
-
interface
|
|
1265
|
+
interface IFlatCreateDto extends IEntityCreateDto<EntityType<EntityList.FLAT>> {
|
|
1218
1266
|
}
|
|
1219
|
-
interface
|
|
1267
|
+
interface IFlatUpdateDto extends IEntityUpdateDto<EntityType<EntityList.FLAT>> {
|
|
1220
1268
|
}
|
|
1221
|
-
interface
|
|
1269
|
+
interface IFlatSearchDto extends IEntityFilterData<EntityType<EntityList.FLAT>> {
|
|
1222
1270
|
}
|
|
1223
1271
|
|
|
1224
|
-
interface
|
|
1272
|
+
interface IOrganizationUpdateDto extends IEntityUpdateDto<EntityList.ORGANIZATION> {
|
|
1225
1273
|
}
|
|
1226
|
-
interface
|
|
1274
|
+
interface IOrganizationCreateDto extends IEntityCreateDto<EntityList.ORGANIZATION> {
|
|
1227
1275
|
}
|
|
1228
|
-
interface
|
|
1276
|
+
interface IOrganizationCreateDto extends IEntityFilterData<EntityType<EntityList.ORGANIZATION>> {
|
|
1229
1277
|
}
|
|
1230
1278
|
|
|
1231
|
-
interface
|
|
1279
|
+
interface ISponsorCreateDto extends IEntityCreateDto<EntityType<EntityList.SPONSOR>> {
|
|
1232
1280
|
}
|
|
1233
|
-
interface
|
|
1281
|
+
interface ISponsorUpdateDto extends IEntityUpdateDto<EntityType<EntityList.SPONSOR>> {
|
|
1234
1282
|
}
|
|
1235
|
-
interface
|
|
1283
|
+
interface ISponsorSearchDto extends IEntityFilterData<EntityType<EntityList.SPONSOR>> {
|
|
1236
1284
|
}
|
|
1237
1285
|
|
|
1238
1286
|
interface ITransactionCreateDto extends IEntityCreateDto<EntityType<EntityList.TRANSACTION>> {
|
|
@@ -1249,18 +1297,18 @@ interface IUserUpdateDto extends IEntityUpdateDto<EntityType<EntityList.USER>> {
|
|
|
1249
1297
|
interface IUserSearchDto extends IEntityFilterData<EntityType<EntityList.USER>> {
|
|
1250
1298
|
}
|
|
1251
1299
|
|
|
1252
|
-
interface
|
|
1300
|
+
interface IVendorBillCreateDto extends Omit<IEntityCreateDto<EntityType<EntityList.VENDOR_BILL>>, 'invoiceNumber'> {
|
|
1253
1301
|
}
|
|
1254
|
-
interface
|
|
1302
|
+
interface IVendorBillUpdateDto extends IEntityUpdateDto<EntityType<EntityList.VENDOR_BILL>> {
|
|
1255
1303
|
}
|
|
1256
|
-
interface
|
|
1304
|
+
interface IVendorBillSearchDto extends IEntityFilterData<EntityType<EntityList.VENDOR_BILL>> {
|
|
1257
1305
|
}
|
|
1258
1306
|
|
|
1259
|
-
interface
|
|
1307
|
+
interface IVendorCreateDto extends IEntityCreateDto<EntityType<EntityList.VENDOR>> {
|
|
1260
1308
|
}
|
|
1261
|
-
interface
|
|
1309
|
+
interface IVendorUpdateDto extends IEntityUpdateDto<EntityType<EntityList.VENDOR>> {
|
|
1262
1310
|
}
|
|
1263
|
-
interface
|
|
1311
|
+
interface IVendorSearchDto extends IEntityFilterData<EntityType<EntityList.VENDOR>> {
|
|
1264
1312
|
}
|
|
1265
1313
|
|
|
1266
1314
|
declare const FLAT_WING_PATTERN: RegExp;
|
|
@@ -1277,4 +1325,4 @@ declare function isSpecialFlatLabel(label: string): boolean;
|
|
|
1277
1325
|
declare function getFlatValidationErrors(input: Partial<IFlatEntity>): FlatValidationError[];
|
|
1278
1326
|
declare function validateFlatOrThrow(input: Partial<IFlatEntity>): void;
|
|
1279
1327
|
|
|
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 };
|
|
1328
|
+
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 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 };
|