@opencrvs/toolkit 2.1.0-rc.f383722 → 2.1.0-rc.f5ea803
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 +1 -0
- package/build.sh +9 -1
- package/create-countryconfig/index.js +284 -62
- package/create-countryconfig/node_modules/.bin/degit +21 -0
- package/create-countryconfig/package.json +4 -1
- package/dist/application-config/index.js +340 -274
- 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 +1744 -104
- package/dist/commons/api/router.d.ts +600 -70
- 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 +5 -11
- package/dist/commons/events/ActionInput.d.ts +4 -4
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -0
- package/dist/commons/events/AuditLog.d.ts +110 -0
- package/dist/commons/events/EventConfig.d.ts +3 -0
- package/dist/commons/events/EventDocument.d.ts +470 -2
- package/dist/commons/events/EventIndex.d.ts +1 -24
- 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 +82 -52
- 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/locations.d.ts +158 -26
- package/dist/commons/events/mocks.test.utils.d.ts +30 -0
- package/dist/commons/events/test.utils.d.ts +8 -4
- package/dist/commons/events/utils.d.ts +2 -2
- 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 +327 -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/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 +3 -2
- package/dist/environment/templates.d.ts.map +1 -1
- package/dist/environment/templates.js +2 -1
- package/dist/environment/update-workflows.d.ts.map +1 -1
- package/dist/environment/update-workflows.js +17 -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/events/index.js +3662 -3355
- 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 +1794 -1461
- package/dist/scopes/index.d.ts +300 -7
- package/dist/scopes/index.js +328 -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/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 +19 -0
- package/dist/translations/check.d.ts.map +1 -0
- package/dist/translations/check.js +127 -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.f5ea803.tgz +0 -0
- package/package.json +9 -4
- package/tsconfig.build.json +11 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.json +3 -0
- package/.nx/cache/file-map.json +0 -360
- package/.nx/cache/project-graph.json +0 -6
- 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.f383722.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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -1645,9 +1645,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1645
1645
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1646
1646
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1647
1647
|
type: "ARCHIVE";
|
|
1648
|
-
content
|
|
1648
|
+
content?: {
|
|
1649
1649
|
reason: string;
|
|
1650
|
-
};
|
|
1650
|
+
} | undefined;
|
|
1651
1651
|
} | {
|
|
1652
1652
|
id: string & import("zod").$brand<"UUID">;
|
|
1653
1653
|
transactionId: string;
|
|
@@ -2009,9 +2009,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2009
2009
|
waitFor?: boolean | undefined;
|
|
2010
2010
|
createdAtLocation?: string | null | undefined;
|
|
2011
2011
|
type?: "ARCHIVE" | undefined;
|
|
2012
|
-
content
|
|
2012
|
+
content?: {
|
|
2013
2013
|
reason: string;
|
|
2014
|
-
};
|
|
2014
|
+
} | undefined;
|
|
2015
2015
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2016
2016
|
eventId: string;
|
|
2017
2017
|
transactionId: string;
|
|
@@ -2278,9 +2278,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2278
2278
|
status: "Accepted" | "Rejected" | "Requested";
|
|
2279
2279
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2280
2280
|
type: "ARCHIVE";
|
|
2281
|
-
content
|
|
2281
|
+
content?: {
|
|
2282
2282
|
reason: string;
|
|
2283
|
-
};
|
|
2283
|
+
} | undefined;
|
|
2284
2284
|
} | {
|
|
2285
2285
|
id: string & import("zod").$brand<"UUID">;
|
|
2286
2286
|
transactionId: string;
|
|
@@ -2647,9 +2647,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2647
2647
|
waitFor?: boolean | undefined;
|
|
2648
2648
|
createdAtLocation?: string | null | undefined;
|
|
2649
2649
|
type?: "ARCHIVE" | undefined;
|
|
2650
|
-
content
|
|
2650
|
+
content?: {
|
|
2651
2651
|
reason: string;
|
|
2652
|
-
};
|
|
2652
|
+
} | undefined;
|
|
2653
2653
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2654
2654
|
eventId: string;
|
|
2655
2655
|
transactionId: string;
|
|
@@ -2951,9 +2951,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2951
2951
|
waitFor?: boolean | undefined;
|
|
2952
2952
|
createdAtLocation?: string | null | undefined;
|
|
2953
2953
|
type?: "ARCHIVE" | undefined;
|
|
2954
|
-
content
|
|
2954
|
+
content?: {
|
|
2955
2955
|
reason: string;
|
|
2956
|
-
};
|
|
2956
|
+
} | undefined;
|
|
2957
2957
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2958
2958
|
eventId: string;
|
|
2959
2959
|
transactionId: string;
|
|
@@ -3255,9 +3255,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3255
3255
|
waitFor?: boolean | undefined;
|
|
3256
3256
|
createdAtLocation?: string | null | undefined;
|
|
3257
3257
|
type?: "ARCHIVE" | undefined;
|
|
3258
|
-
content
|
|
3258
|
+
content?: {
|
|
3259
3259
|
reason: string;
|
|
3260
|
-
};
|
|
3260
|
+
} | undefined;
|
|
3261
3261
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3262
3262
|
eventId: string;
|
|
3263
3263
|
transactionId: string;
|
|
@@ -3559,9 +3559,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3559
3559
|
waitFor?: boolean | undefined;
|
|
3560
3560
|
createdAtLocation?: string | null | undefined;
|
|
3561
3561
|
type?: "ARCHIVE" | undefined;
|
|
3562
|
-
content
|
|
3562
|
+
content?: {
|
|
3563
3563
|
reason: string;
|
|
3564
|
-
};
|
|
3564
|
+
} | undefined;
|
|
3565
3565
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3566
3566
|
eventId: string;
|
|
3567
3567
|
transactionId: string;
|
|
@@ -3863,9 +3863,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3863
3863
|
waitFor?: boolean | undefined;
|
|
3864
3864
|
createdAtLocation?: string | null | undefined;
|
|
3865
3865
|
type?: "ARCHIVE" | undefined;
|
|
3866
|
-
content
|
|
3866
|
+
content?: {
|
|
3867
3867
|
reason: string;
|
|
3868
|
-
};
|
|
3868
|
+
} | undefined;
|
|
3869
3869
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3870
3870
|
eventId: string;
|
|
3871
3871
|
transactionId: string;
|
|
@@ -4167,9 +4167,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4167
4167
|
waitFor?: boolean | undefined;
|
|
4168
4168
|
createdAtLocation?: string | null | undefined;
|
|
4169
4169
|
type?: "ARCHIVE" | undefined;
|
|
4170
|
-
content
|
|
4170
|
+
content?: {
|
|
4171
4171
|
reason: string;
|
|
4172
|
-
};
|
|
4172
|
+
} | undefined;
|
|
4173
4173
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4174
4174
|
eventId: string;
|
|
4175
4175
|
transactionId: string;
|
|
@@ -4466,9 +4466,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4466
4466
|
waitFor?: boolean | undefined;
|
|
4467
4467
|
createdAtLocation?: string | null | undefined;
|
|
4468
4468
|
type?: "ARCHIVE" | undefined;
|
|
4469
|
-
content
|
|
4469
|
+
content?: {
|
|
4470
4470
|
reason: string;
|
|
4471
|
-
};
|
|
4471
|
+
} | undefined;
|
|
4472
4472
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4473
4473
|
eventId: string;
|
|
4474
4474
|
transactionId: string;
|
|
@@ -4736,9 +4736,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4736
4736
|
status: "Accepted" | "Rejected" | "Requested";
|
|
4737
4737
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4738
4738
|
type: "ARCHIVE";
|
|
4739
|
-
content
|
|
4739
|
+
content?: {
|
|
4740
4740
|
reason: string;
|
|
4741
|
-
};
|
|
4741
|
+
} | undefined;
|
|
4742
4742
|
} | {
|
|
4743
4743
|
id: string & import("zod").$brand<"UUID">;
|
|
4744
4744
|
transactionId: string;
|
|
@@ -4998,6 +4998,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4998
4998
|
type: string;
|
|
4999
4999
|
createdAt: string;
|
|
5000
5000
|
updatedAt: string;
|
|
5001
|
+
trackingId: string;
|
|
5001
5002
|
actions: ({
|
|
5002
5003
|
id: string & import("zod").$brand<"UUID">;
|
|
5003
5004
|
transactionId: string;
|
|
@@ -5094,9 +5095,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5094
5095
|
status: "Accepted" | "Rejected" | "Requested";
|
|
5095
5096
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5096
5097
|
type: "ARCHIVE";
|
|
5097
|
-
content
|
|
5098
|
+
content?: {
|
|
5098
5099
|
reason: string;
|
|
5099
|
-
};
|
|
5100
|
+
} | undefined;
|
|
5100
5101
|
} | {
|
|
5101
5102
|
id: string & import("zod").$brand<"UUID">;
|
|
5102
5103
|
transactionId: string;
|
|
@@ -5309,8 +5310,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5309
5310
|
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
5310
5311
|
status: "Rejected";
|
|
5311
5312
|
})[];
|
|
5312
|
-
|
|
5313
|
-
};
|
|
5313
|
+
} & import("zod").$brand<"EventDocumentOnlyLastAction">;
|
|
5314
5314
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5315
5315
|
}>;
|
|
5316
5316
|
unassign: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -5333,6 +5333,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5333
5333
|
type: string;
|
|
5334
5334
|
createdAt: string;
|
|
5335
5335
|
updatedAt: string;
|
|
5336
|
+
trackingId: string;
|
|
5336
5337
|
actions: ({
|
|
5337
5338
|
id: string & import("zod").$brand<"UUID">;
|
|
5338
5339
|
transactionId: string;
|
|
@@ -5429,9 +5430,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5429
5430
|
status: "Accepted" | "Rejected" | "Requested";
|
|
5430
5431
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5431
5432
|
type: "ARCHIVE";
|
|
5432
|
-
content
|
|
5433
|
+
content?: {
|
|
5433
5434
|
reason: string;
|
|
5434
|
-
};
|
|
5435
|
+
} | undefined;
|
|
5435
5436
|
} | {
|
|
5436
5437
|
id: string & import("zod").$brand<"UUID">;
|
|
5437
5438
|
transactionId: string;
|
|
@@ -5644,8 +5645,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5644
5645
|
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
5645
5646
|
status: "Rejected";
|
|
5646
5647
|
})[];
|
|
5647
|
-
|
|
5648
|
-
};
|
|
5648
|
+
} & import("zod").$brand<"EventDocumentOnlyLastAction">;
|
|
5649
5649
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5650
5650
|
}>;
|
|
5651
5651
|
}>>;
|
|
@@ -5820,9 +5820,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5820
5820
|
waitFor?: boolean | undefined;
|
|
5821
5821
|
createdAtLocation?: string | null | undefined;
|
|
5822
5822
|
type?: "ARCHIVE" | undefined;
|
|
5823
|
-
content
|
|
5823
|
+
content?: {
|
|
5824
5824
|
reason: string;
|
|
5825
|
-
};
|
|
5825
|
+
} | undefined;
|
|
5826
5826
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5827
5827
|
eventId: string;
|
|
5828
5828
|
transactionId: string;
|
|
@@ -6124,9 +6124,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6124
6124
|
waitFor?: boolean | undefined;
|
|
6125
6125
|
createdAtLocation?: string | null | undefined;
|
|
6126
6126
|
type?: "ARCHIVE" | undefined;
|
|
6127
|
-
content
|
|
6127
|
+
content?: {
|
|
6128
6128
|
reason: string;
|
|
6129
|
-
};
|
|
6129
|
+
} | undefined;
|
|
6130
6130
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6131
6131
|
eventId: string;
|
|
6132
6132
|
transactionId: string;
|
|
@@ -6428,9 +6428,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6428
6428
|
waitFor?: boolean | undefined;
|
|
6429
6429
|
createdAtLocation?: string | null | undefined;
|
|
6430
6430
|
type?: "ARCHIVE" | undefined;
|
|
6431
|
-
content
|
|
6431
|
+
content?: {
|
|
6432
6432
|
reason: string;
|
|
6433
|
-
};
|
|
6433
|
+
} | undefined;
|
|
6434
6434
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6435
6435
|
eventId: string;
|
|
6436
6436
|
transactionId: string;
|
|
@@ -6724,9 +6724,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6724
6724
|
status: "Accepted" | "Rejected" | "Requested";
|
|
6725
6725
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6726
6726
|
type: "ARCHIVE";
|
|
6727
|
-
content
|
|
6727
|
+
content?: {
|
|
6728
6728
|
reason: string;
|
|
6729
|
-
};
|
|
6729
|
+
} | undefined;
|
|
6730
6730
|
} | {
|
|
6731
6731
|
id: string & import("zod").$brand<"UUID">;
|
|
6732
6732
|
transactionId: string;
|
|
@@ -7058,9 +7058,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7058
7058
|
status: "Accepted" | "Rejected" | "Requested";
|
|
7059
7059
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7060
7060
|
type: "ARCHIVE";
|
|
7061
|
-
content
|
|
7061
|
+
content?: {
|
|
7062
7062
|
reason: string;
|
|
7063
|
-
};
|
|
7063
|
+
} | undefined;
|
|
7064
7064
|
} | {
|
|
7065
7065
|
id: string & import("zod").$brand<"UUID">;
|
|
7066
7066
|
transactionId: string;
|
|
@@ -7443,9 +7443,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7443
7443
|
status: "Accepted" | "Rejected" | "Requested";
|
|
7444
7444
|
originalActionId?: string | null | undefined;
|
|
7445
7445
|
type: "ARCHIVE";
|
|
7446
|
-
content
|
|
7446
|
+
content?: {
|
|
7447
7447
|
reason: string;
|
|
7448
|
-
};
|
|
7448
|
+
} | undefined;
|
|
7449
7449
|
} | {
|
|
7450
7450
|
id: string;
|
|
7451
7451
|
transactionId: string;
|
|
@@ -8258,6 +8258,104 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8258
8258
|
administrativeAreaId?: string | null | undefined;
|
|
8259
8259
|
locationType?: string | null | undefined;
|
|
8260
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
|
+
};
|
|
8261
8359
|
} | {
|
|
8262
8360
|
id: string;
|
|
8263
8361
|
clientId: string;
|
|
@@ -8394,27 +8492,65 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8394
8492
|
}[];
|
|
8395
8493
|
meta: object;
|
|
8396
8494
|
}>;
|
|
8397
|
-
|
|
8495
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
8398
8496
|
input: {
|
|
8399
|
-
id
|
|
8497
|
+
id?: string | undefined;
|
|
8498
|
+
versionId?: string | undefined;
|
|
8400
8499
|
name: string;
|
|
8401
8500
|
externalId?: string | null | undefined;
|
|
8402
8501
|
administrativeAreaId: string | null;
|
|
8403
8502
|
locationType: string | null;
|
|
8404
|
-
|
|
8405
|
-
|
|
8406
|
-
|
|
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;
|
|
8407
8522
|
}>;
|
|
8408
|
-
|
|
8523
|
+
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
8409
8524
|
input: {
|
|
8410
|
-
id
|
|
8525
|
+
id: string;
|
|
8411
8526
|
versionId?: string | undefined;
|
|
8412
8527
|
name: string;
|
|
8413
8528
|
externalId?: string | null | undefined;
|
|
8414
|
-
|
|
8415
|
-
locationType: string | null;
|
|
8529
|
+
status: "active" | "inactive";
|
|
8416
8530
|
effectiveFrom?: string | undefined;
|
|
8417
|
-
|
|
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;
|
|
8418
8554
|
};
|
|
8419
8555
|
output: {
|
|
8420
8556
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -8807,7 +8943,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8807
8943
|
$event: "assignedTo" | "createdAt" | "createdAtLocation" | "createdBy" | "createdByUserType" | "dateOfEvent" | "flags" | "id" | "legalStatuses" | "outbox" | "placeOfEvent" | "status" | "title" | "trackingId" | "type" | "updatedAt" | "updatedAtLocation" | "updatedBy" | "updatedByUserRole";
|
|
8808
8944
|
};
|
|
8809
8945
|
}[];
|
|
8810
|
-
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";
|
|
8811
8947
|
emptyMessage?: {
|
|
8812
8948
|
id: string;
|
|
8813
8949
|
defaultMessage: string;
|
|
@@ -8869,25 +9005,62 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8869
9005
|
}[];
|
|
8870
9006
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8871
9007
|
}>;
|
|
8872
|
-
|
|
9008
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
8873
9009
|
input: {
|
|
8874
|
-
id
|
|
9010
|
+
id?: string | undefined;
|
|
9011
|
+
versionId?: string | undefined;
|
|
8875
9012
|
name: string;
|
|
8876
9013
|
externalId?: string | null | undefined;
|
|
8877
9014
|
parentId: string | null;
|
|
8878
|
-
|
|
8879
|
-
|
|
8880
|
-
|
|
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;
|
|
8881
9033
|
}>;
|
|
8882
|
-
|
|
9034
|
+
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
8883
9035
|
input: {
|
|
8884
|
-
id
|
|
9036
|
+
id: string;
|
|
8885
9037
|
versionId?: string | undefined;
|
|
8886
9038
|
name: string;
|
|
8887
9039
|
externalId?: string | null | undefined;
|
|
8888
|
-
|
|
9040
|
+
status: "active" | "inactive";
|
|
8889
9041
|
effectiveFrom?: string | undefined;
|
|
8890
|
-
|
|
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;
|
|
8891
9064
|
};
|
|
8892
9065
|
output: {
|
|
8893
9066
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -9023,6 +9196,363 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9023
9196
|
};
|
|
9024
9197
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
9025
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
|
+
}>;
|
|
9026
9556
|
}>>;
|
|
9027
9557
|
attachments: import("@trpc/server").TRPCBuiltRouter<{
|
|
9028
9558
|
ctx: Partial<{
|