@opencrvs/toolkit 2.1.0-rc.0cb2d8f → 2.1.0-rc.12673aa
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/README.md +3 -12
- package/build.sh +9 -1
- package/create-countryconfig/index.js +412 -59
- package/create-countryconfig/node_modules/.bin/degit +21 -0
- package/create-countryconfig/package.json +4 -1
- package/dist/application-config/index.js +342 -276
- package/dist/authentication/index.d.ts +67 -0
- package/dist/authentication/index.d.ts.map +1 -0
- package/dist/authentication/index.js +750 -0
- package/dist/cli.js +1918 -282
- package/dist/commons/api/router.d.ts +724 -126
- package/dist/commons/conditionals/conditionals.d.ts +6 -6
- package/dist/commons/conditionals/validate.d.ts +16 -5
- package/dist/commons/events/ActionDocument.d.ts +11 -17
- package/dist/commons/events/ActionInput.d.ts +4 -10
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +24 -0
- package/dist/commons/events/AuditLog.d.ts +147 -0
- package/dist/commons/events/EventConfig.d.ts +3 -0
- package/dist/commons/events/EventDocument.d.ts +472 -4
- package/dist/commons/events/EventIndex.d.ts +3 -26
- package/dist/commons/events/EventMetadata.d.ts +1 -11
- package/dist/commons/events/EventStatus.d.ts +19 -0
- package/dist/commons/events/FieldConfig.d.ts +89 -53
- package/dist/commons/events/FieldTypeMapping.d.ts +27 -27
- package/dist/commons/events/FieldValue.d.ts +2 -2
- package/dist/commons/events/Flag.d.ts +42 -0
- package/dist/commons/events/PlainDate.d.ts +8 -0
- package/dist/commons/events/SummaryConfig.d.ts +249 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +17 -14
- package/dist/commons/events/event.d.ts +12 -0
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/locationPayloads.d.ts +95 -0
- package/dist/commons/events/locations.d.ts +246 -13
- package/dist/commons/events/mocks.test.utils.d.ts +46 -2
- package/dist/commons/events/test.utils.d.ts +29 -11
- package/dist/commons/events/utils.d.ts +15 -4
- package/dist/commons/notification/UserNotifications.d.ts +28 -13
- package/dist/commons/notification/dispatch.d.ts +10 -0
- package/dist/commons/notification/index.d.ts +1 -0
- package/dist/conditionals/index.js +328 -58
- package/dist/csv.d.ts +25 -0
- package/dist/csv.d.ts.map +1 -0
- package/dist/csv.js +120 -0
- package/dist/environment/index.d.ts +1 -0
- package/dist/environment/index.d.ts.map +1 -1
- package/dist/environment/index.js +10 -0
- package/dist/environment/logger.d.ts +15 -3
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +1 -1
- package/dist/environment/paths.d.ts +7 -0
- package/dist/environment/paths.d.ts.map +1 -0
- package/dist/environment/paths.js +72 -0
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/questions.js +20 -14
- package/dist/environment/setup-environment.js +43 -28
- package/dist/environment/templates.d.ts +0 -1
- package/dist/environment/templates.d.ts.map +1 -1
- package/dist/environment/templates.js +5 -9
- package/dist/environment/update-workflows.d.ts.map +1 -1
- package/dist/environment/update-workflows.js +21 -5
- package/dist/environment/upgrade.d.ts +2 -0
- package/dist/environment/upgrade.d.ts.map +1 -0
- package/dist/environment/upgrade.js +82 -0
- package/dist/environment/users.js +11 -13
- package/dist/environment/utils.d.ts +0 -12
- package/dist/environment/utils.d.ts.map +1 -1
- package/dist/environment/utils.js +1 -28
- package/dist/events/index.js +7692 -7206
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +2 -2
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +2 -2
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts +3 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.js +511 -0
- package/dist/migrations/v2.1/add-translations.d.ts +9 -0
- package/dist/migrations/v2.1/add-translations.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-translations.js +213 -0
- package/dist/migrations/v2.1/enable-telemetry.d.ts +3 -0
- package/dist/migrations/v2.1/enable-telemetry.d.ts.map +1 -0
- package/dist/migrations/v2.1/enable-telemetry.js +438 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -1
- package/dist/migrations/v2.1/index.js +1058 -0
- package/dist/notification/index.js +1859 -1463
- package/dist/scopes/index.d.ts +327 -32
- package/dist/scopes/index.js +329 -58
- package/dist/telemetry/index.d.ts +45 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +39 -0
- package/dist/templates/charts-values/dependencies/values.yaml +2 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +4 -3
- package/dist/templates/charts-values/opentelemetry/values.yaml +95 -0
- package/dist/templates/charts-values/traefik/values.yaml +23 -9
- package/dist/templates/inventory/inventory.template.yml +1 -3
- package/dist/translations/check.d.ts +21 -0
- package/dist/translations/check.d.ts.map +1 -0
- package/dist/translations/check.js +132 -0
- package/dist/verify/endpoints.d.ts +2 -0
- package/dist/verify/endpoints.d.ts.map +1 -0
- package/dist/verify/endpoints.js +345 -0
- package/opencrvs-toolkit-2.1.0-rc.12673aa.tgz +0 -0
- package/package.json +13 -7
- package/tsconfig.build.json +11 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.json +3 -0
- package/dist/templates/inventory/production.example.yml +0 -77
- package/dist/templates/inventory/qa.example.yml +0 -48
- package/opencrvs-toolkit-2.1.0-rc.0cb2d8f.tgz +0 -0
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -223,9 +223,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
223
223
|
status: "Accepted" | "Rejected" | "Requested";
|
|
224
224
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
225
225
|
type: "ARCHIVE";
|
|
226
|
-
content
|
|
226
|
+
content?: {
|
|
227
227
|
reason: string;
|
|
228
|
-
};
|
|
228
|
+
} | undefined;
|
|
229
229
|
} | {
|
|
230
230
|
id: string & import("zod").$brand<"UUID">;
|
|
231
231
|
transactionId: string;
|
|
@@ -407,9 +407,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
407
407
|
status: "Accepted" | "Rejected" | "Requested";
|
|
408
408
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
409
409
|
type: "EDIT";
|
|
410
|
-
content
|
|
410
|
+
content?: {
|
|
411
411
|
comment?: string | undefined;
|
|
412
|
-
};
|
|
412
|
+
} | undefined;
|
|
413
413
|
} | {
|
|
414
414
|
id: string & import("zod").$brand<"UUID">;
|
|
415
415
|
transactionId: string;
|
|
@@ -549,9 +549,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
549
549
|
status: "Accepted" | "Rejected" | "Requested";
|
|
550
550
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
551
551
|
type: "ARCHIVE";
|
|
552
|
-
content
|
|
552
|
+
content?: {
|
|
553
553
|
reason: string;
|
|
554
|
-
};
|
|
554
|
+
} | undefined;
|
|
555
555
|
} | {
|
|
556
556
|
id: string & import("zod").$brand<"UUID">;
|
|
557
557
|
transactionId: string;
|
|
@@ -733,9 +733,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
733
733
|
status: "Accepted" | "Rejected" | "Requested";
|
|
734
734
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
735
735
|
type: "EDIT";
|
|
736
|
-
content
|
|
736
|
+
content?: {
|
|
737
737
|
comment?: string | undefined;
|
|
738
|
-
};
|
|
738
|
+
} | undefined;
|
|
739
739
|
} | {
|
|
740
740
|
id: string & import("zod").$brand<"UUID">;
|
|
741
741
|
transactionId: string;
|
|
@@ -874,9 +874,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
874
874
|
status: "Accepted" | "Rejected" | "Requested";
|
|
875
875
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
876
876
|
type: "ARCHIVE";
|
|
877
|
-
content
|
|
877
|
+
content?: {
|
|
878
878
|
reason: string;
|
|
879
|
-
};
|
|
879
|
+
} | undefined;
|
|
880
880
|
} | {
|
|
881
881
|
id: string & import("zod").$brand<"UUID">;
|
|
882
882
|
transactionId: string;
|
|
@@ -1058,9 +1058,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1058
1058
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1059
1059
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1060
1060
|
type: "EDIT";
|
|
1061
|
-
content
|
|
1061
|
+
content?: {
|
|
1062
1062
|
comment?: string | undefined;
|
|
1063
|
-
};
|
|
1063
|
+
} | undefined;
|
|
1064
1064
|
} | {
|
|
1065
1065
|
id: string & import("zod").$brand<"UUID">;
|
|
1066
1066
|
transactionId: string;
|
|
@@ -1354,9 +1354,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1354
1354
|
waitFor?: boolean | undefined;
|
|
1355
1355
|
createdAtLocation?: string | null | undefined;
|
|
1356
1356
|
type?: "ARCHIVE" | undefined;
|
|
1357
|
-
content
|
|
1357
|
+
content?: {
|
|
1358
1358
|
reason: string;
|
|
1359
|
-
};
|
|
1359
|
+
} | undefined;
|
|
1360
1360
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1361
1361
|
eventId: string;
|
|
1362
1362
|
transactionId: string;
|
|
@@ -1491,9 +1491,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1491
1491
|
waitFor?: boolean | undefined;
|
|
1492
1492
|
createdAtLocation?: string | null | undefined;
|
|
1493
1493
|
type?: "EDIT" | undefined;
|
|
1494
|
-
content: {
|
|
1495
|
-
comment?: string | undefined;
|
|
1496
|
-
};
|
|
1497
1494
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
1498
1495
|
actionId: string;
|
|
1499
1496
|
};
|
|
@@ -1648,9 +1645,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1648
1645
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1649
1646
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1650
1647
|
type: "ARCHIVE";
|
|
1651
|
-
content
|
|
1648
|
+
content?: {
|
|
1652
1649
|
reason: string;
|
|
1653
|
-
};
|
|
1650
|
+
} | undefined;
|
|
1654
1651
|
} | {
|
|
1655
1652
|
id: string & import("zod").$brand<"UUID">;
|
|
1656
1653
|
transactionId: string;
|
|
@@ -1832,9 +1829,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1832
1829
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1833
1830
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1834
1831
|
type: "EDIT";
|
|
1835
|
-
content
|
|
1832
|
+
content?: {
|
|
1836
1833
|
comment?: string | undefined;
|
|
1837
|
-
};
|
|
1834
|
+
} | undefined;
|
|
1838
1835
|
} | {
|
|
1839
1836
|
id: string & import("zod").$brand<"UUID">;
|
|
1840
1837
|
transactionId: string;
|
|
@@ -2012,9 +2009,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2012
2009
|
waitFor?: boolean | undefined;
|
|
2013
2010
|
createdAtLocation?: string | null | undefined;
|
|
2014
2011
|
type?: "ARCHIVE" | undefined;
|
|
2015
|
-
content
|
|
2012
|
+
content?: {
|
|
2016
2013
|
reason: string;
|
|
2017
|
-
};
|
|
2014
|
+
} | undefined;
|
|
2018
2015
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2019
2016
|
eventId: string;
|
|
2020
2017
|
transactionId: string;
|
|
@@ -2149,9 +2146,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2149
2146
|
waitFor?: boolean | undefined;
|
|
2150
2147
|
createdAtLocation?: string | null | undefined;
|
|
2151
2148
|
type?: "EDIT" | undefined;
|
|
2152
|
-
content: {
|
|
2153
|
-
comment?: string | undefined;
|
|
2154
|
-
};
|
|
2155
2149
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
2156
2150
|
actionId: string;
|
|
2157
2151
|
};
|
|
@@ -2284,9 +2278,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2284
2278
|
status: "Accepted" | "Rejected" | "Requested";
|
|
2285
2279
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2286
2280
|
type: "ARCHIVE";
|
|
2287
|
-
content
|
|
2281
|
+
content?: {
|
|
2288
2282
|
reason: string;
|
|
2289
|
-
};
|
|
2283
|
+
} | undefined;
|
|
2290
2284
|
} | {
|
|
2291
2285
|
id: string & import("zod").$brand<"UUID">;
|
|
2292
2286
|
transactionId: string;
|
|
@@ -2468,9 +2462,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2468
2462
|
status: "Accepted" | "Rejected" | "Requested";
|
|
2469
2463
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2470
2464
|
type: "EDIT";
|
|
2471
|
-
content
|
|
2465
|
+
content?: {
|
|
2472
2466
|
comment?: string | undefined;
|
|
2473
|
-
};
|
|
2467
|
+
} | undefined;
|
|
2474
2468
|
} | {
|
|
2475
2469
|
id: string & import("zod").$brand<"UUID">;
|
|
2476
2470
|
transactionId: string;
|
|
@@ -2653,9 +2647,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2653
2647
|
waitFor?: boolean | undefined;
|
|
2654
2648
|
createdAtLocation?: string | null | undefined;
|
|
2655
2649
|
type?: "ARCHIVE" | undefined;
|
|
2656
|
-
content
|
|
2650
|
+
content?: {
|
|
2657
2651
|
reason: string;
|
|
2658
|
-
};
|
|
2652
|
+
} | undefined;
|
|
2659
2653
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2660
2654
|
eventId: string;
|
|
2661
2655
|
transactionId: string;
|
|
@@ -2790,9 +2784,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2790
2784
|
waitFor?: boolean | undefined;
|
|
2791
2785
|
createdAtLocation?: string | null | undefined;
|
|
2792
2786
|
type?: "EDIT" | undefined;
|
|
2793
|
-
content: {
|
|
2794
|
-
comment?: string | undefined;
|
|
2795
|
-
};
|
|
2796
2787
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
2797
2788
|
actionId: string;
|
|
2798
2789
|
};
|
|
@@ -2960,9 +2951,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2960
2951
|
waitFor?: boolean | undefined;
|
|
2961
2952
|
createdAtLocation?: string | null | undefined;
|
|
2962
2953
|
type?: "ARCHIVE" | undefined;
|
|
2963
|
-
content
|
|
2954
|
+
content?: {
|
|
2964
2955
|
reason: string;
|
|
2965
|
-
};
|
|
2956
|
+
} | undefined;
|
|
2966
2957
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2967
2958
|
eventId: string;
|
|
2968
2959
|
transactionId: string;
|
|
@@ -3097,9 +3088,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3097
3088
|
waitFor?: boolean | undefined;
|
|
3098
3089
|
createdAtLocation?: string | null | undefined;
|
|
3099
3090
|
type?: "EDIT" | undefined;
|
|
3100
|
-
content: {
|
|
3101
|
-
comment?: string | undefined;
|
|
3102
|
-
};
|
|
3103
3091
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
3104
3092
|
actionId: string;
|
|
3105
3093
|
};
|
|
@@ -3267,9 +3255,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3267
3255
|
waitFor?: boolean | undefined;
|
|
3268
3256
|
createdAtLocation?: string | null | undefined;
|
|
3269
3257
|
type?: "ARCHIVE" | undefined;
|
|
3270
|
-
content
|
|
3258
|
+
content?: {
|
|
3271
3259
|
reason: string;
|
|
3272
|
-
};
|
|
3260
|
+
} | undefined;
|
|
3273
3261
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3274
3262
|
eventId: string;
|
|
3275
3263
|
transactionId: string;
|
|
@@ -3404,9 +3392,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3404
3392
|
waitFor?: boolean | undefined;
|
|
3405
3393
|
createdAtLocation?: string | null | undefined;
|
|
3406
3394
|
type?: "EDIT" | undefined;
|
|
3407
|
-
content: {
|
|
3408
|
-
comment?: string | undefined;
|
|
3409
|
-
};
|
|
3410
3395
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
3411
3396
|
actionId: string;
|
|
3412
3397
|
};
|
|
@@ -3574,9 +3559,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3574
3559
|
waitFor?: boolean | undefined;
|
|
3575
3560
|
createdAtLocation?: string | null | undefined;
|
|
3576
3561
|
type?: "ARCHIVE" | undefined;
|
|
3577
|
-
content
|
|
3562
|
+
content?: {
|
|
3578
3563
|
reason: string;
|
|
3579
|
-
};
|
|
3564
|
+
} | undefined;
|
|
3580
3565
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3581
3566
|
eventId: string;
|
|
3582
3567
|
transactionId: string;
|
|
@@ -3711,9 +3696,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3711
3696
|
waitFor?: boolean | undefined;
|
|
3712
3697
|
createdAtLocation?: string | null | undefined;
|
|
3713
3698
|
type?: "EDIT" | undefined;
|
|
3714
|
-
content: {
|
|
3715
|
-
comment?: string | undefined;
|
|
3716
|
-
};
|
|
3717
3699
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
3718
3700
|
actionId: string;
|
|
3719
3701
|
};
|
|
@@ -3881,9 +3863,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3881
3863
|
waitFor?: boolean | undefined;
|
|
3882
3864
|
createdAtLocation?: string | null | undefined;
|
|
3883
3865
|
type?: "ARCHIVE" | undefined;
|
|
3884
|
-
content
|
|
3866
|
+
content?: {
|
|
3885
3867
|
reason: string;
|
|
3886
|
-
};
|
|
3868
|
+
} | undefined;
|
|
3887
3869
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3888
3870
|
eventId: string;
|
|
3889
3871
|
transactionId: string;
|
|
@@ -4018,9 +4000,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4018
4000
|
waitFor?: boolean | undefined;
|
|
4019
4001
|
createdAtLocation?: string | null | undefined;
|
|
4020
4002
|
type?: "EDIT" | undefined;
|
|
4021
|
-
content: {
|
|
4022
|
-
comment?: string | undefined;
|
|
4023
|
-
};
|
|
4024
4003
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
4025
4004
|
actionId: string;
|
|
4026
4005
|
};
|
|
@@ -4188,9 +4167,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4188
4167
|
waitFor?: boolean | undefined;
|
|
4189
4168
|
createdAtLocation?: string | null | undefined;
|
|
4190
4169
|
type?: "ARCHIVE" | undefined;
|
|
4191
|
-
content
|
|
4170
|
+
content?: {
|
|
4192
4171
|
reason: string;
|
|
4193
|
-
};
|
|
4172
|
+
} | undefined;
|
|
4194
4173
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4195
4174
|
eventId: string;
|
|
4196
4175
|
transactionId: string;
|
|
@@ -4325,9 +4304,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4325
4304
|
waitFor?: boolean | undefined;
|
|
4326
4305
|
createdAtLocation?: string | null | undefined;
|
|
4327
4306
|
type?: "EDIT" | undefined;
|
|
4328
|
-
content: {
|
|
4329
|
-
comment?: string | undefined;
|
|
4330
|
-
};
|
|
4331
4307
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
4332
4308
|
actionId: string;
|
|
4333
4309
|
};
|
|
@@ -4490,9 +4466,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4490
4466
|
waitFor?: boolean | undefined;
|
|
4491
4467
|
createdAtLocation?: string | null | undefined;
|
|
4492
4468
|
type?: "ARCHIVE" | undefined;
|
|
4493
|
-
content
|
|
4469
|
+
content?: {
|
|
4494
4470
|
reason: string;
|
|
4495
|
-
};
|
|
4471
|
+
} | undefined;
|
|
4496
4472
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4497
4473
|
eventId: string;
|
|
4498
4474
|
transactionId: string;
|
|
@@ -4627,9 +4603,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4627
4603
|
waitFor?: boolean | undefined;
|
|
4628
4604
|
createdAtLocation?: string | null | undefined;
|
|
4629
4605
|
type?: "EDIT" | undefined;
|
|
4630
|
-
content: {
|
|
4631
|
-
comment?: string | undefined;
|
|
4632
|
-
};
|
|
4633
4606
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
4634
4607
|
actionId: string;
|
|
4635
4608
|
};
|
|
@@ -4763,9 +4736,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4763
4736
|
status: "Accepted" | "Rejected" | "Requested";
|
|
4764
4737
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4765
4738
|
type: "ARCHIVE";
|
|
4766
|
-
content
|
|
4739
|
+
content?: {
|
|
4767
4740
|
reason: string;
|
|
4768
|
-
};
|
|
4741
|
+
} | undefined;
|
|
4769
4742
|
} | {
|
|
4770
4743
|
id: string & import("zod").$brand<"UUID">;
|
|
4771
4744
|
transactionId: string;
|
|
@@ -4947,9 +4920,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4947
4920
|
status: "Accepted" | "Rejected" | "Requested";
|
|
4948
4921
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4949
4922
|
type: "EDIT";
|
|
4950
|
-
content
|
|
4923
|
+
content?: {
|
|
4951
4924
|
comment?: string | undefined;
|
|
4952
|
-
};
|
|
4925
|
+
} | undefined;
|
|
4953
4926
|
} | {
|
|
4954
4927
|
id: string & import("zod").$brand<"UUID">;
|
|
4955
4928
|
transactionId: string;
|
|
@@ -5025,6 +4998,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5025
4998
|
type: string;
|
|
5026
4999
|
createdAt: string;
|
|
5027
5000
|
updatedAt: string;
|
|
5001
|
+
trackingId: string;
|
|
5028
5002
|
actions: ({
|
|
5029
5003
|
id: string & import("zod").$brand<"UUID">;
|
|
5030
5004
|
transactionId: string;
|
|
@@ -5121,9 +5095,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5121
5095
|
status: "Accepted" | "Rejected" | "Requested";
|
|
5122
5096
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5123
5097
|
type: "ARCHIVE";
|
|
5124
|
-
content
|
|
5098
|
+
content?: {
|
|
5125
5099
|
reason: string;
|
|
5126
|
-
};
|
|
5100
|
+
} | undefined;
|
|
5127
5101
|
} | {
|
|
5128
5102
|
id: string & import("zod").$brand<"UUID">;
|
|
5129
5103
|
transactionId: string;
|
|
@@ -5305,9 +5279,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5305
5279
|
status: "Accepted" | "Rejected" | "Requested";
|
|
5306
5280
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5307
5281
|
type: "EDIT";
|
|
5308
|
-
content
|
|
5282
|
+
content?: {
|
|
5309
5283
|
comment?: string | undefined;
|
|
5310
|
-
};
|
|
5284
|
+
} | undefined;
|
|
5311
5285
|
} | {
|
|
5312
5286
|
id: string & import("zod").$brand<"UUID">;
|
|
5313
5287
|
transactionId: string;
|
|
@@ -5336,8 +5310,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5336
5310
|
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
5337
5311
|
status: "Rejected";
|
|
5338
5312
|
})[];
|
|
5339
|
-
|
|
5340
|
-
};
|
|
5313
|
+
} & import("zod").$brand<"EventDocumentOnlyLastAction">;
|
|
5341
5314
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5342
5315
|
}>;
|
|
5343
5316
|
unassign: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -5360,6 +5333,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5360
5333
|
type: string;
|
|
5361
5334
|
createdAt: string;
|
|
5362
5335
|
updatedAt: string;
|
|
5336
|
+
trackingId: string;
|
|
5363
5337
|
actions: ({
|
|
5364
5338
|
id: string & import("zod").$brand<"UUID">;
|
|
5365
5339
|
transactionId: string;
|
|
@@ -5456,9 +5430,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5456
5430
|
status: "Accepted" | "Rejected" | "Requested";
|
|
5457
5431
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5458
5432
|
type: "ARCHIVE";
|
|
5459
|
-
content
|
|
5433
|
+
content?: {
|
|
5460
5434
|
reason: string;
|
|
5461
|
-
};
|
|
5435
|
+
} | undefined;
|
|
5462
5436
|
} | {
|
|
5463
5437
|
id: string & import("zod").$brand<"UUID">;
|
|
5464
5438
|
transactionId: string;
|
|
@@ -5640,9 +5614,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5640
5614
|
status: "Accepted" | "Rejected" | "Requested";
|
|
5641
5615
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5642
5616
|
type: "EDIT";
|
|
5643
|
-
content
|
|
5617
|
+
content?: {
|
|
5644
5618
|
comment?: string | undefined;
|
|
5645
|
-
};
|
|
5619
|
+
} | undefined;
|
|
5646
5620
|
} | {
|
|
5647
5621
|
id: string & import("zod").$brand<"UUID">;
|
|
5648
5622
|
transactionId: string;
|
|
@@ -5671,8 +5645,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5671
5645
|
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
5672
5646
|
status: "Rejected";
|
|
5673
5647
|
})[];
|
|
5674
|
-
|
|
5675
|
-
};
|
|
5648
|
+
} & import("zod").$brand<"EventDocumentOnlyLastAction">;
|
|
5676
5649
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5677
5650
|
}>;
|
|
5678
5651
|
}>>;
|
|
@@ -5847,9 +5820,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5847
5820
|
waitFor?: boolean | undefined;
|
|
5848
5821
|
createdAtLocation?: string | null | undefined;
|
|
5849
5822
|
type?: "ARCHIVE" | undefined;
|
|
5850
|
-
content
|
|
5823
|
+
content?: {
|
|
5851
5824
|
reason: string;
|
|
5852
|
-
};
|
|
5825
|
+
} | undefined;
|
|
5853
5826
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5854
5827
|
eventId: string;
|
|
5855
5828
|
transactionId: string;
|
|
@@ -5984,9 +5957,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5984
5957
|
waitFor?: boolean | undefined;
|
|
5985
5958
|
createdAtLocation?: string | null | undefined;
|
|
5986
5959
|
type?: "EDIT" | undefined;
|
|
5987
|
-
content: {
|
|
5988
|
-
comment?: string | undefined;
|
|
5989
|
-
};
|
|
5990
5960
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
5991
5961
|
actionId: string;
|
|
5992
5962
|
};
|
|
@@ -6154,9 +6124,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6154
6124
|
waitFor?: boolean | undefined;
|
|
6155
6125
|
createdAtLocation?: string | null | undefined;
|
|
6156
6126
|
type?: "ARCHIVE" | undefined;
|
|
6157
|
-
content
|
|
6127
|
+
content?: {
|
|
6158
6128
|
reason: string;
|
|
6159
|
-
};
|
|
6129
|
+
} | undefined;
|
|
6160
6130
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6161
6131
|
eventId: string;
|
|
6162
6132
|
transactionId: string;
|
|
@@ -6291,9 +6261,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6291
6261
|
waitFor?: boolean | undefined;
|
|
6292
6262
|
createdAtLocation?: string | null | undefined;
|
|
6293
6263
|
type?: "EDIT" | undefined;
|
|
6294
|
-
content: {
|
|
6295
|
-
comment?: string | undefined;
|
|
6296
|
-
};
|
|
6297
6264
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
6298
6265
|
actionId: string;
|
|
6299
6266
|
};
|
|
@@ -6461,9 +6428,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6461
6428
|
waitFor?: boolean | undefined;
|
|
6462
6429
|
createdAtLocation?: string | null | undefined;
|
|
6463
6430
|
type?: "ARCHIVE" | undefined;
|
|
6464
|
-
content
|
|
6431
|
+
content?: {
|
|
6465
6432
|
reason: string;
|
|
6466
|
-
};
|
|
6433
|
+
} | undefined;
|
|
6467
6434
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6468
6435
|
eventId: string;
|
|
6469
6436
|
transactionId: string;
|
|
@@ -6598,9 +6565,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6598
6565
|
waitFor?: boolean | undefined;
|
|
6599
6566
|
createdAtLocation?: string | null | undefined;
|
|
6600
6567
|
type?: "EDIT" | undefined;
|
|
6601
|
-
content: {
|
|
6602
|
-
comment?: string | undefined;
|
|
6603
|
-
};
|
|
6604
6568
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
6605
6569
|
actionId: string;
|
|
6606
6570
|
};
|
|
@@ -6760,9 +6724,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6760
6724
|
status: "Accepted" | "Rejected" | "Requested";
|
|
6761
6725
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6762
6726
|
type: "ARCHIVE";
|
|
6763
|
-
content
|
|
6727
|
+
content?: {
|
|
6764
6728
|
reason: string;
|
|
6765
|
-
};
|
|
6729
|
+
} | undefined;
|
|
6766
6730
|
} | {
|
|
6767
6731
|
id: string & import("zod").$brand<"UUID">;
|
|
6768
6732
|
transactionId: string;
|
|
@@ -6944,9 +6908,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6944
6908
|
status: "Accepted" | "Rejected" | "Requested";
|
|
6945
6909
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6946
6910
|
type: "EDIT";
|
|
6947
|
-
content
|
|
6911
|
+
content?: {
|
|
6948
6912
|
comment?: string | undefined;
|
|
6949
|
-
};
|
|
6913
|
+
} | undefined;
|
|
6950
6914
|
} | {
|
|
6951
6915
|
id: string & import("zod").$brand<"UUID">;
|
|
6952
6916
|
transactionId: string;
|
|
@@ -7094,9 +7058,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7094
7058
|
status: "Accepted" | "Rejected" | "Requested";
|
|
7095
7059
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7096
7060
|
type: "ARCHIVE";
|
|
7097
|
-
content
|
|
7061
|
+
content?: {
|
|
7098
7062
|
reason: string;
|
|
7099
|
-
};
|
|
7063
|
+
} | undefined;
|
|
7100
7064
|
} | {
|
|
7101
7065
|
id: string & import("zod").$brand<"UUID">;
|
|
7102
7066
|
transactionId: string;
|
|
@@ -7278,9 +7242,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7278
7242
|
status: "Accepted" | "Rejected" | "Requested";
|
|
7279
7243
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7280
7244
|
type: "EDIT";
|
|
7281
|
-
content
|
|
7245
|
+
content?: {
|
|
7282
7246
|
comment?: string | undefined;
|
|
7283
|
-
};
|
|
7247
|
+
} | undefined;
|
|
7284
7248
|
} | {
|
|
7285
7249
|
id: string & import("zod").$brand<"UUID">;
|
|
7286
7250
|
transactionId: string;
|
|
@@ -7479,9 +7443,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7479
7443
|
status: "Accepted" | "Rejected" | "Requested";
|
|
7480
7444
|
originalActionId?: string | null | undefined;
|
|
7481
7445
|
type: "ARCHIVE";
|
|
7482
|
-
content
|
|
7446
|
+
content?: {
|
|
7483
7447
|
reason: string;
|
|
7484
|
-
};
|
|
7448
|
+
} | undefined;
|
|
7485
7449
|
} | {
|
|
7486
7450
|
id: string;
|
|
7487
7451
|
transactionId: string;
|
|
@@ -7663,9 +7627,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7663
7627
|
status: "Accepted" | "Rejected" | "Requested";
|
|
7664
7628
|
originalActionId?: string | null | undefined;
|
|
7665
7629
|
type: "EDIT";
|
|
7666
|
-
content
|
|
7630
|
+
content?: {
|
|
7667
7631
|
comment?: string | undefined;
|
|
7668
|
-
};
|
|
7632
|
+
} | undefined;
|
|
7669
7633
|
} | {
|
|
7670
7634
|
id: string;
|
|
7671
7635
|
transactionId: string;
|
|
@@ -7870,8 +7834,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7870
7834
|
email?: string | undefined;
|
|
7871
7835
|
status?: string | undefined;
|
|
7872
7836
|
primaryOfficeId?: string | undefined;
|
|
7873
|
-
count
|
|
7874
|
-
skip
|
|
7837
|
+
count?: number | undefined;
|
|
7838
|
+
skip?: number | undefined;
|
|
7875
7839
|
sortBy?: "createdAt" | "email" | "firstname" | "role" | "status" | "surname" | "username" | undefined;
|
|
7876
7840
|
sortOrder: "asc" | "desc";
|
|
7877
7841
|
};
|
|
@@ -8278,6 +8242,135 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8278
8242
|
responseSummary: {
|
|
8279
8243
|
clientId: string;
|
|
8280
8244
|
};
|
|
8245
|
+
} | {
|
|
8246
|
+
id: string;
|
|
8247
|
+
clientId: string;
|
|
8248
|
+
clientType: "system" | "user";
|
|
8249
|
+
createdAt: string;
|
|
8250
|
+
operation: "locations.create";
|
|
8251
|
+
requestData: {
|
|
8252
|
+
id: string;
|
|
8253
|
+
versionId: string;
|
|
8254
|
+
name: string;
|
|
8255
|
+
externalId?: string | null | undefined;
|
|
8256
|
+
effectiveFrom: string;
|
|
8257
|
+
status: string;
|
|
8258
|
+
administrativeAreaId?: string | null | undefined;
|
|
8259
|
+
locationType?: string | null | undefined;
|
|
8260
|
+
};
|
|
8261
|
+
} | {
|
|
8262
|
+
id: string;
|
|
8263
|
+
clientId: string;
|
|
8264
|
+
clientType: "system" | "user";
|
|
8265
|
+
createdAt: string;
|
|
8266
|
+
operation: "locations.update";
|
|
8267
|
+
requestData: {
|
|
8268
|
+
id: string;
|
|
8269
|
+
versionId: string;
|
|
8270
|
+
name: string;
|
|
8271
|
+
externalId?: string | null | undefined;
|
|
8272
|
+
status: string;
|
|
8273
|
+
effectiveFrom: string;
|
|
8274
|
+
lastVersionId: string;
|
|
8275
|
+
};
|
|
8276
|
+
responseSummary: {
|
|
8277
|
+
previousVersionId: string;
|
|
8278
|
+
versionId: string;
|
|
8279
|
+
changed: {
|
|
8280
|
+
name?: {
|
|
8281
|
+
from: string;
|
|
8282
|
+
to: string;
|
|
8283
|
+
} | undefined;
|
|
8284
|
+
externalId?: {
|
|
8285
|
+
from: string | null;
|
|
8286
|
+
to: string | null;
|
|
8287
|
+
} | undefined;
|
|
8288
|
+
status?: {
|
|
8289
|
+
from: string;
|
|
8290
|
+
to: string;
|
|
8291
|
+
} | undefined;
|
|
8292
|
+
};
|
|
8293
|
+
};
|
|
8294
|
+
} | {
|
|
8295
|
+
id: string;
|
|
8296
|
+
clientId: string;
|
|
8297
|
+
clientType: "system" | "user";
|
|
8298
|
+
createdAt: string;
|
|
8299
|
+
operation: "administrativeAreas.update";
|
|
8300
|
+
requestData: {
|
|
8301
|
+
id: string;
|
|
8302
|
+
versionId: string;
|
|
8303
|
+
name: string;
|
|
8304
|
+
externalId?: string | null | undefined;
|
|
8305
|
+
status: string;
|
|
8306
|
+
effectiveFrom: string;
|
|
8307
|
+
lastVersionId: string;
|
|
8308
|
+
};
|
|
8309
|
+
responseSummary: {
|
|
8310
|
+
previousVersionId: string;
|
|
8311
|
+
versionId: string;
|
|
8312
|
+
changed: {
|
|
8313
|
+
name?: {
|
|
8314
|
+
from: string;
|
|
8315
|
+
to: string;
|
|
8316
|
+
} | undefined;
|
|
8317
|
+
externalId?: {
|
|
8318
|
+
from: string | null;
|
|
8319
|
+
to: string | null;
|
|
8320
|
+
} | undefined;
|
|
8321
|
+
status?: {
|
|
8322
|
+
from: string;
|
|
8323
|
+
to: string;
|
|
8324
|
+
} | undefined;
|
|
8325
|
+
};
|
|
8326
|
+
};
|
|
8327
|
+
} | {
|
|
8328
|
+
id: string;
|
|
8329
|
+
clientId: string;
|
|
8330
|
+
clientType: "system" | "user";
|
|
8331
|
+
createdAt: string;
|
|
8332
|
+
operation: "locations.withdrawVersion";
|
|
8333
|
+
requestData: {
|
|
8334
|
+
id: string;
|
|
8335
|
+
versionId: string;
|
|
8336
|
+
};
|
|
8337
|
+
responseSummary: {
|
|
8338
|
+
effectiveFrom: string;
|
|
8339
|
+
name: string;
|
|
8340
|
+
externalId?: string | null | undefined;
|
|
8341
|
+
status: string;
|
|
8342
|
+
};
|
|
8343
|
+
} | {
|
|
8344
|
+
id: string;
|
|
8345
|
+
clientId: string;
|
|
8346
|
+
clientType: "system" | "user";
|
|
8347
|
+
createdAt: string;
|
|
8348
|
+
operation: "administrativeAreas.withdrawVersion";
|
|
8349
|
+
requestData: {
|
|
8350
|
+
id: string;
|
|
8351
|
+
versionId: string;
|
|
8352
|
+
};
|
|
8353
|
+
responseSummary: {
|
|
8354
|
+
effectiveFrom: string;
|
|
8355
|
+
name: string;
|
|
8356
|
+
externalId?: string | null | undefined;
|
|
8357
|
+
status: string;
|
|
8358
|
+
};
|
|
8359
|
+
} | {
|
|
8360
|
+
id: string;
|
|
8361
|
+
clientId: string;
|
|
8362
|
+
clientType: "system" | "user";
|
|
8363
|
+
createdAt: string;
|
|
8364
|
+
operation: "administrativeAreas.create";
|
|
8365
|
+
requestData: {
|
|
8366
|
+
id: string;
|
|
8367
|
+
versionId: string;
|
|
8368
|
+
name: string;
|
|
8369
|
+
externalId?: string | null | undefined;
|
|
8370
|
+
effectiveFrom: string;
|
|
8371
|
+
status: string;
|
|
8372
|
+
parentId?: string | null | undefined;
|
|
8373
|
+
};
|
|
8281
8374
|
} | {
|
|
8282
8375
|
id: string;
|
|
8283
8376
|
clientId: string;
|
|
@@ -8387,22 +8480,94 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8387
8480
|
name: string;
|
|
8388
8481
|
externalId?: string | null | undefined;
|
|
8389
8482
|
administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
|
|
8390
|
-
validUntil: string | null;
|
|
8391
8483
|
locationType: string | null;
|
|
8484
|
+
status: "active" | "inactive";
|
|
8485
|
+
versions: {
|
|
8486
|
+
versionId: string & import("zod").$brand<"UUID">;
|
|
8487
|
+
effectiveFrom: string;
|
|
8488
|
+
name: string;
|
|
8489
|
+
externalId?: string | null | undefined;
|
|
8490
|
+
status: "active" | "inactive";
|
|
8491
|
+
}[];
|
|
8392
8492
|
}[];
|
|
8393
8493
|
meta: object;
|
|
8394
8494
|
}>;
|
|
8395
|
-
|
|
8495
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
8396
8496
|
input: {
|
|
8397
|
-
id
|
|
8497
|
+
id?: string | undefined;
|
|
8498
|
+
versionId?: string | undefined;
|
|
8398
8499
|
name: string;
|
|
8399
8500
|
externalId?: string | null | undefined;
|
|
8400
8501
|
administrativeAreaId: string | null;
|
|
8401
|
-
validUntil: string | null;
|
|
8402
8502
|
locationType: string | null;
|
|
8403
|
-
|
|
8404
|
-
|
|
8405
|
-
|
|
8503
|
+
effectiveFrom?: string | undefined;
|
|
8504
|
+
status?: "active" | "inactive" | undefined;
|
|
8505
|
+
};
|
|
8506
|
+
output: {
|
|
8507
|
+
id: string & import("zod").$brand<"UUID">;
|
|
8508
|
+
name: string;
|
|
8509
|
+
externalId?: string | null | undefined;
|
|
8510
|
+
administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
|
|
8511
|
+
locationType: string | null;
|
|
8512
|
+
status: "active" | "inactive";
|
|
8513
|
+
versions: {
|
|
8514
|
+
versionId: string & import("zod").$brand<"UUID">;
|
|
8515
|
+
effectiveFrom: string;
|
|
8516
|
+
name: string;
|
|
8517
|
+
externalId?: string | null | undefined;
|
|
8518
|
+
status: "active" | "inactive";
|
|
8519
|
+
}[];
|
|
8520
|
+
};
|
|
8521
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8522
|
+
}>;
|
|
8523
|
+
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
8524
|
+
input: {
|
|
8525
|
+
id: string;
|
|
8526
|
+
versionId?: string | undefined;
|
|
8527
|
+
name: string;
|
|
8528
|
+
externalId?: string | null | undefined;
|
|
8529
|
+
status: "active" | "inactive";
|
|
8530
|
+
effectiveFrom?: string | undefined;
|
|
8531
|
+
lastVersionId: string;
|
|
8532
|
+
};
|
|
8533
|
+
output: {
|
|
8534
|
+
id: string & import("zod").$brand<"UUID">;
|
|
8535
|
+
name: string;
|
|
8536
|
+
externalId?: string | null | undefined;
|
|
8537
|
+
administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
|
|
8538
|
+
locationType: string | null;
|
|
8539
|
+
status: "active" | "inactive";
|
|
8540
|
+
versions: {
|
|
8541
|
+
versionId: string & import("zod").$brand<"UUID">;
|
|
8542
|
+
effectiveFrom: string;
|
|
8543
|
+
name: string;
|
|
8544
|
+
externalId?: string | null | undefined;
|
|
8545
|
+
status: "active" | "inactive";
|
|
8546
|
+
}[];
|
|
8547
|
+
};
|
|
8548
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8549
|
+
}>;
|
|
8550
|
+
withdrawVersion: import("@trpc/server").TRPCMutationProcedure<{
|
|
8551
|
+
input: {
|
|
8552
|
+
id: string;
|
|
8553
|
+
versionId: string;
|
|
8554
|
+
};
|
|
8555
|
+
output: {
|
|
8556
|
+
id: string & import("zod").$brand<"UUID">;
|
|
8557
|
+
name: string;
|
|
8558
|
+
externalId?: string | null | undefined;
|
|
8559
|
+
administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
|
|
8560
|
+
locationType: string | null;
|
|
8561
|
+
status: "active" | "inactive";
|
|
8562
|
+
versions: {
|
|
8563
|
+
versionId: string & import("zod").$brand<"UUID">;
|
|
8564
|
+
effectiveFrom: string;
|
|
8565
|
+
name: string;
|
|
8566
|
+
externalId?: string | null | undefined;
|
|
8567
|
+
status: "active" | "inactive";
|
|
8568
|
+
}[];
|
|
8569
|
+
};
|
|
8570
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8406
8571
|
}>;
|
|
8407
8572
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
8408
8573
|
input: {
|
|
@@ -8413,8 +8578,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8413
8578
|
name: string;
|
|
8414
8579
|
externalId?: string | null | undefined;
|
|
8415
8580
|
administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
|
|
8416
|
-
validUntil: string | null;
|
|
8417
8581
|
locationType: string | null;
|
|
8582
|
+
status: "active" | "inactive";
|
|
8583
|
+
versions: {
|
|
8584
|
+
versionId: string & import("zod").$brand<"UUID">;
|
|
8585
|
+
effectiveFrom: string;
|
|
8586
|
+
name: string;
|
|
8587
|
+
externalId?: string | null | undefined;
|
|
8588
|
+
status: "active" | "inactive";
|
|
8589
|
+
}[];
|
|
8418
8590
|
};
|
|
8419
8591
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8420
8592
|
}>;
|
|
@@ -8771,7 +8943,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8771
8943
|
$event: "assignedTo" | "createdAt" | "createdAtLocation" | "createdBy" | "createdByUserType" | "dateOfEvent" | "flags" | "id" | "legalStatuses" | "outbox" | "placeOfEvent" | "status" | "title" | "trackingId" | "type" | "updatedAt" | "updatedAtLocation" | "updatedBy" | "updatedByUserRole";
|
|
8772
8944
|
};
|
|
8773
8945
|
}[];
|
|
8774
|
-
icon: "Activity" | "Archive" | "ArchiveBox" | "ArchiveTray" | "Archived" | "ArrowCircleDown" | "ArrowCounterClockwise" | "ArrowLeft" | "ArrowRight" | "Assigned" | "Briefcase" | "Buildings" | "CaretDown" | "CaretLeft" | "CaretRight" | "Certified" | "ChartActivity" | "ChartBar" | "ChartLine" | "ChatCircle" | "ChatText" | "Check" | "CheckSquare" | "Circle" | "CircleWavyCheck" | "CircleWavyQuestion" | "Clock" | "Close" | "Collapse" | "Compass" | "Copy" | "Database" | "DeviceTabletCamera" | "DotsThreeVertical" | "Draft" | "DuplicateYellow" | "Envelope" | "Expand" | "Export" | "ExternalValidate" | "Eye" | "EyeSlash" | "File" | "FileArrowUp" | "FileDotted" | "FileMinus" | "FilePlus" | "FileSearch" | "FileText" | "FileX" | "Files" | "FilledCheck" | "Fingerprint" | "Gear" | "GitBranch" | "Globe" | "Handshake" | "IdentificationCard" | "InReview" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "MapPin" | "Medal" | "NotePencil" | "Offline" | "PaperPlaneTilt" | "Paperclip" | "Pen" | "PenNib" | "Pencil" | "PencilCircle" | "PencilLine" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "PushPin" | "QrCode" | "Registered" | "RequiresUpdates" | "Sent" | "SignOut" | "Stamp" | "Star" | "Sun" | "Target" | "TextT" | "Timer" | "Trash" | "UploadSimple" | "User" | "UserCircle" | "UserPlus" | "Users" | "Validated" | "WaitingApproval" | "WarningCircle" | "Webcam" | "X";
|
|
8946
|
+
icon: "Activity" | "Archive" | "ArchiveBox" | "ArchiveTray" | "Archived" | "ArrowCircleDown" | "ArrowCounterClockwise" | "ArrowLeft" | "ArrowRight" | "Assigned" | "Briefcase" | "Buildings" | "CaretDown" | "CaretLeft" | "CaretRight" | "Certified" | "ChartActivity" | "ChartBar" | "ChartLine" | "ChatCircle" | "ChatText" | "Check" | "CheckSquare" | "Circle" | "CircleWavyCheck" | "CircleWavyQuestion" | "Clock" | "Close" | "Collapse" | "Compass" | "Copy" | "Database" | "DeviceTabletCamera" | "DotsThreeVertical" | "Draft" | "DuplicateYellow" | "Envelope" | "Expand" | "Export" | "ExternalValidate" | "Eye" | "EyeSlash" | "File" | "FileArrowUp" | "FileDotted" | "FileLock" | "FileMinus" | "FilePlus" | "FileSearch" | "FileText" | "FileX" | "Files" | "FilledCheck" | "Fingerprint" | "Gear" | "GitBranch" | "Globe" | "Handshake" | "IdentificationCard" | "InReview" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "MapPin" | "Medal" | "NotePencil" | "Offline" | "PaperPlaneTilt" | "Paperclip" | "Pen" | "PenNib" | "Pencil" | "PencilCircle" | "PencilLine" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "PushPin" | "QrCode" | "Registered" | "RequiresUpdates" | "Sent" | "SignOut" | "Stamp" | "Star" | "Sun" | "Target" | "TextT" | "Timer" | "Trash" | "UploadSimple" | "User" | "UserCircle" | "UserPlus" | "Users" | "Validated" | "WaitingApproval" | "WarningCircle" | "Webcam" | "X";
|
|
8775
8947
|
emptyMessage?: {
|
|
8776
8948
|
id: string;
|
|
8777
8949
|
defaultMessage: string;
|
|
@@ -8822,20 +8994,89 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8822
8994
|
name: string;
|
|
8823
8995
|
externalId?: string | null | undefined;
|
|
8824
8996
|
parentId: (string & import("zod").$brand<"UUID">) | null;
|
|
8825
|
-
|
|
8997
|
+
status: "active" | "inactive";
|
|
8998
|
+
versions: {
|
|
8999
|
+
versionId: string & import("zod").$brand<"UUID">;
|
|
9000
|
+
effectiveFrom: string;
|
|
9001
|
+
name: string;
|
|
9002
|
+
externalId?: string | null | undefined;
|
|
9003
|
+
status: "active" | "inactive";
|
|
9004
|
+
}[];
|
|
8826
9005
|
}[];
|
|
8827
9006
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8828
9007
|
}>;
|
|
8829
|
-
|
|
9008
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
8830
9009
|
input: {
|
|
8831
|
-
id
|
|
9010
|
+
id?: string | undefined;
|
|
9011
|
+
versionId?: string | undefined;
|
|
8832
9012
|
name: string;
|
|
8833
9013
|
externalId?: string | null | undefined;
|
|
8834
9014
|
parentId: string | null;
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
9015
|
+
effectiveFrom?: string | undefined;
|
|
9016
|
+
status?: "active" | "inactive" | undefined;
|
|
9017
|
+
};
|
|
9018
|
+
output: {
|
|
9019
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9020
|
+
name: string;
|
|
9021
|
+
externalId?: string | null | undefined;
|
|
9022
|
+
parentId: (string & import("zod").$brand<"UUID">) | null;
|
|
9023
|
+
status: "active" | "inactive";
|
|
9024
|
+
versions: {
|
|
9025
|
+
versionId: string & import("zod").$brand<"UUID">;
|
|
9026
|
+
effectiveFrom: string;
|
|
9027
|
+
name: string;
|
|
9028
|
+
externalId?: string | null | undefined;
|
|
9029
|
+
status: "active" | "inactive";
|
|
9030
|
+
}[];
|
|
9031
|
+
};
|
|
9032
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
9033
|
+
}>;
|
|
9034
|
+
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
9035
|
+
input: {
|
|
9036
|
+
id: string;
|
|
9037
|
+
versionId?: string | undefined;
|
|
9038
|
+
name: string;
|
|
9039
|
+
externalId?: string | null | undefined;
|
|
9040
|
+
status: "active" | "inactive";
|
|
9041
|
+
effectiveFrom?: string | undefined;
|
|
9042
|
+
lastVersionId: string;
|
|
9043
|
+
};
|
|
9044
|
+
output: {
|
|
9045
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9046
|
+
name: string;
|
|
9047
|
+
externalId?: string | null | undefined;
|
|
9048
|
+
parentId: (string & import("zod").$brand<"UUID">) | null;
|
|
9049
|
+
status: "active" | "inactive";
|
|
9050
|
+
versions: {
|
|
9051
|
+
versionId: string & import("zod").$brand<"UUID">;
|
|
9052
|
+
effectiveFrom: string;
|
|
9053
|
+
name: string;
|
|
9054
|
+
externalId?: string | null | undefined;
|
|
9055
|
+
status: "active" | "inactive";
|
|
9056
|
+
}[];
|
|
9057
|
+
};
|
|
9058
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
9059
|
+
}>;
|
|
9060
|
+
withdrawVersion: import("@trpc/server").TRPCMutationProcedure<{
|
|
9061
|
+
input: {
|
|
9062
|
+
id: string;
|
|
9063
|
+
versionId: string;
|
|
9064
|
+
};
|
|
9065
|
+
output: {
|
|
9066
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9067
|
+
name: string;
|
|
9068
|
+
externalId?: string | null | undefined;
|
|
9069
|
+
parentId: (string & import("zod").$brand<"UUID">) | null;
|
|
9070
|
+
status: "active" | "inactive";
|
|
9071
|
+
versions: {
|
|
9072
|
+
versionId: string & import("zod").$brand<"UUID">;
|
|
9073
|
+
effectiveFrom: string;
|
|
9074
|
+
name: string;
|
|
9075
|
+
externalId?: string | null | undefined;
|
|
9076
|
+
status: "active" | "inactive";
|
|
9077
|
+
}[];
|
|
9078
|
+
};
|
|
9079
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8839
9080
|
}>;
|
|
8840
9081
|
}>>;
|
|
8841
9082
|
integrations: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -8955,6 +9196,363 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8955
9196
|
};
|
|
8956
9197
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8957
9198
|
}>;
|
|
9199
|
+
audit: import("@trpc/server").TRPCQueryProcedure<{
|
|
9200
|
+
input: {
|
|
9201
|
+
id: string;
|
|
9202
|
+
skip?: number | undefined;
|
|
9203
|
+
count?: number | undefined;
|
|
9204
|
+
timeStart?: string | undefined;
|
|
9205
|
+
timeEnd?: string | undefined;
|
|
9206
|
+
};
|
|
9207
|
+
output: {
|
|
9208
|
+
results: ({
|
|
9209
|
+
id: string;
|
|
9210
|
+
clientId: string;
|
|
9211
|
+
clientType: "system" | "user";
|
|
9212
|
+
createdAt: string;
|
|
9213
|
+
operation: "event.create";
|
|
9214
|
+
requestData: {
|
|
9215
|
+
transactionId: string;
|
|
9216
|
+
type: string;
|
|
9217
|
+
createdAtLocation: string | null;
|
|
9218
|
+
};
|
|
9219
|
+
responseSummary: {
|
|
9220
|
+
eventId: string;
|
|
9221
|
+
trackingId: string;
|
|
9222
|
+
};
|
|
9223
|
+
} | {
|
|
9224
|
+
id: string;
|
|
9225
|
+
clientId: string;
|
|
9226
|
+
clientType: "system" | "user";
|
|
9227
|
+
createdAt: string;
|
|
9228
|
+
operation: "event.get";
|
|
9229
|
+
requestData: {
|
|
9230
|
+
eventId: string;
|
|
9231
|
+
};
|
|
9232
|
+
responseSummary: {
|
|
9233
|
+
eventType: string;
|
|
9234
|
+
trackingId: string;
|
|
9235
|
+
};
|
|
9236
|
+
} | {
|
|
9237
|
+
id: string;
|
|
9238
|
+
clientId: string;
|
|
9239
|
+
createdAt: string;
|
|
9240
|
+
operation: "event.search";
|
|
9241
|
+
clientType: "system";
|
|
9242
|
+
requestData: {
|
|
9243
|
+
query: Record<string, unknown> | null;
|
|
9244
|
+
limit: number | null;
|
|
9245
|
+
offset: number | null;
|
|
9246
|
+
};
|
|
9247
|
+
responseSummary: {
|
|
9248
|
+
total: number;
|
|
9249
|
+
eventIds: string[];
|
|
9250
|
+
};
|
|
9251
|
+
} | {
|
|
9252
|
+
id: string;
|
|
9253
|
+
clientId: string;
|
|
9254
|
+
clientType: "system" | "user";
|
|
9255
|
+
createdAt: string;
|
|
9256
|
+
operation: "event.actions.archive.request" | "event.actions.assign.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.correction.request.request" | "event.actions.declare.request" | "event.actions.edit.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request" | "event.actions.notify.request" | "event.actions.print_certificate.request" | "event.actions.read.request" | "event.actions.register.request" | "event.actions.reinstate.request" | "event.actions.reject.request" | "event.actions.unarchive.request" | "event.actions.unassign.request" | "event.actions.validate.request";
|
|
9257
|
+
requestData: {
|
|
9258
|
+
eventId: string;
|
|
9259
|
+
actionType: string;
|
|
9260
|
+
eventType: string;
|
|
9261
|
+
trackingId: string;
|
|
9262
|
+
transactionId: string;
|
|
9263
|
+
};
|
|
9264
|
+
} | {
|
|
9265
|
+
id: string;
|
|
9266
|
+
clientId: string;
|
|
9267
|
+
clientType: "system" | "user";
|
|
9268
|
+
createdAt: string;
|
|
9269
|
+
operation: "event.actions.custom.request";
|
|
9270
|
+
requestData: {
|
|
9271
|
+
eventId: string;
|
|
9272
|
+
actionType: "CUSTOM";
|
|
9273
|
+
customAction: string;
|
|
9274
|
+
eventType: string;
|
|
9275
|
+
trackingId: string;
|
|
9276
|
+
transactionId: string;
|
|
9277
|
+
};
|
|
9278
|
+
} | {
|
|
9279
|
+
id: string;
|
|
9280
|
+
clientId: string;
|
|
9281
|
+
clientType: "system" | "user";
|
|
9282
|
+
createdAt: string;
|
|
9283
|
+
operation: "integrations.create";
|
|
9284
|
+
requestData: {
|
|
9285
|
+
name: string;
|
|
9286
|
+
scopes: string[];
|
|
9287
|
+
};
|
|
9288
|
+
responseSummary: {
|
|
9289
|
+
clientId: string;
|
|
9290
|
+
};
|
|
9291
|
+
} | {
|
|
9292
|
+
id: string;
|
|
9293
|
+
clientId: string;
|
|
9294
|
+
clientType: "system" | "user";
|
|
9295
|
+
createdAt: string;
|
|
9296
|
+
operation: "integrations.refreshToken";
|
|
9297
|
+
requestData: {
|
|
9298
|
+
clientId: string;
|
|
9299
|
+
};
|
|
9300
|
+
responseSummary: {
|
|
9301
|
+
clientId: string;
|
|
9302
|
+
};
|
|
9303
|
+
} | {
|
|
9304
|
+
id: string;
|
|
9305
|
+
clientId: string;
|
|
9306
|
+
clientType: "system" | "user";
|
|
9307
|
+
createdAt: string;
|
|
9308
|
+
operation: "integrations.deactivate";
|
|
9309
|
+
requestData: {
|
|
9310
|
+
id: string;
|
|
9311
|
+
};
|
|
9312
|
+
responseSummary: {
|
|
9313
|
+
id: string;
|
|
9314
|
+
status: string;
|
|
9315
|
+
};
|
|
9316
|
+
} | {
|
|
9317
|
+
id: string;
|
|
9318
|
+
clientId: string;
|
|
9319
|
+
clientType: "system" | "user";
|
|
9320
|
+
createdAt: string;
|
|
9321
|
+
operation: "integrations.activate";
|
|
9322
|
+
requestData: {
|
|
9323
|
+
id: string;
|
|
9324
|
+
};
|
|
9325
|
+
responseSummary: {
|
|
9326
|
+
id: string;
|
|
9327
|
+
status: string;
|
|
9328
|
+
};
|
|
9329
|
+
} | {
|
|
9330
|
+
id: string;
|
|
9331
|
+
clientId: string;
|
|
9332
|
+
clientType: "system" | "user";
|
|
9333
|
+
createdAt: string;
|
|
9334
|
+
operation: "integrations.delete";
|
|
9335
|
+
requestData: {
|
|
9336
|
+
id: string;
|
|
9337
|
+
};
|
|
9338
|
+
responseSummary: {
|
|
9339
|
+
id: string;
|
|
9340
|
+
name: string;
|
|
9341
|
+
};
|
|
9342
|
+
} | {
|
|
9343
|
+
id: string;
|
|
9344
|
+
clientId: string;
|
|
9345
|
+
clientType: "system" | "user";
|
|
9346
|
+
createdAt: string;
|
|
9347
|
+
operation: "integrations.refreshSecret";
|
|
9348
|
+
requestData: {
|
|
9349
|
+
id: string;
|
|
9350
|
+
};
|
|
9351
|
+
responseSummary: {
|
|
9352
|
+
clientId: string;
|
|
9353
|
+
};
|
|
9354
|
+
} | {
|
|
9355
|
+
id: string;
|
|
9356
|
+
clientId: string;
|
|
9357
|
+
clientType: "system" | "user";
|
|
9358
|
+
createdAt: string;
|
|
9359
|
+
operation: "locations.create";
|
|
9360
|
+
requestData: {
|
|
9361
|
+
id: string;
|
|
9362
|
+
versionId: string;
|
|
9363
|
+
name: string;
|
|
9364
|
+
externalId?: string | null | undefined;
|
|
9365
|
+
effectiveFrom: string;
|
|
9366
|
+
status: string;
|
|
9367
|
+
administrativeAreaId?: string | null | undefined;
|
|
9368
|
+
locationType?: string | null | undefined;
|
|
9369
|
+
};
|
|
9370
|
+
} | {
|
|
9371
|
+
id: string;
|
|
9372
|
+
clientId: string;
|
|
9373
|
+
clientType: "system" | "user";
|
|
9374
|
+
createdAt: string;
|
|
9375
|
+
operation: "locations.update";
|
|
9376
|
+
requestData: {
|
|
9377
|
+
id: string;
|
|
9378
|
+
versionId: string;
|
|
9379
|
+
name: string;
|
|
9380
|
+
externalId?: string | null | undefined;
|
|
9381
|
+
status: string;
|
|
9382
|
+
effectiveFrom: string;
|
|
9383
|
+
lastVersionId: string;
|
|
9384
|
+
};
|
|
9385
|
+
responseSummary: {
|
|
9386
|
+
previousVersionId: string;
|
|
9387
|
+
versionId: string;
|
|
9388
|
+
changed: {
|
|
9389
|
+
name?: {
|
|
9390
|
+
from: string;
|
|
9391
|
+
to: string;
|
|
9392
|
+
} | undefined;
|
|
9393
|
+
externalId?: {
|
|
9394
|
+
from: string | null;
|
|
9395
|
+
to: string | null;
|
|
9396
|
+
} | undefined;
|
|
9397
|
+
status?: {
|
|
9398
|
+
from: string;
|
|
9399
|
+
to: string;
|
|
9400
|
+
} | undefined;
|
|
9401
|
+
};
|
|
9402
|
+
};
|
|
9403
|
+
} | {
|
|
9404
|
+
id: string;
|
|
9405
|
+
clientId: string;
|
|
9406
|
+
clientType: "system" | "user";
|
|
9407
|
+
createdAt: string;
|
|
9408
|
+
operation: "administrativeAreas.update";
|
|
9409
|
+
requestData: {
|
|
9410
|
+
id: string;
|
|
9411
|
+
versionId: string;
|
|
9412
|
+
name: string;
|
|
9413
|
+
externalId?: string | null | undefined;
|
|
9414
|
+
status: string;
|
|
9415
|
+
effectiveFrom: string;
|
|
9416
|
+
lastVersionId: string;
|
|
9417
|
+
};
|
|
9418
|
+
responseSummary: {
|
|
9419
|
+
previousVersionId: string;
|
|
9420
|
+
versionId: string;
|
|
9421
|
+
changed: {
|
|
9422
|
+
name?: {
|
|
9423
|
+
from: string;
|
|
9424
|
+
to: string;
|
|
9425
|
+
} | undefined;
|
|
9426
|
+
externalId?: {
|
|
9427
|
+
from: string | null;
|
|
9428
|
+
to: string | null;
|
|
9429
|
+
} | undefined;
|
|
9430
|
+
status?: {
|
|
9431
|
+
from: string;
|
|
9432
|
+
to: string;
|
|
9433
|
+
} | undefined;
|
|
9434
|
+
};
|
|
9435
|
+
};
|
|
9436
|
+
} | {
|
|
9437
|
+
id: string;
|
|
9438
|
+
clientId: string;
|
|
9439
|
+
clientType: "system" | "user";
|
|
9440
|
+
createdAt: string;
|
|
9441
|
+
operation: "locations.withdrawVersion";
|
|
9442
|
+
requestData: {
|
|
9443
|
+
id: string;
|
|
9444
|
+
versionId: string;
|
|
9445
|
+
};
|
|
9446
|
+
responseSummary: {
|
|
9447
|
+
effectiveFrom: string;
|
|
9448
|
+
name: string;
|
|
9449
|
+
externalId?: string | null | undefined;
|
|
9450
|
+
status: string;
|
|
9451
|
+
};
|
|
9452
|
+
} | {
|
|
9453
|
+
id: string;
|
|
9454
|
+
clientId: string;
|
|
9455
|
+
clientType: "system" | "user";
|
|
9456
|
+
createdAt: string;
|
|
9457
|
+
operation: "administrativeAreas.withdrawVersion";
|
|
9458
|
+
requestData: {
|
|
9459
|
+
id: string;
|
|
9460
|
+
versionId: string;
|
|
9461
|
+
};
|
|
9462
|
+
responseSummary: {
|
|
9463
|
+
effectiveFrom: string;
|
|
9464
|
+
name: string;
|
|
9465
|
+
externalId?: string | null | undefined;
|
|
9466
|
+
status: string;
|
|
9467
|
+
};
|
|
9468
|
+
} | {
|
|
9469
|
+
id: string;
|
|
9470
|
+
clientId: string;
|
|
9471
|
+
clientType: "system" | "user";
|
|
9472
|
+
createdAt: string;
|
|
9473
|
+
operation: "administrativeAreas.create";
|
|
9474
|
+
requestData: {
|
|
9475
|
+
id: string;
|
|
9476
|
+
versionId: string;
|
|
9477
|
+
name: string;
|
|
9478
|
+
externalId?: string | null | undefined;
|
|
9479
|
+
effectiveFrom: string;
|
|
9480
|
+
status: string;
|
|
9481
|
+
parentId?: string | null | undefined;
|
|
9482
|
+
};
|
|
9483
|
+
} | {
|
|
9484
|
+
id: string;
|
|
9485
|
+
clientId: string;
|
|
9486
|
+
clientType: "system" | "user";
|
|
9487
|
+
createdAt: string;
|
|
9488
|
+
operation: "attachments.upload";
|
|
9489
|
+
requestData: {
|
|
9490
|
+
transactionId: string;
|
|
9491
|
+
path: string | null;
|
|
9492
|
+
};
|
|
9493
|
+
responseSummary: {
|
|
9494
|
+
fileUrl: string;
|
|
9495
|
+
};
|
|
9496
|
+
} | {
|
|
9497
|
+
id: string;
|
|
9498
|
+
clientId: string;
|
|
9499
|
+
clientType: "system" | "user";
|
|
9500
|
+
createdAt: string;
|
|
9501
|
+
operation: "user.create_user";
|
|
9502
|
+
requestData: {
|
|
9503
|
+
subjectId: string;
|
|
9504
|
+
role: string;
|
|
9505
|
+
primaryOfficeId: string;
|
|
9506
|
+
};
|
|
9507
|
+
} | {
|
|
9508
|
+
id: string;
|
|
9509
|
+
clientId: string;
|
|
9510
|
+
clientType: "system" | "user";
|
|
9511
|
+
createdAt: string;
|
|
9512
|
+
operation: "user.deactivate" | "user.reactivate";
|
|
9513
|
+
requestData: {
|
|
9514
|
+
subjectId: string;
|
|
9515
|
+
reason: string;
|
|
9516
|
+
comment?: string | undefined;
|
|
9517
|
+
};
|
|
9518
|
+
} | {
|
|
9519
|
+
id: string;
|
|
9520
|
+
clientId: string;
|
|
9521
|
+
clientType: "system" | "user";
|
|
9522
|
+
createdAt: string;
|
|
9523
|
+
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.resend_invite" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
9524
|
+
requestData: {
|
|
9525
|
+
subjectId: string;
|
|
9526
|
+
};
|
|
9527
|
+
} | {
|
|
9528
|
+
id: string;
|
|
9529
|
+
clientId: string;
|
|
9530
|
+
clientType: "system" | "user";
|
|
9531
|
+
createdAt: string;
|
|
9532
|
+
operation: "user.email_address_changed";
|
|
9533
|
+
requestData: {
|
|
9534
|
+
subjectId: string;
|
|
9535
|
+
};
|
|
9536
|
+
responseSummary: {
|
|
9537
|
+
email: string;
|
|
9538
|
+
};
|
|
9539
|
+
} | {
|
|
9540
|
+
id: string;
|
|
9541
|
+
clientId: string;
|
|
9542
|
+
clientType: "system" | "user";
|
|
9543
|
+
createdAt: string;
|
|
9544
|
+
operation: "user.phone_number_changed";
|
|
9545
|
+
requestData: {
|
|
9546
|
+
subjectId: string;
|
|
9547
|
+
};
|
|
9548
|
+
responseSummary: {
|
|
9549
|
+
phoneNumber: string;
|
|
9550
|
+
};
|
|
9551
|
+
})[];
|
|
9552
|
+
total: number;
|
|
9553
|
+
};
|
|
9554
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
9555
|
+
}>;
|
|
8958
9556
|
}>>;
|
|
8959
9557
|
attachments: import("@trpc/server").TRPCBuiltRouter<{
|
|
8960
9558
|
ctx: Partial<{
|