@opencrvs/toolkit 1.8.0-rc.f8aa0c5 → 1.8.0-rc.f8e0ee5

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.
Files changed (38) hide show
  1. package/dist/commons/api/router.d.ts +7549 -6145
  2. package/dist/commons/conditionals/conditionals.d.ts +0 -4
  3. package/dist/commons/conditionals/validate.d.ts +0 -6
  4. package/dist/commons/events/ActionConfig.d.ts +20914 -46894
  5. package/dist/commons/events/ActionDocument.d.ts +494 -1997
  6. package/dist/commons/events/ActionInput.d.ts +306 -1506
  7. package/dist/commons/events/ActionType.d.ts +0 -4
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +3 -279
  9. package/dist/commons/events/CompositeFieldValue.d.ts +0 -28
  10. package/dist/commons/events/Constants.d.ts +0 -1
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +412 -1160
  12. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  13. package/dist/commons/events/Draft.d.ts +40 -141
  14. package/dist/commons/events/EventConfig.d.ts +14286 -29320
  15. package/dist/commons/events/EventDocument.d.ts +355 -1294
  16. package/dist/commons/events/EventIndex.d.ts +191 -849
  17. package/dist/commons/events/EventMetadata.d.ts +64 -73
  18. package/dist/commons/events/FieldConfig.d.ts +888 -1875
  19. package/dist/commons/events/FieldType.d.ts +1 -4
  20. package/dist/commons/events/FieldTypeMapping.d.ts +50 -89
  21. package/dist/commons/events/FieldValue.d.ts +5 -41
  22. package/dist/commons/events/FormConfig.d.ts +2510 -8840
  23. package/dist/commons/events/PageConfig.d.ts +1638 -3184
  24. package/dist/commons/events/SummaryConfig.d.ts +5 -0
  25. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  26. package/dist/commons/events/WorkqueueConfig.d.ts +1778 -4553
  27. package/dist/commons/events/defineConfig.d.ts +1440 -4157
  28. package/dist/commons/events/field.d.ts +0 -9
  29. package/dist/commons/events/index.d.ts +0 -1
  30. package/dist/commons/events/scopes.d.ts +3 -2
  31. package/dist/commons/events/test.utils.d.ts +39 -148
  32. package/dist/commons/events/transactions.d.ts +1 -1
  33. package/dist/commons/events/utils.d.ts +19 -10122
  34. package/dist/conditionals/index.js +18 -38
  35. package/dist/events/index.js +1681 -2347
  36. package/dist/scopes/index.d.ts +7 -96
  37. package/dist/scopes/index.js +26 -105
  38. package/package.json +3 -3
@@ -1,6 +1,5 @@
1
1
  import { FieldConditional } from './Conditional';
2
2
  import { TranslationConfig } from './TranslationConfig';
3
- import { ValidationConfig } from './FieldConfig';
4
3
  /**
5
4
  * Entry point for defining conditional logic or configuration for a form field.
6
5
  * @param fieldId - The ID of the field to define rules or config for.
@@ -8,12 +7,10 @@ import { ValidationConfig } from './FieldConfig';
8
7
  */
