@narrative.io/data-collaboration-sdk-ts 2.64.1 → 2.65.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.
Files changed (33) hide show
  1. package/build/collaboration-policy/core/filter-builder.d.ts +3 -0
  2. package/build/collaboration-policy/core/filter-builder.js +90 -0
  3. package/build/collaboration-policy/core/filter-utils.d.ts +6 -0
  4. package/build/collaboration-policy/core/filter-utils.js +49 -0
  5. package/build/collaboration-policy/core/policy-traverser.d.ts +4 -0
  6. package/build/collaboration-policy/core/policy-traverser.js +96 -0
  7. package/build/collaboration-policy/core/policy-validator.d.ts +11 -0
  8. package/build/collaboration-policy/core/policy-validator.js +148 -0
  9. package/build/collaboration-policy/core/sql-builder.d.ts +37 -0
  10. package/build/collaboration-policy/core/sql-builder.js +173 -0
  11. package/build/collaboration-policy/core/types.d.ts +24 -0
  12. package/build/collaboration-policy/core/types.js +1 -0
  13. package/build/collaboration-policy/index.d.ts +4 -0
  14. package/build/collaboration-policy/index.js +3 -0
  15. package/build/collaboration-policy/scripts/generate-policy-schema.d.ts +2 -0
  16. package/build/collaboration-policy/scripts/generate-policy-schema.js +4 -0
  17. package/build/collaboration-policy/types/collaboration-policy.d.ts +697 -0
  18. package/build/collaboration-policy/types/collaboration-policy.js +262 -0
  19. package/build/collaboration-policy/types/index.d.ts +2 -0
  20. package/build/collaboration-policy/types/index.js +1 -0
  21. package/build/collaboration-policy/useCollaborationPolicy.d.ts +8 -0
  22. package/build/collaboration-policy/useCollaborationPolicy.js +14 -0
  23. package/build/collaboration-policy/utils/path-helpers.d.ts +4 -0
  24. package/build/collaboration-policy/utils/path-helpers.js +36 -0
  25. package/build/collaboration-policy/utils/sql-helpers.d.ts +5 -0
  26. package/build/collaboration-policy/utils/sql-helpers.js +65 -0
  27. package/build/index.d.ts +1 -0
  28. package/build/index.js +1 -0
  29. package/build/jobs/types.d.ts +7 -0
  30. package/build/nql/AstParser.js +5 -4
  31. package/build/nql/NqlBuilder.js +1 -1
  32. package/build/nql/types.d.ts +13 -0
  33. package/package.json +10 -10
