@dakkitor/api-contracts 1.7.1 → 1.9.1
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 +1 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +1 -0
- package/dist/abilities/abilities.contract.spec.js +50 -19
- package/dist/abilities/interconnection.abilities.json +6 -0
- package/dist/abilities/outreach.abilities.json +0 -7
- package/dist/abilities/second-agent.abilities.json +18 -91
- package/dist/abilities/team-leads.json +1 -0
- package/dist/abilities/worker-curator.abilities.json +2 -0
- package/dist/actives/actives.contract.d.ts +7083 -6905
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1645 -1543
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +73 -67
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.js +1 -0
- package/dist/bookings/backdate-guard.spec.d.ts +2 -0
- package/dist/bookings/backdate-guard.spec.d.ts.map +1 -0
- package/dist/bookings/backdate-guard.spec.js +80 -0
- package/dist/bookings/bookings.contract.d.ts +11169 -10843
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +26 -2
- package/dist/call-history/call-history.contract.d.ts +913 -876
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +126 -119
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +13397 -0
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.js +206 -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 +193 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +290 -290
- package/dist/clients/clients.contract.d.ts +110 -110
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3052 -2948
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2640 -2543
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/common-schemas.d.ts +13 -13
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -0
- package/dist/common/nino.d.ts +8 -0
- package/dist/common/nino.d.ts.map +1 -0
- package/dist/common/nino.js +26 -0
- package/dist/common/nino.spec.d.ts +2 -0
- package/dist/common/nino.spec.d.ts.map +1 -0
- package/dist/common/nino.spec.js +32 -0
- package/dist/companies/companies.contract.d.ts +30 -30
- package/dist/crews/crews.contract.d.ts +300 -300
- package/dist/cron-executions/cron-executions.contract.d.ts +26 -13
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +2 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts +2 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts.map +1 -0
- package/dist/cron-executions/cron-executions.contract.spec.js +27 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts +2 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.js +59 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +3483 -2798
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +59 -10
- package/dist/curated-worker-leads/candidate-coordination.contract.spec.js +11 -0
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +429 -386
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/contact-history.spec.js +56 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +2 -85
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.js +17 -41
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.js +30 -0
- package/dist/curated-worker-leads/job-feed-match-counts.contract.spec.js +30 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5821 -5144
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +64 -12
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +96 -96
- package/dist/curated-workers/curated-workers.contract.d.ts +1518 -1307
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +37 -6
- package/dist/dashboards/dashboard-widgets.contract.d.ts +425 -455
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +1 -11
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.js +22 -0
- package/dist/dashboards/dashboard.contract.d.ts +16 -16
- package/dist/document-intake/document-intake.automation.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.automation.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.automation.spec.js +469 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.card-side.spec.js +51 -0
- package/dist/document-intake/document-intake.contract.d.ts +9421 -1071
- package/dist/document-intake/document-intake.contract.d.ts.map +1 -1
- package/dist/document-intake/document-intake.contract.js +219 -5
- package/dist/document-intake/document-intake.contract.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.contract.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.contract.spec.js +37 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.nino.spec.js +42 -0
- package/dist/export-jobs/export-jobs.contract.d.ts +670 -670
- package/dist/exports-events/exports-events.schemas.d.ts +4 -4
- package/dist/files/files.contract.d.ts +36 -36
- package/dist/index.d.ts +21 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -9
- package/dist/job-clusters/job-clusters.contract.d.ts +52 -52
- package/dist/jobs/jobs.contract.d.ts +8714 -8456
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +102 -102
- package/dist/lead-assignments/lead-assignments.contract.d.ts +1290 -1219
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +330 -306
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +10 -10
- package/dist/leads/leads.contract.d.ts +245 -245
- package/dist/locations/locations.contract.d.ts +46 -46
- package/dist/notifications/notifications.contract.d.ts +85 -85
- package/dist/offices/offices.contract.d.ts +24 -24
- package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +27 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
- package/dist/outreach/lab-outreach.contract.d.ts +48 -48
- package/dist/outreach/outreach-requests.contract.d.ts +272 -272
- package/dist/outreach/outreach-requests.schemas.d.ts +14 -14
- 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/outreach.schemas.d.ts +2 -2
- package/dist/outreach/relay-hub-outreach.contract.d.ts +1334 -0
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.js +113 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +145 -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 +1152 -1067
- 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 +196 -196
- package/dist/proofs/proofs.dtos.d.ts +104 -104
- package/dist/qualifications/qualifications.contract.d.ts +22 -22
- package/dist/realtime/realtime-telemetry.contract.d.ts +181 -0
- package/dist/realtime/realtime-telemetry.contract.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.js +81 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts +2 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.spec.js +41 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts +9 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.js +17 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts +2 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.js +20 -0
- package/dist/relay-pods/relay-hub.contract.d.ts +1463 -0
- package/dist/relay-pods/relay-hub.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.js +140 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.spec.js +180 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts +577 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.schemas.js +158 -0
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts +81 -81
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +53 -53
- package/dist/{curated-worker-leads/lead-agent-area.contract.d.ts → relay-pods/relay-pod-members.contract.d.ts} +233 -126
- package/dist/relay-pods/relay-pod-members.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-members.contract.js +73 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +58 -58
- package/dist/relay-pods/relay-pods.contract.d.ts +169 -169
- package/dist/relay-pods/relay-pods.schemas.d.ts +46 -46
- package/dist/shared/summary-schemas.d.ts +10 -10
- package/dist/sheets-sync/__tests__/sheets-sync-events.schemas.test.js +22 -2
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts +30 -0
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync-events.schemas.js +16 -1
- package/dist/sheets-sync/sheets-sync.contract.d.ts +829 -262
- package/dist/sheets-sync/sheets-sync.contract.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync.contract.js +156 -34
- package/dist/telegram/telegram.contract.d.ts +12 -12
- package/dist/trades/trades.contract.d.ts +16 -16
- package/dist/user-access-grants/user-access-grants.contract.d.ts +383 -383
- package/dist/users/__tests__/assignable-roles.spec.js +1 -1
- package/dist/users/users.contract.d.ts +462 -431
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +19 -8
- package/dist/users/users.contract.spec.js +54 -0
- package/dist/voice-screener/voice-screener.contract.d.ts +237 -0
- package/dist/voice-screener/voice-screener.contract.d.ts.map +1 -0
- package/dist/voice-screener/voice-screener.contract.js +89 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +500 -260
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-identity-cases/worker-identity-cases.contract.js +17 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +130 -130
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +151 -151
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +15 -15
- package/dist/workers/do-not-contact.contract.d.ts +4 -4
- package/dist/workers/qualification-back-proof.spec.d.ts +2 -0
- package/dist/workers/qualification-back-proof.spec.d.ts.map +1 -0
- package/dist/workers/qualification-back-proof.spec.js +39 -0
- package/dist/workers/workers.contract.d.ts +3416 -3178
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +17 -0
- package/package.json +1 -1
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +0 -4527
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/consent-queue.contract.js +0 -201
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +0 -135
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/curated-worker-leads.contract.js +0 -32
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/lead-agent-area.contract.js +0 -51
|
@@ -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;
|
|
@@ -76,8 +76,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
76
76
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
id: string;
|
|
79
|
-
firstName: string;
|
|
80
79
|
lastName: string;
|
|
80
|
+
firstName: string;
|
|
81
81
|
phoneNumbers: {
|
|
82
82
|
id: string;
|
|
83
83
|
phoneNumber: string;
|
|
@@ -87,8 +87,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
87
87
|
deletedAt?: string | null | undefined;
|
|
88
88
|
}, {
|
|
89
89
|
id: string;
|
|
90
|
-
firstName: string;
|
|
91
90
|
lastName: string;
|
|
91
|
+
firstName: string;
|
|
92
92
|
phoneNumbers?: {
|
|
93
93
|
id: string;
|
|
94
94
|
phoneNumber: string;
|
|
@@ -120,8 +120,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
120
120
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
122
|
id: string;
|
|
123
|
-
firstName: string;
|
|
124
123
|
lastName: string;
|
|
124
|
+
firstName: string;
|
|
125
125
|
phoneNumbers: {
|
|
126
126
|
id: string;
|
|
127
127
|
phoneNumber: string;
|
|
@@ -131,8 +131,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
131
131
|
deletedAt?: string | null | undefined;
|
|
132
132
|
}, {
|
|
133
133
|
id: string;
|
|
134
|
-
firstName: string;
|
|
135
134
|
lastName: string;
|
|
135
|
+
firstName: string;
|
|
136
136
|
phoneNumbers?: {
|
|
137
137
|
id: string;
|
|
138
138
|
phoneNumber: string;
|
|
@@ -164,8 +164,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
164
164
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
id: string;
|
|
167
|
-
firstName: string;
|
|
168
167
|
lastName: string;
|
|
168
|
+
firstName: string;
|
|
169
169
|
phoneNumbers: {
|
|
170
170
|
id: string;
|
|
171
171
|
phoneNumber: string;
|
|
@@ -175,8 +175,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
175
175
|
deletedAt?: string | null | undefined;
|
|
176
176
|
}, {
|
|
177
177
|
id: string;
|
|
178
|
-
firstName: string;
|
|
179
178
|
lastName: string;
|
|
179
|
+
firstName: string;
|
|
180
180
|
phoneNumbers?: {
|
|
181
181
|
id: string;
|
|
182
182
|
phoneNumber: string;
|
|
@@ -215,8 +215,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
215
215
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
216
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
217
|
id: string;
|
|
218
|
-
firstName: string;
|
|
219
218
|
lastName: string;
|
|
219
|
+
firstName: string;
|
|
220
220
|
phoneNumbers: {
|
|
221
221
|
id: string;
|
|
222
222
|
phoneNumber: string;
|
|
@@ -226,8 +226,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
226
226
|
deletedAt?: string | null | undefined;
|
|
227
227
|
}, {
|
|
228
228
|
id: string;
|
|
229
|
-
firstName: string;
|
|
230
229
|
lastName: string;
|
|
230
|
+
firstName: string;
|
|
231
231
|
phoneNumbers?: {
|
|
232
232
|
id: string;
|
|
233
233
|
phoneNumber: string;
|
|
@@ -238,13 +238,11 @@ 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;
|
|
246
|
-
firstName: string;
|
|
247
244
|
lastName: string;
|
|
245
|
+
firstName: string;
|
|
248
246
|
phoneNumbers: {
|
|
249
247
|
id: string;
|
|
250
248
|
phoneNumber: string;
|
|
@@ -253,14 +251,16 @@ 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
|
-
firstName: string;
|
|
263
262
|
lastName: string;
|
|
263
|
+
firstName: string;
|
|
264
264
|
phoneNumbers: {
|
|
265
265
|
id: string;
|
|
266
266
|
phoneNumber: string;
|
|
@@ -271,8 +271,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
271
271
|
};
|
|
272
272
|
target: {
|
|
273
273
|
id: string;
|
|
274
|
-
firstName: string;
|
|
275
274
|
lastName: string;
|
|
275
|
+
firstName: string;
|
|
276
276
|
phoneNumbers: {
|
|
277
277
|
id: string;
|
|
278
278
|
phoneNumber: string;
|
|
@@ -284,8 +284,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
284
284
|
revokedAt: string | null;
|
|
285
285
|
revokedBy: {
|
|
286
286
|
id: string;
|
|
287
|
-
firstName: string;
|
|
288
287
|
lastName: string;
|
|
288
|
+
firstName: string;
|
|
289
289
|
phoneNumbers: {
|
|
290
290
|
id: string;
|
|
291
291
|
phoneNumber: string;
|
|
@@ -296,13 +296,11 @@ 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;
|
|
304
|
-
firstName: string;
|
|
305
302
|
lastName: string;
|
|
303
|
+
firstName: string;
|
|
306
304
|
phoneNumbers?: {
|
|
307
305
|
id: string;
|
|
308
306
|
phoneNumber: string;
|
|
@@ -311,14 +309,16 @@ 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
|
-
firstName: string;
|
|
321
320
|
lastName: string;
|
|
321
|
+
firstName: string;
|
|
322
322
|
phoneNumbers?: {
|
|
323
323
|
id: string;
|
|
324
324
|
phoneNumber: string;
|
|
@@ -329,8 +329,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
329
329
|
};
|
|
330
330
|
target: {
|
|
331
331
|
id: string;
|
|
332
|
-
firstName: string;
|
|
333
332
|
lastName: string;
|
|
333
|
+
firstName: string;
|
|
334
334
|
phoneNumbers?: {
|
|
335
335
|
id: string;
|
|
336
336
|
phoneNumber: string;
|
|
@@ -342,8 +342,8 @@ export declare const UserAccessGrantSchema: z.ZodObject<{
|
|
|
342
342
|
revokedAt: string | Date | null;
|
|
343
343
|
revokedBy: {
|
|
344
344
|
id: string;
|
|
345
|
-
firstName: string;
|
|
346
345
|
lastName: string;
|
|
346
|
+
firstName: string;
|
|
347
347
|
phoneNumbers?: {
|
|
348
348
|
id: string;
|
|
349
349
|
phoneNumber: 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<{
|
|
@@ -398,8 +398,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
398
398
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
399
399
|
}, "strip", z.ZodTypeAny, {
|
|
400
400
|
id: string;
|
|
401
|
-
firstName: string;
|
|
402
401
|
lastName: string;
|
|
402
|
+
firstName: string;
|
|
403
403
|
phoneNumbers: {
|
|
404
404
|
id: string;
|
|
405
405
|
phoneNumber: string;
|
|
@@ -409,8 +409,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
409
409
|
deletedAt?: string | null | undefined;
|
|
410
410
|
}, {
|
|
411
411
|
id: string;
|
|
412
|
-
firstName: string;
|
|
413
412
|
lastName: string;
|
|
413
|
+
firstName: string;
|
|
414
414
|
phoneNumbers?: {
|
|
415
415
|
id: string;
|
|
416
416
|
phoneNumber: string;
|
|
@@ -442,8 +442,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
442
442
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
|
444
444
|
id: string;
|
|
445
|
-
firstName: string;
|
|
446
445
|
lastName: string;
|
|
446
|
+
firstName: string;
|
|
447
447
|
phoneNumbers: {
|
|
448
448
|
id: string;
|
|
449
449
|
phoneNumber: string;
|
|
@@ -453,8 +453,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
453
453
|
deletedAt?: string | null | undefined;
|
|
454
454
|
}, {
|
|
455
455
|
id: string;
|
|
456
|
-
firstName: string;
|
|
457
456
|
lastName: string;
|
|
457
|
+
firstName: string;
|
|
458
458
|
phoneNumbers?: {
|
|
459
459
|
id: string;
|
|
460
460
|
phoneNumber: string;
|
|
@@ -486,8 +486,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
486
486
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
487
487
|
}, "strip", z.ZodTypeAny, {
|
|
488
488
|
id: string;
|
|
489
|
-
firstName: string;
|
|
490
489
|
lastName: string;
|
|
490
|
+
firstName: string;
|
|
491
491
|
phoneNumbers: {
|
|
492
492
|
id: string;
|
|
493
493
|
phoneNumber: string;
|
|
@@ -497,8 +497,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
497
497
|
deletedAt?: string | null | undefined;
|
|
498
498
|
}, {
|
|
499
499
|
id: string;
|
|
500
|
-
firstName: string;
|
|
501
500
|
lastName: string;
|
|
501
|
+
firstName: string;
|
|
502
502
|
phoneNumbers?: {
|
|
503
503
|
id: string;
|
|
504
504
|
phoneNumber: string;
|
|
@@ -537,8 +537,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
537
537
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
538
538
|
}, "strip", z.ZodTypeAny, {
|
|
539
539
|
id: string;
|
|
540
|
-
firstName: string;
|
|
541
540
|
lastName: string;
|
|
541
|
+
firstName: string;
|
|
542
542
|
phoneNumbers: {
|
|
543
543
|
id: string;
|
|
544
544
|
phoneNumber: string;
|
|
@@ -548,8 +548,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
548
548
|
deletedAt?: string | null | undefined;
|
|
549
549
|
}, {
|
|
550
550
|
id: string;
|
|
551
|
-
firstName: string;
|
|
552
551
|
lastName: string;
|
|
552
|
+
firstName: string;
|
|
553
553
|
phoneNumbers?: {
|
|
554
554
|
id: string;
|
|
555
555
|
phoneNumber: string;
|
|
@@ -560,13 +560,11 @@ 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;
|
|
568
|
-
firstName: string;
|
|
569
566
|
lastName: string;
|
|
567
|
+
firstName: string;
|
|
570
568
|
phoneNumbers: {
|
|
571
569
|
id: string;
|
|
572
570
|
phoneNumber: string;
|
|
@@ -575,14 +573,16 @@ 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
|
-
firstName: string;
|
|
585
584
|
lastName: string;
|
|
585
|
+
firstName: string;
|
|
586
586
|
phoneNumbers: {
|
|
587
587
|
id: string;
|
|
588
588
|
phoneNumber: string;
|
|
@@ -593,8 +593,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
593
593
|
};
|
|
594
594
|
target: {
|
|
595
595
|
id: string;
|
|
596
|
-
firstName: string;
|
|
597
596
|
lastName: string;
|
|
597
|
+
firstName: string;
|
|
598
598
|
phoneNumbers: {
|
|
599
599
|
id: string;
|
|
600
600
|
phoneNumber: string;
|
|
@@ -606,8 +606,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
606
606
|
revokedAt: string | null;
|
|
607
607
|
revokedBy: {
|
|
608
608
|
id: string;
|
|
609
|
-
firstName: string;
|
|
610
609
|
lastName: string;
|
|
610
|
+
firstName: string;
|
|
611
611
|
phoneNumbers: {
|
|
612
612
|
id: string;
|
|
613
613
|
phoneNumber: string;
|
|
@@ -618,13 +618,11 @@ 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;
|
|
626
|
-
firstName: string;
|
|
627
624
|
lastName: string;
|
|
625
|
+
firstName: string;
|
|
628
626
|
phoneNumbers?: {
|
|
629
627
|
id: string;
|
|
630
628
|
phoneNumber: string;
|
|
@@ -633,14 +631,16 @@ 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
|
-
firstName: string;
|
|
643
642
|
lastName: string;
|
|
643
|
+
firstName: string;
|
|
644
644
|
phoneNumbers?: {
|
|
645
645
|
id: string;
|
|
646
646
|
phoneNumber: string;
|
|
@@ -651,8 +651,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
651
651
|
};
|
|
652
652
|
target: {
|
|
653
653
|
id: string;
|
|
654
|
-
firstName: string;
|
|
655
654
|
lastName: string;
|
|
655
|
+
firstName: string;
|
|
656
656
|
phoneNumbers?: {
|
|
657
657
|
id: string;
|
|
658
658
|
phoneNumber: string;
|
|
@@ -664,8 +664,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
664
664
|
revokedAt: string | Date | null;
|
|
665
665
|
revokedBy: {
|
|
666
666
|
id: string;
|
|
667
|
-
firstName: string;
|
|
668
667
|
lastName: string;
|
|
668
|
+
firstName: string;
|
|
669
669
|
phoneNumbers?: {
|
|
670
670
|
id: string;
|
|
671
671
|
phoneNumber: string;
|
|
@@ -701,8 +701,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
701
701
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
702
702
|
}, "strip", z.ZodTypeAny, {
|
|
703
703
|
id: string;
|
|
704
|
-
firstName: string;
|
|
705
704
|
lastName: string;
|
|
705
|
+
firstName: string;
|
|
706
706
|
phoneNumbers: {
|
|
707
707
|
id: string;
|
|
708
708
|
phoneNumber: string;
|
|
@@ -712,8 +712,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
712
712
|
deletedAt?: string | null | undefined;
|
|
713
713
|
}, {
|
|
714
714
|
id: string;
|
|
715
|
-
firstName: string;
|
|
716
715
|
lastName: string;
|
|
716
|
+
firstName: string;
|
|
717
717
|
phoneNumbers?: {
|
|
718
718
|
id: string;
|
|
719
719
|
phoneNumber: string;
|
|
@@ -745,8 +745,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
745
745
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
746
746
|
}, "strip", z.ZodTypeAny, {
|
|
747
747
|
id: string;
|
|
748
|
-
firstName: string;
|
|
749
748
|
lastName: string;
|
|
749
|
+
firstName: string;
|
|
750
750
|
phoneNumbers: {
|
|
751
751
|
id: string;
|
|
752
752
|
phoneNumber: string;
|
|
@@ -756,8 +756,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
756
756
|
deletedAt?: string | null | undefined;
|
|
757
757
|
}, {
|
|
758
758
|
id: string;
|
|
759
|
-
firstName: string;
|
|
760
759
|
lastName: string;
|
|
760
|
+
firstName: string;
|
|
761
761
|
phoneNumbers?: {
|
|
762
762
|
id: string;
|
|
763
763
|
phoneNumber: string;
|
|
@@ -789,8 +789,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
789
789
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
790
790
|
}, "strip", z.ZodTypeAny, {
|
|
791
791
|
id: string;
|
|
792
|
-
firstName: string;
|
|
793
792
|
lastName: string;
|
|
793
|
+
firstName: string;
|
|
794
794
|
phoneNumbers: {
|
|
795
795
|
id: string;
|
|
796
796
|
phoneNumber: string;
|
|
@@ -800,8 +800,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
800
800
|
deletedAt?: string | null | undefined;
|
|
801
801
|
}, {
|
|
802
802
|
id: string;
|
|
803
|
-
firstName: string;
|
|
804
803
|
lastName: string;
|
|
804
|
+
firstName: string;
|
|
805
805
|
phoneNumbers?: {
|
|
806
806
|
id: string;
|
|
807
807
|
phoneNumber: string;
|
|
@@ -840,8 +840,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
840
840
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
841
841
|
}, "strip", z.ZodTypeAny, {
|
|
842
842
|
id: string;
|
|
843
|
-
firstName: string;
|
|
844
843
|
lastName: string;
|
|
844
|
+
firstName: string;
|
|
845
845
|
phoneNumbers: {
|
|
846
846
|
id: string;
|
|
847
847
|
phoneNumber: string;
|
|
@@ -851,8 +851,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
851
851
|
deletedAt?: string | null | undefined;
|
|
852
852
|
}, {
|
|
853
853
|
id: string;
|
|
854
|
-
firstName: string;
|
|
855
854
|
lastName: string;
|
|
855
|
+
firstName: string;
|
|
856
856
|
phoneNumbers?: {
|
|
857
857
|
id: string;
|
|
858
858
|
phoneNumber: string;
|
|
@@ -863,13 +863,11 @@ 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;
|
|
871
|
-
firstName: string;
|
|
872
869
|
lastName: string;
|
|
870
|
+
firstName: string;
|
|
873
871
|
phoneNumbers: {
|
|
874
872
|
id: string;
|
|
875
873
|
phoneNumber: string;
|
|
@@ -878,14 +876,16 @@ 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
|
-
firstName: string;
|
|
888
887
|
lastName: string;
|
|
888
|
+
firstName: string;
|
|
889
889
|
phoneNumbers: {
|
|
890
890
|
id: string;
|
|
891
891
|
phoneNumber: string;
|
|
@@ -896,8 +896,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
896
896
|
};
|
|
897
897
|
target: {
|
|
898
898
|
id: string;
|
|
899
|
-
firstName: string;
|
|
900
899
|
lastName: string;
|
|
900
|
+
firstName: string;
|
|
901
901
|
phoneNumbers: {
|
|
902
902
|
id: string;
|
|
903
903
|
phoneNumber: string;
|
|
@@ -909,8 +909,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
909
909
|
revokedAt: string | null;
|
|
910
910
|
revokedBy: {
|
|
911
911
|
id: string;
|
|
912
|
-
firstName: string;
|
|
913
912
|
lastName: string;
|
|
913
|
+
firstName: string;
|
|
914
914
|
phoneNumbers: {
|
|
915
915
|
id: string;
|
|
916
916
|
phoneNumber: string;
|
|
@@ -921,13 +921,11 @@ 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;
|
|
929
|
-
firstName: string;
|
|
930
927
|
lastName: string;
|
|
928
|
+
firstName: string;
|
|
931
929
|
phoneNumbers?: {
|
|
932
930
|
id: string;
|
|
933
931
|
phoneNumber: string;
|
|
@@ -936,14 +934,16 @@ 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
|
-
firstName: string;
|
|
946
945
|
lastName: string;
|
|
946
|
+
firstName: string;
|
|
947
947
|
phoneNumbers?: {
|
|
948
948
|
id: string;
|
|
949
949
|
phoneNumber: string;
|
|
@@ -954,8 +954,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
954
954
|
};
|
|
955
955
|
target: {
|
|
956
956
|
id: string;
|
|
957
|
-
firstName: string;
|
|
958
957
|
lastName: string;
|
|
958
|
+
firstName: string;
|
|
959
959
|
phoneNumbers?: {
|
|
960
960
|
id: string;
|
|
961
961
|
phoneNumber: string;
|
|
@@ -967,8 +967,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
967
967
|
revokedAt: string | Date | null;
|
|
968
968
|
revokedBy: {
|
|
969
969
|
id: string;
|
|
970
|
-
firstName: string;
|
|
971
970
|
lastName: string;
|
|
971
|
+
firstName: string;
|
|
972
972
|
phoneNumbers?: {
|
|
973
973
|
id: string;
|
|
974
974
|
phoneNumber: string;
|
|
@@ -981,13 +981,11 @@ 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;
|
|
989
|
-
firstName: string;
|
|
990
987
|
lastName: string;
|
|
988
|
+
firstName: string;
|
|
991
989
|
phoneNumbers: {
|
|
992
990
|
id: string;
|
|
993
991
|
phoneNumber: string;
|
|
@@ -996,14 +994,16 @@ 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
|
-
firstName: string;
|
|
1006
1005
|
lastName: string;
|
|
1006
|
+
firstName: string;
|
|
1007
1007
|
phoneNumbers: {
|
|
1008
1008
|
id: string;
|
|
1009
1009
|
phoneNumber: string;
|
|
@@ -1014,8 +1014,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1014
1014
|
};
|
|
1015
1015
|
target: {
|
|
1016
1016
|
id: string;
|
|
1017
|
-
firstName: string;
|
|
1018
1017
|
lastName: string;
|
|
1018
|
+
firstName: string;
|
|
1019
1019
|
phoneNumbers: {
|
|
1020
1020
|
id: string;
|
|
1021
1021
|
phoneNumber: string;
|
|
@@ -1027,8 +1027,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1027
1027
|
revokedAt: string | null;
|
|
1028
1028
|
revokedBy: {
|
|
1029
1029
|
id: string;
|
|
1030
|
-
firstName: string;
|
|
1031
1030
|
lastName: string;
|
|
1031
|
+
firstName: string;
|
|
1032
1032
|
phoneNumbers: {
|
|
1033
1033
|
id: string;
|
|
1034
1034
|
phoneNumber: string;
|
|
@@ -1040,13 +1040,11 @@ 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;
|
|
1048
|
-
firstName: string;
|
|
1049
1046
|
lastName: string;
|
|
1047
|
+
firstName: string;
|
|
1050
1048
|
phoneNumbers: {
|
|
1051
1049
|
id: string;
|
|
1052
1050
|
phoneNumber: string;
|
|
@@ -1055,14 +1053,16 @@ 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
|
-
firstName: string;
|
|
1065
1064
|
lastName: string;
|
|
1065
|
+
firstName: string;
|
|
1066
1066
|
phoneNumbers: {
|
|
1067
1067
|
id: string;
|
|
1068
1068
|
phoneNumber: string;
|
|
@@ -1073,8 +1073,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1073
1073
|
};
|
|
1074
1074
|
target: {
|
|
1075
1075
|
id: string;
|
|
1076
|
-
firstName: string;
|
|
1077
1076
|
lastName: string;
|
|
1077
|
+
firstName: string;
|
|
1078
1078
|
phoneNumbers: {
|
|
1079
1079
|
id: string;
|
|
1080
1080
|
phoneNumber: string;
|
|
@@ -1086,8 +1086,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1086
1086
|
revokedAt: string | null;
|
|
1087
1087
|
revokedBy: {
|
|
1088
1088
|
id: string;
|
|
1089
|
-
firstName: string;
|
|
1090
1089
|
lastName: string;
|
|
1090
|
+
firstName: string;
|
|
1091
1091
|
phoneNumbers: {
|
|
1092
1092
|
id: string;
|
|
1093
1093
|
phoneNumber: string;
|
|
@@ -1100,13 +1100,11 @@ 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;
|
|
1108
|
-
firstName: string;
|
|
1109
1106
|
lastName: string;
|
|
1107
|
+
firstName: string;
|
|
1110
1108
|
phoneNumbers?: {
|
|
1111
1109
|
id: string;
|
|
1112
1110
|
phoneNumber: string;
|
|
@@ -1115,14 +1113,16 @@ 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
|
-
firstName: string;
|
|
1125
1124
|
lastName: string;
|
|
1125
|
+
firstName: string;
|
|
1126
1126
|
phoneNumbers?: {
|
|
1127
1127
|
id: string;
|
|
1128
1128
|
phoneNumber: string;
|
|
@@ -1133,8 +1133,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1133
1133
|
};
|
|
1134
1134
|
target: {
|
|
1135
1135
|
id: string;
|
|
1136
|
-
firstName: string;
|
|
1137
1136
|
lastName: string;
|
|
1137
|
+
firstName: string;
|
|
1138
1138
|
phoneNumbers?: {
|
|
1139
1139
|
id: string;
|
|
1140
1140
|
phoneNumber: string;
|
|
@@ -1146,8 +1146,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1146
1146
|
revokedAt: string | Date | null;
|
|
1147
1147
|
revokedBy: {
|
|
1148
1148
|
id: string;
|
|
1149
|
-
firstName: string;
|
|
1150
1149
|
lastName: string;
|
|
1150
|
+
firstName: string;
|
|
1151
1151
|
phoneNumbers?: {
|
|
1152
1152
|
id: string;
|
|
1153
1153
|
phoneNumber: string;
|
|
@@ -1159,13 +1159,11 @@ 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;
|
|
1167
|
-
firstName: string;
|
|
1168
1165
|
lastName: string;
|
|
1166
|
+
firstName: string;
|
|
1169
1167
|
phoneNumbers?: {
|
|
1170
1168
|
id: string;
|
|
1171
1169
|
phoneNumber: string;
|
|
@@ -1174,14 +1172,16 @@ 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
|
-
firstName: string;
|
|
1184
1183
|
lastName: string;
|
|
1184
|
+
firstName: string;
|
|
1185
1185
|
phoneNumbers?: {
|
|
1186
1186
|
id: string;
|
|
1187
1187
|
phoneNumber: string;
|
|
@@ -1192,8 +1192,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1192
1192
|
};
|
|
1193
1193
|
target: {
|
|
1194
1194
|
id: string;
|
|
1195
|
-
firstName: string;
|
|
1196
1195
|
lastName: string;
|
|
1196
|
+
firstName: string;
|
|
1197
1197
|
phoneNumbers?: {
|
|
1198
1198
|
id: string;
|
|
1199
1199
|
phoneNumber: string;
|
|
@@ -1205,8 +1205,8 @@ export declare const CreateUserAccessGrantsResultSchema: z.ZodObject<{
|
|
|
1205
1205
|
revokedAt: string | Date | null;
|
|
1206
1206
|
revokedBy: {
|
|
1207
1207
|
id: string;
|
|
1208
|
-
firstName: string;
|
|
1209
1208
|
lastName: string;
|
|
1209
|
+
firstName: string;
|
|
1210
1210
|
phoneNumbers?: {
|
|
1211
1211
|
id: string;
|
|
1212
1212
|
phoneNumber: 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,35 +1246,35 @@ 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
|
-
|
|
1257
|
+
email: string;
|
|
1258
1258
|
id: string;
|
|
1259
|
-
|
|
1259
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1260
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1260
1261
|
lastName: string;
|
|
1261
|
-
|
|
1262
|
+
firstName: string;
|
|
1262
1263
|
office: {
|
|
1263
|
-
id: string;
|
|
1264
1264
|
name: string;
|
|
1265
|
+
id: string;
|
|
1265
1266
|
} | null;
|
|
1266
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1267
1267
|
}, {
|
|
1268
|
-
|
|
1268
|
+
email: string;
|
|
1269
1269
|
id: string;
|
|
1270
|
-
|
|
1270
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1271
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1271
1272
|
lastName: string;
|
|
1272
|
-
|
|
1273
|
+
firstName: string;
|
|
1273
1274
|
office: {
|
|
1274
|
-
id: string;
|
|
1275
1275
|
name: string;
|
|
1276
|
+
id: string;
|
|
1276
1277
|
} | null;
|
|
1277
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1278
1278
|
}>;
|
|
1279
1279
|
export type UserAccessGrantGranteeIdentity = z.infer<typeof UserAccessGrantGranteeIdentitySchema>;
|
|
1280
1280
|
export declare const UserAccessGrantGranteeSummarySchema: z.ZodObject<{
|
|
@@ -1288,35 +1288,35 @@ 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
|
-
|
|
1299
|
+
email: string;
|
|
1300
1300
|
id: string;
|
|
1301
|
-
|
|
1301
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1302
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1302
1303
|
lastName: string;
|
|
1303
|
-
|
|
1304
|
+
firstName: string;
|
|
1304
1305
|
office: {
|
|
1305
|
-
id: string;
|
|
1306
1306
|
name: string;
|
|
1307
|
+
id: string;
|
|
1307
1308
|
} | null;
|
|
1308
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1309
1309
|
}, {
|
|
1310
|
-
|
|
1310
|
+
email: string;
|
|
1311
1311
|
id: string;
|
|
1312
|
-
|
|
1312
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1313
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1313
1314
|
lastName: string;
|
|
1314
|
-
|
|
1315
|
+
firstName: string;
|
|
1315
1316
|
office: {
|
|
1316
|
-
id: string;
|
|
1317
1317
|
name: string;
|
|
1318
|
+
id: string;
|
|
1318
1319
|
} | null;
|
|
1319
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1320
1320
|
}>;
|
|
1321
1321
|
activeResources: z.ZodArray<z.ZodEnum<["BOOKING", "ACTIVE", "WORKER"]>, "many">;
|
|
1322
1322
|
activeTargetCount: z.ZodNumber;
|
|
@@ -1325,36 +1325,36 @@ export declare const UserAccessGrantGranteeSummarySchema: z.ZodObject<{
|
|
|
1325
1325
|
lastActivityAt: z.ZodNullable<z.ZodString>;
|
|
1326
1326
|
}, "strip", z.ZodTypeAny, {
|
|
1327
1327
|
grantee: {
|
|
1328
|
-
|
|
1328
|
+
email: string;
|
|
1329
1329
|
id: string;
|
|
1330
|
-
|
|
1330
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1331
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1331
1332
|
lastName: string;
|
|
1332
|
-
|
|
1333
|
+
firstName: string;
|
|
1333
1334
|
office: {
|
|
1334
|
-
id: string;
|
|
1335
1335
|
name: string;
|
|
1336
|
+
id: string;
|
|
1336
1337
|
} | null;
|
|
1337
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1338
1338
|
};
|
|
1339
|
-
activeResources: ("ACTIVE" | "
|
|
1339
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1340
1340
|
activeTargetCount: number;
|
|
1341
1341
|
activeGrantCount: number;
|
|
1342
1342
|
nearestExpiry: string | null;
|
|
1343
1343
|
lastActivityAt: string | null;
|
|
1344
1344
|
}, {
|
|
1345
1345
|
grantee: {
|
|
1346
|
-
|
|
1346
|
+
email: string;
|
|
1347
1347
|
id: string;
|
|
1348
|
-
|
|
1348
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1349
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1349
1350
|
lastName: string;
|
|
1350
|
-
|
|
1351
|
+
firstName: string;
|
|
1351
1352
|
office: {
|
|
1352
|
-
id: string;
|
|
1353
1353
|
name: string;
|
|
1354
|
+
id: string;
|
|
1354
1355
|
} | null;
|
|
1355
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1356
1356
|
};
|
|
1357
|
-
activeResources: ("ACTIVE" | "
|
|
1357
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1358
1358
|
activeTargetCount: number;
|
|
1359
1359
|
activeGrantCount: number;
|
|
1360
1360
|
nearestExpiry: string | null;
|
|
@@ -1386,22 +1386,22 @@ export declare const FilterUserAccessGrantGranteesSchema: z.ZodObject<{
|
|
|
1386
1386
|
field: "name" | "activeGrantCount" | "nearestExpiry" | "lastActivityAt";
|
|
1387
1387
|
order: "ASC" | "DESC";
|
|
1388
1388
|
}[] | null;
|
|
1389
|
-
limit: number;
|
|
1390
1389
|
page: number;
|
|
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
1396
|
sort?: {
|
|
1397
1397
|
field: "name" | "activeGrantCount" | "nearestExpiry" | "lastActivityAt";
|
|
1398
1398
|
order: "ASC" | "DESC";
|
|
1399
1399
|
}[] | null | undefined;
|
|
1400
|
+
page?: number | undefined;
|
|
1401
|
+
limit?: number | undefined;
|
|
1400
1402
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1401
1403
|
query?: string | undefined;
|
|
1402
|
-
|
|
1403
|
-
page?: number | undefined;
|
|
1404
|
-
resource?: "ACTIVE" | "WORKER" | "BOOKING" | undefined;
|
|
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,35 +1417,35 @@ 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
|
-
|
|
1428
|
+
email: string;
|
|
1429
1429
|
id: string;
|
|
1430
|
-
|
|
1430
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1431
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1431
1432
|
lastName: string;
|
|
1432
|
-
|
|
1433
|
+
firstName: string;
|
|
1433
1434
|
office: {
|
|
1434
|
-
id: string;
|
|
1435
1435
|
name: string;
|
|
1436
|
+
id: string;
|
|
1436
1437
|
} | null;
|
|
1437
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1438
1438
|
}, {
|
|
1439
|
-
|
|
1439
|
+
email: string;
|
|
1440
1440
|
id: string;
|
|
1441
|
-
|
|
1441
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1442
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1442
1443
|
lastName: string;
|
|
1443
|
-
|
|
1444
|
+
firstName: string;
|
|
1444
1445
|
office: {
|
|
1445
|
-
id: string;
|
|
1446
1446
|
name: string;
|
|
1447
|
+
id: string;
|
|
1447
1448
|
} | null;
|
|
1448
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1449
1449
|
}>;
|
|
1450
1450
|
activeResources: z.ZodArray<z.ZodEnum<["BOOKING", "ACTIVE", "WORKER"]>, "many">;
|
|
1451
1451
|
activeTargetCount: z.ZodNumber;
|
|
@@ -1454,36 +1454,36 @@ export declare const PaginatedUserAccessGrantGranteesSchema: z.ZodObject<{
|
|
|
1454
1454
|
lastActivityAt: z.ZodNullable<z.ZodString>;
|
|
1455
1455
|
}, "strip", z.ZodTypeAny, {
|
|
1456
1456
|
grantee: {
|
|
1457
|
-
|
|
1457
|
+
email: string;
|
|
1458
1458
|
id: string;
|
|
1459
|
-
|
|
1459
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1460
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1460
1461
|
lastName: string;
|
|
1461
|
-
|
|
1462
|
+
firstName: string;
|
|
1462
1463
|
office: {
|
|
1463
|
-
id: string;
|
|
1464
1464
|
name: string;
|
|
1465
|
+
id: string;
|
|
1465
1466
|
} | null;
|
|
1466
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1467
1467
|
};
|
|
1468
|
-
activeResources: ("ACTIVE" | "
|
|
1468
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1469
1469
|
activeTargetCount: number;
|
|
1470
1470
|
activeGrantCount: number;
|
|
1471
1471
|
nearestExpiry: string | null;
|
|
1472
1472
|
lastActivityAt: string | null;
|
|
1473
1473
|
}, {
|
|
1474
1474
|
grantee: {
|
|
1475
|
-
|
|
1475
|
+
email: string;
|
|
1476
1476
|
id: string;
|
|
1477
|
-
|
|
1477
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1478
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1478
1479
|
lastName: string;
|
|
1479
|
-
|
|
1480
|
+
firstName: string;
|
|
1480
1481
|
office: {
|
|
1481
|
-
id: string;
|
|
1482
1482
|
name: string;
|
|
1483
|
+
id: string;
|
|
1483
1484
|
} | null;
|
|
1484
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1485
1485
|
};
|
|
1486
|
-
activeResources: ("ACTIVE" | "
|
|
1486
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1487
1487
|
activeTargetCount: number;
|
|
1488
1488
|
activeGrantCount: number;
|
|
1489
1489
|
nearestExpiry: string | null;
|
|
@@ -1498,18 +1498,18 @@ export declare const PaginatedUserAccessGrantGranteesSchema: z.ZodObject<{
|
|
|
1498
1498
|
limit: number;
|
|
1499
1499
|
items: {
|
|
1500
1500
|
grantee: {
|
|
1501
|
-
|
|
1501
|
+
email: string;
|
|
1502
1502
|
id: string;
|
|
1503
|
-
|
|
1503
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1504
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1504
1505
|
lastName: string;
|
|
1505
|
-
|
|
1506
|
+
firstName: string;
|
|
1506
1507
|
office: {
|
|
1507
|
-
id: string;
|
|
1508
1508
|
name: string;
|
|
1509
|
+
id: string;
|
|
1509
1510
|
} | null;
|
|
1510
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1511
1511
|
};
|
|
1512
|
-
activeResources: ("ACTIVE" | "
|
|
1512
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1513
1513
|
activeTargetCount: number;
|
|
1514
1514
|
activeGrantCount: number;
|
|
1515
1515
|
nearestExpiry: string | null;
|
|
@@ -1523,18 +1523,18 @@ export declare const PaginatedUserAccessGrantGranteesSchema: z.ZodObject<{
|
|
|
1523
1523
|
limit: number;
|
|
1524
1524
|
items: {
|
|
1525
1525
|
grantee: {
|
|
1526
|
-
|
|
1526
|
+
email: string;
|
|
1527
1527
|
id: string;
|
|
1528
|
-
|
|
1528
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1529
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1529
1530
|
lastName: string;
|
|
1530
|
-
|
|
1531
|
+
firstName: string;
|
|
1531
1532
|
office: {
|
|
1532
|
-
id: string;
|
|
1533
1533
|
name: string;
|
|
1534
|
+
id: string;
|
|
1534
1535
|
} | null;
|
|
1535
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
1536
1536
|
};
|
|
1537
|
-
activeResources: ("ACTIVE" | "
|
|
1537
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
1538
1538
|
activeTargetCount: number;
|
|
1539
1539
|
activeGrantCount: number;
|
|
1540
1540
|
nearestExpiry: string | null;
|
|
@@ -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
|
-
limit: number;
|
|
1556
1554
|
page: number;
|
|
1555
|
+
limit: number;
|
|
1556
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED" | "ALL";
|
|
1557
1557
|
}, {
|
|
1558
|
-
status?: "ACTIVE" | "EXPIRED" | "REVOKED" | "ALL" | undefined;
|
|
1559
|
-
limit?: number | undefined;
|
|
1560
1558
|
page?: number | undefined;
|
|
1559
|
+
limit?: number | undefined;
|
|
1560
|
+
status?: "ACTIVE" | "EXPIRED" | "REVOKED" | "ALL" | undefined;
|
|
1561
1561
|
}>;
|
|
1562
1562
|
export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
1563
1563
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -1585,8 +1585,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1585
1585
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1586
1586
|
}, "strip", z.ZodTypeAny, {
|
|
1587
1587
|
id: string;
|
|
1588
|
-
firstName: string;
|
|
1589
1588
|
lastName: string;
|
|
1589
|
+
firstName: string;
|
|
1590
1590
|
phoneNumbers: {
|
|
1591
1591
|
id: string;
|
|
1592
1592
|
phoneNumber: string;
|
|
@@ -1596,8 +1596,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1596
1596
|
deletedAt?: string | null | undefined;
|
|
1597
1597
|
}, {
|
|
1598
1598
|
id: string;
|
|
1599
|
-
firstName: string;
|
|
1600
1599
|
lastName: string;
|
|
1600
|
+
firstName: string;
|
|
1601
1601
|
phoneNumbers?: {
|
|
1602
1602
|
id: string;
|
|
1603
1603
|
phoneNumber: string;
|
|
@@ -1629,8 +1629,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1629
1629
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1630
1630
|
}, "strip", z.ZodTypeAny, {
|
|
1631
1631
|
id: string;
|
|
1632
|
-
firstName: string;
|
|
1633
1632
|
lastName: string;
|
|
1633
|
+
firstName: string;
|
|
1634
1634
|
phoneNumbers: {
|
|
1635
1635
|
id: string;
|
|
1636
1636
|
phoneNumber: string;
|
|
@@ -1640,8 +1640,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1640
1640
|
deletedAt?: string | null | undefined;
|
|
1641
1641
|
}, {
|
|
1642
1642
|
id: string;
|
|
1643
|
-
firstName: string;
|
|
1644
1643
|
lastName: string;
|
|
1644
|
+
firstName: string;
|
|
1645
1645
|
phoneNumbers?: {
|
|
1646
1646
|
id: string;
|
|
1647
1647
|
phoneNumber: string;
|
|
@@ -1673,8 +1673,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1673
1673
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1674
1674
|
}, "strip", z.ZodTypeAny, {
|
|
1675
1675
|
id: string;
|
|
1676
|
-
firstName: string;
|
|
1677
1676
|
lastName: string;
|
|
1677
|
+
firstName: string;
|
|
1678
1678
|
phoneNumbers: {
|
|
1679
1679
|
id: string;
|
|
1680
1680
|
phoneNumber: string;
|
|
@@ -1684,8 +1684,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1684
1684
|
deletedAt?: string | null | undefined;
|
|
1685
1685
|
}, {
|
|
1686
1686
|
id: string;
|
|
1687
|
-
firstName: string;
|
|
1688
1687
|
lastName: string;
|
|
1688
|
+
firstName: string;
|
|
1689
1689
|
phoneNumbers?: {
|
|
1690
1690
|
id: string;
|
|
1691
1691
|
phoneNumber: string;
|
|
@@ -1724,8 +1724,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1724
1724
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1725
1725
|
}, "strip", z.ZodTypeAny, {
|
|
1726
1726
|
id: string;
|
|
1727
|
-
firstName: string;
|
|
1728
1727
|
lastName: string;
|
|
1728
|
+
firstName: string;
|
|
1729
1729
|
phoneNumbers: {
|
|
1730
1730
|
id: string;
|
|
1731
1731
|
phoneNumber: string;
|
|
@@ -1735,8 +1735,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1735
1735
|
deletedAt?: string | null | undefined;
|
|
1736
1736
|
}, {
|
|
1737
1737
|
id: string;
|
|
1738
|
-
firstName: string;
|
|
1739
1738
|
lastName: string;
|
|
1739
|
+
firstName: string;
|
|
1740
1740
|
phoneNumbers?: {
|
|
1741
1741
|
id: string;
|
|
1742
1742
|
phoneNumber: string;
|
|
@@ -1747,13 +1747,11 @@ 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;
|
|
1755
|
-
firstName: string;
|
|
1756
1753
|
lastName: string;
|
|
1754
|
+
firstName: string;
|
|
1757
1755
|
phoneNumbers: {
|
|
1758
1756
|
id: string;
|
|
1759
1757
|
phoneNumber: string;
|
|
@@ -1762,14 +1760,16 @@ 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
|
-
firstName: string;
|
|
1772
1771
|
lastName: string;
|
|
1772
|
+
firstName: string;
|
|
1773
1773
|
phoneNumbers: {
|
|
1774
1774
|
id: string;
|
|
1775
1775
|
phoneNumber: string;
|
|
@@ -1780,8 +1780,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1780
1780
|
};
|
|
1781
1781
|
target: {
|
|
1782
1782
|
id: string;
|
|
1783
|
-
firstName: string;
|
|
1784
1783
|
lastName: string;
|
|
1784
|
+
firstName: string;
|
|
1785
1785
|
phoneNumbers: {
|
|
1786
1786
|
id: string;
|
|
1787
1787
|
phoneNumber: string;
|
|
@@ -1793,8 +1793,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1793
1793
|
revokedAt: string | null;
|
|
1794
1794
|
revokedBy: {
|
|
1795
1795
|
id: string;
|
|
1796
|
-
firstName: string;
|
|
1797
1796
|
lastName: string;
|
|
1797
|
+
firstName: string;
|
|
1798
1798
|
phoneNumbers: {
|
|
1799
1799
|
id: string;
|
|
1800
1800
|
phoneNumber: string;
|
|
@@ -1805,13 +1805,11 @@ 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;
|
|
1813
|
-
firstName: string;
|
|
1814
1811
|
lastName: string;
|
|
1812
|
+
firstName: string;
|
|
1815
1813
|
phoneNumbers?: {
|
|
1816
1814
|
id: string;
|
|
1817
1815
|
phoneNumber: string;
|
|
@@ -1820,14 +1818,16 @@ 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
|
-
firstName: string;
|
|
1830
1829
|
lastName: string;
|
|
1830
|
+
firstName: string;
|
|
1831
1831
|
phoneNumbers?: {
|
|
1832
1832
|
id: string;
|
|
1833
1833
|
phoneNumber: string;
|
|
@@ -1838,8 +1838,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1838
1838
|
};
|
|
1839
1839
|
target: {
|
|
1840
1840
|
id: string;
|
|
1841
|
-
firstName: string;
|
|
1842
1841
|
lastName: string;
|
|
1842
|
+
firstName: string;
|
|
1843
1843
|
phoneNumbers?: {
|
|
1844
1844
|
id: string;
|
|
1845
1845
|
phoneNumber: string;
|
|
@@ -1851,8 +1851,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1851
1851
|
revokedAt: string | Date | null;
|
|
1852
1852
|
revokedBy: {
|
|
1853
1853
|
id: string;
|
|
1854
|
-
firstName: string;
|
|
1855
1854
|
lastName: string;
|
|
1855
|
+
firstName: string;
|
|
1856
1856
|
phoneNumbers?: {
|
|
1857
1857
|
id: string;
|
|
1858
1858
|
phoneNumber: string;
|
|
@@ -1871,13 +1871,11 @@ 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;
|
|
1879
|
-
firstName: string;
|
|
1880
1877
|
lastName: string;
|
|
1878
|
+
firstName: string;
|
|
1881
1879
|
phoneNumbers: {
|
|
1882
1880
|
id: string;
|
|
1883
1881
|
phoneNumber: string;
|
|
@@ -1886,14 +1884,16 @@ 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
|
-
firstName: string;
|
|
1896
1895
|
lastName: string;
|
|
1896
|
+
firstName: string;
|
|
1897
1897
|
phoneNumbers: {
|
|
1898
1898
|
id: string;
|
|
1899
1899
|
phoneNumber: string;
|
|
@@ -1904,8 +1904,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1904
1904
|
};
|
|
1905
1905
|
target: {
|
|
1906
1906
|
id: string;
|
|
1907
|
-
firstName: string;
|
|
1908
1907
|
lastName: string;
|
|
1908
|
+
firstName: string;
|
|
1909
1909
|
phoneNumbers: {
|
|
1910
1910
|
id: string;
|
|
1911
1911
|
phoneNumber: string;
|
|
@@ -1917,8 +1917,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1917
1917
|
revokedAt: string | null;
|
|
1918
1918
|
revokedBy: {
|
|
1919
1919
|
id: string;
|
|
1920
|
-
firstName: string;
|
|
1921
1920
|
lastName: string;
|
|
1921
|
+
firstName: string;
|
|
1922
1922
|
phoneNumbers: {
|
|
1923
1923
|
id: string;
|
|
1924
1924
|
phoneNumber: string;
|
|
@@ -1936,13 +1936,11 @@ 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;
|
|
1944
|
-
firstName: string;
|
|
1945
1942
|
lastName: string;
|
|
1943
|
+
firstName: string;
|
|
1946
1944
|
phoneNumbers?: {
|
|
1947
1945
|
id: string;
|
|
1948
1946
|
phoneNumber: string;
|
|
@@ -1951,14 +1949,16 @@ 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
|
-
firstName: string;
|
|
1961
1960
|
lastName: string;
|
|
1961
|
+
firstName: string;
|
|
1962
1962
|
phoneNumbers?: {
|
|
1963
1963
|
id: string;
|
|
1964
1964
|
phoneNumber: string;
|
|
@@ -1969,8 +1969,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1969
1969
|
};
|
|
1970
1970
|
target: {
|
|
1971
1971
|
id: string;
|
|
1972
|
-
firstName: string;
|
|
1973
1972
|
lastName: string;
|
|
1973
|
+
firstName: string;
|
|
1974
1974
|
phoneNumbers?: {
|
|
1975
1975
|
id: string;
|
|
1976
1976
|
phoneNumber: string;
|
|
@@ -1982,8 +1982,8 @@ export declare const PaginatedUserAccessGrantsSchema: z.ZodObject<{
|
|
|
1982
1982
|
revokedAt: string | Date | null;
|
|
1983
1983
|
revokedBy: {
|
|
1984
1984
|
id: string;
|
|
1985
|
-
firstName: string;
|
|
1986
1985
|
lastName: string;
|
|
1986
|
+
firstName: string;
|
|
1987
1987
|
phoneNumbers?: {
|
|
1988
1988
|
id: string;
|
|
1989
1989
|
phoneNumber: string;
|
|
@@ -2024,22 +2024,22 @@ export declare const userAccessGrantsContract: {
|
|
|
2024
2024
|
field: "name" | "activeGrantCount" | "nearestExpiry" | "lastActivityAt";
|
|
2025
2025
|
order: "ASC" | "DESC";
|
|
2026
2026
|
}[] | null;
|
|
2027
|
-
limit: number;
|
|
2028
2027
|
page: number;
|
|
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
2034
|
sort?: {
|
|
2035
2035
|
field: "name" | "activeGrantCount" | "nearestExpiry" | "lastActivityAt";
|
|
2036
2036
|
order: "ASC" | "DESC";
|
|
2037
2037
|
}[] | null | undefined;
|
|
2038
|
+
page?: number | undefined;
|
|
2039
|
+
limit?: number | undefined;
|
|
2038
2040
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2039
2041
|
query?: string | undefined;
|
|
2040
|
-
|
|
2041
|
-
page?: number | undefined;
|
|
2042
|
-
resource?: "ACTIVE" | "WORKER" | "BOOKING" | undefined;
|
|
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,35 +2058,35 @@ 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
|
-
|
|
2069
|
+
email: string;
|
|
2070
2070
|
id: string;
|
|
2071
|
-
|
|
2071
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2072
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2072
2073
|
lastName: string;
|
|
2073
|
-
|
|
2074
|
+
firstName: string;
|
|
2074
2075
|
office: {
|
|
2075
|
-
id: string;
|
|
2076
2076
|
name: string;
|
|
2077
|
+
id: string;
|
|
2077
2078
|
} | null;
|
|
2078
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2079
2079
|
}, {
|
|
2080
|
-
|
|
2080
|
+
email: string;
|
|
2081
2081
|
id: string;
|
|
2082
|
-
|
|
2082
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2083
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2083
2084
|
lastName: string;
|
|
2084
|
-
|
|
2085
|
+
firstName: string;
|
|
2085
2086
|
office: {
|
|
2086
|
-
id: string;
|
|
2087
2087
|
name: string;
|
|
2088
|
+
id: string;
|
|
2088
2089
|
} | null;
|
|
2089
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2090
2090
|
}>;
|
|
2091
2091
|
activeResources: z.ZodArray<z.ZodEnum<["BOOKING", "ACTIVE", "WORKER"]>, "many">;
|
|
2092
2092
|
activeTargetCount: z.ZodNumber;
|
|
@@ -2095,36 +2095,36 @@ export declare const userAccessGrantsContract: {
|
|
|
2095
2095
|
lastActivityAt: z.ZodNullable<z.ZodString>;
|
|
2096
2096
|
}, "strip", z.ZodTypeAny, {
|
|
2097
2097
|
grantee: {
|
|
2098
|
-
|
|
2098
|
+
email: string;
|
|
2099
2099
|
id: string;
|
|
2100
|
-
|
|
2100
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2101
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2101
2102
|
lastName: string;
|
|
2102
|
-
|
|
2103
|
+
firstName: string;
|
|
2103
2104
|
office: {
|
|
2104
|
-
id: string;
|
|
2105
2105
|
name: string;
|
|
2106
|
+
id: string;
|
|
2106
2107
|
} | null;
|
|
2107
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2108
2108
|
};
|
|
2109
|
-
activeResources: ("ACTIVE" | "
|
|
2109
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
2110
2110
|
activeTargetCount: number;
|
|
2111
2111
|
activeGrantCount: number;
|
|
2112
2112
|
nearestExpiry: string | null;
|
|
2113
2113
|
lastActivityAt: string | null;
|
|
2114
2114
|
}, {
|
|
2115
2115
|
grantee: {
|
|
2116
|
-
|
|
2116
|
+
email: string;
|
|
2117
2117
|
id: string;
|
|
2118
|
-
|
|
2118
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2119
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2119
2120
|
lastName: string;
|
|
2120
|
-
|
|
2121
|
+
firstName: string;
|
|
2121
2122
|
office: {
|
|
2122
|
-
id: string;
|
|
2123
2123
|
name: string;
|
|
2124
|
+
id: string;
|
|
2124
2125
|
} | null;
|
|
2125
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2126
2126
|
};
|
|
2127
|
-
activeResources: ("ACTIVE" | "
|
|
2127
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
2128
2128
|
activeTargetCount: number;
|
|
2129
2129
|
activeGrantCount: number;
|
|
2130
2130
|
nearestExpiry: string | null;
|
|
@@ -2139,18 +2139,18 @@ export declare const userAccessGrantsContract: {
|
|
|
2139
2139
|
limit: number;
|
|
2140
2140
|
items: {
|
|
2141
2141
|
grantee: {
|
|
2142
|
-
|
|
2142
|
+
email: string;
|
|
2143
2143
|
id: string;
|
|
2144
|
-
|
|
2144
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2145
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2145
2146
|
lastName: string;
|
|
2146
|
-
|
|
2147
|
+
firstName: string;
|
|
2147
2148
|
office: {
|
|
2148
|
-
id: string;
|
|
2149
2149
|
name: string;
|
|
2150
|
+
id: string;
|
|
2150
2151
|
} | null;
|
|
2151
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2152
2152
|
};
|
|
2153
|
-
activeResources: ("ACTIVE" | "
|
|
2153
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
2154
2154
|
activeTargetCount: number;
|
|
2155
2155
|
activeGrantCount: number;
|
|
2156
2156
|
nearestExpiry: string | null;
|
|
@@ -2164,18 +2164,18 @@ export declare const userAccessGrantsContract: {
|
|
|
2164
2164
|
limit: number;
|
|
2165
2165
|
items: {
|
|
2166
2166
|
grantee: {
|
|
2167
|
-
|
|
2167
|
+
email: string;
|
|
2168
2168
|
id: string;
|
|
2169
|
-
|
|
2169
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2170
|
+
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2170
2171
|
lastName: string;
|
|
2171
|
-
|
|
2172
|
+
firstName: string;
|
|
2172
2173
|
office: {
|
|
2173
|
-
id: string;
|
|
2174
2174
|
name: string;
|
|
2175
|
+
id: string;
|
|
2175
2176
|
} | null;
|
|
2176
|
-
roles: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[];
|
|
2177
2177
|
};
|
|
2178
|
-
activeResources: ("ACTIVE" | "
|
|
2178
|
+
activeResources: ("ACTIVE" | "BOOKING" | "WORKER")[];
|
|
2179
2179
|
activeTargetCount: number;
|
|
2180
2180
|
activeGrantCount: number;
|
|
2181
2181
|
nearestExpiry: string | null;
|
|
@@ -2239,26 +2239,26 @@ export declare const userAccessGrantsContract: {
|
|
|
2239
2239
|
};
|
|
2240
2240
|
};
|
|
2241
2241
|
list: {
|
|
2242
|
+
pathParams: z.ZodObject<{
|
|
2243
|
+
granteeUserId: z.ZodString;
|
|
2244
|
+
}, "strip", z.ZodTypeAny, {
|
|
2245
|
+
granteeUserId: string;
|
|
2246
|
+
}, {
|
|
2247
|
+
granteeUserId: string;
|
|
2248
|
+
}>;
|
|
2242
2249
|
query: z.ZodObject<{
|
|
2243
2250
|
page: z.ZodDefault<z.ZodNumber>;
|
|
2244
2251
|
} & {
|
|
2245
2252
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
2246
2253
|
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ACTIVE", "EXPIRED", "REVOKED", "ALL"]>>>;
|
|
2247
2254
|
}, "strip", z.ZodTypeAny, {
|
|
2248
|
-
status: "ACTIVE" | "EXPIRED" | "REVOKED" | "ALL";
|
|
2249
|
-
limit: number;
|
|
2250
2255
|
page: number;
|
|
2256
|
+
limit: number;
|
|
2257
|
+
status: "ACTIVE" | "EXPIRED" | "REVOKED" | "ALL";
|
|
2251
2258
|
}, {
|
|
2252
|
-
status?: "ACTIVE" | "EXPIRED" | "REVOKED" | "ALL" | undefined;
|
|
2253
|
-
limit?: number | undefined;
|
|
2254
2259
|
page?: number | undefined;
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
granteeUserId: z.ZodString;
|
|
2258
|
-
}, "strip", z.ZodTypeAny, {
|
|
2259
|
-
granteeUserId: string;
|
|
2260
|
-
}, {
|
|
2261
|
-
granteeUserId: string;
|
|
2260
|
+
limit?: number | undefined;
|
|
2261
|
+
status?: "ACTIVE" | "EXPIRED" | "REVOKED" | "ALL" | undefined;
|
|
2262
2262
|
}>;
|
|
2263
2263
|
summary: "List access grants (audit history) for a grantee";
|
|
2264
2264
|
method: "GET";
|
|
@@ -2290,8 +2290,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2290
2290
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2291
2291
|
}, "strip", z.ZodTypeAny, {
|
|
2292
2292
|
id: string;
|
|
2293
|
-
firstName: string;
|
|
2294
2293
|
lastName: string;
|
|
2294
|
+
firstName: string;
|
|
2295
2295
|
phoneNumbers: {
|
|
2296
2296
|
id: string;
|
|
2297
2297
|
phoneNumber: string;
|
|
@@ -2301,8 +2301,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2301
2301
|
deletedAt?: string | null | undefined;
|
|
2302
2302
|
}, {
|
|
2303
2303
|
id: string;
|
|
2304
|
-
firstName: string;
|
|
2305
2304
|
lastName: string;
|
|
2305
|
+
firstName: string;
|
|
2306
2306
|
phoneNumbers?: {
|
|
2307
2307
|
id: string;
|
|
2308
2308
|
phoneNumber: string;
|
|
@@ -2334,8 +2334,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2334
2334
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2335
2335
|
}, "strip", z.ZodTypeAny, {
|
|
2336
2336
|
id: string;
|
|
2337
|
-
firstName: string;
|
|
2338
2337
|
lastName: string;
|
|
2338
|
+
firstName: string;
|
|
2339
2339
|
phoneNumbers: {
|
|
2340
2340
|
id: string;
|
|
2341
2341
|
phoneNumber: string;
|
|
@@ -2345,8 +2345,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2345
2345
|
deletedAt?: string | null | undefined;
|
|
2346
2346
|
}, {
|
|
2347
2347
|
id: string;
|
|
2348
|
-
firstName: string;
|
|
2349
2348
|
lastName: string;
|
|
2349
|
+
firstName: string;
|
|
2350
2350
|
phoneNumbers?: {
|
|
2351
2351
|
id: string;
|
|
2352
2352
|
phoneNumber: string;
|
|
@@ -2378,8 +2378,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2378
2378
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2379
2379
|
}, "strip", z.ZodTypeAny, {
|
|
2380
2380
|
id: string;
|
|
2381
|
-
firstName: string;
|
|
2382
2381
|
lastName: string;
|
|
2382
|
+
firstName: string;
|
|
2383
2383
|
phoneNumbers: {
|
|
2384
2384
|
id: string;
|
|
2385
2385
|
phoneNumber: string;
|
|
@@ -2389,8 +2389,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2389
2389
|
deletedAt?: string | null | undefined;
|
|
2390
2390
|
}, {
|
|
2391
2391
|
id: string;
|
|
2392
|
-
firstName: string;
|
|
2393
2392
|
lastName: string;
|
|
2393
|
+
firstName: string;
|
|
2394
2394
|
phoneNumbers?: {
|
|
2395
2395
|
id: string;
|
|
2396
2396
|
phoneNumber: string;
|
|
@@ -2429,8 +2429,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2429
2429
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2430
2430
|
}, "strip", z.ZodTypeAny, {
|
|
2431
2431
|
id: string;
|
|
2432
|
-
firstName: string;
|
|
2433
2432
|
lastName: string;
|
|
2433
|
+
firstName: string;
|
|
2434
2434
|
phoneNumbers: {
|
|
2435
2435
|
id: string;
|
|
2436
2436
|
phoneNumber: string;
|
|
@@ -2440,8 +2440,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2440
2440
|
deletedAt?: string | null | undefined;
|
|
2441
2441
|
}, {
|
|
2442
2442
|
id: string;
|
|
2443
|
-
firstName: string;
|
|
2444
2443
|
lastName: string;
|
|
2444
|
+
firstName: string;
|
|
2445
2445
|
phoneNumbers?: {
|
|
2446
2446
|
id: string;
|
|
2447
2447
|
phoneNumber: string;
|
|
@@ -2452,13 +2452,11 @@ 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;
|
|
2460
|
-
firstName: string;
|
|
2461
2458
|
lastName: string;
|
|
2459
|
+
firstName: string;
|
|
2462
2460
|
phoneNumbers: {
|
|
2463
2461
|
id: string;
|
|
2464
2462
|
phoneNumber: string;
|
|
@@ -2467,14 +2465,16 @@ 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
|
-
firstName: string;
|
|
2477
2476
|
lastName: string;
|
|
2477
|
+
firstName: string;
|
|
2478
2478
|
phoneNumbers: {
|
|
2479
2479
|
id: string;
|
|
2480
2480
|
phoneNumber: string;
|
|
@@ -2485,8 +2485,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2485
2485
|
};
|
|
2486
2486
|
target: {
|
|
2487
2487
|
id: string;
|
|
2488
|
-
firstName: string;
|
|
2489
2488
|
lastName: string;
|
|
2489
|
+
firstName: string;
|
|
2490
2490
|
phoneNumbers: {
|
|
2491
2491
|
id: string;
|
|
2492
2492
|
phoneNumber: string;
|
|
@@ -2498,8 +2498,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2498
2498
|
revokedAt: string | null;
|
|
2499
2499
|
revokedBy: {
|
|
2500
2500
|
id: string;
|
|
2501
|
-
firstName: string;
|
|
2502
2501
|
lastName: string;
|
|
2502
|
+
firstName: string;
|
|
2503
2503
|
phoneNumbers: {
|
|
2504
2504
|
id: string;
|
|
2505
2505
|
phoneNumber: string;
|
|
@@ -2510,13 +2510,11 @@ 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;
|
|
2518
|
-
firstName: string;
|
|
2519
2516
|
lastName: string;
|
|
2517
|
+
firstName: string;
|
|
2520
2518
|
phoneNumbers?: {
|
|
2521
2519
|
id: string;
|
|
2522
2520
|
phoneNumber: string;
|
|
@@ -2525,14 +2523,16 @@ 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
|
-
firstName: string;
|
|
2535
2534
|
lastName: string;
|
|
2535
|
+
firstName: string;
|
|
2536
2536
|
phoneNumbers?: {
|
|
2537
2537
|
id: string;
|
|
2538
2538
|
phoneNumber: string;
|
|
@@ -2543,8 +2543,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2543
2543
|
};
|
|
2544
2544
|
target: {
|
|
2545
2545
|
id: string;
|
|
2546
|
-
firstName: string;
|
|
2547
2546
|
lastName: string;
|
|
2547
|
+
firstName: string;
|
|
2548
2548
|
phoneNumbers?: {
|
|
2549
2549
|
id: string;
|
|
2550
2550
|
phoneNumber: string;
|
|
@@ -2556,8 +2556,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2556
2556
|
revokedAt: string | Date | null;
|
|
2557
2557
|
revokedBy: {
|
|
2558
2558
|
id: string;
|
|
2559
|
-
firstName: string;
|
|
2560
2559
|
lastName: string;
|
|
2560
|
+
firstName: string;
|
|
2561
2561
|
phoneNumbers?: {
|
|
2562
2562
|
id: string;
|
|
2563
2563
|
phoneNumber: string;
|
|
@@ -2576,13 +2576,11 @@ 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;
|
|
2584
|
-
firstName: string;
|
|
2585
2582
|
lastName: string;
|
|
2583
|
+
firstName: string;
|
|
2586
2584
|
phoneNumbers: {
|
|
2587
2585
|
id: string;
|
|
2588
2586
|
phoneNumber: string;
|
|
@@ -2591,14 +2589,16 @@ 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
|
-
firstName: string;
|
|
2601
2600
|
lastName: string;
|
|
2601
|
+
firstName: string;
|
|
2602
2602
|
phoneNumbers: {
|
|
2603
2603
|
id: string;
|
|
2604
2604
|
phoneNumber: string;
|
|
@@ -2609,8 +2609,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2609
2609
|
};
|
|
2610
2610
|
target: {
|
|
2611
2611
|
id: string;
|
|
2612
|
-
firstName: string;
|
|
2613
2612
|
lastName: string;
|
|
2613
|
+
firstName: string;
|
|
2614
2614
|
phoneNumbers: {
|
|
2615
2615
|
id: string;
|
|
2616
2616
|
phoneNumber: string;
|
|
@@ -2622,8 +2622,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2622
2622
|
revokedAt: string | null;
|
|
2623
2623
|
revokedBy: {
|
|
2624
2624
|
id: string;
|
|
2625
|
-
firstName: string;
|
|
2626
2625
|
lastName: string;
|
|
2626
|
+
firstName: string;
|
|
2627
2627
|
phoneNumbers: {
|
|
2628
2628
|
id: string;
|
|
2629
2629
|
phoneNumber: string;
|
|
@@ -2641,13 +2641,11 @@ 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;
|
|
2649
|
-
firstName: string;
|
|
2650
2647
|
lastName: string;
|
|
2648
|
+
firstName: string;
|
|
2651
2649
|
phoneNumbers?: {
|
|
2652
2650
|
id: string;
|
|
2653
2651
|
phoneNumber: string;
|
|
@@ -2656,14 +2654,16 @@ 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
|
-
firstName: string;
|
|
2666
2665
|
lastName: string;
|
|
2666
|
+
firstName: string;
|
|
2667
2667
|
phoneNumbers?: {
|
|
2668
2668
|
id: string;
|
|
2669
2669
|
phoneNumber: string;
|
|
@@ -2674,8 +2674,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2674
2674
|
};
|
|
2675
2675
|
target: {
|
|
2676
2676
|
id: string;
|
|
2677
|
-
firstName: string;
|
|
2678
2677
|
lastName: string;
|
|
2678
|
+
firstName: string;
|
|
2679
2679
|
phoneNumbers?: {
|
|
2680
2680
|
id: string;
|
|
2681
2681
|
phoneNumber: string;
|
|
@@ -2687,8 +2687,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2687
2687
|
revokedAt: string | Date | null;
|
|
2688
2688
|
revokedBy: {
|
|
2689
2689
|
id: string;
|
|
2690
|
-
firstName: string;
|
|
2691
2690
|
lastName: string;
|
|
2691
|
+
firstName: string;
|
|
2692
2692
|
phoneNumbers?: {
|
|
2693
2693
|
id: string;
|
|
2694
2694
|
phoneNumber: string;
|
|
@@ -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: {
|
|
@@ -2835,8 +2835,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2835
2835
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2836
2836
|
}, "strip", z.ZodTypeAny, {
|
|
2837
2837
|
id: string;
|
|
2838
|
-
firstName: string;
|
|
2839
2838
|
lastName: string;
|
|
2839
|
+
firstName: string;
|
|
2840
2840
|
phoneNumbers: {
|
|
2841
2841
|
id: string;
|
|
2842
2842
|
phoneNumber: string;
|
|
@@ -2846,8 +2846,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2846
2846
|
deletedAt?: string | null | undefined;
|
|
2847
2847
|
}, {
|
|
2848
2848
|
id: string;
|
|
2849
|
-
firstName: string;
|
|
2850
2849
|
lastName: string;
|
|
2850
|
+
firstName: string;
|
|
2851
2851
|
phoneNumbers?: {
|
|
2852
2852
|
id: string;
|
|
2853
2853
|
phoneNumber: string;
|
|
@@ -2879,8 +2879,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2879
2879
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2880
2880
|
}, "strip", z.ZodTypeAny, {
|
|
2881
2881
|
id: string;
|
|
2882
|
-
firstName: string;
|
|
2883
2882
|
lastName: string;
|
|
2883
|
+
firstName: string;
|
|
2884
2884
|
phoneNumbers: {
|
|
2885
2885
|
id: string;
|
|
2886
2886
|
phoneNumber: string;
|
|
@@ -2890,8 +2890,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2890
2890
|
deletedAt?: string | null | undefined;
|
|
2891
2891
|
}, {
|
|
2892
2892
|
id: string;
|
|
2893
|
-
firstName: string;
|
|
2894
2893
|
lastName: string;
|
|
2894
|
+
firstName: string;
|
|
2895
2895
|
phoneNumbers?: {
|
|
2896
2896
|
id: string;
|
|
2897
2897
|
phoneNumber: string;
|
|
@@ -2923,8 +2923,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2923
2923
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2924
2924
|
}, "strip", z.ZodTypeAny, {
|
|
2925
2925
|
id: string;
|
|
2926
|
-
firstName: string;
|
|
2927
2926
|
lastName: string;
|
|
2927
|
+
firstName: string;
|
|
2928
2928
|
phoneNumbers: {
|
|
2929
2929
|
id: string;
|
|
2930
2930
|
phoneNumber: string;
|
|
@@ -2934,8 +2934,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2934
2934
|
deletedAt?: string | null | undefined;
|
|
2935
2935
|
}, {
|
|
2936
2936
|
id: string;
|
|
2937
|
-
firstName: string;
|
|
2938
2937
|
lastName: string;
|
|
2938
|
+
firstName: string;
|
|
2939
2939
|
phoneNumbers?: {
|
|
2940
2940
|
id: string;
|
|
2941
2941
|
phoneNumber: string;
|
|
@@ -2974,8 +2974,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2974
2974
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2975
2975
|
}, "strip", z.ZodTypeAny, {
|
|
2976
2976
|
id: string;
|
|
2977
|
-
firstName: string;
|
|
2978
2977
|
lastName: string;
|
|
2978
|
+
firstName: string;
|
|
2979
2979
|
phoneNumbers: {
|
|
2980
2980
|
id: string;
|
|
2981
2981
|
phoneNumber: string;
|
|
@@ -2985,8 +2985,8 @@ export declare const userAccessGrantsContract: {
|
|
|
2985
2985
|
deletedAt?: string | null | undefined;
|
|
2986
2986
|
}, {
|
|
2987
2987
|
id: string;
|
|
2988
|
-
firstName: string;
|
|
2989
2988
|
lastName: string;
|
|
2989
|
+
firstName: string;
|
|
2990
2990
|
phoneNumbers?: {
|
|
2991
2991
|
id: string;
|
|
2992
2992
|
phoneNumber: string;
|
|
@@ -2997,13 +2997,11 @@ 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;
|
|
3005
|
-
firstName: string;
|
|
3006
3003
|
lastName: string;
|
|
3004
|
+
firstName: string;
|
|
3007
3005
|
phoneNumbers: {
|
|
3008
3006
|
id: string;
|
|
3009
3007
|
phoneNumber: string;
|
|
@@ -3012,14 +3010,16 @@ 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
|
-
firstName: string;
|
|
3022
3021
|
lastName: string;
|
|
3022
|
+
firstName: string;
|
|
3023
3023
|
phoneNumbers: {
|
|
3024
3024
|
id: string;
|
|
3025
3025
|
phoneNumber: string;
|
|
@@ -3030,8 +3030,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3030
3030
|
};
|
|
3031
3031
|
target: {
|
|
3032
3032
|
id: string;
|
|
3033
|
-
firstName: string;
|
|
3034
3033
|
lastName: string;
|
|
3034
|
+
firstName: string;
|
|
3035
3035
|
phoneNumbers: {
|
|
3036
3036
|
id: string;
|
|
3037
3037
|
phoneNumber: string;
|
|
@@ -3043,8 +3043,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3043
3043
|
revokedAt: string | null;
|
|
3044
3044
|
revokedBy: {
|
|
3045
3045
|
id: string;
|
|
3046
|
-
firstName: string;
|
|
3047
3046
|
lastName: string;
|
|
3047
|
+
firstName: string;
|
|
3048
3048
|
phoneNumbers: {
|
|
3049
3049
|
id: string;
|
|
3050
3050
|
phoneNumber: string;
|
|
@@ -3055,13 +3055,11 @@ 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;
|
|
3063
|
-
firstName: string;
|
|
3064
3061
|
lastName: string;
|
|
3062
|
+
firstName: string;
|
|
3065
3063
|
phoneNumbers?: {
|
|
3066
3064
|
id: string;
|
|
3067
3065
|
phoneNumber: string;
|
|
@@ -3070,14 +3068,16 @@ 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
|
-
firstName: string;
|
|
3080
3079
|
lastName: string;
|
|
3080
|
+
firstName: string;
|
|
3081
3081
|
phoneNumbers?: {
|
|
3082
3082
|
id: string;
|
|
3083
3083
|
phoneNumber: string;
|
|
@@ -3088,8 +3088,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3088
3088
|
};
|
|
3089
3089
|
target: {
|
|
3090
3090
|
id: string;
|
|
3091
|
-
firstName: string;
|
|
3092
3091
|
lastName: string;
|
|
3092
|
+
firstName: string;
|
|
3093
3093
|
phoneNumbers?: {
|
|
3094
3094
|
id: string;
|
|
3095
3095
|
phoneNumber: string;
|
|
@@ -3101,8 +3101,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3101
3101
|
revokedAt: string | Date | null;
|
|
3102
3102
|
revokedBy: {
|
|
3103
3103
|
id: string;
|
|
3104
|
-
firstName: string;
|
|
3105
3104
|
lastName: string;
|
|
3105
|
+
firstName: string;
|
|
3106
3106
|
phoneNumbers?: {
|
|
3107
3107
|
id: string;
|
|
3108
3108
|
phoneNumber: string;
|
|
@@ -3138,8 +3138,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3138
3138
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3139
3139
|
}, "strip", z.ZodTypeAny, {
|
|
3140
3140
|
id: string;
|
|
3141
|
-
firstName: string;
|
|
3142
3141
|
lastName: string;
|
|
3142
|
+
firstName: string;
|
|
3143
3143
|
phoneNumbers: {
|
|
3144
3144
|
id: string;
|
|
3145
3145
|
phoneNumber: string;
|
|
@@ -3149,8 +3149,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3149
3149
|
deletedAt?: string | null | undefined;
|
|
3150
3150
|
}, {
|
|
3151
3151
|
id: string;
|
|
3152
|
-
firstName: string;
|
|
3153
3152
|
lastName: string;
|
|
3153
|
+
firstName: string;
|
|
3154
3154
|
phoneNumbers?: {
|
|
3155
3155
|
id: string;
|
|
3156
3156
|
phoneNumber: string;
|
|
@@ -3182,8 +3182,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3182
3182
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3183
3183
|
}, "strip", z.ZodTypeAny, {
|
|
3184
3184
|
id: string;
|
|
3185
|
-
firstName: string;
|
|
3186
3185
|
lastName: string;
|
|
3186
|
+
firstName: string;
|
|
3187
3187
|
phoneNumbers: {
|
|
3188
3188
|
id: string;
|
|
3189
3189
|
phoneNumber: string;
|
|
@@ -3193,8 +3193,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3193
3193
|
deletedAt?: string | null | undefined;
|
|
3194
3194
|
}, {
|
|
3195
3195
|
id: string;
|
|
3196
|
-
firstName: string;
|
|
3197
3196
|
lastName: string;
|
|
3197
|
+
firstName: string;
|
|
3198
3198
|
phoneNumbers?: {
|
|
3199
3199
|
id: string;
|
|
3200
3200
|
phoneNumber: string;
|
|
@@ -3226,8 +3226,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3226
3226
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3227
3227
|
}, "strip", z.ZodTypeAny, {
|
|
3228
3228
|
id: string;
|
|
3229
|
-
firstName: string;
|
|
3230
3229
|
lastName: string;
|
|
3230
|
+
firstName: string;
|
|
3231
3231
|
phoneNumbers: {
|
|
3232
3232
|
id: string;
|
|
3233
3233
|
phoneNumber: string;
|
|
@@ -3237,8 +3237,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3237
3237
|
deletedAt?: string | null | undefined;
|
|
3238
3238
|
}, {
|
|
3239
3239
|
id: string;
|
|
3240
|
-
firstName: string;
|
|
3241
3240
|
lastName: string;
|
|
3241
|
+
firstName: string;
|
|
3242
3242
|
phoneNumbers?: {
|
|
3243
3243
|
id: string;
|
|
3244
3244
|
phoneNumber: string;
|
|
@@ -3277,8 +3277,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3277
3277
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3278
3278
|
}, "strip", z.ZodTypeAny, {
|
|
3279
3279
|
id: string;
|
|
3280
|
-
firstName: string;
|
|
3281
3280
|
lastName: string;
|
|
3281
|
+
firstName: string;
|
|
3282
3282
|
phoneNumbers: {
|
|
3283
3283
|
id: string;
|
|
3284
3284
|
phoneNumber: string;
|
|
@@ -3288,8 +3288,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3288
3288
|
deletedAt?: string | null | undefined;
|
|
3289
3289
|
}, {
|
|
3290
3290
|
id: string;
|
|
3291
|
-
firstName: string;
|
|
3292
3291
|
lastName: string;
|
|
3292
|
+
firstName: string;
|
|
3293
3293
|
phoneNumbers?: {
|
|
3294
3294
|
id: string;
|
|
3295
3295
|
phoneNumber: string;
|
|
@@ -3300,13 +3300,11 @@ 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;
|
|
3308
|
-
firstName: string;
|
|
3309
3306
|
lastName: string;
|
|
3307
|
+
firstName: string;
|
|
3310
3308
|
phoneNumbers: {
|
|
3311
3309
|
id: string;
|
|
3312
3310
|
phoneNumber: string;
|
|
@@ -3315,14 +3313,16 @@ 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
|
-
firstName: string;
|
|
3325
3324
|
lastName: string;
|
|
3325
|
+
firstName: string;
|
|
3326
3326
|
phoneNumbers: {
|
|
3327
3327
|
id: string;
|
|
3328
3328
|
phoneNumber: string;
|
|
@@ -3333,8 +3333,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3333
3333
|
};
|
|
3334
3334
|
target: {
|
|
3335
3335
|
id: string;
|
|
3336
|
-
firstName: string;
|
|
3337
3336
|
lastName: string;
|
|
3337
|
+
firstName: string;
|
|
3338
3338
|
phoneNumbers: {
|
|
3339
3339
|
id: string;
|
|
3340
3340
|
phoneNumber: string;
|
|
@@ -3346,8 +3346,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3346
3346
|
revokedAt: string | null;
|
|
3347
3347
|
revokedBy: {
|
|
3348
3348
|
id: string;
|
|
3349
|
-
firstName: string;
|
|
3350
3349
|
lastName: string;
|
|
3350
|
+
firstName: string;
|
|
3351
3351
|
phoneNumbers: {
|
|
3352
3352
|
id: string;
|
|
3353
3353
|
phoneNumber: string;
|
|
@@ -3358,13 +3358,11 @@ 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;
|
|
3366
|
-
firstName: string;
|
|
3367
3364
|
lastName: string;
|
|
3365
|
+
firstName: string;
|
|
3368
3366
|
phoneNumbers?: {
|
|
3369
3367
|
id: string;
|
|
3370
3368
|
phoneNumber: string;
|
|
@@ -3373,14 +3371,16 @@ 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
|
-
firstName: string;
|
|
3383
3382
|
lastName: string;
|
|
3383
|
+
firstName: string;
|
|
3384
3384
|
phoneNumbers?: {
|
|
3385
3385
|
id: string;
|
|
3386
3386
|
phoneNumber: string;
|
|
@@ -3391,8 +3391,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3391
3391
|
};
|
|
3392
3392
|
target: {
|
|
3393
3393
|
id: string;
|
|
3394
|
-
firstName: string;
|
|
3395
3394
|
lastName: string;
|
|
3395
|
+
firstName: string;
|
|
3396
3396
|
phoneNumbers?: {
|
|
3397
3397
|
id: string;
|
|
3398
3398
|
phoneNumber: string;
|
|
@@ -3404,8 +3404,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3404
3404
|
revokedAt: string | Date | null;
|
|
3405
3405
|
revokedBy: {
|
|
3406
3406
|
id: string;
|
|
3407
|
-
firstName: string;
|
|
3408
3407
|
lastName: string;
|
|
3408
|
+
firstName: string;
|
|
3409
3409
|
phoneNumbers?: {
|
|
3410
3410
|
id: string;
|
|
3411
3411
|
phoneNumber: string;
|
|
@@ -3418,13 +3418,11 @@ 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;
|
|
3426
|
-
firstName: string;
|
|
3427
3424
|
lastName: string;
|
|
3425
|
+
firstName: string;
|
|
3428
3426
|
phoneNumbers: {
|
|
3429
3427
|
id: string;
|
|
3430
3428
|
phoneNumber: string;
|
|
@@ -3433,14 +3431,16 @@ 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
|
-
firstName: string;
|
|
3443
3442
|
lastName: string;
|
|
3443
|
+
firstName: string;
|
|
3444
3444
|
phoneNumbers: {
|
|
3445
3445
|
id: string;
|
|
3446
3446
|
phoneNumber: string;
|
|
@@ -3451,8 +3451,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3451
3451
|
};
|
|
3452
3452
|
target: {
|
|
3453
3453
|
id: string;
|
|
3454
|
-
firstName: string;
|
|
3455
3454
|
lastName: string;
|
|
3455
|
+
firstName: string;
|
|
3456
3456
|
phoneNumbers: {
|
|
3457
3457
|
id: string;
|
|
3458
3458
|
phoneNumber: string;
|
|
@@ -3464,8 +3464,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3464
3464
|
revokedAt: string | null;
|
|
3465
3465
|
revokedBy: {
|
|
3466
3466
|
id: string;
|
|
3467
|
-
firstName: string;
|
|
3468
3467
|
lastName: string;
|
|
3468
|
+
firstName: string;
|
|
3469
3469
|
phoneNumbers: {
|
|
3470
3470
|
id: string;
|
|
3471
3471
|
phoneNumber: string;
|
|
@@ -3477,13 +3477,11 @@ 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;
|
|
3485
|
-
firstName: string;
|
|
3486
3483
|
lastName: string;
|
|
3484
|
+
firstName: string;
|
|
3487
3485
|
phoneNumbers: {
|
|
3488
3486
|
id: string;
|
|
3489
3487
|
phoneNumber: string;
|
|
@@ -3492,14 +3490,16 @@ 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
|
-
firstName: string;
|
|
3502
3501
|
lastName: string;
|
|
3502
|
+
firstName: string;
|
|
3503
3503
|
phoneNumbers: {
|
|
3504
3504
|
id: string;
|
|
3505
3505
|
phoneNumber: string;
|
|
@@ -3510,8 +3510,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3510
3510
|
};
|
|
3511
3511
|
target: {
|
|
3512
3512
|
id: string;
|
|
3513
|
-
firstName: string;
|
|
3514
3513
|
lastName: string;
|
|
3514
|
+
firstName: string;
|
|
3515
3515
|
phoneNumbers: {
|
|
3516
3516
|
id: string;
|
|
3517
3517
|
phoneNumber: string;
|
|
@@ -3523,8 +3523,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3523
3523
|
revokedAt: string | null;
|
|
3524
3524
|
revokedBy: {
|
|
3525
3525
|
id: string;
|
|
3526
|
-
firstName: string;
|
|
3527
3526
|
lastName: string;
|
|
3527
|
+
firstName: string;
|
|
3528
3528
|
phoneNumbers: {
|
|
3529
3529
|
id: string;
|
|
3530
3530
|
phoneNumber: string;
|
|
@@ -3537,13 +3537,11 @@ 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;
|
|
3545
|
-
firstName: string;
|
|
3546
3543
|
lastName: string;
|
|
3544
|
+
firstName: string;
|
|
3547
3545
|
phoneNumbers?: {
|
|
3548
3546
|
id: string;
|
|
3549
3547
|
phoneNumber: string;
|
|
@@ -3552,14 +3550,16 @@ 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
|
-
firstName: string;
|
|
3562
3561
|
lastName: string;
|
|
3562
|
+
firstName: string;
|
|
3563
3563
|
phoneNumbers?: {
|
|
3564
3564
|
id: string;
|
|
3565
3565
|
phoneNumber: string;
|
|
@@ -3570,8 +3570,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3570
3570
|
};
|
|
3571
3571
|
target: {
|
|
3572
3572
|
id: string;
|
|
3573
|
-
firstName: string;
|
|
3574
3573
|
lastName: string;
|
|
3574
|
+
firstName: string;
|
|
3575
3575
|
phoneNumbers?: {
|
|
3576
3576
|
id: string;
|
|
3577
3577
|
phoneNumber: string;
|
|
@@ -3583,8 +3583,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3583
3583
|
revokedAt: string | Date | null;
|
|
3584
3584
|
revokedBy: {
|
|
3585
3585
|
id: string;
|
|
3586
|
-
firstName: string;
|
|
3587
3586
|
lastName: string;
|
|
3587
|
+
firstName: string;
|
|
3588
3588
|
phoneNumbers?: {
|
|
3589
3589
|
id: string;
|
|
3590
3590
|
phoneNumber: string;
|
|
@@ -3596,13 +3596,11 @@ 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;
|
|
3604
|
-
firstName: string;
|
|
3605
3602
|
lastName: string;
|
|
3603
|
+
firstName: string;
|
|
3606
3604
|
phoneNumbers?: {
|
|
3607
3605
|
id: string;
|
|
3608
3606
|
phoneNumber: string;
|
|
@@ -3611,14 +3609,16 @@ 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
|
-
firstName: string;
|
|
3621
3620
|
lastName: string;
|
|
3621
|
+
firstName: string;
|
|
3622
3622
|
phoneNumbers?: {
|
|
3623
3623
|
id: string;
|
|
3624
3624
|
phoneNumber: string;
|
|
@@ -3629,8 +3629,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3629
3629
|
};
|
|
3630
3630
|
target: {
|
|
3631
3631
|
id: string;
|
|
3632
|
-
firstName: string;
|
|
3633
3632
|
lastName: string;
|
|
3633
|
+
firstName: string;
|
|
3634
3634
|
phoneNumbers?: {
|
|
3635
3635
|
id: string;
|
|
3636
3636
|
phoneNumber: string;
|
|
@@ -3642,8 +3642,8 @@ export declare const userAccessGrantsContract: {
|
|
|
3642
3642
|
revokedAt: string | Date | null;
|
|
3643
3643
|
revokedBy: {
|
|
3644
3644
|
id: string;
|
|
3645
|
-
firstName: string;
|
|
3646
3645
|
lastName: string;
|
|
3646
|
+
firstName: string;
|
|
3647
3647
|
phoneNumbers?: {
|
|
3648
3648
|
id: string;
|
|
3649
3649
|
phoneNumber: string;
|