9
8
  export declare function field(fieldId: string, options?: {
10
9
  conditionals?: FieldConditional[];
11
- validations?: ValidationConfig[];
12
10
  searchCriteriaLabelPrefix?: TranslationConfig;
13
11
  }): {
14
12
  range: () => {
15
13
  conditionals?: FieldConditional[];
16
- validations?: ValidationConfig[];
17
14
  searchCriteriaLabelPrefix?: TranslationConfig;
18
15
  fieldId: string;
19
16
  fieldType: "field";
@@ -24,7 +21,6 @@ export declare function field(fieldId: string, options?: {
24
21
  };
25
22
  exact: () => {
26
23
  conditionals?: FieldConditional[];
27
- validations?: ValidationConfig[];
28
24
  searchCriteriaLabelPrefix?: TranslationConfig;
29
25
  fieldId: string;
30
26
  fieldType: "field";
@@ -35,7 +31,6 @@ export declare function field(fieldId: string, options?: {
35
31
  };
36
32
  fuzzy: () => {
37
33
  conditionals?: FieldConditional[];
38
- validations?: ValidationConfig[];
39
34
  searchCriteriaLabelPrefix?: TranslationConfig;
40
35
  fieldId: string;
41
36
  fieldType: "field";
@@ -74,9 +69,5 @@ export declare function field(fieldId: string, options?: {
74
69
  isValidEnglishName: () => import("../conditionals/conditionals").JSONSchema;
75
70
  matches: (pattern: string) => import("../conditionals/conditionals").JSONSchema;
76
71
  isBetween: (min: number, max: number) => import("../conditionals/conditionals").JSONSchema;
77
- getId: () => {
78
- fieldId: string;
79
- };
80
- object: (options: Record<string, any>) => import("../conditionals/conditionals").JSONSchema;
81
72
  };
82
73
  //# sourceMappingURL=field.d.ts.map
@@ -35,7 +35,6 @@ export * from './test.utils';
35
35
  export * from './TemplateConfig';
36
36
  export * from './scopes';
37
37
  export * from './serializer';
38
- export * from './state/availableActions';
39
38
  export * from '../conditionals/conditionals';
40
39
  export * from '../conditionals/validate';
41
40
  export * from './field';
@@ -1,4 +1,5 @@
1
1
  import { Scope } from '../scopes';
2
+ import { ActionType } from './ActionType';
2
3
  export declare const CONFIG_GET_ALLOWED_SCOPES: ["record.declare-birth", "record.read", "record.declaration-submit-incomplete", "record.declaration-submit-for-review", "record.register", "record.export-records", "config", "config.update:all"];
3
4
  export declare const CONFIG_SEARCH_ALLOWED_SCOPES: ("search.birth:my-jurisdiction" | "search.birth" | "search.death:my-jurisdiction" | "search.death" | "search.marriage:my-jurisdiction" | "search.marriage")[];
4
5
  export declare const ACTION_ALLOWED_SCOPES: {
@@ -10,7 +11,7 @@ export declare const ACTION_ALLOWED_SCOPES: {
10
11
  VALIDATE: ["record.declaration-submit-for-approval", "record.register"];
11
12
  REGISTER: ["record.register"];
12
13
  PRINT_CERTIFICATE: ["record.registration-print&issue-certified-copies"];
13
- REQUEST_CORRECTION: ["record.registration-request-correction"];
14
+ REQUEST_CORRECTION: ["record.registration-request-correction", "record.registration-correct"];
14
15
  REJECT_CORRECTION: ["record.registration-correct"];
15
16
  APPROVE_CORRECTION: ["record.registration-correct"];
16
17
  MARKED_AS_DUPLICATE: ["record.declaration-archive"];
@@ -39,6 +40,6 @@ export declare const ACTION_ALLOWED_CONFIGURABLE_SCOPES: {
39
40
  UNASSIGN: never[];
40
41
  DETECT_DUPLICATE: never[];
41
42
  };
42
- export declare const WRITE_ACTION_SCOPES: ("record.declare-birth" | "record.declaration-submit-for-approval" | "record.register" | "record.registration-print&issue-certified-copies")[];
43
43
  export declare function hasAnyOfScopes(a: Scope[], b: Scope[]): boolean;
44
+ export declare function filterUnallowedActions(actions: ActionType[], userScopes: Scope[]): ActionType[];
44
45
  //# sourceMappingURL=scopes.d.ts.map
@@ -1,6 +1,5 @@
1
- import { UUID } from '../uuid';
2
- import { ActionDocument, EventState } from './ActionDocument';
3
- import { ArchiveActionInput, AssignActionInput, DeclareActionInput, NotifyActionInput, RegisterActionInput, RejectDeclarationActionInput, RequestCorrectionActionInput, UnassignActionInput, ValidateActionInput } from './ActionInput';
1
+ import { ActionDocument, ActionUpdate, EventState } from './ActionDocument';
2
+ import { ArchiveActionInput, AssignActionInput, DeclareActionInput, RegisterActionInput, RejectDeclarationActionInput, RequestCorrectionActionInput, UnassignActionInput, ValidateActionInput } from './ActionInput';
4
3
  import { ActionType } from './ActionType';
5
4
  import { Draft } from './Draft';
6
5
  import { EventConfig } from './EventConfig';
@@ -8,27 +7,10 @@ import { EventDocument } from './EventDocument';
8
7
  import { EventIndex } from './EventIndex';
9
8
  import { EventInput } from './EventInput';
10
9
  import { TranslationConfig } from './TranslationConfig';
11
- import { FieldConfig } from './FieldConfig';
12
10
  import { WorkqueueConfig } from './WorkqueueConfig';
13
- import { FieldValue } from './FieldValue';
14
- import { z } from 'zod';
15
- /**
16
- * In real application, the roles are defined in the countryconfig.
17
- * These are just for testing purposes to generate realistic mock data.
18
- */
19
- export declare const TestUserRole: z.ZodEnum<["FIELD_AGENT", "LOCAL_REGISTRAR", "LOCAL_SYSTEM_ADMIN", "NATIONAL_REGISTRAR", "REGISTRATION_AGENT"]>;
20
- export type TestUserRole = z.infer<typeof TestUserRole>;
21
- export declare function generateRandomName(rng: () => number): {
22
- firstname: string;
23
- surname: string;
24
- };
25
- /**
26
- * Quick-and-dirty mock data generator for event actions.
27
- */
28
- export declare function mapFieldTypeToMockValue(field: FieldConfig, i: number, rng: () => number): FieldValue;
29
- export declare function generateActionDeclarationInput(configuration: EventConfig, action: ActionType, rng: () => number): EventState;
30
- export declare function generateActionAnnotationInput(configuration: EventConfig, action: ActionType, rng: () => number): {};
31
- export declare function eventPayloadGenerator(rng: () => number): {
11
+ export declare function generateActionDeclarationInput(configuration: EventConfig, action: ActionType): EventState;
12
+ export declare function generateActionAnnotationInput(configuration: EventConfig, action: ActionType): {};
13
+ export declare const eventPayloadGenerator: {
32
14
  create: (input?: Partial<EventInput>) => {
33
15
  transactionId: string;
34
16
  type: string;
@@ -39,11 +21,12 @@ export declare function eventPayloadGenerator(rng: () => number): {
39
21
  id: string;
40
22
  };
41
23
  draft: ({ eventId, actionType }: {
42
- eventId: UUID;
24
+ eventId: string;
43
25
  actionType: ActionType;
44
26
  }, input?: Partial<Draft>) => Draft;
45
27
  actions: {
46
- declare: (eventId: string, input?: Partial<Pick<DeclareActionInput, "transactionId" | "declaration" | "annotation" | "keepAssignment">>) => {
28
+ declare: (eventId: string, input?: Partial<Pick<DeclareActionInput, "transactionId" | "declaration" | "annotation">>) => {
29
+ type: "DECLARE";
47
30
  transactionId: string;
48
31
  declaration: Record<string, string | number | boolean | {
49
32
  type: string;
@@ -60,10 +43,6 @@ export declare function eventPayloadGenerator(rng: () => number): {
60
43
  residentialArea?: string | null | undefined;
61
44
  street?: string | null | undefined;
62
45
  zipCode?: string | null | undefined;
63
- } | {
64
- firstname?: string | null | undefined;
65
- surname?: string | null | undefined;
66
- middlename?: string | null | undefined;
67
46
  } | {
68
47
  country: string;
69
48
  district: string;
@@ -86,19 +65,20 @@ export declare function eventPayloadGenerator(rng: () => number): {
86
65
  option: string;
87
66
  filename: string;
88
67
  originalFilename: string;
89
- }[] | [string, string] | null | undefined>;
68
+ }[] | [string, string] | undefined>;
90
69
  annotation: {};
91
- keepAssignment?: boolean | undefined;
92
- type: "DECLARE";
93
70
  eventId: string;
94
71
  };
95
72
  /**
96
73
  * Notify allows sending incomplete data. Think it as 'partial declare' for now.
97
74
  */
98
- notify: (eventId: string, input?: Partial<Pick<NotifyActionInput, "transactionId" | "declaration" | "keepAssignment">>) => {
75
+ notify: (eventId: string, input?: {
76
+ transactionId?: string;
77
+ declaration?: Partial<ActionUpdate>;
78
+ }) => {
99
79
  type: "NOTIFY";
100
80
  transactionId: string;
101
- declaration: Record<string, string | number | boolean | {
81
+ declaration: Partial<Record<string, string | number | boolean | {
102
82
  type: string;
103
83
  filename: string;
104
84
  originalFilename: string;
@@ -113,10 +93,6 @@ export declare function eventPayloadGenerator(rng: () => number): {
113
93
  residentialArea?: string | null | undefined;
114
94
  street?: string | null | undefined;
115
95
  zipCode?: string | null | undefined;
116
- } | {
117
- firstname?: string | null | undefined;
118
- surname?: string | null | undefined;
119
- middlename?: string | null | undefined;
120
96
  } | {
121
97
  country: string;
122
98
  district: string;
@@ -139,11 +115,11 @@ export declare function eventPayloadGenerator(rng: () => number): {
139
115
  option: string;
140
116
  filename: string;
141
117
  originalFilename: string;
142
- }[] | [string, string] | null | undefined>;
118
+ }[] | [string, string] | undefined>>;
143
119
  eventId: string;
144
- keepAssignment: boolean | undefined;
145
120
  };
146
- validate: (eventId: string, input?: Partial<Pick<ValidateActionInput, "transactionId" | "declaration" | "annotation" | "keepAssignment">>) => {
121
+ validate: (eventId: string, input?: Partial<Pick<ValidateActionInput, "transactionId" | "declaration" | "annotation">>) => {
122
+ type: "VALIDATE";
147
123
  transactionId: string;
148
124
  declaration: Record<string, string | number | boolean | {
149
125
  type: string;
@@ -160,10 +136,6 @@ export declare function eventPayloadGenerator(rng: () => number): {
160
136
  residentialArea?: string | null | undefined;
161
137
  street?: string | null | undefined;
162
138
  zipCode?: string | null | undefined;
163
- } | {
164
- firstname?: string | null | undefined;
165
- surname?: string | null | undefined;
166
- middlename?: string | null | undefined;
167
139
  } | {
168
140
  country: string;
169
141
  district: string;
@@ -186,10 +158,8 @@ export declare function eventPayloadGenerator(rng: () => number): {
186
158
  option: string;
187
159
  filename: string;
188
160
  originalFilename: string;
189
- }[] | [string, string] | null | undefined>;
161
+ }[] | [string, string] | undefined>;
190
162
  annotation: {};
191
- keepAssignment?: boolean | undefined;
192
- type: "VALIDATE";
193
163
  duplicates: never[];
194
164
  eventId: string;
195
165
  };
@@ -207,52 +177,10 @@ export declare function eventPayloadGenerator(rng: () => number): {
207
177
  assignedTo: null;
208
178
  eventId: string;
209
179
  };
210
- archive: (eventId: string, input?: Partial<Pick<ArchiveActionInput, "transactionId" | "declaration" | "keepAssignment">>, isDuplicate?: boolean) => {
211
- transactionId: string;
212
- declaration: Record<string, string | number | boolean | {
213
- type: string;
214
- filename: string;
215
- originalFilename: string;
216
- } | {
217
- country: string;
218
- district: string;
219
- addressType: "DOMESTIC";
220
- province: string;
221
- urbanOrRural: "URBAN";
222
- number?: string | null | undefined;
223
- town?: string | null | undefined;
224
- residentialArea?: string | null | undefined;
225
- street?: string | null | undefined;
226
- zipCode?: string | null | undefined;
227
- } | {
228
- firstname?: string | null | undefined;
229
- surname?: string | null | undefined;
230
- middlename?: string | null | undefined;
231
- } | {
232
- country: string;
233
- district: string;
234
- addressType: "DOMESTIC";
235
- province: string;
236
- urbanOrRural: "RURAL";
237
- village?: string | null | undefined;
238
- } | {
239
- country: string;
240
- state: string;
241
- addressType: "INTERNATIONAL";
242
- district2: string;
243
- cityOrTown?: string | null | undefined;
244
- addressLine1?: string | null | undefined;
245
- addressLine2?: string | null | undefined;
246
- addressLine3?: string | null | undefined;
247
- postcodeOrZip?: string | null | undefined;
248
- } | {
249
- type: string;
250
- option: string;
251
- filename: string;
252
- originalFilename: string;
253
- }[] | [string, string] | null | undefined>;
254
- keepAssignment?: boolean | undefined;
180
+ archive: (eventId: string, input?: Partial<Pick<ArchiveActionInput, "transactionId" | "declaration">>, isDuplicate?: boolean) => {
255
181
  type: "ARCHIVE";
182
+ transactionId: string;
183
+ declaration: {};
256
184
  annotation: {};
257
185
  duplicates: never[];
258
186
  eventId: string;
@@ -261,19 +189,19 @@ export declare function eventPayloadGenerator(rng: () => number): {
261
189
  isDuplicate: boolean;
262
190
  };
263
191
  };
264
- reject: (eventId: string, input?: Partial<Pick<RejectDeclarationActionInput, "transactionId" | "annotation" | "keepAssignment">>) => {
265
- transactionId: string;
266
- annotation: {};
267
- keepAssignment?: boolean | undefined;
192
+ reject: (eventId: string, input?: Partial<Pick<RejectDeclarationActionInput, "transactionId" | "annotation">>) => {
268
193
  type: "REJECT";
194
+ transactionId: string;
269
195
  declaration: {};
196
+ annotation: {};
270
197
  duplicates: never[];
271
198
  eventId: string;
272
199
  reason: {
273
200
  message: string;
274
201
  };
275
202
  };
276
- register: (eventId: string, input?: Partial<Pick<RegisterActionInput, "transactionId" | "declaration" | "annotation" | "keepAssignment" | "registrationNumber">>) => {
203
+ register: (eventId: string, input?: Partial<Pick<RegisterActionInput, "transactionId" | "declaration" | "annotation">>) => {
204
+ type: "REGISTER";
277
205
  transactionId: string;
278
206
  declaration: Record<string, string | number | boolean | {
279
207
  type: string;
@@ -290,10 +218,6 @@ export declare function eventPayloadGenerator(rng: () => number): {
290
218
  residentialArea?: string | null | undefined;
291
219
  street?: string | null | undefined;
292
220
  zipCode?: string | null | undefined;
293
- } | {
294
- firstname?: string | null | undefined;
295
- surname?: string | null | undefined;
296
- middlename?: string | null | undefined;
297
221
  } | {
298
222
  country: string;
299
223
  district: string;
@@ -316,23 +240,19 @@ export declare function eventPayloadGenerator(rng: () => number): {
316
240
  option: string;
317
241
  filename: string;
318
242
  originalFilename: string;
319
- }[] | [string, string] | null | undefined>;
243
+ }[] | [string, string] | undefined>;
320
244
  annotation: {};
321
- registrationNumber?: string | undefined;
322
- keepAssignment?: boolean | undefined;
323
- type: "REGISTER";
324
245
  eventId: string;
325
246
  };
326
- printCertificate: (eventId: string, input?: Partial<Pick<RegisterActionInput, "transactionId" | "annotation" | "keepAssignment">>) => {
327
- transactionId: string;
328
- annotation: {};
329
- keepAssignment?: boolean | undefined;
247
+ printCertificate: (eventId: string, input?: Partial<Pick<RegisterActionInput, "transactionId" | "annotation">>) => {
330
248
  type: "PRINT_CERTIFICATE";
249
+ transactionId: string;
331
250
  declaration: {};
251
+ annotation: {};
332
252
  eventId: string;
333
253
  };
334
254
  correction: {
335
- request: (eventId: string, input?: Partial<Pick<RequestCorrectionActionInput, "transactionId" | "declaration" | "annotation" | "keepAssignment">>) => {
255
+ request: (eventId: string, input?: Partial<Pick<RequestCorrectionActionInput, "transactionId" | "declaration" | "annotation">>) => {
336
256
  type: "REQUEST_CORRECTION";
337
257
  transactionId: string;
338
258
  declaration: Record<string, string | number | boolean | {
@@ -350,10 +270,6 @@ export declare function eventPayloadGenerator(rng: () => number): {
350
270
  residentialArea?: string | null | undefined;
351
271
  street?: string | null | undefined;
352
272
  zipCode?: string | null | undefined;
353
- } | {
354
- firstname?: string | null | undefined;
355
- surname?: string | null | undefined;
356
- middlename?: string | null | undefined;
357
273
  } | {
358
274
  country: string;
359
275
  district: string;
@@ -376,72 +292,47 @@ export declare function eventPayloadGenerator(rng: () => number): {
376
292
  option: string;
377
293
  filename: string;
378
294
  originalFilename: string;
379
- }[] | [string, string] | null | undefined>;
295
+ }[] | [string, string] | undefined>;
380
296
  annotation: {};
381
297
  eventId: string;
382
- keepAssignment: boolean | undefined;
383
298
  };
384
- approve: (eventId: string, requestId: string, input?: Partial<Pick<RequestCorrectionActionInput, "transactionId" | "annotation" | "keepAssignment">>) => {
299
+ approve: (eventId: string, requestId: string, input?: Partial<Pick<RequestCorrectionActionInput, "transactionId" | "annotation">>) => {
385
300
  type: "APPROVE_CORRECTION";
386
301
  transactionId: string;
387
302
  declaration: {};
388
303
  annotation: {};
389
304
  eventId: string;
390
305
  requestId: string;
391
- keepAssignment: boolean | undefined;
392
306
  };
393
- reject: (eventId: string, requestId: string, input?: Partial<Pick<RequestCorrectionActionInput, "transactionId" | "annotation" | "keepAssignment">>) => {
307
+ reject: (eventId: string, requestId: string, input?: Partial<Pick<RequestCorrectionActionInput, "transactionId" | "annotation">>) => {
394
308
  type: "REJECT_CORRECTION";
395
309
  transactionId: string;
396
310
  declaration: {};
397
311
  annotation: {};
398
312
  eventId: string;
399
313
  requestId: string;
400
- keepAssignment: boolean | undefined;
401
314
  };
402
315
  };
403
316
  };
404
317
  };
405
- export declare function generateActionDocument({ configuration, action, rng, defaults, user }: {
318
+ export declare function generateActionDocument({ configuration, action, defaults }: {
406
319
  configuration: EventConfig;
407
320
  action: ActionType;
408
- rng?: () => number;
409
321
  defaults?: Partial<ActionDocument>;
410
- user?: Partial<{
411
- signature: string;
412
- primaryOfficeId: UUID;
413
- role: TestUserRole;
414
- id: string;
415
- }>;
416
322
  }): ActionDocument;
417
- export declare function generateEventDocument({ configuration, actions, rng, user }: {
323
+ export declare function generateEventDocument({ configuration, actions }: {
418
324
  configuration: EventConfig;
419
325
  actions: ActionType[];
420
- rng?: () => number;
421
- user?: Partial<{
422
- signature: string;
423
- primaryOfficeId: UUID;
424
- role: TestUserRole;
425
- id: string;
426
- }>;
427
326
  }): EventDocument;
428
- export declare function generateEventDraftDocument({ eventId, actionType, rng, declaration }: {
429
- eventId: UUID;
430
- actionType: ActionType;
431
- rng?: () => number;
432
- declaration?: EventState;
433
- }): Draft;
327
+ export declare function generateEventDraftDocument(eventId: string, actionType?: ActionType, declaration?: EventState): Draft;
434
328
  export declare function getRandomDatetime(rng: () => number, start: Date, end: Date): string;
435
- export declare function getRandomDate(rng: () => number, start: string, end: string): string;
436
329
  /**
437
330
  * Useful for testing when we need deterministic outcome.
438
331
  * @param seed - Seed value for the pseudo-random number generator
439
332
  *
440
- * @returns A function that generates pseudo-random numbers between 0 and 1 [0, 1)
333
+ * @returns A function that generates pseudo-random numbers between 0 and 1
441
334
  */
442
- export declare function createPrng(seed: number): () => number;
443
- export declare function generateUuid(rng?: () => number): UUID;
444
- export declare function generateRegistrationNumber(rng: () => number): string;
335
+ export declare function createPseudoRandomNumberGenerator(seed: number): () => number;
445
336
  export declare function generateRandomSignature(rng: () => number): string;
446
337
  export declare const eventQueryDataGenerator: (overrides?: Partial<EventIndex>, seed?: number) => EventIndex;
447
338
  export declare const generateTranslationConfig: (message: string) => TranslationConfig;
@@ -1,2 +1,2 @@
1
- export declare function generateTransactionId(): string & import("zod").BRAND<"UUID">;
1
+ export declare function generateTransactionId(): import("../uuid").UUID;
2
2
  //# sourceMappingURL=transactions.d.ts.map