@@ -0,0 +1,697 @@
1
+ import * as z from "zod/v4";
2
+ type LogicalNode<T> = {
3
+ anyOf: Array<T | LogicalNode<T>>;
4
+ } | {
5
+ allOf: Array<T | LogicalNode<T>>;
6
+ };
7
+ declare const CollaborationPolicy: z.ZodObject<{
8
+ name: z.core.$ZodBranded<z.ZodString, "CollaborationPolicyId">;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ display_name: z.ZodString;
11
+ policy: z.ZodObject<{
12
+ metadata: z.ZodObject<{
13
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ refresh_schedule: z.ZodOptional<z.ZodObject<{
15
+ max: z.ZodUnion<readonly [z.ZodEnum<{
16
+ "@hourly": "@hourly";
17
+ "@daily": "@daily";
18
+ "@weekly": "@weekly";
19
+ "@monthly": "@monthly";
20
+ "@once": "@once";
21
+ }>, z.ZodString]>;
22
+ }, z.core.$strict>>;
23
+ }, z.core.$strip>;
24
+ definition: z.ZodObject<{
25
+ id: z.core.$ZodBranded<z.ZodString, "CollaborationPolicyId">;
26
+ structure: z.ZodType<{
27
+ field: {
28
+ type: "attribute";
29
+ attribute_name: string;
30
+ additional_required_properties?: ({
31
+ dot: string;
32
+ } | {
33
+ pointer: string;
34
+ })[] | undefined;
35
+ };
36
+ filters?: ({
37
+ op: "or" | "and";
38
+ stage: "generation";
39
+ required: boolean;
40
+ args: (string | number | boolean | {
41
+ type: "attribute";
42
+ attribute_name: string;
43
+ path?: {
44
+ dot: string;
45
+ } | {
46
+ pointer: string;
47
+ } | undefined;
48
+ })[];
49
+ name?: string | undefined;
50
+ } | {
51
+ op: "not";
52
+ stage: "generation";
53
+ required: boolean;
54
+ args: (string | number | boolean | {
55
+ type: "attribute";
56
+ attribute_name: string;
57
+ path?: {
58
+ dot: string;
59
+ } | {
60
+ pointer: string;
61
+ } | undefined;
62
+ })[];
63
+ name?: string | undefined;
64
+ } | {
65
+ op: "is_null" | "is_not_null";
66
+ stage: "generation";
67
+ required: boolean;
68
+ left: string | number | boolean | {
69
+ type: "attribute";
70
+ attribute_name: string;
71
+ path?: {
72
+ dot: string;
73
+ } | {
74
+ pointer: string;
75
+ } | undefined;
76
+ };
77
+ name?: string | undefined;
78
+ } | {
79
+ op: "in" | "not in";
80
+ stage: "generation";
81
+ required: boolean;
82
+ left: string | number | boolean | {
83
+ type: "attribute";
84
+ attribute_name: string;
85
+ path?: {
86
+ dot: string;
87
+ } | {
88
+ pointer: string;
89
+ } | undefined;
90
+ };
91
+ right: (string | number | boolean | {
92
+ type: "attribute";
93
+ attribute_name: string;
94
+ path?: {
95
+ dot: string;
96
+ } | {
97
+ pointer: string;
98
+ } | undefined;
99
+ })[];
100
+ name?: string | undefined;
101
+ } | {
102
+ op: ">" | "<" | ">=" | "<=" | "=" | "<>" | "like" | "not like";
103
+ stage: "generation";
104
+ required: boolean;
105
+ left: string | number | boolean | {
106
+ type: "attribute";
107
+ attribute_name: string;
108
+ path?: {
109
+ dot: string;
110
+ } | {
111
+ pointer: string;
112
+ } | undefined;
113
+ };
114
+ right: string | number | boolean | {
115
+ type: "attribute";
116
+ attribute_name: string;
117
+ path?: {
118
+ dot: string;
119
+ } | {
120
+ pointer: string;
121
+ } | undefined;
122
+ };
123
+ name?: string | undefined;
124
+ } | {
125
+ op: "between";
126
+ stage: "generation";
127
+ required: boolean;
128
+ operand: string | number | boolean | {
129
+ type: "attribute";
130
+ attribute_name: string;
131
+ path?: {
132
+ dot: string;
133
+ } | {
134
+ pointer: string;
135
+ } | undefined;
136
+ };
137
+ lower: string | number | boolean | {
138
+ type: "attribute";
139
+ attribute_name: string;
140
+ path?: {
141
+ dot: string;
142
+ } | {
143
+ pointer: string;
144
+ } | undefined;
145
+ };
146
+ upper: string | number | boolean | {
147
+ type: "attribute";
148
+ attribute_name: string;
149
+ path?: {
150
+ dot: string;
151
+ } | {
152
+ pointer: string;
153
+ } | undefined;
154
+ };
155
+ name?: string | undefined;
156
+ })[] | undefined;
157
+ } | LogicalNode<{
158
+ field: {
159
+ type: "attribute";
160
+ attribute_name: string;
161
+ additional_required_properties?: ({
162
+ dot: string;
163
+ } | {
164
+ pointer: string;
165
+ })[] | undefined;
166
+ };
167
+ filters?: ({
168
+ op: "or" | "and";
169
+ stage: "generation";
170
+ required: boolean;
171
+ args: (string | number | boolean | {
172
+ type: "attribute";
173
+ attribute_name: string;
174
+ path?: {
175
+ dot: string;
176
+ } | {
177
+ pointer: string;
178
+ } | undefined;
179
+ })[];
180
+ name?: string | undefined;
181
+ } | {
182
+ op: "not";
183
+ stage: "generation";
184
+ required: boolean;
185
+ args: (string | number | boolean | {
186
+ type: "attribute";
187
+ attribute_name: string;
188
+ path?: {
189
+ dot: string;
190
+ } | {
191
+ pointer: string;
192
+ } | undefined;
193
+ })[];
194
+ name?: string | undefined;
195
+ } | {
196
+ op: "is_null" | "is_not_null";
197
+ stage: "generation";
198
+ required: boolean;
199
+ left: string | number | boolean | {
200
+ type: "attribute";
201
+ attribute_name: string;
202
+ path?: {
203
+ dot: string;
204
+ } | {
205
+ pointer: string;
206
+ } | undefined;
207
+ };
208
+ name?: string | undefined;
209
+ } | {
210
+ op: "in" | "not in";
211
+ stage: "generation";
212
+ required: boolean;
213
+ left: string | number | boolean | {
214
+ type: "attribute";
215
+ attribute_name: string;
216
+ path?: {
217
+ dot: string;
218
+ } | {
219
+ pointer: string;
220
+ } | undefined;
221
+ };
222
+ right: (string | number | boolean | {
223
+ type: "attribute";
224
+ attribute_name: string;
225
+ path?: {
226
+ dot: string;
227
+ } | {
228
+ pointer: string;
229
+ } | undefined;
230
+ })[];
231
+ name?: string | undefined;
232
+ } | {
233
+ op: ">" | "<" | ">=" | "<=" | "=" | "<>" | "like" | "not like";
234
+ stage: "generation";
235
+ required: boolean;
236
+ left: string | number | boolean | {
237
+ type: "attribute";
238
+ attribute_name: string;
239
+ path?: {
240
+ dot: string;
241
+ } | {
242
+ pointer: string;
243
+ } | undefined;
244
+ };
245
+ right: string | number | boolean | {
246
+ type: "attribute";
247
+ attribute_name: string;
248
+ path?: {
249
+ dot: string;
250
+ } | {
251
+ pointer: string;
252
+ } | undefined;
253
+ };
254
+ name?: string | undefined;
255
+ } | {
256
+ op: "between";
257
+ stage: "generation";
258
+ required: boolean;
259
+ operand: string | number | boolean | {
260
+ type: "attribute";
261
+ attribute_name: string;
262
+ path?: {
263
+ dot: string;
264
+ } | {
265
+ pointer: string;
266
+ } | undefined;
267
+ };
268
+ lower: string | number | boolean | {
269
+ type: "attribute";
270
+ attribute_name: string;
271
+ path?: {
272
+ dot: string;
273
+ } | {
274
+ pointer: string;
275
+ } | undefined;
276
+ };
277
+ upper: string | number | boolean | {
278
+ type: "attribute";
279
+ attribute_name: string;
280
+ path?: {
281
+ dot: string;
282
+ } | {
283
+ pointer: string;
284
+ } | undefined;
285
+ };
286
+ name?: string | undefined;
287
+ })[] | undefined;
288
+ }>, unknown, z.core.$ZodTypeInternals<{
289
+ field: {
290
+ type: "attribute";
291
+ attribute_name: string;
292
+ additional_required_properties?: ({
293
+ dot: string;
294
+ } | {
295
+ pointer: string;
296
+ })[] | undefined;
297
+ };
298
+ filters?: ({
299
+ op: "or" | "and";
300
+ stage: "generation";
301
+ required: boolean;
302
+ args: (string | number | boolean | {
303
+ type: "attribute";
304
+ attribute_name: string;
305
+ path?: {
306
+ dot: string;
307
+ } | {
308
+ pointer: string;
309
+ } | undefined;
310
+ })[];
311
+ name?: string | undefined;
312
+ } | {
313
+ op: "not";
314
+ stage: "generation";
315
+ required: boolean;
316
+ args: (string | number | boolean | {
317
+ type: "attribute";
318
+ attribute_name: string;
319
+ path?: {
320
+ dot: string;
321
+ } | {
322
+ pointer: string;
323
+ } | undefined;
324
+ })[];
325
+ name?: string | undefined;
326
+ } | {
327
+ op: "is_null" | "is_not_null";
328
+ stage: "generation";
329
+ required: boolean;
330
+ left: string | number | boolean | {
331
+ type: "attribute";
332
+ attribute_name: string;
333
+ path?: {
334
+ dot: string;
335
+ } | {
336
+ pointer: string;
337
+ } | undefined;
338
+ };
339
+ name?: string | undefined;
340
+ } | {
341
+ op: "in" | "not in";
342
+ stage: "generation";
343
+ required: boolean;
344
+ left: string | number | boolean | {
345
+ type: "attribute";
346
+ attribute_name: string;
347
+ path?: {
348
+ dot: string;
349
+ } | {
350
+ pointer: string;
351
+ } | undefined;
352
+ };
353
+ right: (string | number | boolean | {
354
+ type: "attribute";
355
+ attribute_name: string;
356
+ path?: {
357
+ dot: string;
358
+ } | {
359
+ pointer: string;
360
+ } | undefined;
361
+ })[];
362
+ name?: string | undefined;
363
+ } | {
364
+ op: ">" | "<" | ">=" | "<=" | "=" | "<>" | "like" | "not like";
365
+ stage: "generation";
366
+ required: boolean;
367
+ left: string | number | boolean | {
368
+ type: "attribute";
369
+ attribute_name: string;
370
+ path?: {
371
+ dot: string;
372
+ } | {
373
+ pointer: string;
374
+ } | undefined;
375
+ };
376
+ right: string | number | boolean | {
377
+ type: "attribute";
378
+ attribute_name: string;
379
+ path?: {
380
+ dot: string;
381
+ } | {
382
+ pointer: string;
383
+ } | undefined;
384
+ };
385
+ name?: string | undefined;
386
+ } | {
387
+ op: "between";
388
+ stage: "generation";
389
+ required: boolean;
390
+ operand: string | number | boolean | {
391
+ type: "attribute";
392
+ attribute_name: string;
393
+ path?: {
394
+ dot: string;
395
+ } | {
396
+ pointer: string;
397
+ } | undefined;
398
+ };
399
+ lower: string | number | boolean | {
400
+ type: "attribute";
401
+ attribute_name: string;
402
+ path?: {
403
+ dot: string;
404
+ } | {
405
+ pointer: string;
406
+ } | undefined;
407
+ };
408
+ upper: string | number | boolean | {
409
+ type: "attribute";
410
+ attribute_name: string;
411
+ path?: {
412
+ dot: string;
413
+ } | {
414
+ pointer: string;
415
+ } | undefined;
416
+ };
417
+ name?: string | undefined;
418
+ })[] | undefined;
419
+ } | LogicalNode<{
420
+ field: {
421
+ type: "attribute";
422
+ attribute_name: string;
423
+ additional_required_properties?: ({
424
+ dot: string;
425
+ } | {
426
+ pointer: string;
427
+ })[] | undefined;
428
+ };
429
+ filters?: ({
430
+ op: "or" | "and";
431
+ stage: "generation";
432
+ required: boolean;
433
+ args: (string | number | boolean | {
434
+ type: "attribute";
435
+ attribute_name: string;
436
+ path?: {
437
+ dot: string;
438
+ } | {
439
+ pointer: string;
440
+ } | undefined;
441
+ })[];
442
+ name?: string | undefined;
443
+ } | {
444
+ op: "not";
445
+ stage: "generation";
446
+ required: boolean;
447
+ args: (string | number | boolean | {
448
+ type: "attribute";
449
+ attribute_name: string;
450
+ path?: {
451
+ dot: string;
452
+ } | {
453
+ pointer: string;
454
+ } | undefined;
455
+ })[];
456
+ name?: string | undefined;
457
+ } | {
458
+ op: "is_null" | "is_not_null";
459
+ stage: "generation";
460
+ required: boolean;
461
+ left: string | number | boolean | {
462
+ type: "attribute";
463
+ attribute_name: string;
464
+ path?: {
465
+ dot: string;
466
+ } | {
467
+ pointer: string;
468
+ } | undefined;
469
+ };
470
+ name?: string | undefined;
471
+ } | {
472
+ op: "in" | "not in";
473
+ stage: "generation";
474
+ required: boolean;
475
+ left: string | number | boolean | {
476
+ type: "attribute";
477
+ attribute_name: string;
478
+ path?: {
479
+ dot: string;
480
+ } | {
481
+ pointer: string;
482
+ } | undefined;
483
+ };
484
+ right: (string | number | boolean | {
485
+ type: "attribute";
486
+ attribute_name: string;
487
+ path?: {
488
+ dot: string;
489
+ } | {
490
+ pointer: string;
491
+ } | undefined;
492
+ })[];
493
+ name?: string | undefined;
494
+ } | {
495
+ op: ">" | "<" | ">=" | "<=" | "=" | "<>" | "like" | "not like";
496
+ stage: "generation";
497
+ required: boolean;
498
+ left: string | number | boolean | {
499
+ type: "attribute";
500
+ attribute_name: string;
501
+ path?: {
502
+ dot: string;
503
+ } | {
504
+ pointer: string;
505
+ } | undefined;
506
+ };
507
+ right: string | number | boolean | {
508
+ type: "attribute";
509
+ attribute_name: string;
510
+ path?: {
511
+ dot: string;
512
+ } | {
513
+ pointer: string;
514
+ } | undefined;
515
+ };
516
+ name?: string | undefined;
517
+ } | {
518
+ op: "between";
519
+ stage: "generation";
520
+ required: boolean;
521
+ operand: string | number | boolean | {
522
+ type: "attribute";
523
+ attribute_name: string;
524
+ path?: {
525
+ dot: string;
526
+ } | {
527
+ pointer: string;
528
+ } | undefined;
529
+ };
530
+ lower: string | number | boolean | {
531
+ type: "attribute";
532
+ attribute_name: string;
533
+ path?: {
534
+ dot: string;
535
+ } | {
536
+ pointer: string;
537
+ } | undefined;
538
+ };
539
+ upper: string | number | boolean | {
540
+ type: "attribute";
541
+ attribute_name: string;
542
+ path?: {
543
+ dot: string;
544
+ } | {
545
+ pointer: string;
546
+ } | undefined;
547
+ };
548
+ name?: string | undefined;
549
+ })[] | undefined;
550
+ }>, unknown>>;
551
+ filters: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
552
+ op: z.ZodEnum<{
553
+ or: "or";
554
+ and: "and";
555
+ }>;
556
+ stage: z.ZodDefault<z.ZodLiteral<"generation">>;
557
+ name: z.ZodOptional<z.ZodString>;
558
+ required: z.ZodDefault<z.ZodBoolean>;
559
+ args: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
560
+ type: z.ZodLiteral<"attribute">;
561
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
562
+ dot: z.ZodString;
563
+ }, z.core.$strict>, z.ZodObject<{
564
+ pointer: z.ZodString;
565
+ }, z.core.$strict>]>>;
566
+ attribute_name: z.ZodString;
567
+ }, z.core.$strict>]>>;
568
+ }, z.core.$strict>, z.ZodObject<{
569
+ op: z.ZodLiteral<"not">;
570
+ stage: z.ZodDefault<z.ZodLiteral<"generation">>;
571
+ name: z.ZodOptional<z.ZodString>;
572
+ required: z.ZodDefault<z.ZodBoolean>;
573
+ args: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
574
+ type: z.ZodLiteral<"attribute">;
575
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
576
+ dot: z.ZodString;
577
+ }, z.core.$strict>, z.ZodObject<{
578
+ pointer: z.ZodString;
579
+ }, z.core.$strict>]>>;
580
+ attribute_name: z.ZodString;
581
+ }, z.core.$strict>]>>;
582
+ }, z.core.$strict>, z.ZodObject<{
583
+ op: z.ZodEnum<{
584
+ is_null: "is_null";
585
+ is_not_null: "is_not_null";
586
+ }>;
587
+ stage: z.ZodDefault<z.ZodLiteral<"generation">>;
588
+ name: z.ZodOptional<z.ZodString>;
589
+ required: z.ZodDefault<z.ZodBoolean>;
590
+ left: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
591
+ type: z.ZodLiteral<"attribute">;
592
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
593
+ dot: z.ZodString;
594
+ }, z.core.$strict>, z.ZodObject<{
595
+ pointer: z.ZodString;
596
+ }, z.core.$strict>]>>;
597
+ attribute_name: z.ZodString;
598
+ }, z.core.$strict>]>;
599
+ }, z.core.$strict>, z.ZodObject<{
600
+ op: z.ZodEnum<{
601
+ in: "in";
602
+ "not in": "not in";
603
+ }>;
604
+ stage: z.ZodDefault<z.ZodLiteral<"generation">>;
605
+ name: z.ZodOptional<z.ZodString>;
606
+ required: z.ZodDefault<z.ZodBoolean>;
607
+ left: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
608
+ type: z.ZodLiteral<"attribute">;
609
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
610
+ dot: z.ZodString;
611
+ }, z.core.$strict>, z.ZodObject<{
612
+ pointer: z.ZodString;
613
+ }, z.core.$strict>]>>;
614
+ attribute_name: z.ZodString;
615
+ }, z.core.$strict>]>;
616
+ right: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
617
+ type: z.ZodLiteral<"attribute">;
618
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
619
+ dot: z.ZodString;
620
+ }, z.core.$strict>, z.ZodObject<{
621
+ pointer: z.ZodString;
622
+ }, z.core.$strict>]>>;
623
+ attribute_name: z.ZodString;
624
+ }, z.core.$strict>]>>;
625
+ }, z.core.$strict>, z.ZodObject<{
626
+ op: z.ZodEnum<{
627
+ ">": ">";
628
+ "<": "<";
629
+ ">=": ">=";
630
+ "<=": "<=";
631
+ "=": "=";
632
+ "<>": "<>";
633
+ like: "like";
634
+ "not like": "not like";
635
+ }>;
636
+ stage: z.ZodDefault<z.ZodLiteral<"generation">>;
637
+ name: z.ZodOptional<z.ZodString>;
638
+ required: z.ZodDefault<z.ZodBoolean>;
639
+ left: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
640
+ type: z.ZodLiteral<"attribute">;
641
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
642
+ dot: z.ZodString;
643
+ }, z.core.$strict>, z.ZodObject<{
644
+ pointer: z.ZodString;
645
+ }, z.core.$strict>]>>;
646
+ attribute_name: z.ZodString;
647
+ }, z.core.$strict>]>;
648
+ right: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
649
+ type: z.ZodLiteral<"attribute">;
650
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
651
+ dot: z.ZodString;
652
+ }, z.core.$strict>, z.ZodObject<{
653
+ pointer: z.ZodString;
654
+ }, z.core.$strict>]>>;
655
+ attribute_name: z.ZodString;
656
+ }, z.core.$strict>]>;
657
+ }, z.core.$strict>, z.ZodObject<{
658
+ op: z.ZodLiteral<"between">;
659
+ stage: z.ZodDefault<z.ZodLiteral<"generation">>;
660
+ name: z.ZodOptional<z.ZodString>;
661
+ required: z.ZodDefault<z.ZodBoolean>;
662
+ operand: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
663
+ type: z.ZodLiteral<"attribute">;
664
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
665
+ dot: z.ZodString;
666
+ }, z.core.$strict>, z.ZodObject<{
667
+ pointer: z.ZodString;
668
+ }, z.core.$strict>]>>;
669
+ attribute_name: z.ZodString;
670
+ }, z.core.$strict>]>;
671
+ lower: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
672
+ type: z.ZodLiteral<"attribute">;
673
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
674
+ dot: z.ZodString;
675
+ }, z.core.$strict>, z.ZodObject<{
676
+ pointer: z.ZodString;
677
+ }, z.core.$strict>]>>;
678
+ attribute_name: z.ZodString;
679
+ }, z.core.$strict>]>;
680
+ upper: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
681
+ type: z.ZodLiteral<"attribute">;
682
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
683
+ dot: z.ZodString;
684
+ }, z.core.$strict>, z.ZodObject<{
685
+ pointer: z.ZodString;
686
+ }, z.core.$strict>]>>;
687
+ attribute_name: z.ZodString;
688
+ }, z.core.$strict>]>;
689
+ }, z.core.$strict>]>>>;
690
+ }, z.core.$strip>;
691
+ }, z.core.$strip>;
692
+ }, z.core.$strip>;
693
+ export type CollaborationPolicyType = z.infer<typeof CollaborationPolicy>;
694
+ export type CollaborationPolicyInput = z.input<typeof CollaborationPolicy>;
695
+ export { CollaborationPolicy };
696
+ type JsonSchemaOptions = Parameters<typeof z.toJSONSchema>[1];
697
+ export declare function buildCollaborationPolicyJsonSchema(options?: JsonSchemaOptions): z.core.JSONSchema.JSONSchema;