@contrail/document-generation 2.1.13 → 2.1.15

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,1449 @@
1
+ export declare const typeMap: {
2
+ item: {
3
+ pk: number;
4
+ id: string;
5
+ createdOn: string;
6
+ updatedOn: string;
7
+ createdById: string;
8
+ updatedById: string;
9
+ isArchived: boolean;
10
+ orgId: string;
11
+ slug: string;
12
+ label: string;
13
+ typePath: string;
14
+ typeRootId: string;
15
+ parentId: any;
16
+ typePolicyIds: any[];
17
+ typePolicies: any[];
18
+ typeProperties: ({
19
+ pk: number;
20
+ id: string;
21
+ createdOn: string;
22
+ updatedOn: string;
23
+ createdById: string;
24
+ updatedById: string;
25
+ isArchived: boolean;
26
+ orgId: string;
27
+ propertyType: string;
28
+ slug: string;
29
+ label: string;
30
+ editable: boolean;
31
+ core: boolean;
32
+ typePropertyOptionSetId: string;
33
+ typePropertyUserListId: any;
34
+ carryOverBehavior: any;
35
+ carryOverDefault: any;
36
+ copyBehavior: any;
37
+ copyDefault: any;
38
+ formula: any;
39
+ numberFormat: {
40
+ format: any;
41
+ currency: string;
42
+ };
43
+ referencedTypeRootSlug: any;
44
+ referencedTypeRole: any;
45
+ referencedTypeFilterProperties: any;
46
+ referencedTypeId: any;
47
+ referencedTypePath: any;
48
+ defaultValue: string;
49
+ propertyLevel: string;
50
+ formulaFunction: any;
51
+ validationFunction: any;
52
+ description: any;
53
+ apiDetails: any;
54
+ notes: any;
55
+ searchable: boolean;
56
+ isFederationProperty: boolean;
57
+ isUniqueProperty: boolean;
58
+ isUniquePropertyInFamily: boolean;
59
+ required: boolean;
60
+ sequenceSeedValue: any;
61
+ optionsSet: {
62
+ pk: number;
63
+ id: string;
64
+ createdOn: string;
65
+ updatedOn: string;
66
+ createdById: string;
67
+ updatedById: string;
68
+ isArchived: boolean;
69
+ orgId: string;
70
+ optionSet: {
71
+ value: string;
72
+ display: string;
73
+ }[];
74
+ name: string;
75
+ slug: string;
76
+ isSorted: boolean;
77
+ sortOrder: any;
78
+ sortKey: any;
79
+ };
80
+ options: {
81
+ value: string;
82
+ display: string;
83
+ }[];
84
+ inherited: boolean;
85
+ used: boolean;
86
+ overriddenPropertySlugs: any[];
87
+ typePropertyPolicyIds: any[];
88
+ canRead: boolean;
89
+ canUpdate: boolean;
90
+ canDelete: boolean;
91
+ canCreate: boolean;
92
+ } | {
93
+ pk: number;
94
+ id: string;
95
+ createdOn: string;
96
+ updatedOn: string;
97
+ createdById: string;
98
+ updatedById: string;
99
+ isArchived: boolean;
100
+ orgId: string;
101
+ propertyType: string;
102
+ slug: string;
103
+ label: string;
104
+ editable: boolean;
105
+ core: boolean;
106
+ typePropertyOptionSetId: any;
107
+ typePropertyUserListId: any;
108
+ carryOverBehavior: any;
109
+ carryOverDefault: any;
110
+ copyBehavior: any;
111
+ copyDefault: any;
112
+ formula: any;
113
+ numberFormat: {
114
+ format: string;
115
+ currency: string;
116
+ };
117
+ referencedTypeRootSlug: any;
118
+ referencedTypeRole: any;
119
+ referencedTypeFilterProperties: any;
120
+ referencedTypeId: any;
121
+ referencedTypePath: any;
122
+ defaultValue: any;
123
+ propertyLevel: string;
124
+ formulaFunction: any;
125
+ validationFunction: string;
126
+ description: any;
127
+ apiDetails: any;
128
+ notes: any;
129
+ searchable: boolean;
130
+ isFederationProperty: boolean;
131
+ isUniqueProperty: boolean;
132
+ isUniquePropertyInFamily: boolean;
133
+ required: boolean;
134
+ sequenceSeedValue: any;
135
+ optionsSet: any;
136
+ inherited: boolean;
137
+ used: boolean;
138
+ overriddenPropertySlugs: any[];
139
+ typePropertyPolicyIds: any[];
140
+ canRead: boolean;
141
+ canUpdate: boolean;
142
+ canDelete: boolean;
143
+ canCreate: boolean;
144
+ options?: undefined;
145
+ } | {
146
+ pk: number;
147
+ id: string;
148
+ createdOn: string;
149
+ updatedOn: string;
150
+ createdById: string;
151
+ updatedById: string;
152
+ isArchived: boolean;
153
+ orgId: string;
154
+ propertyType: string;
155
+ slug: string;
156
+ label: string;
157
+ editable: boolean;
158
+ core: boolean;
159
+ typePropertyOptionSetId: string;
160
+ typePropertyUserListId: any;
161
+ carryOverBehavior: any;
162
+ carryOverDefault: any;
163
+ copyBehavior: any;
164
+ copyDefault: any;
165
+ formula: any;
166
+ numberFormat: {
167
+ format: any;
168
+ currency: string;
169
+ };
170
+ referencedTypeRootSlug: any;
171
+ referencedTypeRole: any;
172
+ referencedTypeFilterProperties: any;
173
+ referencedTypeId: any;
174
+ referencedTypePath: any;
175
+ defaultValue: any;
176
+ propertyLevel: string;
177
+ formulaFunction: string;
178
+ validationFunction: any;
179
+ description: any;
180
+ apiDetails: any;
181
+ notes: any;
182
+ searchable: boolean;
183
+ isFederationProperty: boolean;
184
+ isUniqueProperty: boolean;
185
+ isUniquePropertyInFamily: boolean;
186
+ required: boolean;
187
+ sequenceSeedValue: any;
188
+ optionsSet: {
189
+ pk: number;
190
+ id: string;
191
+ createdOn: string;
192
+ updatedOn: string;
193
+ createdById: string;
194
+ updatedById: string;
195
+ isArchived: boolean;
196
+ orgId: string;
197
+ optionSet: ({
198
+ value: string;
199
+ display: string;
200
+ disabled?: undefined;
201
+ } | {
202
+ value: string;
203
+ display: string;
204
+ disabled: boolean;
205
+ })[];
206
+ name: string;
207
+ slug: string;
208
+ isSorted: boolean;
209
+ sortOrder: any;
210
+ sortKey: any;
211
+ };
212
+ options: ({
213
+ value: string;
214
+ display: string;
215
+ disabled?: undefined;
216
+ } | {
217
+ value: string;
218
+ display: string;
219
+ disabled: boolean;
220
+ })[];
221
+ inherited: boolean;
222
+ used: boolean;
223
+ overriddenPropertySlugs: any[];
224
+ typePropertyPolicyIds: string[];
225
+ canRead: boolean;
226
+ canUpdate: boolean;
227
+ canDelete: boolean;
228
+ canCreate: boolean;
229
+ } | {
230
+ pk: number;
231
+ id: string;
232
+ createdOn: string;
233
+ updatedOn: string;
234
+ createdById: string;
235
+ updatedById: string;
236
+ isArchived: boolean;
237
+ orgId: string;
238
+ propertyType: string;
239
+ slug: string;
240
+ label: string;
241
+ editable: boolean;
242
+ core: boolean;
243
+ typePropertyOptionSetId: any;
244
+ typePropertyUserListId: any;
245
+ carryOverBehavior: any;
246
+ carryOverDefault: any;
247
+ copyBehavior: any;
248
+ copyDefault: any;
249
+ formula: any;
250
+ numberFormat: {
251
+ format: any;
252
+ currency: string;
253
+ };
254
+ referencedTypeRootSlug: string;
255
+ referencedTypeRole: string;
256
+ referencedTypeFilterProperties: any;
257
+ referencedTypeId: any;
258
+ referencedTypePath: string;
259
+ defaultValue: any;
260
+ propertyLevel: string;
261
+ formulaFunction: any;
262
+ validationFunction: any;
263
+ description: any;
264
+ apiDetails: any;
265
+ notes: any;
266
+ searchable: boolean;
267
+ isFederationProperty: boolean;
268
+ isUniqueProperty: boolean;
269
+ isUniquePropertyInFamily: boolean;
270
+ required: boolean;
271
+ sequenceSeedValue: any;
272
+ optionsSet: any;
273
+ inherited: boolean;
274
+ used: boolean;
275
+ overriddenPropertySlugs: any[];
276
+ typePropertyPolicyIds: any[];
277
+ canRead: boolean;
278
+ canUpdate: boolean;
279
+ canDelete: boolean;
280
+ canCreate: boolean;
281
+ options?: undefined;
282
+ } | {
283
+ pk: number;
284
+ id: string;
285
+ createdOn: string;
286
+ updatedOn: string;
287
+ createdById: string;
288
+ updatedById: string;
289
+ isArchived: boolean;
290
+ orgId: string;
291
+ propertyType: string;
292
+ slug: string;
293
+ label: string;
294
+ editable: boolean;
295
+ core: boolean;
296
+ typePropertyOptionSetId: any;
297
+ typePropertyUserListId: any;
298
+ carryOverBehavior: any;
299
+ carryOverDefault: any;
300
+ copyBehavior: any;
301
+ copyDefault: any;
302
+ formula: any;
303
+ numberFormat: {
304
+ format: any;
305
+ currency: string;
306
+ };
307
+ referencedTypeRootSlug: any;
308
+ referencedTypeRole: any;
309
+ referencedTypeFilterProperties: any;
310
+ referencedTypeId: any;
311
+ referencedTypePath: any;
312
+ defaultValue: any;
313
+ propertyLevel: string;
314
+ formulaFunction: string;
315
+ validationFunction: any;
316
+ description: any;
317
+ apiDetails: any;
318
+ notes: any;
319
+ searchable: boolean;
320
+ isFederationProperty: boolean;
321
+ isUniqueProperty: boolean;
322
+ isUniquePropertyInFamily: boolean;
323
+ required: boolean;
324
+ sequenceSeedValue: any;
325
+ optionsSet: any;
326
+ inherited: boolean;
327
+ used: boolean;
328
+ overriddenPropertySlugs: any[];
329
+ typePropertyPolicyIds: any[];
330
+ canRead: boolean;
331
+ canUpdate: boolean;
332
+ canDelete: boolean;
333
+ canCreate: boolean;
334
+ options?: undefined;
335
+ } | {
336
+ pk: number;
337
+ id: string;
338
+ createdOn: string;
339
+ updatedOn: string;
340
+ createdById: string;
341
+ updatedById: string;
342
+ isArchived: boolean;
343
+ orgId: string;
344
+ propertyType: string;
345
+ slug: string;
346
+ label: string;
347
+ editable: boolean;
348
+ core: boolean;
349
+ typePropertyOptionSetId: any;
350
+ typePropertyUserListId: string;
351
+ carryOverBehavior: any;
352
+ carryOverDefault: any;
353
+ copyBehavior: any;
354
+ copyDefault: any;
355
+ formula: any;
356
+ numberFormat: {
357
+ format: any;
358
+ currency: string;
359
+ };
360
+ referencedTypeRootSlug: any;
361
+ referencedTypeRole: any;
362
+ referencedTypeFilterProperties: any;
363
+ referencedTypeId: any;
364
+ referencedTypePath: any;
365
+ defaultValue: any;
366
+ propertyLevel: string;
367
+ formulaFunction: any;
368
+ validationFunction: any;
369
+ description: any;
370
+ apiDetails: any;
371
+ notes: any;
372
+ searchable: boolean;
373
+ isFederationProperty: boolean;
374
+ isUniqueProperty: boolean;
375
+ isUniquePropertyInFamily: boolean;
376
+ required: boolean;
377
+ sequenceSeedValue: any;
378
+ optionsSet: any;
379
+ inherited: boolean;
380
+ used: boolean;
381
+ overriddenPropertySlugs: any[];
382
+ typePropertyPolicyIds: any[];
383
+ canRead: boolean;
384
+ canUpdate: boolean;
385
+ canDelete: boolean;
386
+ canCreate: boolean;
387
+ options?: undefined;
388
+ } | {
389
+ pk: number;
390
+ id: string;
391
+ createdOn: string;
392
+ updatedOn: string;
393
+ createdById: string;
394
+ updatedById: string;
395
+ isArchived: boolean;
396
+ orgId: string;
397
+ propertyType: string;
398
+ slug: string;
399
+ label: string;
400
+ editable: boolean;
401
+ core: boolean;
402
+ typePropertyOptionSetId: any;
403
+ typePropertyUserListId: any;
404
+ carryOverBehavior: any;
405
+ carryOverDefault: any;
406
+ copyBehavior: any;
407
+ copyDefault: any;
408
+ formula: any;
409
+ numberFormat: {
410
+ format: string;
411
+ currency?: undefined;
412
+ };
413
+ referencedTypeRootSlug: any;
414
+ referencedTypeRole: any;
415
+ referencedTypeFilterProperties: any;
416
+ referencedTypeId: any;
417
+ referencedTypePath: any;
418
+ defaultValue: any;
419
+ propertyLevel: string;
420
+ formulaFunction: any;
421
+ validationFunction: string;
422
+ description: any;
423
+ apiDetails: any;
424
+ notes: any;
425
+ searchable: boolean;
426
+ isFederationProperty: boolean;
427
+ isUniqueProperty: boolean;
428
+ isUniquePropertyInFamily: boolean;
429
+ required: boolean;
430
+ sequenceSeedValue: any;
431
+ optionsSet: any;
432
+ inherited: boolean;
433
+ used: boolean;
434
+ overriddenPropertySlugs: any[];
435
+ typePropertyPolicyIds: any[];
436
+ canRead: boolean;
437
+ canUpdate: boolean;
438
+ canDelete: boolean;
439
+ canCreate: boolean;
440
+ options?: undefined;
441
+ } | {
442
+ pk: number;
443
+ id: string;
444
+ createdOn: string;
445
+ updatedOn: string;
446
+ createdById: string;
447
+ updatedById: string;
448
+ isArchived: boolean;
449
+ orgId: string;
450
+ propertyType: string;
451
+ slug: string;
452
+ label: string;
453
+ editable: boolean;
454
+ core: boolean;
455
+ typePropertyOptionSetId: string;
456
+ typePropertyUserListId: any;
457
+ carryOverBehavior: any;
458
+ carryOverDefault: any;
459
+ copyBehavior: any;
460
+ copyDefault: any;
461
+ formula: any;
462
+ numberFormat: any;
463
+ referencedTypeRootSlug: any;
464
+ referencedTypeRole: any;
465
+ referencedTypeFilterProperties: any;
466
+ referencedTypeId: any;
467
+ referencedTypePath: any;
468
+ defaultValue: any;
469
+ propertyLevel: string;
470
+ formulaFunction: any;
471
+ validationFunction: any;
472
+ description: any;
473
+ apiDetails: any;
474
+ notes: any;
475
+ searchable: boolean;
476
+ isFederationProperty: boolean;
477
+ isUniqueProperty: boolean;
478
+ isUniquePropertyInFamily: boolean;
479
+ required: boolean;
480
+ sequenceSeedValue: any;
481
+ optionsSet: {
482
+ pk: number;
483
+ id: string;
484
+ createdOn: string;
485
+ updatedOn: string;
486
+ createdById: string;
487
+ updatedById: string;
488
+ isArchived: boolean;
489
+ orgId: string;
490
+ optionSet: {
491
+ value: string;
492
+ display: string;
493
+ disabled: string;
494
+ }[];
495
+ name: string;
496
+ slug: string;
497
+ isSorted: boolean;
498
+ sortOrder: any;
499
+ sortKey: any;
500
+ };
501
+ options: {
502
+ value: string;
503
+ display: string;
504
+ disabled: string;
505
+ }[];
506
+ inherited: boolean;
507
+ used: boolean;
508
+ overriddenPropertySlugs: any[];
509
+ typePropertyPolicyIds: any[];
510
+ canRead: boolean;
511
+ canUpdate: boolean;
512
+ canDelete: boolean;
513
+ canCreate: boolean;
514
+ })[];
515
+ typePropertyPolicies: {
516
+ identifier: string;
517
+ policyId: string;
518
+ label: string;
519
+ updatedOn: string;
520
+ id: string;
521
+ updatedById: string;
522
+ createdOn: string;
523
+ createdById: string;
524
+ orgId: string;
525
+ policy: {
526
+ statements: {
527
+ principal: string;
528
+ action: string[];
529
+ id: string;
530
+ resource: string;
531
+ effect: string;
532
+ }[];
533
+ ownerReference: string;
534
+ updatedOn: string;
535
+ id: string;
536
+ updatedById: string;
537
+ version: string;
538
+ createdOn: string;
539
+ createdById: string;
540
+ orgId: string;
541
+ };
542
+ }[];
543
+ typeRuleSets: any[];
544
+ typeOptionSetHierarchyLinks: ({
545
+ typeId: string;
546
+ updatedOn: string;
547
+ id: string;
548
+ updatedById: string;
549
+ createdOn: string;
550
+ optionSetHierarchyId: string;
551
+ hierarchyTypePropertyIds: string[];
552
+ createdById: string;
553
+ orgId: string;
554
+ optionSetHierarchy: {
555
+ maxDepth: number;
556
+ identifier: string;
557
+ hierarchy: string[];
558
+ options: {
559
+ options: {
560
+ value: string;
561
+ }[];
562
+ value: string;
563
+ }[];
564
+ name: string;
565
+ updatedOn: string;
566
+ id: string;
567
+ updatedById: string;
568
+ createdOn: string;
569
+ createdById: string;
570
+ orgId: string;
571
+ };
572
+ } | {
573
+ typeId: string;
574
+ updatedOn: string;
575
+ id: string;
576
+ updatedById: string;
577
+ createdOn: string;
578
+ optionSetHierarchyId: string;
579
+ hierarchyTypePropertyIds: string[];
580
+ createdById: string;
581
+ orgId: string;
582
+ optionSetHierarchy: {
583
+ maxDepth: number;
584
+ identifier: string;
585
+ hierarchy: string[];
586
+ name: string;
587
+ options: {
588
+ options: {
589
+ options: {
590
+ options: {
591
+ options: {
592
+ options: {
593
+ value: string;
594
+ }[];
595
+ value: string;
596
+ }[];
597
+ value: string;
598
+ }[];
599
+ value: string;
600
+ }[];
601
+ value: string;
602
+ }[];
603
+ value: string;
604
+ }[];
605
+ updatedOn: string;
606
+ id: string;
607
+ updatedById: string;
608
+ createdOn: string;
609
+ createdById: string;
610
+ orgId: string;
611
+ };
612
+ })[];
613
+ relations: {
614
+ org: {
615
+ name: string;
616
+ entityType: string;
617
+ cardinality: string;
618
+ };
619
+ content: {
620
+ name: string;
621
+ entityType: string;
622
+ cardinality: string;
623
+ };
624
+ comments: {
625
+ name: string;
626
+ entityType: string;
627
+ cardinality: string;
628
+ };
629
+ createdBy: {
630
+ name: string;
631
+ entityType: string;
632
+ cardinality: string;
633
+ };
634
+ updatedBy: {
635
+ name: string;
636
+ entityType: string;
637
+ cardinality: string;
638
+ };
639
+ workspace: {
640
+ name: string;
641
+ entityType: string;
642
+ cardinality: string;
643
+ };
644
+ itemColors: {
645
+ name: string;
646
+ entityType: string;
647
+ cardinality: string;
648
+ };
649
+ primaryViewable: {
650
+ name: string;
651
+ entityType: string;
652
+ cardinality: string;
653
+ };
654
+ };
655
+ typeInterfaces: {
656
+ slug: string;
657
+ label: string;
658
+ }[];
659
+ parent: any;
660
+ children: any;
661
+ restrictedTypePropertySlugs: any[];
662
+ canRead: boolean;
663
+ canUpdate: boolean;
664
+ canDelete: boolean;
665
+ canCreate: boolean;
666
+ };
667
+ projectItem: {
668
+ pk: number;
669
+ id: string;
670
+ createdOn: string;
671
+ updatedOn: string;
672
+ createdById: string;
673
+ updatedById: string;
674
+ isArchived: boolean;
675
+ orgId: string;
676
+ slug: string;
677
+ label: string;
678
+ typePath: string;
679
+ typeRootId: string;
680
+ parentId: any;
681
+ typePolicyIds: any[];
682
+ typePolicies: any[];
683
+ typeProperties: ({
684
+ id: string;
685
+ createdOn: string;
686
+ updatedOn: string;
687
+ createdById: string;
688
+ updatedById: string;
689
+ isArchived: boolean;
690
+ orgId: string;
691
+ propertyType: string;
692
+ slug: string;
693
+ label: string;
694
+ editable: boolean;
695
+ core: boolean;
696
+ typePropertyOptionSetId: any;
697
+ typePropertyUserListId: any;
698
+ carryOverBehavior: any;
699
+ carryOverDefault: any;
700
+ copyBehavior: any;
701
+ copyDefault: any;
702
+ formula: any;
703
+ numberFormat: {
704
+ format: string;
705
+ currency: string;
706
+ precision: number;
707
+ };
708
+ referencedTypeRootSlug: any;
709
+ referencedTypeRole: any;
710
+ referencedTypeFilterProperties: any;
711
+ referencedTypeId: any;
712
+ referencedTypePath: any;
713
+ defaultValue: any;
714
+ propertyLevel: string;
715
+ formulaFunction: any;
716
+ validationFunction: string;
717
+ description: any;
718
+ apiDetails: any;
719
+ notes: any;
720
+ searchable: boolean;
721
+ isFederationProperty: boolean;
722
+ isUniqueProperty: boolean;
723
+ isUniquePropertyInFamily: boolean;
724
+ required: boolean;
725
+ sequenceSeedValue: any;
726
+ optionsSet: any;
727
+ inherited: boolean;
728
+ used: boolean;
729
+ overriddenPropertySlugs: any[];
730
+ typePropertyPolicyIds: string[];
731
+ canRead: boolean;
732
+ canUpdate: boolean;
733
+ canDelete: boolean;
734
+ canCreate: boolean;
735
+ options?: undefined;
736
+ } | {
737
+ id: string;
738
+ createdOn: string;
739
+ updatedOn: string;
740
+ createdById: string;
741
+ updatedById: string;
742
+ isArchived: boolean;
743
+ orgId: string;
744
+ propertyType: string;
745
+ slug: string;
746
+ label: string;
747
+ editable: boolean;
748
+ core: boolean;
749
+ typePropertyOptionSetId: any;
750
+ typePropertyUserListId: any;
751
+ carryOverBehavior: any;
752
+ carryOverDefault: any;
753
+ copyBehavior: any;
754
+ copyDefault: any;
755
+ formula: any;
756
+ numberFormat: {
757
+ format: string;
758
+ currency?: undefined;
759
+ precision?: undefined;
760
+ };
761
+ referencedTypeRootSlug: any;
762
+ referencedTypeRole: any;
763
+ referencedTypeFilterProperties: any;
764
+ referencedTypeId: any;
765
+ referencedTypePath: any;
766
+ defaultValue: any;
767
+ propertyLevel: string;
768
+ formulaFunction: any;
769
+ validationFunction: any;
770
+ description: any;
771
+ apiDetails: any;
772
+ notes: any;
773
+ searchable: boolean;
774
+ isFederationProperty: boolean;
775
+ isUniqueProperty: boolean;
776
+ isUniquePropertyInFamily: boolean;
777
+ required: boolean;
778
+ sequenceSeedValue: any;
779
+ optionsSet: any;
780
+ inherited: boolean;
781
+ used: boolean;
782
+ overriddenPropertySlugs: any[];
783
+ typePropertyPolicyIds: any[];
784
+ canRead: boolean;
785
+ canUpdate: boolean;
786
+ canDelete: boolean;
787
+ canCreate: boolean;
788
+ options?: undefined;
789
+ } | {
790
+ id: string;
791
+ createdOn: string;
792
+ updatedOn: string;
793
+ createdById: string;
794
+ updatedById: string;
795
+ isArchived: boolean;
796
+ orgId: string;
797
+ propertyType: string;
798
+ slug: string;
799
+ label: string;
800
+ editable: boolean;
801
+ core: boolean;
802
+ typePropertyOptionSetId: any;
803
+ typePropertyUserListId: any;
804
+ carryOverBehavior: any;
805
+ carryOverDefault: any;
806
+ copyBehavior: any;
807
+ copyDefault: any;
808
+ formula: any;
809
+ numberFormat: {
810
+ format: any;
811
+ currency: string;
812
+ precision?: undefined;
813
+ };
814
+ referencedTypeRootSlug: string;
815
+ referencedTypeRole: any;
816
+ referencedTypeFilterProperties: any;
817
+ referencedTypeId: any;
818
+ referencedTypePath: string;
819
+ defaultValue: any;
820
+ propertyLevel: string;
821
+ formulaFunction: any;
822
+ validationFunction: any;
823
+ description: any;
824
+ apiDetails: any;
825
+ notes: any;
826
+ searchable: boolean;
827
+ isFederationProperty: boolean;
828
+ isUniqueProperty: boolean;
829
+ isUniquePropertyInFamily: boolean;
830
+ required: boolean;
831
+ sequenceSeedValue: any;
832
+ optionsSet: any;
833
+ inherited: boolean;
834
+ used: boolean;
835
+ overriddenPropertySlugs: any[];
836
+ typePropertyPolicyIds: any[];
837
+ canRead: boolean;
838
+ canUpdate: boolean;
839
+ canDelete: boolean;
840
+ canCreate: boolean;
841
+ options?: undefined;
842
+ } | {
843
+ id: string;
844
+ createdOn: string;
845
+ updatedOn: string;
846
+ createdById: string;
847
+ updatedById: string;
848
+ isArchived: boolean;
849
+ orgId: string;
850
+ propertyType: string;
851
+ slug: string;
852
+ label: string;
853
+ editable: boolean;
854
+ core: boolean;
855
+ typePropertyOptionSetId: string;
856
+ typePropertyUserListId: any;
857
+ carryOverBehavior: string;
858
+ carryOverDefault: any;
859
+ copyBehavior: any;
860
+ copyDefault: any;
861
+ formula: any;
862
+ numberFormat: {
863
+ format: any;
864
+ currency: string;
865
+ precision?: undefined;
866
+ };
867
+ referencedTypeRootSlug: any;
868
+ referencedTypeRole: any;
869
+ referencedTypeFilterProperties: any;
870
+ referencedTypeId: any;
871
+ referencedTypePath: any;
872
+ defaultValue: any;
873
+ propertyLevel: string;
874
+ formulaFunction: any;
875
+ validationFunction: any;
876
+ description: any;
877
+ apiDetails: any;
878
+ notes: any;
879
+ searchable: boolean;
880
+ isFederationProperty: boolean;
881
+ isUniqueProperty: boolean;
882
+ isUniquePropertyInFamily: boolean;
883
+ required: boolean;
884
+ sequenceSeedValue: any;
885
+ optionsSet: {
886
+ id: string;
887
+ createdOn: string;
888
+ updatedOn: string;
889
+ createdById: string;
890
+ updatedById: string;
891
+ isArchived: boolean;
892
+ orgId: string;
893
+ optionSet: ({
894
+ value: string;
895
+ display: string;
896
+ disabled?: undefined;
897
+ } | {
898
+ value: string;
899
+ display: string;
900
+ disabled: boolean;
901
+ })[];
902
+ name: string;
903
+ slug: string;
904
+ isSorted: boolean;
905
+ sortOrder: any;
906
+ sortKey: any;
907
+ };
908
+ options: ({
909
+ value: string;
910
+ display: string;
911
+ disabled?: undefined;
912
+ } | {
913
+ value: string;
914
+ display: string;
915
+ disabled: boolean;
916
+ })[];
917
+ inherited: boolean;
918
+ used: boolean;
919
+ overriddenPropertySlugs: any[];
920
+ typePropertyPolicyIds: any[];
921
+ canRead: boolean;
922
+ canUpdate: boolean;
923
+ canDelete: boolean;
924
+ canCreate: boolean;
925
+ } | {
926
+ id: string;
927
+ createdOn: string;
928
+ updatedOn: string;
929
+ createdById: string;
930
+ updatedById: string;
931
+ isArchived: boolean;
932
+ orgId: string;
933
+ propertyType: string;
934
+ slug: string;
935
+ label: string;
936
+ editable: boolean;
937
+ core: boolean;
938
+ typePropertyOptionSetId: any;
939
+ typePropertyUserListId: any;
940
+ carryOverBehavior: any;
941
+ carryOverDefault: any;
942
+ copyBehavior: any;
943
+ copyDefault: any;
944
+ formula: any;
945
+ numberFormat: {
946
+ format: any;
947
+ currency: string;
948
+ precision?: undefined;
949
+ };
950
+ referencedTypeRootSlug: any;
951
+ referencedTypeRole: any;
952
+ referencedTypeFilterProperties: any;
953
+ referencedTypeId: any;
954
+ referencedTypePath: any;
955
+ defaultValue: any;
956
+ propertyLevel: any;
957
+ formulaFunction: string;
958
+ validationFunction: any;
959
+ description: any;
960
+ apiDetails: any;
961
+ notes: any;
962
+ searchable: boolean;
963
+ isFederationProperty: boolean;
964
+ isUniqueProperty: boolean;
965
+ isUniquePropertyInFamily: boolean;
966
+ required: boolean;
967
+ sequenceSeedValue: any;
968
+ optionsSet: any;
969
+ inherited: boolean;
970
+ used: boolean;
971
+ overriddenPropertySlugs: any[];
972
+ typePropertyPolicyIds: any[];
973
+ canRead: boolean;
974
+ canUpdate: boolean;
975
+ canDelete: boolean;
976
+ canCreate: boolean;
977
+ options?: undefined;
978
+ } | {
979
+ id: string;
980
+ createdOn: string;
981
+ updatedOn: string;
982
+ createdById: string;
983
+ updatedById: string;
984
+ isArchived: boolean;
985
+ orgId: string;
986
+ propertyType: string;
987
+ slug: string;
988
+ label: string;
989
+ editable: boolean;
990
+ core: boolean;
991
+ typePropertyOptionSetId: any;
992
+ typePropertyUserListId: any;
993
+ carryOverBehavior: any;
994
+ carryOverDefault: any;
995
+ copyBehavior: any;
996
+ copyDefault: any;
997
+ formula: any;
998
+ numberFormat: {
999
+ format: string;
1000
+ currency: string;
1001
+ precision?: undefined;
1002
+ };
1003
+ referencedTypeRootSlug: any;
1004
+ referencedTypeRole: any;
1005
+ referencedTypeFilterProperties: any;
1006
+ referencedTypeId: any;
1007
+ referencedTypePath: any;
1008
+ defaultValue: any;
1009
+ propertyLevel: string;
1010
+ formulaFunction: any;
1011
+ validationFunction: string;
1012
+ description: any;
1013
+ apiDetails: any;
1014
+ notes: any;
1015
+ searchable: boolean;
1016
+ isFederationProperty: boolean;
1017
+ isUniqueProperty: boolean;
1018
+ isUniquePropertyInFamily: boolean;
1019
+ required: boolean;
1020
+ sequenceSeedValue: any;
1021
+ optionsSet: any;
1022
+ inherited: boolean;
1023
+ used: boolean;
1024
+ overriddenPropertySlugs: any[];
1025
+ typePropertyPolicyIds: any[];
1026
+ canRead: boolean;
1027
+ canUpdate: boolean;
1028
+ canDelete: boolean;
1029
+ canCreate: boolean;
1030
+ options?: undefined;
1031
+ } | {
1032
+ id: string;
1033
+ createdOn: string;
1034
+ updatedOn: string;
1035
+ createdById: string;
1036
+ updatedById: string;
1037
+ isArchived: boolean;
1038
+ orgId: string;
1039
+ propertyType: string;
1040
+ slug: string;
1041
+ label: string;
1042
+ editable: boolean;
1043
+ core: boolean;
1044
+ typePropertyOptionSetId: any;
1045
+ typePropertyUserListId: any;
1046
+ carryOverBehavior: string;
1047
+ carryOverDefault: any;
1048
+ copyBehavior: any;
1049
+ copyDefault: any;
1050
+ formula: any;
1051
+ numberFormat: any;
1052
+ referencedTypeRootSlug: any;
1053
+ referencedTypeRole: any;
1054
+ referencedTypeFilterProperties: any;
1055
+ referencedTypeId: any;
1056
+ referencedTypePath: any;
1057
+ defaultValue: any;
1058
+ propertyLevel: string;
1059
+ formulaFunction: any;
1060
+ validationFunction: any;
1061
+ description: any;
1062
+ apiDetails: any;
1063
+ notes: any;
1064
+ searchable: boolean;
1065
+ isFederationProperty: boolean;
1066
+ isUniqueProperty: boolean;
1067
+ isUniquePropertyInFamily: boolean;
1068
+ required: boolean;
1069
+ sequenceSeedValue: any;
1070
+ optionsSet: any;
1071
+ inherited: boolean;
1072
+ used: boolean;
1073
+ overriddenPropertySlugs: any[];
1074
+ typePropertyPolicyIds: any[];
1075
+ canRead: boolean;
1076
+ canUpdate: boolean;
1077
+ canDelete: boolean;
1078
+ canCreate: boolean;
1079
+ options?: undefined;
1080
+ })[];
1081
+ typePropertyPolicies: {
1082
+ identifier: string;
1083
+ policyId: string;
1084
+ label: string;
1085
+ updatedOn: string;
1086
+ id: string;
1087
+ updatedById: string;
1088
+ createdOn: string;
1089
+ createdById: string;
1090
+ orgId: string;
1091
+ policy: {
1092
+ statements: {
1093
+ principal: string;
1094
+ action: string[];
1095
+ id: string;
1096
+ resource: string;
1097
+ effect: string;
1098
+ }[];
1099
+ ownerReference: string;
1100
+ updatedOn: string;
1101
+ id: string;
1102
+ updatedById: string;
1103
+ version: string;
1104
+ createdOn: string;
1105
+ createdById: string;
1106
+ orgId: string;
1107
+ };
1108
+ }[];
1109
+ typeRuleSets: any[];
1110
+ typeOptionSetHierarchyLinks: any[];
1111
+ relations: {
1112
+ org: {
1113
+ name: string;
1114
+ entityType: string;
1115
+ cardinality: string;
1116
+ };
1117
+ createdBy: {
1118
+ name: string;
1119
+ entityType: string;
1120
+ cardinality: string;
1121
+ };
1122
+ updatedBy: {
1123
+ name: string;
1124
+ entityType: string;
1125
+ cardinality: string;
1126
+ };
1127
+ };
1128
+ typeInterfaces: {
1129
+ slug: string;
1130
+ label: string;
1131
+ }[];
1132
+ parent: any;
1133
+ children: any;
1134
+ restrictedTypePropertySlugs: any[];
1135
+ canRead: boolean;
1136
+ canUpdate: boolean;
1137
+ canDelete: boolean;
1138
+ canCreate: boolean;
1139
+ };
1140
+ assortmentItem: {
1141
+ pk: number;
1142
+ id: string;
1143
+ createdOn: string;
1144
+ updatedOn: string;
1145
+ createdById: string;
1146
+ updatedById: string;
1147
+ isArchived: boolean;
1148
+ orgId: string;
1149
+ slug: string;
1150
+ label: string;
1151
+ typePath: string;
1152
+ typeRootId: string;
1153
+ parentId: any;
1154
+ typePolicyIds: any[];
1155
+ typePolicies: any[];
1156
+ typeProperties: ({
1157
+ id: string;
1158
+ createdOn: string;
1159
+ updatedOn: string;
1160
+ createdById: string;
1161
+ updatedById: string;
1162
+ isArchived: boolean;
1163
+ orgId: string;
1164
+ propertyType: string;
1165
+ slug: string;
1166
+ label: string;
1167
+ editable: boolean;
1168
+ core: boolean;
1169
+ typePropertyOptionSetId: any;
1170
+ typePropertyUserListId: any;
1171
+ carryOverBehavior: any;
1172
+ carryOverDefault: any;
1173
+ copyBehavior: any;
1174
+ copyDefault: any;
1175
+ formula: string;
1176
+ numberFormat: {
1177
+ format: string;
1178
+ currency?: undefined;
1179
+ };
1180
+ referencedTypeRootSlug: any;
1181
+ referencedTypeRole: any;
1182
+ referencedTypeFilterProperties: any;
1183
+ referencedTypeId: any;
1184
+ referencedTypePath: any;
1185
+ defaultValue: any;
1186
+ propertyLevel: any;
1187
+ formulaFunction: any;
1188
+ validationFunction: any;
1189
+ description: any;
1190
+ apiDetails: any;
1191
+ notes: any;
1192
+ searchable: boolean;
1193
+ isFederationProperty: boolean;
1194
+ isUniqueProperty: boolean;
1195
+ isUniquePropertyInFamily: boolean;
1196
+ required: boolean;
1197
+ sequenceSeedValue: any;
1198
+ optionsSet: any;
1199
+ inherited: boolean;
1200
+ used: boolean;
1201
+ overriddenPropertySlugs: any[];
1202
+ typePropertyPolicyIds: any[];
1203
+ options?: undefined;
1204
+ } | {
1205
+ id: string;
1206
+ createdOn: string;
1207
+ updatedOn: string;
1208
+ createdById: string;
1209
+ updatedById: string;
1210
+ isArchived: boolean;
1211
+ orgId: string;
1212
+ propertyType: string;
1213
+ slug: string;
1214
+ label: string;
1215
+ editable: boolean;
1216
+ core: boolean;
1217
+ typePropertyOptionSetId: any;
1218
+ typePropertyUserListId: any;
1219
+ carryOverBehavior: any;
1220
+ carryOverDefault: any;
1221
+ copyBehavior: any;
1222
+ copyDefault: any;
1223
+ formula: any;
1224
+ numberFormat: any;
1225
+ referencedTypeRootSlug: string;
1226
+ referencedTypeRole: any;
1227
+ referencedTypeFilterProperties: any;
1228
+ referencedTypeId: any;
1229
+ referencedTypePath: string;
1230
+ defaultValue: any;
1231
+ propertyLevel: any;
1232
+ formulaFunction: any;
1233
+ validationFunction: any;
1234
+ description: any;
1235
+ apiDetails: any;
1236
+ notes: any;
1237
+ searchable: boolean;
1238
+ isFederationProperty: boolean;
1239
+ isUniqueProperty: boolean;
1240
+ isUniquePropertyInFamily: boolean;
1241
+ required: boolean;
1242
+ sequenceSeedValue: any;
1243
+ optionsSet: any;
1244
+ inherited: boolean;
1245
+ used: boolean;
1246
+ overriddenPropertySlugs: any[];
1247
+ typePropertyPolicyIds: any[];
1248
+ options?: undefined;
1249
+ } | {
1250
+ id: string;
1251
+ createdOn: string;
1252
+ updatedOn: string;
1253
+ createdById: string;
1254
+ updatedById: string;
1255
+ isArchived: boolean;
1256
+ orgId: string;
1257
+ propertyType: string;
1258
+ slug: string;
1259
+ label: string;
1260
+ editable: boolean;
1261
+ core: boolean;
1262
+ typePropertyOptionSetId: string;
1263
+ typePropertyUserListId: any;
1264
+ carryOverBehavior: any;
1265
+ carryOverDefault: any;
1266
+ copyBehavior: any;
1267
+ copyDefault: any;
1268
+ formula: any;
1269
+ numberFormat: any;
1270
+ referencedTypeRootSlug: any;
1271
+ referencedTypeRole: any;
1272
+ referencedTypeFilterProperties: any;
1273
+ referencedTypeId: any;
1274
+ referencedTypePath: any;
1275
+ defaultValue: any;
1276
+ propertyLevel: any;
1277
+ formulaFunction: any;
1278
+ validationFunction: any;
1279
+ description: any;
1280
+ apiDetails: any;
1281
+ notes: any;
1282
+ searchable: boolean;
1283
+ isFederationProperty: boolean;
1284
+ isUniqueProperty: boolean;
1285
+ isUniquePropertyInFamily: boolean;
1286
+ required: boolean;
1287
+ sequenceSeedValue: any;
1288
+ optionsSet: {
1289
+ id: string;
1290
+ createdOn: string;
1291
+ updatedOn: string;
1292
+ createdById: string;
1293
+ updatedById: string;
1294
+ isArchived: boolean;
1295
+ orgId: string;
1296
+ optionSet: ({
1297
+ value: string;
1298
+ display: string;
1299
+ disabled?: undefined;
1300
+ } | {
1301
+ value: string;
1302
+ display: string;
1303
+ disabled: boolean;
1304
+ })[];
1305
+ name: string;
1306
+ slug: string;
1307
+ isSorted: boolean;
1308
+ sortOrder: any;
1309
+ sortKey: any;
1310
+ };
1311
+ options: ({
1312
+ value: string;
1313
+ display: string;
1314
+ disabled?: undefined;
1315
+ } | {
1316
+ value: string;
1317
+ display: string;
1318
+ disabled: boolean;
1319
+ })[];
1320
+ inherited: boolean;
1321
+ used: boolean;
1322
+ overriddenPropertySlugs: any[];
1323
+ typePropertyPolicyIds: any[];
1324
+ } | {
1325
+ id: string;
1326
+ createdOn: string;
1327
+ updatedOn: string;
1328
+ createdById: string;
1329
+ updatedById: string;
1330
+ isArchived: boolean;
1331
+ orgId: string;
1332
+ propertyType: string;
1333
+ slug: string;
1334
+ label: string;
1335
+ editable: boolean;
1336
+ core: boolean;
1337
+ typePropertyOptionSetId: any;
1338
+ typePropertyUserListId: any;
1339
+ carryOverBehavior: any;
1340
+ carryOverDefault: any;
1341
+ copyBehavior: any;
1342
+ copyDefault: any;
1343
+ formula: any;
1344
+ numberFormat: {
1345
+ format: any;
1346
+ currency: string;
1347
+ };
1348
+ referencedTypeRootSlug: any;
1349
+ referencedTypeRole: any;
1350
+ referencedTypeFilterProperties: any;
1351
+ referencedTypeId: any;
1352
+ referencedTypePath: any;
1353
+ defaultValue: any;
1354
+ propertyLevel: any;
1355
+ formulaFunction: any;
1356
+ validationFunction: any;
1357
+ description: any;
1358
+ apiDetails: any;
1359
+ notes: any;
1360
+ searchable: boolean;
1361
+ isFederationProperty: boolean;
1362
+ isUniqueProperty: boolean;
1363
+ isUniquePropertyInFamily: boolean;
1364
+ required: boolean;
1365
+ sequenceSeedValue: any;
1366
+ optionsSet: any;
1367
+ inherited: boolean;
1368
+ used: boolean;
1369
+ overriddenPropertySlugs: any[];
1370
+ typePropertyPolicyIds: any[];
1371
+ options?: undefined;
1372
+ } | {
1373
+ id: string;
1374
+ createdOn: string;
1375
+ updatedOn: string;
1376
+ createdById: any;
1377
+ updatedById: string;
1378
+ isArchived: boolean;
1379
+ orgId: string;
1380
+ propertyType: string;
1381
+ slug: string;
1382
+ label: string;
1383
+ editable: boolean;
1384
+ core: boolean;
1385
+ typePropertyOptionSetId: any;
1386
+ typePropertyUserListId: any;
1387
+ carryOverBehavior: any;
1388
+ carryOverDefault: any;
1389
+ copyBehavior: any;
1390
+ copyDefault: any;
1391
+ formula: any;
1392
+ numberFormat: any;
1393
+ referencedTypeRootSlug: any;
1394
+ referencedTypeRole: any;
1395
+ referencedTypeFilterProperties: any;
1396
+ referencedTypeId: any;
1397
+ referencedTypePath: any;
1398
+ defaultValue: any;
1399
+ propertyLevel: any;
1400
+ formulaFunction: string;
1401
+ validationFunction: any;
1402
+ description: any;
1403
+ apiDetails: any;
1404
+ notes: any;
1405
+ searchable: boolean;
1406
+ isFederationProperty: boolean;
1407
+ isUniqueProperty: boolean;
1408
+ isUniquePropertyInFamily: boolean;
1409
+ required: boolean;
1410
+ sequenceSeedValue: any;
1411
+ optionsSet: any;
1412
+ inherited: boolean;
1413
+ used: boolean;
1414
+ overriddenPropertySlugs: any[];
1415
+ typePropertyPolicyIds: any[];
1416
+ options?: undefined;
1417
+ })[];
1418
+ typePropertyPolicies: any[];
1419
+ typeRuleSets: any[];
1420
+ typeOptionSetHierarchyLinks: any[];
1421
+ relations: {
1422
+ org: {
1423
+ name: string;
1424
+ entityType: string;
1425
+ cardinality: string;
1426
+ };
1427
+ createdBy: {
1428
+ name: string;
1429
+ entityType: string;
1430
+ cardinality: string;
1431
+ };
1432
+ updatedBy: {
1433
+ name: string;
1434
+ entityType: string;
1435
+ cardinality: string;
1436
+ };
1437
+ };
1438
+ typeInterfaces: {
1439
+ slug: string;
1440
+ label: string;
1441
+ }[];
1442
+ parent: any;
1443
+ children: any;
1444
+ canRead: boolean;
1445
+ canUpdate: boolean;
1446
+ canDelete: boolean;
1447
+ canCreate: boolean;
1448
+ };
1449
+ };