@cristian-israel/giganet_lib_conecta 1.0.152 → 1.0.153
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 +389 -0
- package/dist/index.d.ts +389 -0
- package/dist/index.js +201 -22
- package/dist/index.mjs +201 -22
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -39317,6 +39317,395 @@ declare const schemas$3: {
|
|
|
39317
39317
|
} & {
|
|
39318
39318
|
__v: number;
|
|
39319
39319
|
}>;
|
|
39320
|
+
general_expense_ticket_subjects: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
39321
|
+
timestamps: true;
|
|
39322
|
+
}, {
|
|
39323
|
+
name: string;
|
|
39324
|
+
active: boolean;
|
|
39325
|
+
form_opening: mongoose.Types.DocumentArray<{
|
|
39326
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39327
|
+
key: string;
|
|
39328
|
+
required: boolean;
|
|
39329
|
+
label: string;
|
|
39330
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39331
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39332
|
+
key: string;
|
|
39333
|
+
required: boolean;
|
|
39334
|
+
label: string;
|
|
39335
|
+
}, {}, {}> & {
|
|
39336
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39337
|
+
key: string;
|
|
39338
|
+
required: boolean;
|
|
39339
|
+
label: string;
|
|
39340
|
+
}>;
|
|
39341
|
+
form_files: mongoose.Types.DocumentArray<{
|
|
39342
|
+
key: string;
|
|
39343
|
+
label: string;
|
|
39344
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39345
|
+
key: string;
|
|
39346
|
+
label: string;
|
|
39347
|
+
}, {}, {}> & {
|
|
39348
|
+
key: string;
|
|
39349
|
+
label: string;
|
|
39350
|
+
}>;
|
|
39351
|
+
form_params: mongoose.Types.DocumentArray<{
|
|
39352
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39353
|
+
key: string;
|
|
39354
|
+
required: boolean;
|
|
39355
|
+
label: string;
|
|
39356
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39357
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39358
|
+
key: string;
|
|
39359
|
+
required: boolean;
|
|
39360
|
+
label: string;
|
|
39361
|
+
}, {}, {}> & {
|
|
39362
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39363
|
+
key: string;
|
|
39364
|
+
required: boolean;
|
|
39365
|
+
label: string;
|
|
39366
|
+
}>;
|
|
39367
|
+
generates?: {
|
|
39368
|
+
fn_apagar?: {
|
|
39369
|
+
required: boolean;
|
|
39370
|
+
} | null | undefined;
|
|
39371
|
+
} | null | undefined;
|
|
39372
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, {
|
|
39373
|
+
name: string;
|
|
39374
|
+
active: boolean;
|
|
39375
|
+
form_opening: mongoose.Types.DocumentArray<{
|
|
39376
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39377
|
+
key: string;
|
|
39378
|
+
required: boolean;
|
|
39379
|
+
label: string;
|
|
39380
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39381
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39382
|
+
key: string;
|
|
39383
|
+
required: boolean;
|
|
39384
|
+
label: string;
|
|
39385
|
+
}, {}, {}> & {
|
|
39386
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39387
|
+
key: string;
|
|
39388
|
+
required: boolean;
|
|
39389
|
+
label: string;
|
|
39390
|
+
}>;
|
|
39391
|
+
form_files: mongoose.Types.DocumentArray<{
|
|
39392
|
+
key: string;
|
|
39393
|
+
label: string;
|
|
39394
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39395
|
+
key: string;
|
|
39396
|
+
label: string;
|
|
39397
|
+
}, {}, {}> & {
|
|
39398
|
+
key: string;
|
|
39399
|
+
label: string;
|
|
39400
|
+
}>;
|
|
39401
|
+
form_params: mongoose.Types.DocumentArray<{
|
|
39402
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39403
|
+
key: string;
|
|
39404
|
+
required: boolean;
|
|
39405
|
+
label: string;
|
|
39406
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39407
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39408
|
+
key: string;
|
|
39409
|
+
required: boolean;
|
|
39410
|
+
label: string;
|
|
39411
|
+
}, {}, {}> & {
|
|
39412
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39413
|
+
key: string;
|
|
39414
|
+
required: boolean;
|
|
39415
|
+
label: string;
|
|
39416
|
+
}>;
|
|
39417
|
+
generates?: {
|
|
39418
|
+
fn_apagar?: {
|
|
39419
|
+
required: boolean;
|
|
39420
|
+
} | null | undefined;
|
|
39421
|
+
} | null | undefined;
|
|
39422
|
+
} & mongoose.DefaultTimestampProps, {
|
|
39423
|
+
id: string;
|
|
39424
|
+
}, Omit<mongoose.DefaultSchemaOptions, "timestamps"> & {
|
|
39425
|
+
timestamps: true;
|
|
39426
|
+
}> & Omit<{
|
|
39427
|
+
name: string;
|
|
39428
|
+
active: boolean;
|
|
39429
|
+
form_opening: mongoose.Types.DocumentArray<{
|
|
39430
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39431
|
+
key: string;
|
|
39432
|
+
required: boolean;
|
|
39433
|
+
label: string;
|
|
39434
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39435
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39436
|
+
key: string;
|
|
39437
|
+
required: boolean;
|
|
39438
|
+
label: string;
|
|
39439
|
+
}, {}, {}> & {
|
|
39440
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39441
|
+
key: string;
|
|
39442
|
+
required: boolean;
|
|
39443
|
+
label: string;
|
|
39444
|
+
}>;
|
|
39445
|
+
form_files: mongoose.Types.DocumentArray<{
|
|
39446
|
+
key: string;
|
|
39447
|
+
label: string;
|
|
39448
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39449
|
+
key: string;
|
|
39450
|
+
label: string;
|
|
39451
|
+
}, {}, {}> & {
|
|
39452
|
+
key: string;
|
|
39453
|
+
label: string;
|
|
39454
|
+
}>;
|
|
39455
|
+
form_params: mongoose.Types.DocumentArray<{
|
|
39456
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39457
|
+
key: string;
|
|
39458
|
+
required: boolean;
|
|
39459
|
+
label: string;
|
|
39460
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39461
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39462
|
+
key: string;
|
|
39463
|
+
required: boolean;
|
|
39464
|
+
label: string;
|
|
39465
|
+
}, {}, {}> & {
|
|
39466
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39467
|
+
key: string;
|
|
39468
|
+
required: boolean;
|
|
39469
|
+
label: string;
|
|
39470
|
+
}>;
|
|
39471
|
+
generates?: {
|
|
39472
|
+
fn_apagar?: {
|
|
39473
|
+
required: boolean;
|
|
39474
|
+
} | null | undefined;
|
|
39475
|
+
} | null | undefined;
|
|
39476
|
+
} & mongoose.DefaultTimestampProps & {
|
|
39477
|
+
_id: mongoose.Types.ObjectId;
|
|
39478
|
+
} & {
|
|
39479
|
+
__v: number;
|
|
39480
|
+
}, "id"> & {
|
|
39481
|
+
id: string;
|
|
39482
|
+
}, unknown, {
|
|
39483
|
+
name: string;
|
|
39484
|
+
active: boolean;
|
|
39485
|
+
form_opening: mongoose.Types.DocumentArray<{
|
|
39486
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39487
|
+
key: string;
|
|
39488
|
+
required: boolean;
|
|
39489
|
+
label: string;
|
|
39490
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39491
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39492
|
+
key: string;
|
|
39493
|
+
required: boolean;
|
|
39494
|
+
label: string;
|
|
39495
|
+
}, {}, {}> & {
|
|
39496
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39497
|
+
key: string;
|
|
39498
|
+
required: boolean;
|
|
39499
|
+
label: string;
|
|
39500
|
+
}>;
|
|
39501
|
+
form_files: mongoose.Types.DocumentArray<{
|
|
39502
|
+
key: string;
|
|
39503
|
+
label: string;
|
|
39504
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39505
|
+
key: string;
|
|
39506
|
+
label: string;
|
|
39507
|
+
}, {}, {}> & {
|
|
39508
|
+
key: string;
|
|
39509
|
+
label: string;
|
|
39510
|
+
}>;
|
|
39511
|
+
form_params: mongoose.Types.DocumentArray<{
|
|
39512
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39513
|
+
key: string;
|
|
39514
|
+
required: boolean;
|
|
39515
|
+
label: string;
|
|
39516
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39517
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39518
|
+
key: string;
|
|
39519
|
+
required: boolean;
|
|
39520
|
+
label: string;
|
|
39521
|
+
}, {}, {}> & {
|
|
39522
|
+
type: "string" | "number" | "boolean" | "date" | "array" | "float" | "datetime";
|
|
39523
|
+
key: string;
|
|
39524
|
+
required: boolean;
|
|
39525
|
+
label: string;
|
|
39526
|
+
}>;
|
|
39527
|
+
generates?: {
|
|
39528
|
+
fn_apagar?: {
|
|
39529
|
+
required: boolean;
|
|
39530
|
+
} | null | undefined;
|
|
39531
|
+
} | null | undefined;
|
|
39532
|
+
createdAt: NativeDate;
|
|
39533
|
+
updatedAt: NativeDate;
|
|
39534
|
+
} & {
|
|
39535
|
+
_id: mongoose.Types.ObjectId;
|
|
39536
|
+
} & {
|
|
39537
|
+
__v: number;
|
|
39538
|
+
}>;
|
|
39539
|
+
general_expense_tickets: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
39540
|
+
timestamps: true;
|
|
39541
|
+
}, {
|
|
39542
|
+
status: "pending" | "finished" | "canceled";
|
|
39543
|
+
location: string;
|
|
39544
|
+
id_subject: mongoose.Types.ObjectId;
|
|
39545
|
+
total_amount: number;
|
|
39546
|
+
subject_form_opening: any;
|
|
39547
|
+
subject_form_files: any;
|
|
39548
|
+
subject_form_params: any;
|
|
39549
|
+
extra_files: mongoose.Types.DocumentArray<{
|
|
39550
|
+
key: string;
|
|
39551
|
+
file_path: string;
|
|
39552
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39553
|
+
key: string;
|
|
39554
|
+
file_path: string;
|
|
39555
|
+
}, {}, {}> & {
|
|
39556
|
+
key: string;
|
|
39557
|
+
file_path: string;
|
|
39558
|
+
}>;
|
|
39559
|
+
generated: {
|
|
39560
|
+
fn_apagar?: number | null | undefined;
|
|
39561
|
+
};
|
|
39562
|
+
requester: number;
|
|
39563
|
+
document?: string | null | undefined;
|
|
39564
|
+
observation?: string | null | undefined;
|
|
39565
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, {
|
|
39566
|
+
status: "pending" | "finished" | "canceled";
|
|
39567
|
+
location: string;
|
|
39568
|
+
id_subject: mongoose.Types.ObjectId;
|
|
39569
|
+
total_amount: number;
|
|
39570
|
+
subject_form_opening: any;
|
|
39571
|
+
subject_form_files: any;
|
|
39572
|
+
subject_form_params: any;
|
|
39573
|
+
extra_files: mongoose.Types.DocumentArray<{
|
|
39574
|
+
key: string;
|
|
39575
|
+
file_path: string;
|
|
39576
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39577
|
+
key: string;
|
|
39578
|
+
file_path: string;
|
|
39579
|
+
}, {}, {}> & {
|
|
39580
|
+
key: string;
|
|
39581
|
+
file_path: string;
|
|
39582
|
+
}>;
|
|
39583
|
+
generated: {
|
|
39584
|
+
fn_apagar?: number | null | undefined;
|
|
39585
|
+
};
|
|
39586
|
+
requester: number;
|
|
39587
|
+
document?: string | null | undefined;
|
|
39588
|
+
observation?: string | null | undefined;
|
|
39589
|
+
} & mongoose.DefaultTimestampProps, {
|
|
39590
|
+
id: string;
|
|
39591
|
+
}, Omit<mongoose.DefaultSchemaOptions, "timestamps"> & {
|
|
39592
|
+
timestamps: true;
|
|
39593
|
+
}> & Omit<{
|
|
39594
|
+
status: "pending" | "finished" | "canceled";
|
|
39595
|
+
location: string;
|
|
39596
|
+
id_subject: mongoose.Types.ObjectId;
|
|
39597
|
+
total_amount: number;
|
|
39598
|
+
subject_form_opening: any;
|
|
39599
|
+
subject_form_files: any;
|
|
39600
|
+
subject_form_params: any;
|
|
39601
|
+
extra_files: mongoose.Types.DocumentArray<{
|
|
39602
|
+
key: string;
|
|
39603
|
+
file_path: string;
|
|
39604
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39605
|
+
key: string;
|
|
39606
|
+
file_path: string;
|
|
39607
|
+
}, {}, {}> & {
|
|
39608
|
+
key: string;
|
|
39609
|
+
file_path: string;
|
|
39610
|
+
}>;
|
|
39611
|
+
generated: {
|
|
39612
|
+
fn_apagar?: number | null | undefined;
|
|
39613
|
+
};
|
|
39614
|
+
requester: number;
|
|
39615
|
+
document?: string | null | undefined;
|
|
39616
|
+
observation?: string | null | undefined;
|
|
39617
|
+
} & mongoose.DefaultTimestampProps & {
|
|
39618
|
+
_id: mongoose.Types.ObjectId;
|
|
39619
|
+
} & {
|
|
39620
|
+
__v: number;
|
|
39621
|
+
}, "id"> & {
|
|
39622
|
+
id: string;
|
|
39623
|
+
}, unknown, {
|
|
39624
|
+
status: "pending" | "finished" | "canceled";
|
|
39625
|
+
location: string;
|
|
39626
|
+
id_subject: mongoose.Types.ObjectId;
|
|
39627
|
+
total_amount: number;
|
|
39628
|
+
subject_form_opening: any;
|
|
39629
|
+
subject_form_files: any;
|
|
39630
|
+
subject_form_params: any;
|
|
39631
|
+
extra_files: mongoose.Types.DocumentArray<{
|
|
39632
|
+
key: string;
|
|
39633
|
+
file_path: string;
|
|
39634
|
+
}, mongoose.Types.Subdocument<bson.ObjectId, unknown, {
|
|
39635
|
+
key: string;
|
|
39636
|
+
file_path: string;
|
|
39637
|
+
}, {}, {}> & {
|
|
39638
|
+
key: string;
|
|
39639
|
+
file_path: string;
|
|
39640
|
+
}>;
|
|
39641
|
+
generated: {
|
|
39642
|
+
fn_apagar?: number | null | undefined;
|
|
39643
|
+
};
|
|
39644
|
+
requester: number;
|
|
39645
|
+
document?: string | null | undefined;
|
|
39646
|
+
observation?: string | null | undefined;
|
|
39647
|
+
createdAt: NativeDate;
|
|
39648
|
+
updatedAt: NativeDate;
|
|
39649
|
+
} & {
|
|
39650
|
+
_id: mongoose.Types.ObjectId;
|
|
39651
|
+
} & {
|
|
39652
|
+
__v: number;
|
|
39653
|
+
}>;
|
|
39654
|
+
general_expense_ticket_files: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
39655
|
+
timestamps: true;
|
|
39656
|
+
}, {
|
|
39657
|
+
field_kind: "subject_form_files" | "extra_files";
|
|
39658
|
+
field_key: string;
|
|
39659
|
+
original_name: string;
|
|
39660
|
+
stored_name: string;
|
|
39661
|
+
mime_type: string;
|
|
39662
|
+
size_bytes: number;
|
|
39663
|
+
relative_path: string;
|
|
39664
|
+
id_ticket?: mongoose.Types.ObjectId | null | undefined;
|
|
39665
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, {
|
|
39666
|
+
field_kind: "subject_form_files" | "extra_files";
|
|
39667
|
+
field_key: string;
|
|
39668
|
+
original_name: string;
|
|
39669
|
+
stored_name: string;
|
|
39670
|
+
mime_type: string;
|
|
39671
|
+
size_bytes: number;
|
|
39672
|
+
relative_path: string;
|
|
39673
|
+
id_ticket?: mongoose.Types.ObjectId | null | undefined;
|
|
39674
|
+
} & mongoose.DefaultTimestampProps, {
|
|
39675
|
+
id: string;
|
|
39676
|
+
}, Omit<mongoose.DefaultSchemaOptions, "timestamps"> & {
|
|
39677
|
+
timestamps: true;
|
|
39678
|
+
}> & Omit<{
|
|
39679
|
+
field_kind: "subject_form_files" | "extra_files";
|
|
39680
|
+
field_key: string;
|
|
39681
|
+
original_name: string;
|
|
39682
|
+
stored_name: string;
|
|
39683
|
+
mime_type: string;
|
|
39684
|
+
size_bytes: number;
|
|
39685
|
+
relative_path: string;
|
|
39686
|
+
id_ticket?: mongoose.Types.ObjectId | null | undefined;
|
|
39687
|
+
} & mongoose.DefaultTimestampProps & {
|
|
39688
|
+
_id: mongoose.Types.ObjectId;
|
|
39689
|
+
} & {
|
|
39690
|
+
__v: number;
|
|
39691
|
+
}, "id"> & {
|
|
39692
|
+
id: string;
|
|
39693
|
+
}, unknown, {
|
|
39694
|
+
field_kind: "subject_form_files" | "extra_files";
|
|
39695
|
+
field_key: string;
|
|
39696
|
+
original_name: string;
|
|
39697
|
+
stored_name: string;
|
|
39698
|
+
mime_type: string;
|
|
39699
|
+
size_bytes: number;
|
|
39700
|
+
relative_path: string;
|
|
39701
|
+
id_ticket?: mongoose.Types.ObjectId | null | undefined;
|
|
39702
|
+
createdAt: NativeDate;
|
|
39703
|
+
updatedAt: NativeDate;
|
|
39704
|
+
} & {
|
|
39705
|
+
_id: mongoose.Types.ObjectId;
|
|
39706
|
+
} & {
|
|
39707
|
+
__v: number;
|
|
39708
|
+
}>;
|
|
39320
39709
|
};
|
|
39321
39710
|
|
|
39322
39711
|
type ToolsMongoDocuments = {
|