@cosmicdrift/kumiko-bundled-features 0.383.1 → 0.385.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 (140) hide show
  1. package/dist/audit/event-classification.d.ts +8 -0
  2. package/dist/audit/event-classification.js +69 -0
  3. package/dist/audit/feature.js +3 -3
  4. package/dist/audit/handlers/audit-events.d.ts +25 -3
  5. package/dist/audit/handlers/audit-events.js +41 -7
  6. package/dist/audit/handlers/details-all-tenants.query.d.ts +3 -0
  7. package/dist/audit/handlers/details-all-tenants.query.js +2 -5
  8. package/dist/audit/handlers/details.query.d.ts +3 -0
  9. package/dist/audit/handlers/details.query.js +5 -3
  10. package/dist/audit/handlers/list-all-tenants.query.d.ts +9 -2
  11. package/dist/audit/handlers/list-all-tenants.query.js +10 -8
  12. package/dist/audit/handlers/list.query.d.ts +8 -0
  13. package/dist/audit/handlers/list.query.js +12 -4
  14. package/dist/audit/screens.d.ts +37 -0
  15. package/dist/audit/screens.js +26 -4
  16. package/dist/audit/web/audit-event-cell.d.ts +4 -0
  17. package/dist/audit/web/audit-event-cell.js +20 -0
  18. package/dist/audit/web/audit-event-labels.d.ts +7 -0
  19. package/dist/audit/web/audit-event-labels.js +23 -0
  20. package/dist/audit/web/client-plugin.js +6 -1
  21. package/dist/audit/web/constants.d.ts +8 -0
  22. package/dist/audit/web/constants.js +7 -0
  23. package/dist/audit/web/i18n.js +48 -1
  24. package/dist/auth-email-password/feature.js +3 -2
  25. package/dist/auth-email-password/handlers/login-options.query.d.ts +5 -0
  26. package/dist/auth-email-password/handlers/login-options.query.js +17 -0
  27. package/dist/auth-email-password/index.d.ts +1 -1
  28. package/dist/auth-email-password/index.js +1 -1
  29. package/dist/auth-email-password/password-policy.d.ts +1 -0
  30. package/dist/auth-email-password/password-policy.js +195 -2087
  31. package/dist/auth-email-password/web/auth-form-primitives.js +9 -12
  32. package/dist/auth-email-password/{auth-paths.d.ts → web/auth-paths.d.ts} +5 -3
  33. package/dist/auth-email-password/{auth-paths.js → web/auth-paths.js} +5 -3
  34. package/dist/auth-email-password/web/client-plugin.d.ts +5 -0
  35. package/dist/auth-email-password/web/client-plugin.js +2 -0
  36. package/dist/auth-email-password/web/constants.d.ts +1 -0
  37. package/dist/auth-email-password/web/constants.js +1 -0
  38. package/dist/auth-email-password/web/default-auth-pages-gate.d.ts +4 -0
  39. package/dist/auth-email-password/web/default-auth-pages-gate.js +28 -0
  40. package/dist/auth-email-password/web/login-screen.d.ts +13 -18
  41. package/dist/auth-email-password/web/login-screen.js +31 -19
  42. package/dist/auth-mfa/schema/user-mfa.d.ts +6 -126
  43. package/dist/billing-foundation/entities.d.ts +8 -168
  44. package/dist/billing-foundation/projection.d.ts +8 -168
  45. package/dist/cap-counter/entity.d.ts +1 -21
  46. package/dist/channel-in-app/handlers/unread-count.query.js +1 -1
  47. package/dist/compliance-profiles/schema/profile-selection.d.ts +2 -28
  48. package/dist/config/table.d.ts +6 -126
  49. package/dist/custom-fields/db/queries/projection.js +1 -1
  50. package/dist/custom-fields/entity.d.ts +4 -84
  51. package/dist/data-retention/schema/tenant-retention-override.d.ts +6 -112
  52. package/dist/delivery/tables.d.ts +6 -126
  53. package/dist/document-ingest-foundation/entity.d.ts +6 -112
  54. package/dist/file-derivatives/feature.js +1 -1
  55. package/dist/folders/entity.d.ts +8 -168
  56. package/dist/form-draft/entity.d.ts +2 -42
  57. package/dist/inbound-mail-foundation/entities.d.ts +25 -525
  58. package/dist/inbound-mail-foundation/projection.d.ts +20 -420
  59. package/dist/jobs/feature.js +22 -117
  60. package/dist/jobs/handlers/consumer.write.d.ts +37 -0
  61. package/dist/jobs/handlers/consumer.write.js +59 -0
  62. package/dist/jobs/handlers/consumers.query.d.ts +52 -0
  63. package/dist/jobs/handlers/consumers.query.js +114 -0
  64. package/dist/jobs/job-run-table.d.ts +6 -126
  65. package/dist/jobs/screens.d.ts +6 -0
  66. package/dist/jobs/screens.js +241 -0
  67. package/dist/jobs/web/constants.d.ts +20 -0
  68. package/dist/jobs/web/constants.js +21 -0
  69. package/dist/jobs/web/i18n.js +41 -0
  70. package/dist/ledger/entity.d.ts +13 -273
  71. package/dist/ledger/web/index.js +1 -1
  72. package/dist/managed-pages/table.d.ts +12 -252
  73. package/dist/notes-history/entity.d.ts +14 -280
  74. package/dist/notes-history/handlers/add-note.write.js +1 -1
  75. package/dist/personal-access-tokens/i18n.d.ts +1 -0
  76. package/dist/personal-access-tokens/i18n.js +2 -0
  77. package/dist/personal-access-tokens/index.d.ts +1 -0
  78. package/dist/personal-access-tokens/index.js +1 -0
  79. package/dist/personal-access-tokens/schema/api-token.d.ts +6 -126
  80. package/dist/secrets/i18n.d.ts +0 -3
  81. package/dist/secrets/i18n.js +0 -3
  82. package/dist/secrets/table.d.ts +1 -21
  83. package/dist/sessions/constants.d.ts +2 -1
  84. package/dist/sessions/constants.js +2 -1
  85. package/dist/sessions/handlers/detail.query.d.ts +5 -0
  86. package/dist/sessions/handlers/detail.query.js +7 -3
  87. package/dist/sessions/handlers/list.query.d.ts +5 -0
  88. package/dist/sessions/handlers/list.query.js +16 -10
  89. package/dist/sessions/handlers/mine.query.d.ts +5 -0
  90. package/dist/sessions/handlers/mine.query.js +15 -9
  91. package/dist/sessions/schema/user-session.d.ts +4 -84
  92. package/dist/sessions/screens.js +22 -8
  93. package/dist/sessions/web/client-plugin.d.ts +6 -0
  94. package/dist/sessions/web/client-plugin.js +11 -0
  95. package/dist/sessions/web/constants.d.ts +3 -0
  96. package/dist/sessions/web/constants.js +3 -0
  97. package/dist/sessions/web/default-translations.d.ts +2 -0
  98. package/dist/sessions/web/default-translations.js +3 -0
  99. package/dist/sessions/web/i18n.js +5 -1
  100. package/dist/sessions/web/index.d.ts +1 -0
  101. package/dist/sessions/web/index.js +1 -0
  102. package/dist/sessions/web/session-device-cell.d.ts +3 -0
  103. package/dist/sessions/web/session-device-cell.js +16 -0
  104. package/dist/sessions/web/user-agent.d.ts +26 -0
  105. package/dist/sessions/web/user-agent.js +58 -0
  106. package/dist/shared/run-in-sub-transaction.js +1 -1
  107. package/dist/tags/entity.d.ts +9 -189
  108. package/dist/template-resolver/feature.d.ts +1 -0
  109. package/dist/template-resolver/feature.js +2 -0
  110. package/dist/template-resolver/handlers/overview.query.d.ts +5 -0
  111. package/dist/template-resolver/handlers/overview.query.js +19 -2
  112. package/dist/template-resolver/handlers/tenant-override-counts.query.d.ts +17 -0
  113. package/dist/template-resolver/handlers/tenant-override-counts.query.js +35 -0
  114. package/dist/template-resolver/handlers/tenant-override-selection.d.ts +12 -0
  115. package/dist/template-resolver/handlers/tenant-override-selection.js +34 -0
  116. package/dist/template-resolver/handlers/tenant-overrides.query.js +3 -29
  117. package/dist/template-resolver/table.d.ts +20 -350
  118. package/dist/template-resolver/user-content-table.d.ts +12 -238
  119. package/dist/template-resolver/web/qualified-names.d.ts +1 -0
  120. package/dist/template-resolver/web/qualified-names.js +1 -0
  121. package/dist/tenant/invitation-table.d.ts +6 -126
  122. package/dist/tenant/membership-table.d.ts +4 -84
  123. package/dist/tenant/schema/tenant.d.ts +6 -126
  124. package/dist/tier-engine/entity.d.ts +1 -21
  125. package/dist/tier-engine/tier-resolver.d.ts +1 -21
  126. package/dist/user/schema/user.d.ts +12 -252
  127. package/dist/user-data-rights/feature.js +33 -33
  128. package/dist/user-data-rights/schema/download-attempt.d.ts +14 -294
  129. package/dist/user-data-rights/schema/download-token.d.ts +8 -168
  130. package/dist/user-data-rights/schema/export-job.d.ts +8 -154
  131. package/dist/user-data-rights/web/i18n.js +4 -1
  132. package/dist/waitlist/entity.d.ts +16 -322
  133. package/package.json +17 -9
  134. package/src/audit/changes.json +6 -0
  135. package/src/auth-email-password/changes.json +12 -0
  136. package/src/jobs/changes.json +6 -0
  137. package/src/personal-access-tokens/changes.json +7 -0
  138. package/src/sessions/changes.json +6 -0
  139. package/src/template-resolver/changes.json +6 -0
  140. package/src/user-data-rights/changes.json +18 -0
