@planecloud/validation 1.0.0

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.
@@ -0,0 +1,641 @@
1
+ import { z } from "zod";
2
+ export declare const BackupPolicySchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ organizationId: z.ZodString;
5
+ name: z.ZodString;
6
+ retentionPeriod: z.ZodNumber;
7
+ frequency: z.ZodEnum<["HOURLY", "DAILY", "WEEKLY", "MONTHLY"]>;
8
+ compressionEnabled: z.ZodBoolean;
9
+ encryptionEnabled: z.ZodBoolean;
10
+ storageLocation: z.ZodString;
11
+ isActive: z.ZodBoolean;
12
+ settings: z.ZodObject<{
13
+ includeSchemas: z.ZodArray<z.ZodString, "many">;
14
+ excludeSchemas: z.ZodArray<z.ZodString, "many">;
15
+ includeTables: z.ZodArray<z.ZodString, "many">;
16
+ excludeTables: z.ZodArray<z.ZodString, "many">;
17
+ customOptions: z.ZodRecord<z.ZodString, z.ZodAny>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ includeSchemas: string[];
20
+ excludeSchemas: string[];
21
+ includeTables: string[];
22
+ excludeTables: string[];
23
+ customOptions: Record<string, any>;
24
+ }, {
25
+ includeSchemas: string[];
26
+ excludeSchemas: string[];
27
+ includeTables: string[];
28
+ excludeTables: string[];
29
+ customOptions: Record<string, any>;
30
+ }>;
31
+ createdAt: z.ZodDate;
32
+ updatedAt: z.ZodDate;
33
+ }, "strip", z.ZodTypeAny, {
34
+ id: string;
35
+ createdAt: Date;
36
+ updatedAt: Date;
37
+ name: string;
38
+ settings: {
39
+ includeSchemas: string[];
40
+ excludeSchemas: string[];
41
+ includeTables: string[];
42
+ excludeTables: string[];
43
+ customOptions: Record<string, any>;
44
+ };
45
+ organizationId: string;
46
+ isActive: boolean;
47
+ retentionPeriod: number;
48
+ frequency: "DAILY" | "WEEKLY" | "MONTHLY" | "HOURLY";
49
+ compressionEnabled: boolean;
50
+ encryptionEnabled: boolean;
51
+ storageLocation: string;
52
+ }, {
53
+ id: string;
54
+ createdAt: Date;
55
+ updatedAt: Date;
56
+ name: string;
57
+ settings: {
58
+ includeSchemas: string[];
59
+ excludeSchemas: string[];
60
+ includeTables: string[];
61
+ excludeTables: string[];
62
+ customOptions: Record<string, any>;
63
+ };
64
+ organizationId: string;
65
+ isActive: boolean;
66
+ retentionPeriod: number;
67
+ frequency: "DAILY" | "WEEKLY" | "MONTHLY" | "HOURLY";
68
+ compressionEnabled: boolean;
69
+ encryptionEnabled: boolean;
70
+ storageLocation: string;
71
+ }>;
72
+ export declare const BackupSnapshotSchema: z.ZodObject<{
73
+ id: z.ZodString;
74
+ organizationId: z.ZodString;
75
+ policyId: z.ZodString;
76
+ instanceId: z.ZodString;
77
+ name: z.ZodString;
78
+ storagePath: z.ZodString;
79
+ size: z.ZodNumber;
80
+ checksum: z.ZodString;
81
+ encryptionKeyId: z.ZodOptional<z.ZodString>;
82
+ metadata: z.ZodObject<{
83
+ version: z.ZodString;
84
+ instanceVersion: z.ZodString;
85
+ backupTool: z.ZodString;
86
+ compressionAlgorithm: z.ZodOptional<z.ZodString>;
87
+ encryptionAlgorithm: z.ZodOptional<z.ZodString>;
88
+ tableCount: z.ZodOptional<z.ZodNumber>;
89
+ recordCount: z.ZodOptional<z.ZodNumber>;
90
+ startedAt: z.ZodDate;
91
+ completedAt: z.ZodDate;
92
+ }, "strip", z.ZodTypeAny, {
93
+ version: string;
94
+ startedAt: Date;
95
+ completedAt: Date;
96
+ instanceVersion: string;
97
+ backupTool: string;
98
+ compressionAlgorithm?: string | undefined;
99
+ encryptionAlgorithm?: string | undefined;
100
+ tableCount?: number | undefined;
101
+ recordCount?: number | undefined;
102
+ }, {
103
+ version: string;
104
+ startedAt: Date;
105
+ completedAt: Date;
106
+ instanceVersion: string;
107
+ backupTool: string;
108
+ compressionAlgorithm?: string | undefined;
109
+ encryptionAlgorithm?: string | undefined;
110
+ tableCount?: number | undefined;
111
+ recordCount?: number | undefined;
112
+ }>;
113
+ expiresAt: z.ZodOptional<z.ZodDate>;
114
+ createdBy: z.ZodString;
115
+ createdAt: z.ZodDate;
116
+ updatedAt: z.ZodDate;
117
+ }, "strip", z.ZodTypeAny, {
118
+ id: string;
119
+ createdAt: Date;
120
+ updatedAt: Date;
121
+ name: string;
122
+ organizationId: string;
123
+ metadata: {
124
+ version: string;
125
+ startedAt: Date;
126
+ completedAt: Date;
127
+ instanceVersion: string;
128
+ backupTool: string;
129
+ compressionAlgorithm?: string | undefined;
130
+ encryptionAlgorithm?: string | undefined;
131
+ tableCount?: number | undefined;
132
+ recordCount?: number | undefined;
133
+ };
134
+ instanceId: string;
135
+ policyId: string;
136
+ storagePath: string;
137
+ size: number;
138
+ checksum: string;
139
+ createdBy: string;
140
+ expiresAt?: Date | undefined;
141
+ encryptionKeyId?: string | undefined;
142
+ }, {
143
+ id: string;
144
+ createdAt: Date;
145
+ updatedAt: Date;
146
+ name: string;
147
+ organizationId: string;
148
+ metadata: {
149
+ version: string;
150
+ startedAt: Date;
151
+ completedAt: Date;
152
+ instanceVersion: string;
153
+ backupTool: string;
154
+ compressionAlgorithm?: string | undefined;
155
+ encryptionAlgorithm?: string | undefined;
156
+ tableCount?: number | undefined;
157
+ recordCount?: number | undefined;
158
+ };
159
+ instanceId: string;
160
+ policyId: string;
161
+ storagePath: string;
162
+ size: number;
163
+ checksum: string;
164
+ createdBy: string;
165
+ expiresAt?: Date | undefined;
166
+ encryptionKeyId?: string | undefined;
167
+ }>;
168
+ export declare const BackupRestoreSchema: z.ZodObject<{
169
+ id: z.ZodString;
170
+ organizationId: z.ZodString;
171
+ snapshotId: z.ZodString;
172
+ targetInstanceId: z.ZodString;
173
+ status: z.ZodEnum<["PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "CANCELLED"]>;
174
+ progress: z.ZodNumber;
175
+ startedBy: z.ZodString;
176
+ startedAt: z.ZodDate;
177
+ completedAt: z.ZodOptional<z.ZodDate>;
178
+ error: z.ZodOptional<z.ZodString>;
179
+ createdAt: z.ZodDate;
180
+ updatedAt: z.ZodDate;
181
+ }, "strip", z.ZodTypeAny, {
182
+ id: string;
183
+ createdAt: Date;
184
+ updatedAt: Date;
185
+ status: "PENDING" | "FAILED" | "COMPLETED" | "CANCELLED" | "IN_PROGRESS";
186
+ organizationId: string;
187
+ startedAt: Date;
188
+ snapshotId: string;
189
+ targetInstanceId: string;
190
+ progress: number;
191
+ startedBy: string;
192
+ error?: string | undefined;
193
+ completedAt?: Date | undefined;
194
+ }, {
195
+ id: string;
196
+ createdAt: Date;
197
+ updatedAt: Date;
198
+ status: "PENDING" | "FAILED" | "COMPLETED" | "CANCELLED" | "IN_PROGRESS";
199
+ organizationId: string;
200
+ startedAt: Date;
201
+ snapshotId: string;
202
+ targetInstanceId: string;
203
+ progress: number;
204
+ startedBy: string;
205
+ error?: string | undefined;
206
+ completedAt?: Date | undefined;
207
+ }>;
208
+ export declare const DataReplicationSchema: z.ZodObject<{
209
+ id: z.ZodString;
210
+ sourceInstanceId: z.ZodString;
211
+ targetInstanceId: z.ZodString;
212
+ type: z.ZodEnum<["ASYNC", "SYNC", "SEMI_SYNC"]>;
213
+ status: z.ZodEnum<["ACTIVE", "INACTIVE", "ERROR", "INITIALIZING"]>;
214
+ settings: z.ZodObject<{
215
+ conflictResolution: z.ZodEnum<["SOURCE_WINS", "TARGET_WINS", "MANUAL", "TIMESTAMP"]>;
216
+ filters: z.ZodArray<z.ZodObject<{
217
+ schema: z.ZodOptional<z.ZodString>;
218
+ table: z.ZodOptional<z.ZodString>;
219
+ operation: z.ZodEnum<["INCLUDE", "EXCLUDE"]>;
220
+ }, "strip", z.ZodTypeAny, {
221
+ operation: "INCLUDE" | "EXCLUDE";
222
+ schema?: string | undefined;
223
+ table?: string | undefined;
224
+ }, {
225
+ operation: "INCLUDE" | "EXCLUDE";
226
+ schema?: string | undefined;
227
+ table?: string | undefined;
228
+ }>, "many">;
229
+ schedule: z.ZodOptional<z.ZodObject<{
230
+ enabled: z.ZodBoolean;
231
+ frequency: z.ZodString;
232
+ timezone: z.ZodString;
233
+ }, "strip", z.ZodTypeAny, {
234
+ timezone: string;
235
+ frequency: string;
236
+ enabled: boolean;
237
+ }, {
238
+ timezone: string;
239
+ frequency: string;
240
+ enabled: boolean;
241
+ }>>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ conflictResolution: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP";
244
+ filters: {
245
+ operation: "INCLUDE" | "EXCLUDE";
246
+ schema?: string | undefined;
247
+ table?: string | undefined;
248
+ }[];
249
+ schedule?: {
250
+ timezone: string;
251
+ frequency: string;
252
+ enabled: boolean;
253
+ } | undefined;
254
+ }, {
255
+ conflictResolution: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP";
256
+ filters: {
257
+ operation: "INCLUDE" | "EXCLUDE";
258
+ schema?: string | undefined;
259
+ table?: string | undefined;
260
+ }[];
261
+ schedule?: {
262
+ timezone: string;
263
+ frequency: string;
264
+ enabled: boolean;
265
+ } | undefined;
266
+ }>;
267
+ lastSyncAt: z.ZodOptional<z.ZodDate>;
268
+ lag: z.ZodOptional<z.ZodNumber>;
269
+ createdAt: z.ZodDate;
270
+ updatedAt: z.ZodDate;
271
+ }, "strip", z.ZodTypeAny, {
272
+ id: string;
273
+ createdAt: Date;
274
+ updatedAt: Date;
275
+ type: "ASYNC" | "SYNC" | "SEMI_SYNC";
276
+ status: "ERROR" | "ACTIVE" | "INACTIVE" | "INITIALIZING";
277
+ settings: {
278
+ conflictResolution: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP";
279
+ filters: {
280
+ operation: "INCLUDE" | "EXCLUDE";
281
+ schema?: string | undefined;
282
+ table?: string | undefined;
283
+ }[];
284
+ schedule?: {
285
+ timezone: string;
286
+ frequency: string;
287
+ enabled: boolean;
288
+ } | undefined;
289
+ };
290
+ targetInstanceId: string;
291
+ sourceInstanceId: string;
292
+ lastSyncAt?: Date | undefined;
293
+ lag?: number | undefined;
294
+ }, {
295
+ id: string;
296
+ createdAt: Date;
297
+ updatedAt: Date;
298
+ type: "ASYNC" | "SYNC" | "SEMI_SYNC";
299
+ status: "ERROR" | "ACTIVE" | "INACTIVE" | "INITIALIZING";
300
+ settings: {
301
+ conflictResolution: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP";
302
+ filters: {
303
+ operation: "INCLUDE" | "EXCLUDE";
304
+ schema?: string | undefined;
305
+ table?: string | undefined;
306
+ }[];
307
+ schedule?: {
308
+ timezone: string;
309
+ frequency: string;
310
+ enabled: boolean;
311
+ } | undefined;
312
+ };
313
+ targetInstanceId: string;
314
+ sourceInstanceId: string;
315
+ lastSyncAt?: Date | undefined;
316
+ lag?: number | undefined;
317
+ }>;
318
+ export declare const CreateBackupPolicySchema: z.ZodObject<{
319
+ organizationId: z.ZodString;
320
+ name: z.ZodString;
321
+ retentionPeriod: z.ZodNumber;
322
+ frequency: z.ZodEnum<["HOURLY", "DAILY", "WEEKLY", "MONTHLY"]>;
323
+ compressionEnabled: z.ZodDefault<z.ZodBoolean>;
324
+ encryptionEnabled: z.ZodDefault<z.ZodBoolean>;
325
+ storageLocation: z.ZodString;
326
+ settings: z.ZodDefault<z.ZodObject<{
327
+ includeSchemas: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
328
+ excludeSchemas: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
329
+ includeTables: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
330
+ excludeTables: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
331
+ customOptions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ includeSchemas: string[];
334
+ excludeSchemas: string[];
335
+ includeTables: string[];
336
+ excludeTables: string[];
337
+ customOptions: Record<string, any>;
338
+ }, {
339
+ includeSchemas?: string[] | undefined;
340
+ excludeSchemas?: string[] | undefined;
341
+ includeTables?: string[] | undefined;
342
+ excludeTables?: string[] | undefined;
343
+ customOptions?: Record<string, any> | undefined;
344
+ }>>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ name: string;
347
+ settings: {
348
+ includeSchemas: string[];
349
+ excludeSchemas: string[];
350
+ includeTables: string[];
351
+ excludeTables: string[];
352
+ customOptions: Record<string, any>;
353
+ };
354
+ organizationId: string;
355
+ retentionPeriod: number;
356
+ frequency: "DAILY" | "WEEKLY" | "MONTHLY" | "HOURLY";
357
+ compressionEnabled: boolean;
358
+ encryptionEnabled: boolean;
359
+ storageLocation: string;
360
+ }, {
361
+ name: string;
362
+ organizationId: string;
363
+ retentionPeriod: number;
364
+ frequency: "DAILY" | "WEEKLY" | "MONTHLY" | "HOURLY";
365
+ storageLocation: string;
366
+ settings?: {
367
+ includeSchemas?: string[] | undefined;
368
+ excludeSchemas?: string[] | undefined;
369
+ includeTables?: string[] | undefined;
370
+ excludeTables?: string[] | undefined;
371
+ customOptions?: Record<string, any> | undefined;
372
+ } | undefined;
373
+ compressionEnabled?: boolean | undefined;
374
+ encryptionEnabled?: boolean | undefined;
375
+ }>;
376
+ export declare const CreateBackupSchema: z.ZodObject<{
377
+ policyId: z.ZodString;
378
+ instanceId: z.ZodString;
379
+ name: z.ZodString;
380
+ settings: z.ZodOptional<z.ZodObject<{
381
+ includeSchemas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
382
+ excludeSchemas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
383
+ includeTables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
384
+ excludeTables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
385
+ customOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
386
+ }, "strip", z.ZodTypeAny, {
387
+ includeSchemas?: string[] | undefined;
388
+ excludeSchemas?: string[] | undefined;
389
+ includeTables?: string[] | undefined;
390
+ excludeTables?: string[] | undefined;
391
+ customOptions?: Record<string, any> | undefined;
392
+ }, {
393
+ includeSchemas?: string[] | undefined;
394
+ excludeSchemas?: string[] | undefined;
395
+ includeTables?: string[] | undefined;
396
+ excludeTables?: string[] | undefined;
397
+ customOptions?: Record<string, any> | undefined;
398
+ }>>;
399
+ }, "strip", z.ZodTypeAny, {
400
+ name: string;
401
+ instanceId: string;
402
+ policyId: string;
403
+ settings?: {
404
+ includeSchemas?: string[] | undefined;
405
+ excludeSchemas?: string[] | undefined;
406
+ includeTables?: string[] | undefined;
407
+ excludeTables?: string[] | undefined;
408
+ customOptions?: Record<string, any> | undefined;
409
+ } | undefined;
410
+ }, {
411
+ name: string;
412
+ instanceId: string;
413
+ policyId: string;
414
+ settings?: {
415
+ includeSchemas?: string[] | undefined;
416
+ excludeSchemas?: string[] | undefined;
417
+ includeTables?: string[] | undefined;
418
+ excludeTables?: string[] | undefined;
419
+ customOptions?: Record<string, any> | undefined;
420
+ } | undefined;
421
+ }>;
422
+ export declare const RestoreBackupSchema: z.ZodObject<{
423
+ snapshotId: z.ZodString;
424
+ targetInstanceId: z.ZodString;
425
+ settings: z.ZodOptional<z.ZodObject<{
426
+ dropExisting: z.ZodDefault<z.ZodBoolean>;
427
+ includeData: z.ZodDefault<z.ZodBoolean>;
428
+ includeSchema: z.ZodDefault<z.ZodBoolean>;
429
+ customOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
430
+ }, "strip", z.ZodTypeAny, {
431
+ dropExisting: boolean;
432
+ includeData: boolean;
433
+ includeSchema: boolean;
434
+ customOptions?: Record<string, any> | undefined;
435
+ }, {
436
+ customOptions?: Record<string, any> | undefined;
437
+ dropExisting?: boolean | undefined;
438
+ includeData?: boolean | undefined;
439
+ includeSchema?: boolean | undefined;
440
+ }>>;
441
+ }, "strip", z.ZodTypeAny, {
442
+ snapshotId: string;
443
+ targetInstanceId: string;
444
+ settings?: {
445
+ dropExisting: boolean;
446
+ includeData: boolean;
447
+ includeSchema: boolean;
448
+ customOptions?: Record<string, any> | undefined;
449
+ } | undefined;
450
+ }, {
451
+ snapshotId: string;
452
+ targetInstanceId: string;
453
+ settings?: {
454
+ customOptions?: Record<string, any> | undefined;
455
+ dropExisting?: boolean | undefined;
456
+ includeData?: boolean | undefined;
457
+ includeSchema?: boolean | undefined;
458
+ } | undefined;
459
+ }>;
460
+ export declare const CreateReplicationSchema: z.ZodObject<{
461
+ sourceInstanceId: z.ZodString;
462
+ targetInstanceId: z.ZodString;
463
+ type: z.ZodEnum<["ASYNC", "SYNC", "SEMI_SYNC"]>;
464
+ settings: z.ZodObject<{
465
+ conflictResolution: z.ZodEnum<["SOURCE_WINS", "TARGET_WINS", "MANUAL", "TIMESTAMP"]>;
466
+ filters: z.ZodArray<z.ZodObject<{
467
+ schema: z.ZodOptional<z.ZodString>;
468
+ table: z.ZodOptional<z.ZodString>;
469
+ operation: z.ZodEnum<["INCLUDE", "EXCLUDE"]>;
470
+ }, "strip", z.ZodTypeAny, {
471
+ operation: "INCLUDE" | "EXCLUDE";
472
+ schema?: string | undefined;
473
+ table?: string | undefined;
474
+ }, {
475
+ operation: "INCLUDE" | "EXCLUDE";
476
+ schema?: string | undefined;
477
+ table?: string | undefined;
478
+ }>, "many">;
479
+ schedule: z.ZodOptional<z.ZodObject<{
480
+ enabled: z.ZodBoolean;
481
+ frequency: z.ZodString;
482
+ timezone: z.ZodString;
483
+ }, "strip", z.ZodTypeAny, {
484
+ timezone: string;
485
+ frequency: string;
486
+ enabled: boolean;
487
+ }, {
488
+ timezone: string;
489
+ frequency: string;
490
+ enabled: boolean;
491
+ }>>;
492
+ }, "strip", z.ZodTypeAny, {
493
+ conflictResolution: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP";
494
+ filters: {
495
+ operation: "INCLUDE" | "EXCLUDE";
496
+ schema?: string | undefined;
497
+ table?: string | undefined;
498
+ }[];
499
+ schedule?: {
500
+ timezone: string;
501
+ frequency: string;
502
+ enabled: boolean;
503
+ } | undefined;
504
+ }, {
505
+ conflictResolution: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP";
506
+ filters: {
507
+ operation: "INCLUDE" | "EXCLUDE";
508
+ schema?: string | undefined;
509
+ table?: string | undefined;
510
+ }[];
511
+ schedule?: {
512
+ timezone: string;
513
+ frequency: string;
514
+ enabled: boolean;
515
+ } | undefined;
516
+ }>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ type: "ASYNC" | "SYNC" | "SEMI_SYNC";
519
+ settings: {
520
+ conflictResolution: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP";
521
+ filters: {
522
+ operation: "INCLUDE" | "EXCLUDE";
523
+ schema?: string | undefined;
524
+ table?: string | undefined;
525
+ }[];
526
+ schedule?: {
527
+ timezone: string;
528
+ frequency: string;
529
+ enabled: boolean;
530
+ } | undefined;
531
+ };
532
+ targetInstanceId: string;
533
+ sourceInstanceId: string;
534
+ }, {
535
+ type: "ASYNC" | "SYNC" | "SEMI_SYNC";
536
+ settings: {
537
+ conflictResolution: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP";
538
+ filters: {
539
+ operation: "INCLUDE" | "EXCLUDE";
540
+ schema?: string | undefined;
541
+ table?: string | undefined;
542
+ }[];
543
+ schedule?: {
544
+ timezone: string;
545
+ frequency: string;
546
+ enabled: boolean;
547
+ } | undefined;
548
+ };
549
+ targetInstanceId: string;
550
+ sourceInstanceId: string;
551
+ }>;
552
+ export declare const UpdateReplicationSchema: z.ZodObject<{
553
+ type: z.ZodOptional<z.ZodEnum<["ASYNC", "SYNC", "SEMI_SYNC"]>>;
554
+ status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE"]>>;
555
+ settings: z.ZodOptional<z.ZodObject<{
556
+ conflictResolution: z.ZodOptional<z.ZodEnum<["SOURCE_WINS", "TARGET_WINS", "MANUAL", "TIMESTAMP"]>>;
557
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
558
+ schema: z.ZodOptional<z.ZodString>;
559
+ table: z.ZodOptional<z.ZodString>;
560
+ operation: z.ZodEnum<["INCLUDE", "EXCLUDE"]>;
561
+ }, "strip", z.ZodTypeAny, {
562
+ operation: "INCLUDE" | "EXCLUDE";
563
+ schema?: string | undefined;
564
+ table?: string | undefined;
565
+ }, {
566
+ operation: "INCLUDE" | "EXCLUDE";
567
+ schema?: string | undefined;
568
+ table?: string | undefined;
569
+ }>, "many">>;
570
+ schedule: z.ZodOptional<z.ZodObject<{
571
+ enabled: z.ZodBoolean;
572
+ frequency: z.ZodString;
573
+ timezone: z.ZodString;
574
+ }, "strip", z.ZodTypeAny, {
575
+ timezone: string;
576
+ frequency: string;
577
+ enabled: boolean;
578
+ }, {
579
+ timezone: string;
580
+ frequency: string;
581
+ enabled: boolean;
582
+ }>>;
583
+ }, "strip", z.ZodTypeAny, {
584
+ conflictResolution?: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP" | undefined;
585
+ filters?: {
586
+ operation: "INCLUDE" | "EXCLUDE";
587
+ schema?: string | undefined;
588
+ table?: string | undefined;
589
+ }[] | undefined;
590
+ schedule?: {
591
+ timezone: string;
592
+ frequency: string;
593
+ enabled: boolean;
594
+ } | undefined;
595
+ }, {
596
+ conflictResolution?: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP" | undefined;
597
+ filters?: {
598
+ operation: "INCLUDE" | "EXCLUDE";
599
+ schema?: string | undefined;
600
+ table?: string | undefined;
601
+ }[] | undefined;
602
+ schedule?: {
603
+ timezone: string;
604
+ frequency: string;
605
+ enabled: boolean;
606
+ } | undefined;
607
+ }>>;
608
+ }, "strip", z.ZodTypeAny, {
609
+ type?: "ASYNC" | "SYNC" | "SEMI_SYNC" | undefined;
610
+ status?: "ACTIVE" | "INACTIVE" | undefined;
611
+ settings?: {
612
+ conflictResolution?: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP" | undefined;
613
+ filters?: {
614
+ operation: "INCLUDE" | "EXCLUDE";
615
+ schema?: string | undefined;
616
+ table?: string | undefined;
617
+ }[] | undefined;
618
+ schedule?: {
619
+ timezone: string;
620
+ frequency: string;
621
+ enabled: boolean;
622
+ } | undefined;
623
+ } | undefined;
624
+ }, {
625
+ type?: "ASYNC" | "SYNC" | "SEMI_SYNC" | undefined;
626
+ status?: "ACTIVE" | "INACTIVE" | undefined;
627
+ settings?: {
628
+ conflictResolution?: "SOURCE_WINS" | "TARGET_WINS" | "MANUAL" | "TIMESTAMP" | undefined;
629
+ filters?: {
630
+ operation: "INCLUDE" | "EXCLUDE";
631
+ schema?: string | undefined;
632
+ table?: string | undefined;
633
+ }[] | undefined;
634
+ schedule?: {
635
+ timezone: string;
636
+ frequency: string;
637
+ enabled: boolean;
638
+ } | undefined;
639
+ } | undefined;
640
+ }>;
641
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/data-management/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB7B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyB/B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB9B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgChC,CAAC;AAGH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBnC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa7B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW9B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BlC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BlC,CAAC"}