@dakkitor/api-contracts 1.8.0 → 1.9.2
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/abilities/abilities.contract.d.ts +28 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +32 -1
- package/dist/abilities/abilities.contract.spec.js +63 -3
- package/dist/abilities/admin-dashboard.abilities.test.js +1 -0
- package/dist/abilities/automatic-caller.abilities.json +1 -0
- package/dist/abilities/first-agent.abilities.json +14 -0
- package/dist/abilities/interconnection.abilities.json +17 -1
- package/dist/abilities/office-manager.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +48 -1
- package/dist/abilities/worker-curator.abilities.json +17 -1
- package/dist/actives/actives.contract.d.ts +6959 -6547
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1275 -1173
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +102 -102
- package/dist/bookings/backdate-guard.spec.js +24 -32
- package/dist/bookings/bookings.contract.d.ts +9963 -9305
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +2 -16
- package/dist/call-history/call-history.contract.d.ts +1040 -828
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +138 -98
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +18372 -0
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.js +494 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts +2 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.js +357 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts +10 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.js +33 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +622 -622
- package/dist/clients/clients.contract.d.ts +289 -289
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3108 -3004
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2604 -2507
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/callback-slots.d.ts +4 -0
- package/dist/common/callback-slots.d.ts.map +1 -0
- package/dist/common/callback-slots.js +20 -0
- package/dist/common/common-schemas.d.ts +10 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +6 -0
- package/dist/companies/companies.contract.d.ts +120 -120
- package/dist/crews/crews.contract.d.ts +278 -278
- package/dist/cron-executions/cron-executions.contract.d.ts +245 -245
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +1 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +3830 -2354
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +73 -7
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +94 -94
- package/dist/curated-worker-leads/contact-history.spec.js +141 -0
- package/dist/curated-worker-leads/job-candidate-cards.spec.js +19 -0
- package/dist/curated-worker-leads/job-candidates.spec.js +179 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +8185 -2106
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +126 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +110 -110
- package/dist/curated-workers/curated-workers.contract.d.ts +2033 -1951
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.js +160 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +1027 -284
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +46 -1
- package/dist/dashboards/dashboard.contract.d.ts +8 -8
- package/dist/document-intake/document-intake.contract.d.ts +1145 -1145
- package/dist/export-jobs/export-jobs.contract.d.ts +755 -755
- package/dist/exports-events/exports-events.schemas.d.ts +6 -6
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/jobs/jobs.contract.d.ts +8507 -6044
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +95 -2
- package/dist/jobs/jobs.contract.spec.js +231 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +102 -102
- package/dist/lead-assignments/lead-assignments.contract.d.ts +2985 -1139
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.js +102 -2
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts +2 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts.map +1 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.js +51 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +341 -317
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +282 -282
- package/dist/locations/location-enrichment.contract.spec.d.ts +2 -0
- package/dist/locations/location-enrichment.contract.spec.d.ts.map +1 -0
- package/dist/locations/location-enrichment.contract.spec.js +50 -0
- package/dist/locations/locations.contract.d.ts +132 -98
- package/dist/locations/locations.contract.d.ts.map +1 -1
- package/dist/locations/locations.contract.js +10 -0
- package/dist/notifications/notifications.contract.d.ts +579 -107
- package/dist/notifications/notifications.contract.d.ts.map +1 -1
- package/dist/notifications/notifications.contract.js +36 -2
- package/dist/notifications/notifications.contract.spec.d.ts +2 -0
- package/dist/notifications/notifications.contract.spec.d.ts.map +1 -0
- package/dist/notifications/notifications.contract.spec.js +39 -0
- package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
- package/dist/outreach/outreach.contract.d.ts +583 -162
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +50 -1
- package/dist/outreach/relay-hub-outreach.contract.d.ts +299 -121
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -1
- package/dist/outreach/relay-hub-outreach.contract.js +10 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +26 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts +94 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.schemas.js +15 -0
- package/dist/own-research/check-phone-response.spec.d.ts +2 -0
- package/dist/own-research/check-phone-response.spec.d.ts.map +1 -0
- package/dist/own-research/check-phone-response.spec.js +54 -0
- package/dist/own-research/own-research.contract.d.ts +971 -820
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +6 -1
- package/dist/proofs/proofs.contract.d.ts +356 -356
- package/dist/proofs/proofs.dtos.d.ts +148 -148
- package/dist/realtime/job-call-priority-updated.d.ts +18 -0
- package/dist/realtime/job-call-priority-updated.d.ts.map +1 -0
- package/dist/realtime/job-call-priority-updated.js +17 -0
- package/dist/shared/summary-schemas.d.ts +36 -27
- package/dist/shared/summary-schemas.d.ts.map +1 -1
- package/dist/shared/summary-schemas.js +7 -0
- package/dist/sheets-sync/sheets-sync.contract.d.ts +683 -683
- package/dist/user-access-grants/user-access-grants.contract.d.ts +216 -216
- package/dist/users/users.contract.d.ts +365 -336
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +9 -1
- package/dist/users/users.contract.spec.js +39 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +150 -150
- package/dist/workers/workers.contract.d.ts +4505 -4261
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +12 -0
- package/package.json +1 -1
|
@@ -12,11 +12,11 @@ export declare const EffectiveUserAccessGrantScopeSchema: z.ZodObject<{
|
|
|
12
12
|
targetUserIds: z.ZodArray<z.ZodString, "many">;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
action: "READ";
|
|
15
|
-
resource: "ACTIVE" | "
|
|
15
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
16
16
|
targetUserIds: string[];
|
|
17
17
|
}, {
|
|
18
18
|
action: "READ";
|
|
19
|
-
resource: "ACTIVE" | "
|
|
19
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
20
20
|
targetUserIds: string[];
|
|
21
21
|
}>;
|
|
22
22
|
export type EffectiveUserAccessGrantScope = z.infer<typeof EffectiveUserAccessGrantScopeSchema>;
|
|
@@ -27,25 +27,25 @@ export declare const AccessGrantScopesResponseSchema: z.ZodObject<{
|
|
|
27
27
|
targetUserIds: z.ZodArray<z.ZodString, "many">;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
29
|
action: "READ";
|
|
30
|
-
resource: "ACTIVE" | "
|
|
30
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
31
31
|
targetUserIds: string[];
|
|
32
32
|
}, {
|
|
33
33
|
action: "READ";
|
|
34
|
-
resource: "ACTIVE" | "
|
|
34
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
35
35
|
targetUserIds: string[];
|
|
36
36
|
}>, "many">;
|
|
37
37
|
validUntil: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
scopes: {
|
|
40
40
|
action: "READ";
|
|
41
|
-
resource: "ACTIVE" | "
|
|
41
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
42
42
|
targetUserIds: string[];
|
|
43
43
|
}[];
|
|
44
44
|
validUntil: string | null;
|
|
45
45
|
}, {
|
|
46
46
|
scopes: {
|
|
47
47
|
action: "READ";
|
|
48
|
-
resource: "ACTIVE" | "
|
|
48
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
49
49
|
targetUserIds: string[];
|
|
50
50
|
}[];
|
|
51
51
|
validUntil: string | Date | null;
|
|
@@ -238,8 +238,6 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
238
238
|
}>>;
|
|
239
239
|
revocationReason: z.ZodNullable<z.ZodString>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
242
|
-
id: string;
|
|
243
241
|
createdAt: string;
|
|
244
242
|
createdBy: {
|
|
245
243
|
id: string;
|
|
@@ -253,10 +251,12 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
253
251
|
}[];
|
|
254
252
|
deletedAt?: string | null | undefined;
|
|
255
253
|
};
|
|
254
|
+
id: string;
|
|
255
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
256
256
|
reason: string | null;
|
|
257
257
|
expiresAt: string | null;
|
|
258
258
|
action: "READ";
|
|
259
|
-
resource: "ACTIVE" | "
|
|
259
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
260
260
|
grantee: {
|
|
261
261
|
id: string;
|
|
262
262
|
lastName: string;
|
|
@@ -296,8 +296,6 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
296
296
|
} | null;
|
|
297
297
|
revocationReason: string | null;
|
|
298
298
|
}, {
|
|
299
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
300
|
-
id: string;
|
|
301
299
|
createdAt: string | Date;
|
|
302
300
|
createdBy: {
|
|
303
301
|
id: string;
|
|
@@ -311,10 +309,12 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
311
309
|
}[] | undefined;
|
|
312
310
|
deletedAt?: string | Date | null | undefined;
|
|
313
311
|
};
|
|
312
|
+
id: string;
|
|
313
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
314
314
|
reason: string | null;
|
|
315
315
|
expiresAt: string | Date | null;
|
|
316
316
|
action: "READ";
|
|
317
|
-
resource: "ACTIVE" | "
|
|
317
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
318
318
|
grantee: {
|
|
319
319
|
id: string;
|
|
320
320
|
lastName: string;
|
|
@@ -364,12 +364,12 @@ export declare const CreateUserAccessGrantsSchema: z.ZodObject<{
|
|
|
364
364
|
reason: string | null;
|
|
365
365
|
expiresAt: string | null;
|
|
366
366
|
targetUserIds: string[];
|
|
367
|
-
resources: ("ACTIVE" | "
|
|
367
|
+
resources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
368
368
|
}, {
|
|
369
369
|
reason: string | null;
|
|
370
370
|
expiresAt: string | null;
|
|
371
371
|
targetUserIds: string[];
|
|
372
|
-
resources: ("ACTIVE" | "
|
|
372
|
+
resources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
373
373
|
}>;
|
|
374
374
|
export type CreateUserAccessGrants = z.infer<typeof CreateUserAccessGrantsSchema>;
|
|
375
375
|
export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
@@ -560,8 +560,6 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
560
560
|
}>>;
|
|
561
561
|
revocationReason: z.ZodNullable<z.ZodString>;
|
|
562
562
|
}, "strip", z.ZodTypeAny, {
|
|
563
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
564
|
-
id: string;
|
|
565
563
|
createdAt: string;
|
|
566
564
|
createdBy: {
|
|
567
565
|
id: string;
|
|
@@ -575,10 +573,12 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
575
573
|
}[];
|
|
576
574
|
deletedAt?: string | null | undefined;
|
|
577
575
|
};
|
|
576
|
+
id: string;
|
|
577
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
578
578
|
reason: string | null;
|
|
579
579
|
expiresAt: string | null;
|
|
580
580
|
action: "READ";
|
|
581
|
-
resource: "ACTIVE" | "
|
|
581
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
582
582
|
grantee: {
|
|
583
583
|
id: string;
|
|
584
584
|
lastName: string;
|
|
@@ -618,8 +618,6 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
618
618
|
} | null;
|
|
619
619
|
revocationReason: string | null;
|
|
620
620
|
}, {
|
|
621
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
622
|
-
id: string;
|
|
623
621
|
createdAt: string | Date;
|
|
624
622
|
createdBy: {
|
|
625
623
|
id: string;
|
|
@@ -633,10 +631,12 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
633
631
|
}[] | undefined;
|
|
634
632
|
deletedAt?: string | Date | null | undefined;
|
|
635
633
|
};
|
|
634
|
+
id: string;
|
|
635
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
636
636
|
reason: string | null;
|
|
637
637
|
expiresAt: string | Date | null;
|
|
638
638
|
action: "READ";
|
|
639
|
-
resource: "ACTIVE" | "
|
|
639
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
640
640
|
grantee: {
|
|
641
641
|
id: string;
|
|
642
642
|
lastName: string;
|
|
@@ -863,8 +863,6 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
863
863
|
}>>;
|
|
864
864
|
revocationReason: z.ZodNullable<z.ZodString>;
|
|
865
865
|
}, "strip", z.ZodTypeAny, {
|
|
866
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
867
|
-
id: string;
|
|
868
866
|
createdAt: string;
|
|
869
867
|
createdBy: {
|
|
870
868
|
id: string;
|
|
@@ -878,10 +876,12 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
878
876
|
}[];
|
|
879
877
|
deletedAt?: string | null | undefined;
|
|
880
878
|
};
|
|
879
|
+
id: string;
|
|
880
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
881
881
|
reason: string | null;
|
|
882
882
|
expiresAt: string | null;
|
|
883
883
|
action: "READ";
|
|
884
|
-
resource: "ACTIVE" | "
|
|
884
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
885
885
|
grantee: {
|
|
886
886
|
id: string;
|
|
887
887
|
lastName: string;
|
|
@@ -921,8 +921,6 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
921
921
|
} | null;
|
|
922
922
|
revocationReason: string | null;
|
|
923
923
|
}, {
|
|
924
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
925
|
-
id: string;
|
|
926
924
|
createdAt: string | Date;
|
|
927
925
|
createdBy: {
|
|
928
926
|
id: string;
|
|
@@ -936,10 +934,12 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
936
934
|
}[] | undefined;
|
|
937
935
|
deletedAt?: string | Date | null | undefined;
|
|
938
936
|
};
|
|
937
|
+
id: string;
|
|
938
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
939
939
|
reason: string | null;
|
|
940
940
|
expiresAt: string | Date | null;
|
|
941
941
|
action: "READ";
|
|
942
|
-
resource: "ACTIVE" | "
|
|
942
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
943
943
|
grantee: {
|
|
944
944
|
id: string;
|
|
945
945
|
lastName: string;
|
|
@@ -981,8 +981,6 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
981
981
|
}>, "many">;
|
|
982
982
|
}, "strip", z.ZodTypeAny, {
|
|
983
983
|
created: {
|
|
984
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
985
|
-
id: string;
|
|
986
984
|
createdAt: string;
|
|
987
985
|
createdBy: {
|
|
988
986
|
id: string;
|
|
@@ -996,10 +994,12 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
996
994
|
}[];
|
|
997
995
|
deletedAt?: string | null | undefined;
|
|
998
996
|
};
|
|
997
|
+
id: string;
|
|
998
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
999
999
|
reason: string | null;
|
|
1000
1000
|
expiresAt: string | null;
|
|
1001
1001
|
action: "READ";
|
|
1002
|
-
resource: "ACTIVE" | "
|
|
1002
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
1003
1003
|
grantee: {
|
|
1004
1004
|
id: string;
|
|
1005
1005
|
lastName: string;
|
|
@@ -1040,8 +1040,6 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1040
1040
|
revocationReason: string | null;
|
|
1041
1041
|
}[];
|
|
1042
1042
|
alreadyActive: {
|
|
1043
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1044
|
-
id: string;
|
|
1045
1043
|
createdAt: string;
|
|
1046
1044
|
createdBy: {
|
|
1047
1045
|
id: string;
|
|
@@ -1055,10 +1053,12 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1055
1053
|
}[];
|
|
1056
1054
|
deletedAt?: string | null | undefined;
|
|
1057
1055
|
};
|
|
1056
|
+
id: string;
|
|
1057
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1058
1058
|
reason: string | null;
|
|
1059
1059
|
expiresAt: string | null;
|
|
1060
1060
|
action: "READ";
|
|
1061
|
-
resource: "ACTIVE" | "
|
|
1061
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
1062
1062
|
grantee: {
|
|
1063
1063
|
id: string;
|
|
1064
1064
|
lastName: string;
|
|
@@ -1100,8 +1100,6 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1100
1100
|
}[];
|
|
1101
1101
|
}, {
|
|
1102
1102
|
created: {
|
|
1103
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1104
|
-
id: string;
|
|
1105
1103
|
createdAt: string | Date;
|
|
1106
1104
|
createdBy: {
|
|
1107
1105
|
id: string;
|
|
@@ -1115,10 +1113,12 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1115
1113
|
}[] | undefined;
|
|
1116
1114
|
deletedAt?: string | Date | null | undefined;
|
|
1117
1115
|
};
|
|
1116
|
+
id: string;
|
|
1117
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1118
1118
|
reason: string | null;
|
|
1119
1119
|
expiresAt: string | Date | null;
|
|
1120
1120
|
action: "READ";
|
|
1121
|
-
resource: "ACTIVE" | "
|
|
1121
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
1122
1122
|
grantee: {
|
|
1123
1123
|
id: string;
|
|
1124
1124
|
lastName: string;
|
|
@@ -1159,8 +1159,6 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1159
1159
|
revocationReason: string | null;
|
|
1160
1160
|
}[];
|
|
1161
1161
|
alreadyActive: {
|
|
1162
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1163
|
-
id: string;
|
|
1164
1162
|
createdAt: string | Date;
|
|
1165
1163
|
createdBy: {
|
|
1166
1164
|
id: string;
|
|
@@ -1174,10 +1172,12 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1174
1172
|
}[] | undefined;
|
|
1175
1173
|
deletedAt?: string | Date | null | undefined;
|
|
1176
1174
|
};
|
|
1175
|
+
id: string;
|
|
1176
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1177
1177
|
reason: string | null;
|
|
1178
1178
|
expiresAt: string | Date | null;
|
|
1179
1179
|
action: "READ";
|
|
1180
|
-
resource: "ACTIVE" | "
|
|
1180
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
1181
1181
|
grantee: {
|
|
1182
1182
|
id: string;
|
|
1183
1183
|
lastName: string;
|
|
@@ -1230,11 +1230,11 @@ export declare const UserAccessGrantGranteeOfficeSchema: z.ZodObject<{
|
|
|
1230
1230
|
id: z.ZodString;
|
|
1231
1231
|
name: z.ZodString;
|
|
1232
1232
|
}, "strip", z.ZodTypeAny, {
|
|
1233
|
-
id: string;
|
|
1234
1233
|
name: string;
|
|
1235
|
-
}, {
|
|
1236
1234
|
id: string;
|
|
1235
|
+
}, {
|
|
1237
1236
|
name: string;
|
|
1237
|
+
id: string;
|
|
1238
1238
|
}>;
|
|
1239
1239
|
export declare const UserAccessGrantGranteeIdentitySchema: z.ZodObject<{
|
|
1240
1240
|
id: z.ZodString;
|
|
@@ -1246,34 +1246,34 @@ export declare const UserAccessGrantGranteeIdentitySchema: z.ZodObject<{
|
|
|
1246
1246
|
id: z.ZodString;
|
|
1247
1247
|
name: z.ZodString;
|
|
1248
1248
|
}, "strip", z.ZodTypeAny, {
|
|
1249
|
-
id: string;
|
|
1250
1249
|
name: string;
|
|
1251
|
-
}, {
|
|
1252
1250
|
id: string;
|
|
1251
|
+
}, {
|
|
1253
1252
|
name: string;
|
|
1253
|
+
id: string;
|
|
1254
1254
|
}>>;
|
|
1255
1255
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1256
1256
|
}, "strip", z.ZodTypeAny, {
|
|
1257
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1258
|
-
id: string;
|
|
1259
1257
|
email: string;
|
|
1258
|
+
id: string;
|
|
1259
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1260
1260
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1261
1261
|
lastName: string;
|
|
1262
1262
|
firstName: string;
|
|
1263
1263
|
office: {
|
|
1264
|
-
id: string;
|
|
1265
1264
|
name: string;
|
|
1265
|
+
id: string;
|
|
1266
1266
|
} | null;
|
|
1267
1267
|
}, {
|
|
1268
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1269
|
-
id: string;
|
|
1270
1268
|
email: string;
|
|
1269
|
+
id: string;
|
|
1270
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1271
1271
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1272
1272
|
lastName: string;
|
|
1273
1273
|
firstName: string;
|
|
1274
1274
|
office: {
|
|
1275
|
-
id: string;
|
|
1276
1275
|
name: string;
|
|
1276
|
+
id: string;
|
|
1277
1277
|
} | null;
|
|
1278
1278
|
}>;
|
|
1279
1279
|
export type UserAccessGrantGranteeIdentity = z.infer<typeof UserAccessGrantGranteeIdentitySchema>;
|
|
@@ -1288,34 +1288,34 @@ export declare const UserAccessGrantGranteeSummarySchema: z.ZodObject<{
|
|
|
1288
1288
|
id: z.ZodString;
|
|
1289
1289
|
name: z.ZodString;
|
|
1290
1290
|
}, "strip", z.ZodTypeAny, {
|
|
1291
|
-
id: string;
|
|
1292
1291
|
name: string;
|
|
1293
|
-
}, {
|
|
1294
1292
|
id: string;
|
|
1293
|
+
}, {
|
|
1295
1294
|
name: string;
|
|
1295
|
+
id: string;
|
|
1296
1296
|
}>>;
|
|
1297
1297
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1298
1298
|
}, "strip", z.ZodTypeAny, {
|
|
1299
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1300
|
-
id: string;
|
|
1301
1299
|
email: string;
|
|
1300
|
+
id: string;
|
|
1301
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1302
1302
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1303
1303
|
lastName: string;
|
|
1304
1304
|
firstName: string;
|
|
1305
1305
|
office: {
|
|
1306
|
-
id: string;
|
|
1307
1306
|
name: string;
|
|
1307
|
+
id: string;
|
|
1308
1308
|
} | null;
|
|
1309
1309
|
}, {
|
|
1310
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1311
|
-
id: string;
|
|
1312
1310
|
email: string;
|
|
1311
|
+
id: string;
|
|
1312
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1313
1313
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1314
1314
|
lastName: string;
|
|
1315
1315
|
firstName: string;
|
|
1316
1316
|
office: {
|
|
1317
|
-
id: string;
|
|
1318
1317
|
name: string;
|
|
1318
|
+
id: string;
|
|
1319
1319
|
} | null;
|
|
1320
1320
|
}>;
|
|
1321
1321
|
activeResources: z.ZodArray<z.ZodEnum<["BOOKING", "ACTIVE", "WORKER"]>, "many">;
|
|
@@ -1324,41 +1324,41 @@ export declare const UserAccessGrantGranteeSummarySchema: z.ZodObject<{
|
|
|
1324
1324
|
nearestExpiry: z.ZodNullable<z.ZodString>;
|
|
1325
1325
|
lastActivityAt: z.ZodNullable<z.ZodString>;
|
|
1326
1326
|
}, "strip", z.ZodTypeAny, {
|
|
1327
|
+
lastActivityAt: string | null;
|
|
1327
1328
|
grantee: {
|
|
1328
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1329
|
-
id: string;
|
|
1330
1329
|
email: string;
|
|
1330
|
+
id: string;
|
|
1331
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1331
1332
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1332
1333
|
lastName: string;
|
|
1333
1334
|
firstName: string;
|
|
1334
1335
|
office: {
|
|
1335
|
-
id: string;
|
|
1336
1336
|
name: string;
|
|
1337
|
+
id: string;
|
|
1337
1338
|
} | null;
|
|
1338
1339
|
};
|
|
1339
|
-
activeResources: ("ACTIVE" | "
|
|
1340
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1340
1341
|
activeTargetCount: number;
|
|
1341
1342
|
activeGrantCount: number;
|
|
1342
1343
|
nearestExpiry: string | null;
|
|
1343
|
-
lastActivityAt: string | null;
|
|
1344
1344
|
}, {
|
|
1345
|
+
lastActivityAt: string | null;
|
|
1345
1346
|
grantee: {
|
|
1346
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1347
|
-
id: string;
|
|
1348
1347
|
email: string;
|
|
1348
|
+
id: string;
|
|
1349
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1349
1350
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1350
1351
|
lastName: string;
|
|
1351
1352
|
firstName: string;
|
|
1352
1353
|
office: {
|
|
1353
|
-
id: string;
|
|
1354
1354
|
name: string;
|
|
1355
|
+
id: string;
|
|
1355
1356
|
} | null;
|
|
1356
1357
|
};
|
|
1357
|
-
activeResources: ("ACTIVE" | "
|
|
1358
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1358
1359
|
activeTargetCount: number;
|
|
1359
1360
|
activeGrantCount: number;
|
|
1360
1361
|
nearestExpiry: string | null;
|
|
1361
|
-
lastActivityAt: string | null;
|
|
1362
1362
|
}>;
|
|
1363
1363
|
export type UserAccessGrantGranteeSummary = z.infer<typeof UserAccessGrantGranteeSummarySchema>;
|
|
1364
1364
|
export declare const UserAccessGrantGranteeSortableFieldSchema: z.ZodEnum<["name", "activeGrantCount", "nearestExpiry", "lastActivityAt"]>;
|
|
@@ -1375,33 +1375,33 @@ export declare const FilterUserAccessGrantGranteesSchema: z.ZodObject<{
|
|
|
1375
1375
|
field: z.ZodEnum<["name", "activeGrantCount", "nearestExpiry", "lastActivityAt"]>;
|
|
1376
1376
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
1377
1377
|
}, "strip", z.ZodTypeAny, {
|
|
1378
|
-
field: "name" | "
|
|
1378
|
+
field: "name" | "lastActivityAt" | "activeGrantCount" | "nearestExpiry";
|
|
1379
1379
|
order: "ASC" | "DESC";
|
|
1380
1380
|
}, {
|
|
1381
|
-
field: "name" | "
|
|
1381
|
+
field: "name" | "lastActivityAt" | "activeGrantCount" | "nearestExpiry";
|
|
1382
1382
|
order: "ASC" | "DESC";
|
|
1383
1383
|
}>, "many">>>>;
|
|
1384
1384
|
}, "strip", z.ZodTypeAny, {
|
|
1385
1385
|
sort: {
|
|
1386
|
-
field: "name" | "
|
|
1386
|
+
field: "name" | "lastActivityAt" | "activeGrantCount" | "nearestExpiry";
|
|
1387
1387
|
order: "ASC" | "DESC";
|
|
1388
1388
|
}[] | null;
|
|
1389
1389
|
page: number;
|
|
1390
1390
|
limit: number;
|
|
1391
1391
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1392
1392
|
query?: string | undefined;
|
|
1393
|
-
resource?: "ACTIVE" | "
|
|
1393
|
+
resource?: "ACTIVE" | "BOOKING" | "WORKER" | undefined;
|
|
1394
1394
|
grantState?: "HAS_ACTIVE" | "NO_ACTIVE" | undefined;
|
|
1395
1395
|
}, {
|
|
1396
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1397
1396
|
sort?: {
|
|
1398
|
-
field: "name" | "
|
|
1397
|
+
field: "name" | "lastActivityAt" | "activeGrantCount" | "nearestExpiry";
|
|
1399
1398
|
order: "ASC" | "DESC";
|
|
1400
1399
|
}[] | null | undefined;
|
|
1401
1400
|
page?: number | undefined;
|
|
1402
1401
|
limit?: number | undefined;
|
|
1402
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1403
1403
|
query?: string | undefined;
|
|
1404
|
-
resource?: "ACTIVE" | "
|
|
1404
|
+
resource?: "ACTIVE" | "BOOKING" | "WORKER" | undefined;
|
|
1405
1405
|
grantState?: "HAS_ACTIVE" | "NO_ACTIVE" | undefined;
|
|
1406
1406
|
}>;
|
|
1407
1407
|
export type FilterUserAccessGrantGrantees = z.infer<typeof FilterUserAccessGrantGranteesSchema>;
|
|
@@ -1417,34 +1417,34 @@ export declare const PaginatedUserAccessGrantGranteesSchema: z.ZodObject<{
|
|
|
1417
1417
|
id: z.ZodString;
|
|
1418
1418
|
name: z.ZodString;
|
|
1419
1419
|
}, "strip", z.ZodTypeAny, {
|
|
1420
|
-
id: string;
|
|
1421
1420
|
name: string;
|
|
1422
|
-
}, {
|
|
1423
1421
|
id: string;
|
|
1422
|
+
}, {
|
|
1424
1423
|
name: string;
|
|
1424
|
+
id: string;
|
|
1425
1425
|
}>>;
|
|
1426
1426
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1427
1427
|
}, "strip", z.ZodTypeAny, {
|
|
1428
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1429
|
-
id: string;
|
|
1430
1428
|
email: string;
|
|
1429
|
+
id: string;
|
|
1430
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1431
1431
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1432
1432
|
lastName: string;
|
|
1433
1433
|
firstName: string;
|
|
1434
1434
|
office: {
|
|
1435
|
-
id: string;
|
|
1436
1435
|
name: string;
|
|
1436
|
+
id: string;
|
|
1437
1437
|
} | null;
|
|
1438
1438
|
}, {
|
|
1439
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1440
|
-
id: string;
|
|
1441
1439
|
email: string;
|
|
1440
|
+
id: string;
|
|
1441
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1442
1442
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1443
1443
|
lastName: string;
|
|
1444
1444
|
firstName: string;
|
|
1445
1445
|
office: {
|
|
1446
|
-
id: string;
|
|
1447
1446
|
name: string;
|
|
1447
|
+
id: string;
|
|
1448
1448
|
} | null;
|
|
1449
1449
|
}>;
|
|
1450
1450
|
activeResources: z.ZodArray<z.ZodEnum<["BOOKING", "ACTIVE", "WORKER"]>, "many">;
|
|
@@ -1453,41 +1453,41 @@ export declare const PaginatedUserAccessGrantGranteesSchema: z.ZodObject<{
|
|
|
1453
1453
|
nearestExpiry: z.ZodNullable<z.ZodString>;
|
|
1454
1454
|
lastActivityAt: z.ZodNullable<z.ZodString>;
|
|
1455
1455
|
}, "strip", z.ZodTypeAny, {
|
|
1456
|
+
lastActivityAt: string | null;
|
|
1456
1457
|
grantee: {
|
|
1457
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1458
|
-
id: string;
|
|
1459
1458
|
email: string;
|
|
1459
|
+
id: string;
|
|
1460
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1460
1461
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1461
1462
|
lastName: string;
|
|
1462
1463
|
firstName: string;
|
|
1463
1464
|
office: {
|
|
1464
|
-
id: string;
|
|
1465
1465
|
name: string;
|
|
1466
|
+
id: string;
|
|
1466
1467
|
} | null;
|
|
1467
1468
|
};
|
|
1468
|
-
activeResources: ("ACTIVE" | "
|
|
1469
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1469
1470
|
activeTargetCount: number;
|
|
1470
1471
|
activeGrantCount: number;
|
|
1471
1472
|
nearestExpiry: string | null;
|
|
1472
|
-
lastActivityAt: string | null;
|
|
1473
1473
|
}, {
|
|
1474
|
+
lastActivityAt: string | null;
|
|
1474
1475
|
grantee: {
|
|
1475
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1476
|
-
id: string;
|
|
1477
1476
|
email: string;
|
|
1477
|
+
id: string;
|
|
1478
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1478
1479
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1479
1480
|
lastName: string;
|
|
1480
1481
|
firstName: string;
|
|
1481
1482
|
office: {
|
|
1482
|
-
id: string;
|
|
1483
1483
|
name: string;
|
|
1484
|
+
id: string;
|
|
1484
1485
|
} | null;
|
|
1485
1486
|
};
|
|
1486
|
-
activeResources: ("ACTIVE" | "
|
|
1487
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1487
1488
|
activeTargetCount: number;
|
|
1488
1489
|
activeGrantCount: number;
|
|
1489
1490
|
nearestExpiry: string | null;
|
|
1490
|
-
lastActivityAt: string | null;
|
|
1491
1491
|
}>, "many">;
|
|
1492
1492
|
totalCount: z.ZodNumber;
|
|
1493
1493
|
limit: z.ZodNumber;
|
|
@@ -1497,23 +1497,23 @@ export declare const PaginatedUserAccessGrantGranteesSchema: z.ZodObject<{
|
|
|
1497
1497
|
}, "strip", z.ZodTypeAny, {
|
|
1498
1498
|
limit: number;
|
|
1499
1499
|
items: {
|
|
1500
|
+
lastActivityAt: string | null;
|
|
1500
1501
|
grantee: {
|
|
1501
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1502
|
-
id: string;
|
|
1503
1502
|
email: string;
|
|
1503
|
+
id: string;
|
|
1504
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1504
1505
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1505
1506
|
lastName: string;
|
|
1506
1507
|
firstName: string;
|
|
1507
1508
|
office: {
|
|
1508
|
-
id: string;
|
|
1509
1509
|
name: string;
|
|
1510
|
+
id: string;
|
|
1510
1511
|
} | null;
|
|
1511
1512
|
};
|
|
1512
|
-
activeResources: ("ACTIVE" | "
|
|
1513
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1513
1514
|
activeTargetCount: number;
|
|
1514
1515
|
activeGrantCount: number;
|
|
1515
1516
|
nearestExpiry: string | null;
|
|
1516
|
-
lastActivityAt: string | null;
|
|
1517
1517
|
}[];
|
|
1518
1518
|
totalCount: number;
|
|
1519
1519
|
skip: number;
|
|
@@ -1522,23 +1522,23 @@ export declare const PaginatedUserAccessGrantGranteesSchema: z.ZodObject<{
|
|
|
1522
1522
|
}, {
|
|
1523
1523
|
limit: number;
|
|
1524
1524
|
items: {
|
|
1525
|
+
lastActivityAt: string | null;
|
|
1525
1526
|
grantee: {
|
|
1526
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1527
|
-
id: string;
|
|
1528
1527
|
email: string;
|
|
1528
|
+
id: string;
|
|
1529
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1529
1530
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1530
1531
|
lastName: string;
|
|
1531
1532
|
firstName: string;
|
|
1532
1533
|
office: {
|
|
1533
|
-
id: string;
|
|
1534
1534
|
name: string;
|
|
1535
|
+
id: string;
|
|
1535
1536
|
} | null;
|
|
1536
1537
|
};
|
|
1537
|
-
activeResources: ("ACTIVE" | "
|
|
1538
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1538
1539
|
activeTargetCount: number;
|
|
1539
1540
|
activeGrantCount: number;
|
|
1540
1541
|
nearestExpiry: string | null;
|
|
1541
|
-
lastActivityAt: string | null;
|
|
1542
1542
|
}[];
|
|
1543
1543
|
totalCount: number;
|
|
1544
1544
|
skip: number;
|
|
@@ -1551,13 +1551,13 @@ export declare const UserAccessGrantListQuerySchema: z.ZodObject<{
|
|
|
1551
1551
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1552
1552
|
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ACTIVE", "EXPIRED", "REVOKED", "ALL"]>>>;
|
|
1553
1553
|
}, "strip", z.ZodTypeAny, {
|
|
1554
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED" | "ALL";
|
|
1555
1554
|
page: number;
|
|
1556
1555
|
limit: number;
|
|
1556
|
+
status: "ACTIVE" | "EXPIRED" | "ALL" | "REVOKED";
|
|
1557
1557
|
}, {
|
|
1558
|
-
status?: "ACTIVE" | "EXPIRED" | "REVOKED" | "ALL" | undefined;
|
|
1559
1558
|
page?: number | undefined;
|
|
1560
1559
|
limit?: number | undefined;
|
|
1560
|
+
status?: "ACTIVE" | "EXPIRED" | "ALL" | "REVOKED" | undefined;
|
|
1561
1561
|
}>;
|
|
1562
1562
|
export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
1563
1563
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -1747,8 +1747,6 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1747
1747
|
}>>;
|
|
1748
1748
|
revocationReason: z.ZodNullable<z.ZodString>;
|
|
1749
1749
|
}, "strip", z.ZodTypeAny, {
|
|
1750
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1751
|
-
id: string;
|
|
1752
1750
|
createdAt: string;
|
|
1753
1751
|
createdBy: {
|
|
1754
1752
|
id: string;
|
|
@@ -1762,10 +1760,12 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1762
1760
|
}[];
|
|
1763
1761
|
deletedAt?: string | null | undefined;
|
|
1764
1762
|
};
|
|
1763
|
+
id: string;
|
|
1764
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1765
1765
|
reason: string | null;
|
|
1766
1766
|
expiresAt: string | null;
|
|
1767
1767
|
action: "READ";
|
|
1768
|
-
resource: "ACTIVE" | "
|
|
1768
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
1769
1769
|
grantee: {
|
|
1770
1770
|
id: string;
|
|
1771
1771
|
lastName: string;
|
|
@@ -1805,8 +1805,6 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1805
1805
|
} | null;
|
|
1806
1806
|
revocationReason: string | null;
|
|
1807
1807
|
}, {
|
|
1808
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1809
|
-
id: string;
|
|
1810
1808
|
createdAt: string | Date;
|
|
1811
1809
|
createdBy: {
|
|
1812
1810
|
id: string;
|
|
@@ -1820,10 +1818,12 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1820
1818
|
}[] | undefined;
|
|
1821
1819
|
deletedAt?: string | Date | null | undefined;
|
|
1822
1820
|
};
|
|
1821
|
+
id: string;
|
|
1822
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1823
1823
|
reason: string | null;
|
|
1824
1824
|
expiresAt: string | Date | null;
|
|
1825
1825
|
action: "READ";
|
|
1826
|
-
resource: "ACTIVE" | "
|
|
1826
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
1827
1827
|
grantee: {
|
|
1828
1828
|
id: string;
|
|
1829
1829
|
lastName: string;
|
|
@@ -1871,8 +1871,6 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1871
1871
|
}, "strip", z.ZodTypeAny, {
|
|
1872
1872
|
limit: number;
|
|
1873
1873
|
items: {
|
|
1874
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1875
|
-
id: string;
|
|
1876
1874
|
createdAt: string;
|
|
1877
1875
|
createdBy: {
|
|
1878
1876
|
id: string;
|
|
@@ -1886,10 +1884,12 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1886
1884
|
}[];
|
|
1887
1885
|
deletedAt?: string | null | undefined;
|
|
1888
1886
|
};
|
|
1887
|
+
id: string;
|
|
1888
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1889
1889
|
reason: string | null;
|
|
1890
1890
|
expiresAt: string | null;
|
|
1891
1891
|
action: "READ";
|
|
1892
|
-
resource: "ACTIVE" | "
|
|
1892
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
1893
1893
|
grantee: {
|
|
1894
1894
|
id: string;
|
|
1895
1895
|
lastName: string;
|
|
@@ -1936,8 +1936,6 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1936
1936
|
}, {
|
|
1937
1937
|
limit: number;
|
|
1938
1938
|
items: {
|
|
1939
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1940
|
-
id: string;
|
|
1941
1939
|
createdAt: string | Date;
|
|
1942
1940
|
createdBy: {
|
|
1943
1941
|
id: string;
|
|
@@ -1951,10 +1949,12 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1951
1949
|
}[] | undefined;
|
|
1952
1950
|
deletedAt?: string | Date | null | undefined;
|
|
1953
1951
|
};
|
|
1952
|
+
id: string;
|
|
1953
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
1954
1954
|
reason: string | null;
|
|
1955
1955
|
expiresAt: string | Date | null;
|
|
1956
1956
|
action: "READ";
|
|
1957
|
-
resource: "ACTIVE" | "
|
|
1957
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
1958
1958
|
grantee: {
|
|
1959
1959
|
id: string;
|
|
1960
1960
|
lastName: string;
|
|
@@ -2013,33 +2013,33 @@ export declare const userAccessGrantsContract: {
|
|
|
2013
2013
|
field: z.ZodEnum<["name", "activeGrantCount", "nearestExpiry", "lastActivityAt"]>;
|
|
2014
2014
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
2015
2015
|
}, "strip", z.ZodTypeAny, {
|
|
2016
|
-
field: "name" | "
|
|
2016
|
+
field: "name" | "lastActivityAt" | "activeGrantCount" | "nearestExpiry";
|
|
2017
2017
|
order: "ASC" | "DESC";
|
|
2018
2018
|
}, {
|
|
2019
|
-
field: "name" | "
|
|
2019
|
+
field: "name" | "lastActivityAt" | "activeGrantCount" | "nearestExpiry";
|
|
2020
2020
|
order: "ASC" | "DESC";
|
|
2021
2021
|
}>, "many">>>>;
|
|
2022
2022
|
}, "strip", z.ZodTypeAny, {
|
|
2023
2023
|
sort: {
|
|
2024
|
-
field: "name" | "
|
|
2024
|
+
field: "name" | "lastActivityAt" | "activeGrantCount" | "nearestExpiry";
|
|
2025
2025
|
order: "ASC" | "DESC";
|
|
2026
2026
|
}[] | null;
|
|
2027
2027
|
page: number;
|
|
2028
2028
|
limit: number;
|
|
2029
2029
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2030
2030
|
query?: string | undefined;
|
|
2031
|
-
resource?: "ACTIVE" | "
|
|
2031
|
+
resource?: "ACTIVE" | "BOOKING" | "WORKER" | undefined;
|
|
2032
2032
|
grantState?: "HAS_ACTIVE" | "NO_ACTIVE" | undefined;
|
|
2033
2033
|
}, {
|
|
2034
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2035
2034
|
sort?: {
|
|
2036
|
-
field: "name" | "
|
|
2035
|
+
field: "name" | "lastActivityAt" | "activeGrantCount" | "nearestExpiry";
|
|
2037
2036
|
order: "ASC" | "DESC";
|
|
2038
2037
|
}[] | null | undefined;
|
|
2039
2038
|
page?: number | undefined;
|
|
2040
2039
|
limit?: number | undefined;
|
|
2040
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2041
2041
|
query?: string | undefined;
|
|
2042
|
-
resource?: "ACTIVE" | "
|
|
2042
|
+
resource?: "ACTIVE" | "BOOKING" | "WORKER" | undefined;
|
|
2043
2043
|
grantState?: "HAS_ACTIVE" | "NO_ACTIVE" | undefined;
|
|
2044
2044
|
}>;
|
|
2045
2045
|
summary: "List users with aggregate access-grant administration status";
|
|
@@ -2058,34 +2058,34 @@ export declare const userAccessGrantsContract: {
|
|
|
2058
2058
|
id: z.ZodString;
|
|
2059
2059
|
name: z.ZodString;
|
|
2060
2060
|
}, "strip", z.ZodTypeAny, {
|
|
2061
|
-
id: string;
|
|
2062
2061
|
name: string;
|
|
2063
|
-
}, {
|
|
2064
2062
|
id: string;
|
|
2063
|
+
}, {
|
|
2065
2064
|
name: string;
|
|
2065
|
+
id: string;
|
|
2066
2066
|
}>>;
|
|
2067
2067
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
2068
2068
|
}, "strip", z.ZodTypeAny, {
|
|
2069
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2070
|
-
id: string;
|
|
2071
2069
|
email: string;
|
|
2070
|
+
id: string;
|
|
2071
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2072
2072
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2073
2073
|
lastName: string;
|
|
2074
2074
|
firstName: string;
|
|
2075
2075
|
office: {
|
|
2076
|
-
id: string;
|
|
2077
2076
|
name: string;
|
|
2077
|
+
id: string;
|
|
2078
2078
|
} | null;
|
|
2079
2079
|
}, {
|
|
2080
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2081
|
-
id: string;
|
|
2082
2080
|
email: string;
|
|
2081
|
+
id: string;
|
|
2082
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2083
2083
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2084
2084
|
lastName: string;
|
|
2085
2085
|
firstName: string;
|
|
2086
2086
|
office: {
|
|
2087
|
-
id: string;
|
|
2088
2087
|
name: string;
|
|
2088
|
+
id: string;
|
|
2089
2089
|
} | null;
|
|
2090
2090
|
}>;
|
|
2091
2091
|
activeResources: z.ZodArray<z.ZodEnum<["BOOKING", "ACTIVE", "WORKER"]>, "many">;
|
|
@@ -2094,41 +2094,41 @@ export declare const userAccessGrantsContract: {
|
|
|
2094
2094
|
nearestExpiry: z.ZodNullable<z.ZodString>;
|
|
2095
2095
|
lastActivityAt: z.ZodNullable<z.ZodString>;
|
|
2096
2096
|
}, "strip", z.ZodTypeAny, {
|
|
2097
|
+
lastActivityAt: string | null;
|
|
2097
2098
|
grantee: {
|
|
2098
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2099
|
-
id: string;
|
|
2100
2099
|
email: string;
|
|
2100
|
+
id: string;
|
|
2101
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2101
2102
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2102
2103
|
lastName: string;
|
|
2103
2104
|
firstName: string;
|
|
2104
2105
|
office: {
|
|
2105
|
-
id: string;
|
|
2106
2106
|
name: string;
|
|
2107
|
+
id: string;
|
|
2107
2108
|
} | null;
|
|
2108
2109
|
};
|
|
2109
|
-
activeResources: ("ACTIVE" | "
|
|
2110
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
2110
2111
|
activeTargetCount: number;
|
|
2111
2112
|
activeGrantCount: number;
|
|
2112
2113
|
nearestExpiry: string | null;
|
|
2113
|
-
lastActivityAt: string | null;
|
|
2114
2114
|
}, {
|
|
2115
|
+
lastActivityAt: string | null;
|
|
2115
2116
|
grantee: {
|
|
2116
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2117
|
-
id: string;
|
|
2118
2117
|
email: string;
|
|
2118
|
+
id: string;
|
|
2119
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2119
2120
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2120
2121
|
lastName: string;
|
|
2121
2122
|
firstName: string;
|
|
2122
2123
|
office: {
|
|
2123
|
-
id: string;
|
|
2124
2124
|
name: string;
|
|
2125
|
+
id: string;
|
|
2125
2126
|
} | null;
|
|
2126
2127
|
};
|
|
2127
|
-
activeResources: ("ACTIVE" | "
|
|
2128
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
2128
2129
|
activeTargetCount: number;
|
|
2129
2130
|
activeGrantCount: number;
|
|
2130
2131
|
nearestExpiry: string | null;
|
|
2131
|
-
lastActivityAt: string | null;
|
|
2132
2132
|
}>, "many">;
|
|
2133
2133
|
totalCount: z.ZodNumber;
|
|
2134
2134
|
limit: z.ZodNumber;
|
|
@@ -2138,23 +2138,23 @@ export declare const userAccessGrantsContract: {
|
|
|
2138
2138
|
}, "strip", z.ZodTypeAny, {
|
|
2139
2139
|
limit: number;
|
|
2140
2140
|
items: {
|
|
2141
|
+
lastActivityAt: string | null;
|
|
2141
2142
|
grantee: {
|
|
2142
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2143
|
-
id: string;
|
|
2144
2143
|
email: string;
|
|
2144
|
+
id: string;
|
|
2145
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2145
2146
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2146
2147
|
lastName: string;
|
|
2147
2148
|
firstName: string;
|
|
2148
2149
|
office: {
|
|
2149
|
-
id: string;
|
|
2150
2150
|
name: string;
|
|
2151
|
+
id: string;
|
|
2151
2152
|
} | null;
|
|
2152
2153
|
};
|
|
2153
|
-
activeResources: ("ACTIVE" | "
|
|
2154
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
2154
2155
|
activeTargetCount: number;
|
|
2155
2156
|
activeGrantCount: number;
|
|
2156
2157
|
nearestExpiry: string | null;
|
|
2157
|
-
lastActivityAt: string | null;
|
|
2158
2158
|
}[];
|
|
2159
2159
|
totalCount: number;
|
|
2160
2160
|
skip: number;
|
|
@@ -2163,23 +2163,23 @@ export declare const userAccessGrantsContract: {
|
|
|
2163
2163
|
}, {
|
|
2164
2164
|
limit: number;
|
|
2165
2165
|
items: {
|
|
2166
|
+
lastActivityAt: string | null;
|
|
2166
2167
|
grantee: {
|
|
2167
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2168
|
-
id: string;
|
|
2169
2168
|
email: string;
|
|
2169
|
+
id: string;
|
|
2170
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2170
2171
|
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2171
2172
|
lastName: string;
|
|
2172
2173
|
firstName: string;
|
|
2173
2174
|
office: {
|
|
2174
|
-
id: string;
|
|
2175
2175
|
name: string;
|
|
2176
|
+
id: string;
|
|
2176
2177
|
} | null;
|
|
2177
2178
|
};
|
|
2178
|
-
activeResources: ("ACTIVE" | "
|
|
2179
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
2179
2180
|
activeTargetCount: number;
|
|
2180
2181
|
activeGrantCount: number;
|
|
2181
2182
|
nearestExpiry: string | null;
|
|
2182
|
-
lastActivityAt: string | null;
|
|
2183
2183
|
}[];
|
|
2184
2184
|
totalCount: number;
|
|
2185
2185
|
skip: number;
|
|
@@ -2195,17 +2195,17 @@ export declare const userAccessGrantsContract: {
|
|
|
2195
2195
|
path: z.ZodString;
|
|
2196
2196
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2197
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2198
|
-
message: string;
|
|
2199
2198
|
code: string;
|
|
2200
2199
|
path: string;
|
|
2200
|
+
message: string;
|
|
2201
2201
|
statusCode: number;
|
|
2202
2202
|
timestamp: string;
|
|
2203
2203
|
details?: unknown;
|
|
2204
2204
|
correlationId?: string | undefined;
|
|
2205
2205
|
}, {
|
|
2206
|
-
message: string;
|
|
2207
2206
|
code: string;
|
|
2208
2207
|
path: string;
|
|
2208
|
+
message: string;
|
|
2209
2209
|
statusCode: number;
|
|
2210
2210
|
timestamp: string;
|
|
2211
2211
|
details?: unknown;
|
|
@@ -2220,17 +2220,17 @@ export declare const userAccessGrantsContract: {
|
|
|
2220
2220
|
path: z.ZodString;
|
|
2221
2221
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2222
2222
|
}, "strip", z.ZodTypeAny, {
|
|
2223
|
-
message: string;
|
|
2224
2223
|
code: string;
|
|
2225
2224
|
path: string;
|
|
2225
|
+
message: string;
|
|
2226
2226
|
statusCode: number;
|
|
2227
2227
|
timestamp: string;
|
|
2228
2228
|
details?: unknown;
|
|
2229
2229
|
correlationId?: string | undefined;
|
|
2230
2230
|
}, {
|
|
2231
|
-
message: string;
|
|
2232
2231
|
code: string;
|
|
2233
2232
|
path: string;
|
|
2233
|
+
message: string;
|
|
2234
2234
|
statusCode: number;
|
|
2235
2235
|
timestamp: string;
|
|
2236
2236
|
details?: unknown;
|
|
@@ -2245,13 +2245,13 @@ export declare const userAccessGrantsContract: {
|
|
|
2245
2245
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
2246
2246
|
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ACTIVE", "EXPIRED", "REVOKED", "ALL"]>>>;
|
|
2247
2247
|
}, "strip", z.ZodTypeAny, {
|
|
2248
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED" | "ALL";
|
|
2249
2248
|
page: number;
|
|
2250
2249
|
limit: number;
|
|
2250
|
+
status: "ACTIVE" | "EXPIRED" | "ALL" | "REVOKED";
|
|
2251
2251
|
}, {
|
|
2252
|
-
status?: "ACTIVE" | "EXPIRED" | "REVOKED" | "ALL" | undefined;
|
|
2253
2252
|
page?: number | undefined;
|
|
2254
2253
|
limit?: number | undefined;
|
|
2254
|
+
status?: "ACTIVE" | "EXPIRED" | "ALL" | "REVOKED" | undefined;
|
|
2255
2255
|
}>;
|
|
2256
2256
|
pathParams: z.ZodObject<{
|
|
2257
2257
|
granteeUserId: z.ZodString;
|
|
@@ -2452,8 +2452,6 @@ export declare const userAccessGrantsContract: {
|
|
|
2452
2452
|
}>>;
|
|
2453
2453
|
revocationReason: z.ZodNullable<z.ZodString>;
|
|
2454
2454
|
}, "strip", z.ZodTypeAny, {
|
|
2455
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
2456
|
-
id: string;
|
|
2457
2455
|
createdAt: string;
|
|
2458
2456
|
createdBy: {
|
|
2459
2457
|
id: string;
|
|
@@ -2467,10 +2465,12 @@ export declare const userAccessGrantsContract: {
|
|
|
2467
2465
|
}[];
|
|
2468
2466
|
deletedAt?: string | null | undefined;
|
|
2469
2467
|
};
|
|
2468
|
+
id: string;
|
|
2469
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
2470
2470
|
reason: string | null;
|
|
2471
2471
|
expiresAt: string | null;
|
|
2472
2472
|
action: "READ";
|
|
2473
|
-
resource: "ACTIVE" | "
|
|
2473
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
2474
2474
|
grantee: {
|
|
2475
2475
|
id: string;
|
|
2476
2476
|
lastName: string;
|
|
@@ -2510,8 +2510,6 @@ export declare const userAccessGrantsContract: {
|
|
|
2510
2510
|
} | null;
|
|
2511
2511
|
revocationReason: string | null;
|
|
2512
2512
|
}, {
|
|
2513
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
2514
|
-
id: string;
|
|
2515
2513
|
createdAt: string | Date;
|
|
2516
2514
|
createdBy: {
|
|
2517
2515
|
id: string;
|
|
@@ -2525,10 +2523,12 @@ export declare const userAccessGrantsContract: {
|
|
|
2525
2523
|
}[] | undefined;
|
|
2526
2524
|
deletedAt?: string | Date | null | undefined;
|
|
2527
2525
|
};
|
|
2526
|
+
id: string;
|
|
2527
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
2528
2528
|
reason: string | null;
|
|
2529
2529
|
expiresAt: string | Date | null;
|
|
2530
2530
|
action: "READ";
|
|
2531
|
-
resource: "ACTIVE" | "
|
|
2531
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
2532
2532
|
grantee: {
|
|
2533
2533
|
id: string;
|
|
2534
2534
|
lastName: string;
|
|
@@ -2576,8 +2576,6 @@ export declare const userAccessGrantsContract: {
|
|
|
2576
2576
|
}, "strip", z.ZodTypeAny, {
|
|
2577
2577
|
limit: number;
|
|
2578
2578
|
items: {
|
|
2579
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
2580
|
-
id: string;
|
|
2581
2579
|
createdAt: string;
|
|
2582
2580
|
createdBy: {
|
|
2583
2581
|
id: string;
|
|
@@ -2591,10 +2589,12 @@ export declare const userAccessGrantsContract: {
|
|
|
2591
2589
|
}[];
|
|
2592
2590
|
deletedAt?: string | null | undefined;
|
|
2593
2591
|
};
|
|
2592
|
+
id: string;
|
|
2593
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
2594
2594
|
reason: string | null;
|
|
2595
2595
|
expiresAt: string | null;
|
|
2596
2596
|
action: "READ";
|
|
2597
|
-
resource: "ACTIVE" | "
|
|
2597
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
2598
2598
|
grantee: {
|
|
2599
2599
|
id: string;
|
|
2600
2600
|
lastName: string;
|
|
@@ -2641,8 +2641,6 @@ export declare const userAccessGrantsContract: {
|
|
|
2641
2641
|
}, {
|
|
2642
2642
|
limit: number;
|
|
2643
2643
|
items: {
|
|
2644
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
2645
|
-
id: string;
|
|
2646
2644
|
createdAt: string | Date;
|
|
2647
2645
|
createdBy: {
|
|
2648
2646
|
id: string;
|
|
@@ -2656,10 +2654,12 @@ export declare const userAccessGrantsContract: {
|
|
|
2656
2654
|
}[] | undefined;
|
|
2657
2655
|
deletedAt?: string | Date | null | undefined;
|
|
2658
2656
|
};
|
|
2657
|
+
id: string;
|
|
2658
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
2659
2659
|
reason: string | null;
|
|
2660
2660
|
expiresAt: string | Date | null;
|
|
2661
2661
|
action: "READ";
|
|
2662
|
-
resource: "ACTIVE" | "
|
|
2662
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
2663
2663
|
grantee: {
|
|
2664
2664
|
id: string;
|
|
2665
2665
|
lastName: string;
|
|
@@ -2713,17 +2713,17 @@ export declare const userAccessGrantsContract: {
|
|
|
2713
2713
|
path: z.ZodString;
|
|
2714
2714
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2715
2715
|
}, "strip", z.ZodTypeAny, {
|
|
2716
|
-
message: string;
|
|
2717
2716
|
code: string;
|
|
2718
2717
|
path: string;
|
|
2718
|
+
message: string;
|
|
2719
2719
|
statusCode: number;
|
|
2720
2720
|
timestamp: string;
|
|
2721
2721
|
details?: unknown;
|
|
2722
2722
|
correlationId?: string | undefined;
|
|
2723
2723
|
}, {
|
|
2724
|
-
message: string;
|
|
2725
2724
|
code: string;
|
|
2726
2725
|
path: string;
|
|
2726
|
+
message: string;
|
|
2727
2727
|
statusCode: number;
|
|
2728
2728
|
timestamp: string;
|
|
2729
2729
|
details?: unknown;
|
|
@@ -2738,17 +2738,17 @@ export declare const userAccessGrantsContract: {
|
|
|
2738
2738
|
path: z.ZodString;
|
|
2739
2739
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2740
2740
|
}, "strip", z.ZodTypeAny, {
|
|
2741
|
-
message: string;
|
|
2742
2741
|
code: string;
|
|
2743
2742
|
path: string;
|
|
2743
|
+
message: string;
|
|
2744
2744
|
statusCode: number;
|
|
2745
2745
|
timestamp: string;
|
|
2746
2746
|
details?: unknown;
|
|
2747
2747
|
correlationId?: string | undefined;
|
|
2748
2748
|
}, {
|
|
2749
|
-
message: string;
|
|
2750
2749
|
code: string;
|
|
2751
2750
|
path: string;
|
|
2751
|
+
message: string;
|
|
2752
2752
|
statusCode: number;
|
|
2753
2753
|
timestamp: string;
|
|
2754
2754
|
details?: unknown;
|
|
@@ -2763,17 +2763,17 @@ export declare const userAccessGrantsContract: {
|
|
|
2763
2763
|
path: z.ZodString;
|
|
2764
2764
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2765
2765
|
}, "strip", z.ZodTypeAny, {
|
|
2766
|
-
message: string;
|
|
2767
2766
|
code: string;
|
|
2768
2767
|
path: string;
|
|
2768
|
+
message: string;
|
|
2769
2769
|
statusCode: number;
|
|
2770
2770
|
timestamp: string;
|
|
2771
2771
|
details?: unknown;
|
|
2772
2772
|
correlationId?: string | undefined;
|
|
2773
2773
|
}, {
|
|
2774
|
-
message: string;
|
|
2775
2774
|
code: string;
|
|
2776
2775
|
path: string;
|
|
2776
|
+
message: string;
|
|
2777
2777
|
statusCode: number;
|
|
2778
2778
|
timestamp: string;
|
|
2779
2779
|
details?: unknown;
|
|
@@ -2800,12 +2800,12 @@ export declare const userAccessGrantsContract: {
|
|
|
2800
2800
|
reason: string | null;
|
|
2801
2801
|
expiresAt: string | null;
|
|
2802
2802
|
targetUserIds: string[];
|
|
2803
|
-
resources: ("ACTIVE" | "
|
|
2803
|
+
resources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
2804
2804
|
}, {
|
|
2805
2805
|
reason: string | null;
|
|
2806
2806
|
expiresAt: string | null;
|
|
2807
2807
|
targetUserIds: string[];
|
|
2808
|
-
resources: ("ACTIVE" | "
|
|
2808
|
+
resources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
2809
2809
|
}>;
|
|
2810
2810
|
path: "/v2/users/:granteeUserId/access-grants";
|
|
2811
2811
|
responses: {
|
|
@@ -2997,8 +2997,6 @@ export declare const userAccessGrantsContract: {
|
|
|
2997
2997
|
}>>;
|
|
2998
2998
|
revocationReason: z.ZodNullable<z.ZodString>;
|
|
2999
2999
|
}, "strip", z.ZodTypeAny, {
|
|
3000
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3001
|
-
id: string;
|
|
3002
3000
|
createdAt: string;
|
|
3003
3001
|
createdBy: {
|
|
3004
3002
|
id: string;
|
|
@@ -3012,10 +3010,12 @@ export declare const userAccessGrantsContract: {
|
|
|
3012
3010
|
}[];
|
|
3013
3011
|
deletedAt?: string | null | undefined;
|
|
3014
3012
|
};
|
|
3013
|
+
id: string;
|
|
3014
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3015
3015
|
reason: string | null;
|
|
3016
3016
|
expiresAt: string | null;
|
|
3017
3017
|
action: "READ";
|
|
3018
|
-
resource: "ACTIVE" | "
|
|
3018
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
3019
3019
|
grantee: {
|
|
3020
3020
|
id: string;
|
|
3021
3021
|
lastName: string;
|
|
@@ -3055,8 +3055,6 @@ export declare const userAccessGrantsContract: {
|
|
|
3055
3055
|
} | null;
|
|
3056
3056
|
revocationReason: string | null;
|
|
3057
3057
|
}, {
|
|
3058
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3059
|
-
id: string;
|
|
3060
3058
|
createdAt: string | Date;
|
|
3061
3059
|
createdBy: {
|
|
3062
3060
|
id: string;
|
|
@@ -3070,10 +3068,12 @@ export declare const userAccessGrantsContract: {
|
|
|
3070
3068
|
}[] | undefined;
|
|
3071
3069
|
deletedAt?: string | Date | null | undefined;
|
|
3072
3070
|
};
|
|
3071
|
+
id: string;
|
|
3072
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3073
3073
|
reason: string | null;
|
|
3074
3074
|
expiresAt: string | Date | null;
|
|
3075
3075
|
action: "READ";
|
|
3076
|
-
resource: "ACTIVE" | "
|
|
3076
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
3077
3077
|
grantee: {
|
|
3078
3078
|
id: string;
|
|
3079
3079
|
lastName: string;
|
|
@@ -3300,8 +3300,6 @@ export declare const userAccessGrantsContract: {
|
|
|
3300
3300
|
}>>;
|
|
3301
3301
|
revocationReason: z.ZodNullable<z.ZodString>;
|
|
3302
3302
|
}, "strip", z.ZodTypeAny, {
|
|
3303
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3304
|
-
id: string;
|
|
3305
3303
|
createdAt: string;
|
|
3306
3304
|
createdBy: {
|
|
3307
3305
|
id: string;
|
|
@@ -3315,10 +3313,12 @@ export declare const userAccessGrantsContract: {
|
|
|
3315
3313
|
}[];
|
|
3316
3314
|
deletedAt?: string | null | undefined;
|
|
3317
3315
|
};
|
|
3316
|
+
id: string;
|
|
3317
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3318
3318
|
reason: string | null;
|
|
3319
3319
|
expiresAt: string | null;
|
|
3320
3320
|
action: "READ";
|
|
3321
|
-
resource: "ACTIVE" | "
|
|
3321
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
3322
3322
|
grantee: {
|
|
3323
3323
|
id: string;
|
|
3324
3324
|
lastName: string;
|
|
@@ -3358,8 +3358,6 @@ export declare const userAccessGrantsContract: {
|
|
|
3358
3358
|
} | null;
|
|
3359
3359
|
revocationReason: string | null;
|
|
3360
3360
|
}, {
|
|
3361
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3362
|
-
id: string;
|
|
3363
3361
|
createdAt: string | Date;
|
|
3364
3362
|
createdBy: {
|
|
3365
3363
|
id: string;
|
|
@@ -3373,10 +3371,12 @@ export declare const userAccessGrantsContract: {
|
|
|
3373
3371
|
}[] | undefined;
|
|
3374
3372
|
deletedAt?: string | Date | null | undefined;
|
|
3375
3373
|
};
|
|
3374
|
+
id: string;
|
|
3375
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3376
3376
|
reason: string | null;
|
|
3377
3377
|
expiresAt: string | Date | null;
|
|
3378
3378
|
action: "READ";
|
|
3379
|
-
resource: "ACTIVE" | "
|
|
3379
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
3380
3380
|
grantee: {
|
|
3381
3381
|
id: string;
|
|
3382
3382
|
lastName: string;
|
|
@@ -3418,8 +3418,6 @@ export declare const userAccessGrantsContract: {
|
|
|
3418
3418
|
}>, "many">;
|
|
3419
3419
|
}, "strip", z.ZodTypeAny, {
|
|
3420
3420
|
created: {
|
|
3421
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3422
|
-
id: string;
|
|
3423
3421
|
createdAt: string;
|
|
3424
3422
|
createdBy: {
|
|
3425
3423
|
id: string;
|
|
@@ -3433,10 +3431,12 @@ export declare const userAccessGrantsContract: {
|
|
|
3433
3431
|
}[];
|
|
3434
3432
|
deletedAt?: string | null | undefined;
|
|
3435
3433
|
};
|
|
3434
|
+
id: string;
|
|
3435
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3436
3436
|
reason: string | null;
|
|
3437
3437
|
expiresAt: string | null;
|
|
3438
3438
|
action: "READ";
|
|
3439
|
-
resource: "ACTIVE" | "
|
|
3439
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
3440
3440
|
grantee: {
|
|
3441
3441
|
id: string;
|
|
3442
3442
|
lastName: string;
|
|
@@ -3477,8 +3477,6 @@ export declare const userAccessGrantsContract: {
|
|
|
3477
3477
|
revocationReason: string | null;
|
|
3478
3478
|
}[];
|
|
3479
3479
|
alreadyActive: {
|
|
3480
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3481
|
-
id: string;
|
|
3482
3480
|
createdAt: string;
|
|
3483
3481
|
createdBy: {
|
|
3484
3482
|
id: string;
|
|
@@ -3492,10 +3490,12 @@ export declare const userAccessGrantsContract: {
|
|
|
3492
3490
|
}[];
|
|
3493
3491
|
deletedAt?: string | null | undefined;
|
|
3494
3492
|
};
|
|
3493
|
+
id: string;
|
|
3494
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3495
3495
|
reason: string | null;
|
|
3496
3496
|
expiresAt: string | null;
|
|
3497
3497
|
action: "READ";
|
|
3498
|
-
resource: "ACTIVE" | "
|
|
3498
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
3499
3499
|
grantee: {
|
|
3500
3500
|
id: string;
|
|
3501
3501
|
lastName: string;
|
|
@@ -3537,8 +3537,6 @@ export declare const userAccessGrantsContract: {
|
|
|
3537
3537
|
}[];
|
|
3538
3538
|
}, {
|
|
3539
3539
|
created: {
|
|
3540
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3541
|
-
id: string;
|
|
3542
3540
|
createdAt: string | Date;
|
|
3543
3541
|
createdBy: {
|
|
3544
3542
|
id: string;
|
|
@@ -3552,10 +3550,12 @@ export declare const userAccessGrantsContract: {
|
|
|
3552
3550
|
}[] | undefined;
|
|
3553
3551
|
deletedAt?: string | Date | null | undefined;
|
|
3554
3552
|
};
|
|
3553
|
+
id: string;
|
|
3554
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3555
3555
|
reason: string | null;
|
|
3556
3556
|
expiresAt: string | Date | null;
|
|
3557
3557
|
action: "READ";
|
|
3558
|
-
resource: "ACTIVE" | "
|
|
3558
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
3559
3559
|
grantee: {
|
|
3560
3560
|
id: string;
|
|
3561
3561
|
lastName: string;
|
|
@@ -3596,8 +3596,6 @@ export declare const userAccessGrantsContract: {
|
|
|
3596
3596
|
revocationReason: string | null;
|
|
3597
3597
|
}[];
|
|
3598
3598
|
alreadyActive: {
|
|
3599
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3600
|
-
id: string;
|
|
3601
3599
|
createdAt: string | Date;
|
|
3602
3600
|
createdBy: {
|
|
3603
3601
|
id: string;
|
|
@@ -3611,10 +3609,12 @@ export declare const userAccessGrantsContract: {
|
|
|
3611
3609
|
}[] | undefined;
|
|
3612
3610
|
deletedAt?: string | Date | null | undefined;
|
|
3613
3611
|
};
|
|
3612
|
+
id: string;
|
|
3613
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED";
|
|
3614
3614
|
reason: string | null;
|
|
3615
3615
|
expiresAt: string | Date | null;
|
|
3616
3616
|
action: "READ";
|
|
3617
|
-
resource: "ACTIVE" | "
|
|
3617
|
+
resource: "ACTIVE" | "BOOKING" | "WORKER";
|
|
3618
3618
|
grantee: {
|
|
3619
3619
|
id: string;
|
|
3620
3620
|
lastName: string;
|
|
@@ -3664,17 +3664,17 @@ export declare const userAccessGrantsContract: {
|
|
|
3664
3664
|
path: z.ZodString;
|
|
3665
3665
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3666
3666
|
}, "strip", z.ZodTypeAny, {
|
|
3667
|
-
message: string;
|
|
3668
3667
|
code: string;
|
|
3669
3668
|
path: string;
|
|
3669
|
+
message: string;
|
|
3670
3670
|
statusCode: number;
|
|
3671
3671
|
timestamp: string;
|
|
3672
3672
|
details?: unknown;
|
|
3673
3673
|
correlationId?: string | undefined;
|
|
3674
3674
|
}, {
|
|
3675
|
-
message: string;
|
|
3676
3675
|
code: string;
|
|
3677
3676
|
path: string;
|
|
3677
|
+
message: string;
|
|
3678
3678
|
statusCode: number;
|
|
3679
3679
|
timestamp: string;
|
|
3680
3680
|
details?: unknown;
|
|
@@ -3689,17 +3689,17 @@ export declare const userAccessGrantsContract: {
|
|
|
3689
3689
|
path: z.ZodString;
|
|
3690
3690
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3691
3691
|
}, "strip", z.ZodTypeAny, {
|
|
3692
|
-
message: string;
|
|
3693
3692
|
code: string;
|
|
3694
3693
|
path: string;
|
|
3694
|
+
message: string;
|
|
3695
3695
|
statusCode: number;
|
|
3696
3696
|
timestamp: string;
|
|
3697
3697
|
details?: unknown;
|
|
3698
3698
|
correlationId?: string | undefined;
|
|
3699
3699
|
}, {
|
|
3700
|
-
message: string;
|
|
3701
3700
|
code: string;
|
|
3702
3701
|
path: string;
|
|
3702
|
+
message: string;
|
|
3703
3703
|
statusCode: number;
|
|
3704
3704
|
timestamp: string;
|
|
3705
3705
|
details?: unknown;
|
|
@@ -3714,17 +3714,17 @@ export declare const userAccessGrantsContract: {
|
|
|
3714
3714
|
path: z.ZodString;
|
|
3715
3715
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3716
3716
|
}, "strip", z.ZodTypeAny, {
|
|
3717
|
-
message: string;
|
|
3718
3717
|
code: string;
|
|
3719
3718
|
path: string;
|
|
3719
|
+
message: string;
|
|
3720
3720
|
statusCode: number;
|
|
3721
3721
|
timestamp: string;
|
|
3722
3722
|
details?: unknown;
|
|
3723
3723
|
correlationId?: string | undefined;
|
|
3724
3724
|
}, {
|
|
3725
|
-
message: string;
|
|
3726
3725
|
code: string;
|
|
3727
3726
|
path: string;
|
|
3727
|
+
message: string;
|
|
3728
3728
|
statusCode: number;
|
|
3729
3729
|
timestamp: string;
|
|
3730
3730
|
details?: unknown;
|
|
@@ -3739,17 +3739,17 @@ export declare const userAccessGrantsContract: {
|
|
|
3739
3739
|
path: z.ZodString;
|
|
3740
3740
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3741
3741
|
}, "strip", z.ZodTypeAny, {
|
|
3742
|
-
message: string;
|
|
3743
3742
|
code: string;
|
|
3744
3743
|
path: string;
|
|
3744
|
+
message: string;
|
|
3745
3745
|
statusCode: number;
|
|
3746
3746
|
timestamp: string;
|
|
3747
3747
|
details?: unknown;
|
|
3748
3748
|
correlationId?: string | undefined;
|
|
3749
3749
|
}, {
|
|
3750
|
-
message: string;
|
|
3751
3750
|
code: string;
|
|
3752
3751
|
path: string;
|
|
3752
|
+
message: string;
|
|
3753
3753
|
statusCode: number;
|
|
3754
3754
|
timestamp: string;
|
|
3755
3755
|
details?: unknown;
|
|
@@ -3764,17 +3764,17 @@ export declare const userAccessGrantsContract: {
|
|
|
3764
3764
|
path: z.ZodString;
|
|
3765
3765
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3766
3766
|
}, "strip", z.ZodTypeAny, {
|
|
3767
|
-
message: string;
|
|
3768
3767
|
code: string;
|
|
3769
3768
|
path: string;
|
|
3769
|
+
message: string;
|
|
3770
3770
|
statusCode: number;
|
|
3771
3771
|
timestamp: string;
|
|
3772
3772
|
details?: unknown;
|
|
3773
3773
|
correlationId?: string | undefined;
|
|
3774
3774
|
}, {
|
|
3775
|
-
message: string;
|
|
3776
3775
|
code: string;
|
|
3777
3776
|
path: string;
|
|
3777
|
+
message: string;
|
|
3778
3778
|
statusCode: number;
|
|
3779
3779
|
timestamp: string;
|
|
3780
3780
|
details?: unknown;
|
|
@@ -3814,17 +3814,17 @@ export declare const userAccessGrantsContract: {
|
|
|
3814
3814
|
path: z.ZodString;
|
|
3815
3815
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3816
3816
|
}, "strip", z.ZodTypeAny, {
|
|
3817
|
-
message: string;
|
|
3818
3817
|
code: string;
|
|
3819
3818
|
path: string;
|
|
3819
|
+
message: string;
|
|
3820
3820
|
statusCode: number;
|
|
3821
3821
|
timestamp: string;
|
|
3822
3822
|
details?: unknown;
|
|
3823
3823
|
correlationId?: string | undefined;
|
|
3824
3824
|
}, {
|
|
3825
|
-
message: string;
|
|
3826
3825
|
code: string;
|
|
3827
3826
|
path: string;
|
|
3827
|
+
message: string;
|
|
3828
3828
|
statusCode: number;
|
|
3829
3829
|
timestamp: string;
|
|
3830
3830
|
details?: unknown;
|
|
@@ -3839,17 +3839,17 @@ export declare const userAccessGrantsContract: {
|
|
|
3839
3839
|
path: z.ZodString;
|
|
3840
3840
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3841
3841
|
}, "strip", z.ZodTypeAny, {
|
|
3842
|
-
message: string;
|
|
3843
3842
|
code: string;
|
|
3844
3843
|
path: string;
|
|
3844
|
+
message: string;
|
|
3845
3845
|
statusCode: number;
|
|
3846
3846
|
timestamp: string;
|
|
3847
3847
|
details?: unknown;
|
|
3848
3848
|
correlationId?: string | undefined;
|
|
3849
3849
|
}, {
|
|
3850
|
-
message: string;
|
|
3851
3850
|
code: string;
|
|
3852
3851
|
path: string;
|
|
3852
|
+
message: string;
|
|
3853
3853
|
statusCode: number;
|
|
3854
3854
|
timestamp: string;
|
|
3855
3855
|
details?: unknown;
|
|
@@ -3864,17 +3864,17 @@ export declare const userAccessGrantsContract: {
|
|
|
3864
3864
|
path: z.ZodString;
|
|
3865
3865
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3866
3866
|
}, "strip", z.ZodTypeAny, {
|
|
3867
|
-
message: string;
|
|
3868
3867
|
code: string;
|
|
3869
3868
|
path: string;
|
|
3869
|
+
message: string;
|
|
3870
3870
|
statusCode: number;
|
|
3871
3871
|
timestamp: string;
|
|
3872
3872
|
details?: unknown;
|
|
3873
3873
|
correlationId?: string | undefined;
|
|
3874
3874
|
}, {
|
|
3875
|
-
message: string;
|
|
3876
3875
|
code: string;
|
|
3877
3876
|
path: string;
|
|
3877
|
+
message: string;
|
|
3878
3878
|
statusCode: number;
|
|
3879
3879
|
timestamp: string;
|
|
3880
3880
|
details?: unknown;
|