@@ -1,191 +1,31 @@
1
1
  import { type EntityDefinition } from "@cosmicdrift/kumiko-framework/engine";
2
2
  export declare const folderEntity: EntityDefinition<{
3
- readonly name: {
4
- readonly type: "text";
5
- readonly description?: string;
6
- readonly maxLength?: number;
7
- readonly minLength?: number;
8
- readonly autoComplete?: string;
9
- readonly required?: boolean;
10
- readonly searchable?: boolean;
11
- readonly sortable?: boolean;
12
- readonly filterable?: boolean;
13
- readonly encrypted?: boolean;
14
- readonly sensitive?: boolean;
15
- readonly writeOnly?: boolean;
16
- readonly readAsInstruction?: boolean;
17
- readonly format?: "email" | "url" | "phone" | "password" | "month" | "iban";
18
- readonly default?: string;
19
- readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
20
- readonly multiline?: boolean | {
21
- readonly rows?: number;
22
- };
23
- } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
3
+ readonly name: import("@cosmicdrift/kumiko-types/fields").EntityTextFieldDef & {
24
4
  required: true;
25
5
  };
26
- readonly parentId: {
27
- readonly type: "text";
28
- readonly description?: string;
29
- readonly maxLength?: number;
30
- readonly minLength?: number;
31
- readonly autoComplete?: string;
32
- readonly required?: boolean;
33
- readonly searchable?: boolean;
34
- readonly sortable?: boolean;
35
- readonly filterable?: boolean;
36
- readonly encrypted?: boolean;
37
- readonly sensitive?: boolean;
38
- readonly writeOnly?: boolean;
39
- readonly readAsInstruction?: boolean;
40
- readonly format?: "email" | "url" | "phone" | "password" | "month" | "iban";
41
- readonly default?: string;
42
- readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
43
- readonly multiline?: boolean | {
44
- readonly rows?: number;
45
- };
46
- } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
6
+ readonly parentId: import("@cosmicdrift/kumiko-types/fields").EntityTextFieldDef & {
47
7
  required: false;
48
8
  };
49
9
  }, "tenant">;
