@appconda/sdk 1.0.457 → 1.0.460
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/modules/emploid/schema.d.ts +194 -0
- package/dist/modules/emploid/schema.js +235 -1
- package/dist/modules/emploid/service.d.ts +39 -1
- package/dist/modules/emploid/service.js +88 -1
- package/package.json +1 -1
- package/src/modules/emploid/schema.ts +325 -1
- package/src/modules/emploid/service.ts +306 -8
|
@@ -149,6 +149,11 @@ export declare const CreateAgentFlowSchema: z.ZodObject<{
|
|
|
149
149
|
folderId: z.ZodOptional<z.ZodString>;
|
|
150
150
|
description: z.ZodOptional<z.ZodString>;
|
|
151
151
|
}, z.core.$strip>;
|
|
152
|
+
export declare const UpdateAgentFlowSchema: z.ZodObject<{
|
|
153
|
+
id: z.ZodString;
|
|
154
|
+
name: z.ZodOptional<z.ZodString>;
|
|
155
|
+
description: z.ZodOptional<z.ZodString>;
|
|
156
|
+
}, z.core.$strip>;
|
|
152
157
|
export declare const ListAgentFlowsSchema: z.ZodObject<{
|
|
153
158
|
tenantId: z.ZodString;
|
|
154
159
|
}, z.core.$strip>;
|
|
@@ -492,3 +497,192 @@ export declare const DeleteTaskTemplateSchema: z.ZodObject<{
|
|
|
492
497
|
export declare const ListTaskTemplatesSchema: z.ZodObject<{
|
|
493
498
|
emploidId: z.ZodOptional<z.ZodString>;
|
|
494
499
|
}, z.core.$strip>;
|
|
500
|
+
export declare const CreateRecordSchema: z.ZodObject<{
|
|
501
|
+
tenantId: z.ZodString;
|
|
502
|
+
collectionId: z.ZodString;
|
|
503
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
504
|
+
}, z.core.$strip>;
|
|
505
|
+
export declare const GetRecordByIdSchema: z.ZodObject<{
|
|
506
|
+
tenantId: z.ZodString;
|
|
507
|
+
collectionId: z.ZodString;
|
|
508
|
+
recordId: z.ZodString;
|
|
509
|
+
}, z.core.$strip>;
|
|
510
|
+
export declare const ListRecordsSchema: z.ZodObject<{
|
|
511
|
+
tenantId: z.ZodString;
|
|
512
|
+
collectionId: z.ZodString;
|
|
513
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
514
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
515
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
516
|
+
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
517
|
+
}, z.core.$strip>;
|
|
518
|
+
export declare const UpdateRecordSchema: z.ZodObject<{
|
|
519
|
+
tenantId: z.ZodString;
|
|
520
|
+
collectionId: z.ZodString;
|
|
521
|
+
recordId: z.ZodString;
|
|
522
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
523
|
+
}, z.core.$strip>;
|
|
524
|
+
export declare const DeleteRecordSchema: z.ZodObject<{
|
|
525
|
+
tenantId: z.ZodString;
|
|
526
|
+
collectionId: z.ZodString;
|
|
527
|
+
recordId: z.ZodString;
|
|
528
|
+
}, z.core.$strip>;
|
|
529
|
+
export declare const RestoreRecordSchema: z.ZodObject<{
|
|
530
|
+
tenantId: z.ZodString;
|
|
531
|
+
collectionId: z.ZodString;
|
|
532
|
+
recordId: z.ZodString;
|
|
533
|
+
}, z.core.$strip>;
|
|
534
|
+
export declare const UpsertRecordSchema: z.ZodObject<{
|
|
535
|
+
tenantId: z.ZodString;
|
|
536
|
+
collectionId: z.ZodString;
|
|
537
|
+
recordId: z.ZodOptional<z.ZodString>;
|
|
538
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
539
|
+
}, z.core.$strip>;
|
|
540
|
+
export declare const BulkCreateRecordsSchema: z.ZodObject<{
|
|
541
|
+
tenantId: z.ZodString;
|
|
542
|
+
collectionId: z.ZodString;
|
|
543
|
+
records: z.ZodArray<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
544
|
+
}, z.core.$strip>;
|
|
545
|
+
export declare const BulkUpdateRecordsSchema: z.ZodObject<{
|
|
546
|
+
tenantId: z.ZodString;
|
|
547
|
+
collectionId: z.ZodString;
|
|
548
|
+
records: z.ZodArray<z.ZodObject<{
|
|
549
|
+
recordId: z.ZodString;
|
|
550
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
551
|
+
}, z.core.$strip>>;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
export declare const BulkDeleteRecordsSchema: z.ZodObject<{
|
|
554
|
+
tenantId: z.ZodString;
|
|
555
|
+
collectionId: z.ZodString;
|
|
556
|
+
recordIds: z.ZodArray<z.ZodString>;
|
|
557
|
+
}, z.core.$strip>;
|
|
558
|
+
export declare const DuplicateRecordSchema: z.ZodObject<{
|
|
559
|
+
tenantId: z.ZodString;
|
|
560
|
+
collectionId: z.ZodString;
|
|
561
|
+
recordId: z.ZodString;
|
|
562
|
+
overrides: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
563
|
+
}, z.core.$strip>;
|
|
564
|
+
export declare const QueryRecordsSchema: z.ZodObject<{
|
|
565
|
+
tenantId: z.ZodString;
|
|
566
|
+
collectionId: z.ZodString;
|
|
567
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
568
|
+
fields: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
569
|
+
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
570
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
571
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
572
|
+
}, z.core.$strip>;
|
|
573
|
+
export declare const SearchRecordsSchema: z.ZodObject<{
|
|
574
|
+
tenantId: z.ZodString;
|
|
575
|
+
collectionId: z.ZodString;
|
|
576
|
+
query: z.ZodString;
|
|
577
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
578
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
579
|
+
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
580
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
581
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
582
|
+
}, z.core.$strip>;
|
|
583
|
+
export declare const CountRecordsSchema: z.ZodObject<{
|
|
584
|
+
tenantId: z.ZodString;
|
|
585
|
+
collectionId: z.ZodString;
|
|
586
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
587
|
+
}, z.core.$strip>;
|
|
588
|
+
export declare const GroupRecordsSchema: z.ZodObject<{
|
|
589
|
+
tenantId: z.ZodString;
|
|
590
|
+
collectionId: z.ZodString;
|
|
591
|
+
by: z.ZodArray<z.ZodString>;
|
|
592
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
593
|
+
aggregations: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
594
|
+
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
595
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
596
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
597
|
+
}, z.core.$strip>;
|
|
598
|
+
export declare const AggregateRecordsSchema: z.ZodObject<{
|
|
599
|
+
tenantId: z.ZodString;
|
|
600
|
+
collectionId: z.ZodString;
|
|
601
|
+
pipeline: z.ZodArray<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
602
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
603
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
604
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
605
|
+
}, z.core.$strip>;
|
|
606
|
+
export declare const DistinctFieldValuesSchema: z.ZodObject<{
|
|
607
|
+
tenantId: z.ZodString;
|
|
608
|
+
collectionId: z.ZodString;
|
|
609
|
+
field: z.ZodString;
|
|
610
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
611
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
612
|
+
}, z.core.$strip>;
|
|
613
|
+
export declare const CreateCollectionFieldSchema: z.ZodObject<{
|
|
614
|
+
tenantId: z.ZodString;
|
|
615
|
+
collectionId: z.ZodString;
|
|
616
|
+
name: z.ZodString;
|
|
617
|
+
label: z.ZodString;
|
|
618
|
+
type: z.ZodString;
|
|
619
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
620
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
621
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
622
|
+
}, z.core.$strip>;
|
|
623
|
+
export declare const UpdateCollectionFieldSchema: z.ZodObject<{
|
|
624
|
+
tenantId: z.ZodString;
|
|
625
|
+
collectionId: z.ZodString;
|
|
626
|
+
fieldId: z.ZodString;
|
|
627
|
+
label: z.ZodOptional<z.ZodString>;
|
|
628
|
+
type: z.ZodOptional<z.ZodString>;
|
|
629
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
630
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
631
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
632
|
+
}, z.core.$strip>;
|
|
633
|
+
export declare const DeleteCollectionFieldSchema: z.ZodObject<{
|
|
634
|
+
tenantId: z.ZodString;
|
|
635
|
+
collectionId: z.ZodString;
|
|
636
|
+
fieldId: z.ZodString;
|
|
637
|
+
}, z.core.$strip>;
|
|
638
|
+
export declare const ReorderCollectionFieldsSchema: z.ZodObject<{
|
|
639
|
+
tenantId: z.ZodString;
|
|
640
|
+
collectionId: z.ZodString;
|
|
641
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
642
|
+
fieldId: z.ZodString;
|
|
643
|
+
order: z.ZodNumber;
|
|
644
|
+
}, z.core.$strip>>;
|
|
645
|
+
}, z.core.$strip>;
|
|
646
|
+
export declare const GetCollectionSchemaSchema: z.ZodObject<{
|
|
647
|
+
tenantId: z.ZodString;
|
|
648
|
+
collectionId: z.ZodString;
|
|
649
|
+
}, z.core.$strip>;
|
|
650
|
+
export declare const ValidateRecordSchema: z.ZodObject<{
|
|
651
|
+
tenantId: z.ZodString;
|
|
652
|
+
collectionId: z.ZodString;
|
|
653
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
654
|
+
recordId: z.ZodOptional<z.ZodString>;
|
|
655
|
+
}, z.core.$strip>;
|
|
656
|
+
export declare const PreviewValidationErrorsSchema: z.ZodObject<{
|
|
657
|
+
tenantId: z.ZodString;
|
|
658
|
+
collectionId: z.ZodString;
|
|
659
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
660
|
+
recordId: z.ZodOptional<z.ZodString>;
|
|
661
|
+
}, z.core.$strip>;
|
|
662
|
+
export declare const CheckRecordPermissionSchema: z.ZodObject<{
|
|
663
|
+
tenantId: z.ZodString;
|
|
664
|
+
collectionId: z.ZodString;
|
|
665
|
+
recordId: z.ZodString;
|
|
666
|
+
action: z.ZodString;
|
|
667
|
+
}, z.core.$strip>;
|
|
668
|
+
export declare const ListRecordPermissionsSchema: z.ZodObject<{
|
|
669
|
+
tenantId: z.ZodString;
|
|
670
|
+
collectionId: z.ZodString;
|
|
671
|
+
recordId: z.ZodString;
|
|
672
|
+
}, z.core.$strip>;
|
|
673
|
+
export declare const GrantRecordPermissionSchema: z.ZodObject<{
|
|
674
|
+
tenantId: z.ZodString;
|
|
675
|
+
collectionId: z.ZodString;
|
|
676
|
+
recordId: z.ZodString;
|
|
677
|
+
subjectType: z.ZodString;
|
|
678
|
+
subjectId: z.ZodString;
|
|
679
|
+
actions: z.ZodArray<z.ZodString>;
|
|
680
|
+
}, z.core.$strip>;
|
|
681
|
+
export declare const RevokeRecordPermissionSchema: z.ZodObject<{
|
|
682
|
+
tenantId: z.ZodString;
|
|
683
|
+
collectionId: z.ZodString;
|
|
684
|
+
recordId: z.ZodString;
|
|
685
|
+
subjectType: z.ZodString;
|
|
686
|
+
subjectId: z.ZodString;
|
|
687
|
+
actions: z.ZodArray<z.ZodString>;
|
|
688
|
+
}, z.core.$strip>;
|