@appconda/sdk 1.0.685 → 1.0.687
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 +18 -2
- package/dist/modules/emploid/schema.js +14 -1
- package/dist/modules/emploid/service.d.ts +4 -0
- package/dist/modules/emploid/service.js +7 -1
- package/dist/modules/emploid/types.d.ts +56 -0
- package/dist/modules/emploid/types.js +1 -1
- package/dist/modules/organization/types.d.ts +1 -0
- package/dist/modules/organization/types.js +1 -1
- package/package.json +1 -1
- package/src/modules/emploid/schema.ts +15 -0
- package/src/modules/emploid/service.ts +13 -0
- package/src/modules/emploid/types.ts +62 -0
- package/src/modules/organization/types.ts +1 -0
|
@@ -661,6 +661,22 @@ export declare const DeleteWorkerSchema: z.ZodObject<{
|
|
|
661
661
|
export declare const ListWorkersSchema: z.ZodObject<{
|
|
662
662
|
tenantId: z.ZodString;
|
|
663
663
|
}, z.core.$strip>;
|
|
664
|
+
export declare const GetWorkerPermissionMatrixSchema: z.ZodObject<{
|
|
665
|
+
workerId: z.ZodString;
|
|
666
|
+
}, z.core.$strip>;
|
|
667
|
+
export declare const ReplaceWorkerPermissionMatrixSchema: z.ZodObject<{
|
|
668
|
+
workerId: z.ZodString;
|
|
669
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
670
|
+
principalType: z.ZodEnum<{
|
|
671
|
+
USER: "USER";
|
|
672
|
+
TEAM: "TEAM";
|
|
673
|
+
}>;
|
|
674
|
+
principalId: z.ZodString;
|
|
675
|
+
canView: z.ZodBoolean;
|
|
676
|
+
canEdit: z.ZodBoolean;
|
|
677
|
+
canDelete: z.ZodBoolean;
|
|
678
|
+
}, z.core.$strip>>;
|
|
679
|
+
}, z.core.$strip>;
|
|
664
680
|
export declare const CreateInputSchema: z.ZodObject<{
|
|
665
681
|
tenantId: z.ZodString;
|
|
666
682
|
emploidId: z.ZodString;
|
|
@@ -838,9 +854,9 @@ export declare const CreateCommandSchema: z.ZodObject<{
|
|
|
838
854
|
name: z.ZodString;
|
|
839
855
|
description: z.ZodOptional<z.ZodString>;
|
|
840
856
|
type: z.ZodDefault<z.ZodEnum<{
|
|
857
|
+
TEAM: "TEAM";
|
|
841
858
|
WORKER: "WORKER";
|
|
842
859
|
ASSISTANT: "ASSISTANT";
|
|
843
|
-
TEAM: "TEAM";
|
|
844
860
|
FLOW: "FLOW";
|
|
845
861
|
}>>;
|
|
846
862
|
targetId: z.ZodString;
|
|
@@ -864,9 +880,9 @@ export declare const UpdateCommandSchema: z.ZodObject<{
|
|
|
864
880
|
name: z.ZodOptional<z.ZodString>;
|
|
865
881
|
description: z.ZodOptional<z.ZodString>;
|
|
866
882
|
type: z.ZodOptional<z.ZodEnum<{
|
|
883
|
+
TEAM: "TEAM";
|
|
867
884
|
WORKER: "WORKER";
|
|
868
885
|
ASSISTANT: "ASSISTANT";
|
|
869
|
-
TEAM: "TEAM";
|
|
870
886
|
FLOW: "FLOW";
|
|
871
887
|
}>>;
|
|
872
888
|
targetId: z.ZodOptional<z.ZodString>;
|