50
10
  export declare function createFolderAssignmentEntity(access?: EntityDefinition["access"], parents?: readonly string[]): EntityDefinition<{
51
- readonly folderId: {
52
- readonly type: "text";
53
- readonly description?: string;
54
- readonly maxLength?: number;
55
- readonly minLength?: number;
56
- readonly autoComplete?: string;
57
- readonly required?: boolean;
58
- readonly searchable?: boolean;
59
- readonly sortable?: boolean;
60
- readonly filterable?: boolean;
61
- readonly encrypted?: boolean;
62
- readonly sensitive?: boolean;
63
- readonly writeOnly?: boolean;
64
- readonly readAsInstruction?: boolean;
65
- readonly format?: "email" | "url" | "phone" | "password" | "month" | "iban";
66
- readonly default?: string;
67
- readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
68
- readonly multiline?: boolean | {
69
- readonly rows?: number;
70
- };
71
- } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
11
+ readonly folderId: import("@cosmicdrift/kumiko-types/fields").EntityTextFieldDef & {
72
12
  required: true;
73
13
  };
74
- readonly entityType: {
75
- readonly type: "text";
76
- readonly description?: string;
77
- readonly maxLength?: number;
78
- readonly minLength?: number;
79
- readonly autoComplete?: string;
80
- readonly required?: boolean;
81
- readonly searchable?: boolean;
82
- readonly sortable?: boolean;
83
- readonly filterable?: boolean;
84
- readonly encrypted?: boolean;
85
- readonly sensitive?: boolean;
86
- readonly writeOnly?: boolean;
87
- readonly readAsInstruction?: boolean;
88
- readonly format?: "email" | "url" | "phone" | "password" | "month" | "iban";
89
- readonly default?: string;
90
- readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
91
- readonly multiline?: boolean | {
92
- readonly rows?: number;
93
- };
94
- } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
14
+ readonly entityType: import("@cosmicdrift/kumiko-types/fields").EntityTextFieldDef & {
95
15
  required: true;
96
16
  };
97
- readonly entityId: {
98
- readonly type: "text";
99
- readonly description?: string;
100
- readonly maxLength?: number;
101
- readonly minLength?: number;
102
- readonly autoComplete?: string;
103
- readonly required?: boolean;
104
- readonly searchable?: boolean;
105
- readonly sortable?: boolean;
106
- readonly filterable?: boolean;
107
- readonly encrypted?: boolean;
108
- readonly sensitive?: boolean;
109
- readonly writeOnly?: boolean;
110
- readonly readAsInstruction?: boolean;
111
- readonly format?: "email" | "url" | "phone" | "password" | "month" | "iban";
112
- readonly default?: string;
113
- readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
114
- readonly multiline?: boolean | {
115
- readonly rows?: number;
116
- };
117
- } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
17
+ readonly entityId: import("@cosmicdrift/kumiko-types/fields").EntityTextFieldDef & {
118
18
  required: true;
119
19
  };
120
20
  }, "tenant">;
