@opencrvs/toolkit 1.8.0-rc.fc4c805 → 1.8.0-rc.fcb9386
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commons/api/router.d.ts +6983 -4338
- package/dist/commons/conditionals/conditionals.d.ts +2 -1
- package/dist/commons/events/ActionConfig.d.ts +40400 -36948
- package/dist/commons/events/ActionDocument.d.ts +292 -105
- package/dist/commons/events/ActionInput.d.ts +75 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +603 -12
- package/dist/commons/events/Constants.d.ts +2 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
- package/dist/commons/events/Draft.d.ts +10 -5
- package/dist/commons/events/EventConfig.d.ts +14558 -14829
- package/dist/commons/events/EventDocument.d.ts +212 -93
- package/dist/commons/events/EventIndex.d.ts +298 -319
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +38 -44
- package/dist/commons/events/FieldConfig.d.ts +517 -0
- package/dist/commons/events/FormConfig.d.ts +3641 -467
- package/dist/commons/events/PageConfig.d.ts +782 -0
- package/dist/commons/events/User.d.ts +31 -7
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +4033 -644
- package/dist/commons/events/defineConfig.d.ts +3050 -3519
- package/dist/commons/events/event.d.ts +37 -10
- package/dist/commons/events/field.d.ts +21 -7
- package/dist/commons/events/index.d.ts +4 -0
- package/dist/commons/events/scopes.d.ts +21 -2
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +26 -6
- package/dist/commons/events/utils.d.ts +117 -1
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +19 -2
- package/dist/events/index.js +2382 -988
- package/dist/scopes/index.d.ts +158 -1
- package/dist/scopes/index.js +152 -1
- package/package.json +1 -1
@@ -2640,8 +2640,22 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
|
|
2640
2640
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
2641
2641
|
}, {
|
2642
2642
|
type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
|
2643
|
+
reason: z.ZodObject<{
|
2644
|
+
message: z.ZodString;
|
2645
|
+
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
2646
|
+
}, "strip", z.ZodTypeAny, {
|
2647
|
+
message: string;
|
2648
|
+
isDuplicate?: boolean | undefined;
|
2649
|
+
}, {
|
2650
|
+
message: string;
|
2651
|
+
isDuplicate?: boolean | undefined;
|
2652
|
+
}>;
|
2643
2653
|
}>, "strip", z.ZodTypeAny, {
|
2644
2654
|
type: "REJECT";
|
2655
|
+
reason: {
|
2656
|
+
message: string;
|
2657
|
+
isDuplicate?: boolean | undefined;
|
2658
|
+
};
|
2645
2659
|
transactionId: string;
|
2646
2660
|
declaration: Record<string, string | number | boolean | {
|
2647
2661
|
type: string;
|
@@ -2723,6 +2737,10 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
|
|
2723
2737
|
originalActionId?: string | undefined;
|
2724
2738
|
keepAssignment?: boolean | undefined;
|
2725
2739
|
}, {
|
2740
|
+
reason: {
|
2741
|
+
message: string;
|
2742
|
+
isDuplicate?: boolean | undefined;
|
2743
|
+
};
|
2726
2744
|
transactionId: string;
|
2727
2745
|
eventId: string;
|
2728
2746
|
type?: "REJECT" | undefined;
|
@@ -3442,8 +3460,22 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
3442
3460
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
3443
3461
|
}, {
|
3444
3462
|
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
3463
|
+
reason: z.ZodObject<{
|
3464
|
+
message: z.ZodString;
|
3465
|
+
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
3466
|
+
}, "strip", z.ZodTypeAny, {
|
3467
|
+
message: string;
|
3468
|
+
isDuplicate?: boolean | undefined;
|
3469
|
+
}, {
|
3470
|
+
message: string;
|
3471
|
+
isDuplicate?: boolean | undefined;
|
3472
|
+
}>;
|
3445
3473
|
}>, "strip", z.ZodTypeAny, {
|
3446
3474
|
type: "ARCHIVE";
|
3475
|
+
reason: {
|
3476
|
+
message: string;
|
3477
|
+
isDuplicate?: boolean | undefined;
|
3478
|
+
};
|
3447
3479
|
transactionId: string;
|
3448
3480
|
declaration: Record<string, string | number | boolean | {
|
3449
3481
|
type: string;
|
@@ -3525,6 +3557,10 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
3525
3557
|
originalActionId?: string | undefined;
|
3526
3558
|
keepAssignment?: boolean | undefined;
|
3527
3559
|
}, {
|
3560
|
+
reason: {
|
3561
|
+
message: string;
|
3562
|
+
isDuplicate?: boolean | undefined;
|
3563
|
+
};
|
3528
3564
|
transactionId: string;
|
3529
3565
|
eventId: string;
|
3530
3566
|
type?: "ARCHIVE" | undefined;
|
@@ -6277,7 +6313,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6277
6313
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
6278
6314
|
}, {
|
6279
6315
|
type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
|
6280
|
-
createdAtLocation: z.ZodString
|
6316
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6281
6317
|
}>, "strip", z.ZodTypeAny, {
|
6282
6318
|
type: "CREATE";
|
6283
6319
|
transactionId: string;
|
@@ -6319,8 +6355,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6319
6355
|
filename: string;
|
6320
6356
|
originalFilename: string;
|
6321
6357
|
}[] | [string, string] | undefined>;
|
6322
|
-
createdAtLocation: string;
|
6323
6358
|
eventId: string;
|
6359
|
+
createdAtLocation?: string | null | undefined;
|
6324
6360
|
annotation?: Record<string, string | number | boolean | {
|
6325
6361
|
type: string;
|
6326
6362
|
filename: string;
|
@@ -6363,9 +6399,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6363
6399
|
keepAssignment?: boolean | undefined;
|
6364
6400
|
}, {
|
6365
6401
|
transactionId: string;
|
6366
|
-
createdAtLocation: string;
|
6367
6402
|
eventId: string;
|
6368
6403
|
type?: "CREATE" | undefined;
|
6404
|
+
createdAtLocation?: string | null | undefined;
|
6369
6405
|
declaration?: Record<string, string | number | boolean | {
|
6370
6406
|
type: string;
|
6371
6407
|
filename: string;
|
@@ -8281,8 +8317,22 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8281
8317
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
8282
8318
|
}, {
|
8283
8319
|
type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
|
8320
|
+
reason: z.ZodObject<{
|
8321
|
+
message: z.ZodString;
|
8322
|
+
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
8323
|
+
}, "strip", z.ZodTypeAny, {
|
8324
|
+
message: string;
|
8325
|
+
isDuplicate?: boolean | undefined;
|
8326
|
+
}, {
|
8327
|
+
message: string;
|
8328
|
+
isDuplicate?: boolean | undefined;
|
8329
|
+
}>;
|
8284
8330
|
}>, "strip", z.ZodTypeAny, {
|
8285
8331
|
type: "REJECT";
|
8332
|
+
reason: {
|
8333
|
+
message: string;
|
8334
|
+
isDuplicate?: boolean | undefined;
|
8335
|
+
};
|
8286
8336
|
transactionId: string;
|
8287
8337
|
declaration: Record<string, string | number | boolean | {
|
8288
8338
|
type: string;
|
@@ -8364,6 +8414,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8364
8414
|
originalActionId?: string | undefined;
|
8365
8415
|
keepAssignment?: boolean | undefined;
|
8366
8416
|
}, {
|
8417
|
+
reason: {
|
8418
|
+
message: string;
|
8419
|
+
isDuplicate?: boolean | undefined;
|
8420
|
+
};
|
8367
8421
|
transactionId: string;
|
8368
8422
|
eventId: string;
|
8369
8423
|
type?: "REJECT" | undefined;
|
@@ -9079,8 +9133,22 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9079
9133
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
9080
9134
|
}, {
|
9081
9135
|
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
9136
|
+
reason: z.ZodObject<{
|
9137
|
+
message: z.ZodString;
|
9138
|
+
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
9139
|
+
}, "strip", z.ZodTypeAny, {
|
9140
|
+
message: string;
|
9141
|
+
isDuplicate?: boolean | undefined;
|
9142
|
+
}, {
|
9143
|
+
message: string;
|
9144
|
+
isDuplicate?: boolean | undefined;
|
9145
|
+
}>;
|
9082
9146
|
}>, "strip", z.ZodTypeAny, {
|
9083
9147
|
type: "ARCHIVE";
|
9148
|
+
reason: {
|
9149
|
+
message: string;
|
9150
|
+
isDuplicate?: boolean | undefined;
|
9151
|
+
};
|
9084
9152
|
transactionId: string;
|
9085
9153
|
declaration: Record<string, string | number | boolean | {
|
9086
9154
|
type: string;
|
@@ -9162,6 +9230,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9162
9230
|
originalActionId?: string | undefined;
|
9163
9231
|
keepAssignment?: boolean | undefined;
|
9164
9232
|
}, {
|
9233
|
+
reason: {
|
9234
|
+
message: string;
|
9235
|
+
isDuplicate?: boolean | undefined;
|
9236
|
+
};
|
9165
9237
|
transactionId: string;
|
9166
9238
|
eventId: string;
|
9167
9239
|
type?: "ARCHIVE" | undefined;
|