121
21
  export declare const folderAssignmentEntity: EntityDefinition<{
122
- readonly folderId: {
123
- readonly type: "text";
124
- readonly description?: string;
125
- readonly maxLength?: number;
126
- readonly minLength?: number;
127
- readonly autoComplete?: string;
128
- readonly required?: boolean;
129
- readonly searchable?: boolean;
130
- readonly sortable?: boolean;
131
- readonly filterable?: boolean;
132
- readonly encrypted?: boolean;
133
- readonly sensitive?: boolean;
134
- readonly writeOnly?: boolean;
135
- readonly readAsInstruction?: boolean;
136
- readonly format?: "email" | "url" | "phone" | "password" | "month" | "iban";
137
- readonly default?: string;
138
- readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
139
- readonly multiline?: boolean | {
140
- readonly rows?: number;
141
- };
142
- } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
22
+ readonly folderId: import("@cosmicdrift/kumiko-types/fields").EntityTextFieldDef & {
143
23
  required: true;
144
24
  };
145
- readonly entityType: {
146
- readonly type: "text";
147
- readonly description?: string;
148
- readonly maxLength?: number;
149
- readonly minLength?: number;
150
- readonly autoComplete?: string;
151
- readonly required?: boolean;
152
- readonly searchable?: boolean;
153
- readonly sortable?: boolean;
154
- readonly filterable?: boolean;
155
- readonly encrypted?: boolean;
156
- readonly sensitive?: boolean;
157
- readonly writeOnly?: boolean;
158
- readonly readAsInstruction?: boolean;
159
- readonly format?: "email" | "url" | "phone" | "password" | "month" | "iban";
160
- readonly default?: string;
161
- readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
162
- readonly multiline?: boolean | {
163
- readonly rows?: number;
164
- };
165
- } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
25
+ readonly entityType: import("@cosmicdrift/kumiko-types/fields").EntityTextFieldDef & {
166
26
  required: true;
167
27
  };
168
- readonly entityId: {
169
- readonly type: "text";
170
- readonly description?: string;
171
- readonly maxLength?: number;
172
- readonly minLength?: number;
173
- readonly autoComplete?: string;
174
- readonly required?: boolean;
175
- readonly searchable?: boolean;
176
- readonly sortable?: boolean;
177
- readonly filterable?: boolean;
178
- readonly encrypted?: boolean;
179
- readonly sensitive?: boolean;
180
- readonly writeOnly?: boolean;
181
- readonly readAsInstruction?: boolean;
182
- readonly format?: "email" | "url" | "phone" | "password" | "month" | "iban";
183
- readonly default?: string;
184
- readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
185
- readonly multiline?: boolean | {
186
- readonly rows?: number;
187
- };
188
- } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
28
+ readonly entityId: import("@cosmicdrift/kumiko-types/fields").EntityTextFieldDef & {
189
29
  required: true;
190
30
  };
191
31
  }, "tenant">;
@@ -1,48 +1,8 @@
1
1
  export declare const formDraftEntity: import("@cosmicdrift/kumiko-types/fields").EntityDefinition<{
2
- readonly ownerId: {
3
- readonly type: "text";
4
- readonly description?: string;
5
- readonly maxLength?: number;
6
- readonly minLength?: number;
7
- readonly autoComplete?: string;
8
- readonly required?: boolean;
9
- readonly searchable?: boolean;
10
- readonly sortable?: boolean;
11
- readonly filterable?: boolean;
12
- readonly encrypted?: boolean;
13
- readonly sensitive?: boolean;
14
- readonly writeOnly?: boolean;
15
- readonly readAsInstruction?: boolean;
16
- readonly format?: "email" | "url" | "phone" | "password" | "month" | "iban";
17
- readonly default?: string;
18
- readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
19
- readonly multiline?: boolean | {
20
- readonly rows?: number;
21
- };
22
- } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
2
+ readonly ownerId: import("@cosmicdrift/kumiko-types/fields").EntityTextFieldDef & {
23
3
  required: true;
24
4
  };
25
- readonly draftKey: {
26
- readonly type: "text";
27
- readonly description?: string;
28
- readonly maxLength?: number;
29
- readonly minLength?: number;
30
- readonly autoComplete?: string;
31
- readonly required?: boolean;
32
- readonly searchable?: boolean;
33
- readonly sortable?: boolean;
34
- readonly filterable?: boolean;
35
- readonly encrypted?: boolean;
36
- readonly sensitive?: boolean;
37
- readonly writeOnly?: boolean;
38
- readonly readAsInstruction?: boolean;
39
- readonly format?: "email" | "url" | "phone" | "password" | "month" | "iban";
40
- readonly default?: string;
41
- readonly access?: import("@cosmicdrift/kumiko-types/fields").FieldAccess;
42
- readonly multiline?: boolean | {
43
- readonly rows?: number;
44
- };
45
- } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
5
+ readonly draftKey: import("@cosmicdrift/kumiko-types/fields").EntityTextFieldDef & {
46
6
  required: true;
47
7
  };
48
8
  readonly draft: import("@cosmicdrift/kumiko-types/fields").JsonbFieldDef;