@datatechsolutions/ui 3.4.0 → 3.5.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 (169) hide show
  1. package/dist/astrlabe/index.js +108 -108
  2. package/dist/astrlabe/index.mjs +4 -4
  3. package/dist/astrlabe/workflow-canvas.js +4 -4
  4. package/dist/astrlabe/workflow-canvas.mjs +3 -3
  5. package/dist/{chunk-SEYUYGER.mjs → chunk-2MJAHST4.mjs} +12 -11
  6. package/dist/chunk-2MJAHST4.mjs.map +1 -0
  7. package/dist/{chunk-SQ4KGLBZ.mjs → chunk-3OLYSMI5.mjs} +41 -7
  8. package/dist/chunk-3OLYSMI5.mjs.map +1 -0
  9. package/dist/{chunk-RLVOG5OQ.mjs → chunk-4PFU6A2B.mjs} +3 -3
  10. package/dist/{chunk-RLVOG5OQ.mjs.map → chunk-4PFU6A2B.mjs.map} +1 -1
  11. package/dist/{chunk-RFRXS4PC.mjs → chunk-5BEVTOZV.mjs} +4 -4
  12. package/dist/{chunk-RFRXS4PC.mjs.map → chunk-5BEVTOZV.mjs.map} +1 -1
  13. package/dist/{chunk-NCLZKVJK.js → chunk-5I7F7KZ6.js} +10 -10
  14. package/dist/{chunk-NCLZKVJK.js.map → chunk-5I7F7KZ6.js.map} +1 -1
  15. package/dist/{chunk-NAFWHJCM.mjs → chunk-6V3DUBOZ.mjs} +7 -7
  16. package/dist/{chunk-NAFWHJCM.mjs.map → chunk-6V3DUBOZ.mjs.map} +1 -1
  17. package/dist/{chunk-AL73YAV4.mjs → chunk-6W7VTZG6.mjs} +3 -3
  18. package/dist/{chunk-AL73YAV4.mjs.map → chunk-6W7VTZG6.mjs.map} +1 -1
  19. package/dist/{chunk-ERCDMBRT.js → chunk-74MHWEDC.js} +168 -167
  20. package/dist/chunk-74MHWEDC.js.map +1 -0
  21. package/dist/{chunk-CUWPLPVY.mjs → chunk-7CEZB3ZD.mjs} +3 -3
  22. package/dist/{chunk-CUWPLPVY.mjs.map → chunk-7CEZB3ZD.mjs.map} +1 -1
  23. package/dist/{chunk-QBFE7ABE.mjs → chunk-7UHV6A4C.mjs} +6 -6
  24. package/dist/{chunk-QBFE7ABE.mjs.map → chunk-7UHV6A4C.mjs.map} +1 -1
  25. package/dist/{chunk-TUQLZ4QD.js → chunk-A7FI4K7Z.js} +5 -5
  26. package/dist/{chunk-TUQLZ4QD.js.map → chunk-A7FI4K7Z.js.map} +1 -1
  27. package/dist/{chunk-RLLP7VQJ.js → chunk-AVM53A3Y.js} +63 -29
  28. package/dist/chunk-AVM53A3Y.js.map +1 -0
  29. package/dist/{chunk-FSBR4RCK.js → chunk-AWDH6WNA.js} +139 -109
  30. package/dist/chunk-AWDH6WNA.js.map +1 -0
  31. package/dist/{chunk-Y2AYFG4E.js → chunk-BVXATTTA.js} +4 -4
  32. package/dist/{chunk-Y2AYFG4E.js.map → chunk-BVXATTTA.js.map} +1 -1
  33. package/dist/{chunk-CF7GOUBQ.js → chunk-C4NRF2G2.js} +13 -13
  34. package/dist/{chunk-CF7GOUBQ.js.map → chunk-C4NRF2G2.js.map} +1 -1
  35. package/dist/{chunk-45QAUEYT.js → chunk-CY2MBKVG.js} +4 -4
  36. package/dist/{chunk-45QAUEYT.js.map → chunk-CY2MBKVG.js.map} +1 -1
  37. package/dist/{chunk-PGVZKMOA.js → chunk-FK3WDELF.js} +40 -40
  38. package/dist/{chunk-PGVZKMOA.js.map → chunk-FK3WDELF.js.map} +1 -1
  39. package/dist/{chunk-ZKSDDFHG.mjs → chunk-IOEQ2GET.mjs} +4 -4
  40. package/dist/{chunk-ZKSDDFHG.mjs.map → chunk-IOEQ2GET.mjs.map} +1 -1
  41. package/dist/{chunk-MO5FBVV3.js → chunk-NCDBNGIB.js} +62 -62
  42. package/dist/{chunk-MO5FBVV3.js.map → chunk-NCDBNGIB.js.map} +1 -1
  43. package/dist/{chunk-4GDWGWHY.mjs → chunk-NJ5RVWLA.mjs} +4 -4
  44. package/dist/{chunk-4GDWGWHY.mjs.map → chunk-NJ5RVWLA.mjs.map} +1 -1
  45. package/dist/{chunk-UJVDI66K.js → chunk-NKXQYFS7.js} +16 -16
  46. package/dist/{chunk-UJVDI66K.js.map → chunk-NKXQYFS7.js.map} +1 -1
  47. package/dist/{chunk-AGGOHPMZ.mjs → chunk-NOHHZ6FM.mjs} +139 -109
  48. package/dist/chunk-NOHHZ6FM.mjs.map +1 -0
  49. package/dist/{chunk-VV6SYMPM.mjs → chunk-OASC7NYV.mjs} +3 -3
  50. package/dist/{chunk-VV6SYMPM.mjs.map → chunk-OASC7NYV.mjs.map} +1 -1
  51. package/dist/{chunk-6MBWKOPF.js → chunk-P43PX75J.js} +33 -33
  52. package/dist/{chunk-6MBWKOPF.js.map → chunk-P43PX75J.js.map} +1 -1
  53. package/dist/{chunk-BW67WFHT.mjs → chunk-QLFSJ6HK.mjs} +3 -3
  54. package/dist/{chunk-BW67WFHT.mjs.map → chunk-QLFSJ6HK.mjs.map} +1 -1
  55. package/dist/{chunk-X3GW7UPN.mjs → chunk-QPSHM2JQ.mjs} +4 -4
  56. package/dist/{chunk-X3GW7UPN.mjs.map → chunk-QPSHM2JQ.mjs.map} +1 -1
  57. package/dist/{chunk-M7KSEUZR.js → chunk-QSMPKL27.js} +74 -74
  58. package/dist/{chunk-M7KSEUZR.js.map → chunk-QSMPKL27.js.map} +1 -1
  59. package/dist/{chunk-IDEM3DYF.mjs → chunk-UHMAKUON.mjs} +3 -3
  60. package/dist/{chunk-IDEM3DYF.mjs.map → chunk-UHMAKUON.mjs.map} +1 -1
  61. package/dist/{chunk-YV7F7IXG.js → chunk-V5VBYOF5.js} +36 -36
  62. package/dist/{chunk-YV7F7IXG.js.map → chunk-V5VBYOF5.js.map} +1 -1
  63. package/dist/{chunk-4ICEQJH4.js → chunk-VMGNQFRO.js} +53 -53
  64. package/dist/{chunk-4ICEQJH4.js.map → chunk-VMGNQFRO.js.map} +1 -1
  65. package/dist/{chunk-UE2RDQIK.js → chunk-Z7VY5M4T.js} +77 -77
  66. package/dist/{chunk-UE2RDQIK.js.map → chunk-Z7VY5M4T.js.map} +1 -1
  67. package/dist/{chunk-NVQWHJQH.mjs → chunk-ZM2Q2SMC.mjs} +3 -3
  68. package/dist/{chunk-NVQWHJQH.mjs.map → chunk-ZM2Q2SMC.mjs.map} +1 -1
  69. package/dist/index.js +721 -721
  70. package/dist/index.mjs +2 -2
  71. package/dist/platform/admin/index.js +11 -11
  72. package/dist/platform/admin/index.mjs +5 -5
  73. package/dist/platform/agents-workspace.js +7 -7
  74. package/dist/platform/agents-workspace.mjs +6 -6
  75. package/dist/platform/app-shell.js +4 -4
  76. package/dist/platform/app-shell.mjs +3 -3
  77. package/dist/platform/auth/index.js +28 -28
  78. package/dist/platform/auth/index.mjs +5 -5
  79. package/dist/platform/billing/index.js +4 -4
  80. package/dist/platform/billing/index.mjs +3 -3
  81. package/dist/platform/impersonation/index.js +4 -4
  82. package/dist/platform/impersonation/index.mjs +3 -3
  83. package/dist/platform/index.js +89 -89
  84. package/dist/platform/index.mjs +19 -19
  85. package/dist/platform/pages/index.js +318 -202
  86. package/dist/platform/pages/index.js.map +1 -1
  87. package/dist/platform/pages/index.mjs +144 -28
  88. package/dist/platform/pages/index.mjs.map +1 -1
  89. package/dist/platform/settings/index.js +8 -8
  90. package/dist/platform/settings/index.mjs +7 -7
  91. package/dist/platform/workflow-canvas-shell.js +5 -5
  92. package/dist/platform/workflow-canvas-shell.mjs +4 -4
  93. package/package.json +1 -1
  94. package/dist/astrlabe/contracts.d.mts +0 -517
  95. package/dist/astrlabe/contracts.d.ts +0 -517
  96. package/dist/astrlabe/graph-node.d.mts +0 -28
  97. package/dist/astrlabe/graph-node.d.ts +0 -28
  98. package/dist/astrlabe/index.d.mts +0 -743
  99. package/dist/astrlabe/index.d.ts +0 -743
  100. package/dist/astrlabe/utils.d.mts +0 -60
  101. package/dist/astrlabe/utils.d.ts +0 -60
  102. package/dist/astrlabe/workflow-canvas.d.mts +0 -6
  103. package/dist/astrlabe/workflow-canvas.d.ts +0 -6
  104. package/dist/astrlabe/workflow-preview-canvas.d.mts +0 -10
  105. package/dist/astrlabe/workflow-preview-canvas.d.ts +0 -10
  106. package/dist/billing-panel-DsHhhJqG.d.mts +0 -18
  107. package/dist/billing-panel-DsHhhJqG.d.ts +0 -18
  108. package/dist/brand/index.d.mts +0 -71
  109. package/dist/brand/index.d.ts +0 -71
  110. package/dist/chunk-AGGOHPMZ.mjs.map +0 -1
  111. package/dist/chunk-ERCDMBRT.js.map +0 -1
  112. package/dist/chunk-FSBR4RCK.js.map +0 -1
  113. package/dist/chunk-RLLP7VQJ.js.map +0 -1
  114. package/dist/chunk-SEYUYGER.mjs.map +0 -1
  115. package/dist/chunk-SQ4KGLBZ.mjs.map +0 -1
  116. package/dist/dynamic-island-confirm-BKsZkAEP.d.mts +0 -17
  117. package/dist/dynamic-island-confirm-BKsZkAEP.d.ts +0 -17
  118. package/dist/index-BNRGVAS5.d.mts +0 -222
  119. package/dist/index-BoebbJ44.d.mts +0 -49
  120. package/dist/index-BoebbJ44.d.ts +0 -49
  121. package/dist/index-CnCY-b5V.d.ts +0 -222
  122. package/dist/index.d.mts +0 -5263
  123. package/dist/index.d.ts +0 -5263
  124. package/dist/layout-engine-YZcVr20M.d.mts +0 -19
  125. package/dist/layout-engine-YZcVr20M.d.ts +0 -19
  126. package/dist/lib/i18n-context.d.mts +0 -36
  127. package/dist/lib/i18n-context.d.ts +0 -36
  128. package/dist/lib/router-context.d.mts +0 -35
  129. package/dist/lib/router-context.d.ts +0 -35
  130. package/dist/navigation-BiWVffAN.d.mts +0 -49
  131. package/dist/navigation-BiWVffAN.d.ts +0 -49
  132. package/dist/platform/admin/index.d.mts +0 -17
  133. package/dist/platform/admin/index.d.ts +0 -17
  134. package/dist/platform/agents-workspace.d.mts +0 -19
  135. package/dist/platform/agents-workspace.d.ts +0 -19
  136. package/dist/platform/app-shell.d.mts +0 -58
  137. package/dist/platform/app-shell.d.ts +0 -58
  138. package/dist/platform/auth/index.d.mts +0 -73
  139. package/dist/platform/auth/index.d.ts +0 -73
  140. package/dist/platform/billing/index.d.mts +0 -29
  141. package/dist/platform/billing/index.d.ts +0 -29
  142. package/dist/platform/impersonation/index.d.mts +0 -19
  143. package/dist/platform/impersonation/index.d.ts +0 -19
  144. package/dist/platform/index.d.mts +0 -188
  145. package/dist/platform/index.d.ts +0 -188
  146. package/dist/platform/pages/index.d.mts +0 -432
  147. package/dist/platform/pages/index.d.ts +0 -432
  148. package/dist/platform/rbac.d.mts +0 -42
  149. package/dist/platform/rbac.d.ts +0 -42
  150. package/dist/platform/settings/index.d.mts +0 -31
  151. package/dist/platform/settings/index.d.ts +0 -31
  152. package/dist/platform/telemetry/index.d.mts +0 -51
  153. package/dist/platform/telemetry/index.d.ts +0 -51
  154. package/dist/platform/utils/index.d.mts +0 -32
  155. package/dist/platform/utils/index.d.ts +0 -32
  156. package/dist/platform/windsock-admin-client.d.mts +0 -57
  157. package/dist/platform/windsock-admin-client.d.ts +0 -57
  158. package/dist/platform/workflow-api-client.d.mts +0 -6
  159. package/dist/platform/workflow-api-client.d.ts +0 -6
  160. package/dist/platform/workflow-canvas-shell.d.mts +0 -18
  161. package/dist/platform/workflow-canvas-shell.d.ts +0 -18
  162. package/dist/rule-form-BYJzyork.d.mts +0 -128
  163. package/dist/rule-form-BYJzyork.d.ts +0 -128
  164. package/dist/workflow-api-client-CpFl3WcG.d.mts +0 -468
  165. package/dist/workflow-api-client-uLICOanv.d.ts +0 -468
  166. package/dist/workflow-canvas--qaYKuMm.d.ts +0 -113
  167. package/dist/workflow-canvas-B80fmD_n.d.mts +0 -113
  168. package/dist/workflow-store-o17I6L6A.d.ts +0 -79
  169. package/dist/workflow-store-ppVHdMZi.d.mts +0 -79
@@ -1,32 +0,0 @@
1
- import { WorkflowGraph } from '@datatechsolutions/shared-domain/ports/workflow';
2
- import { WorkflowGraph as WorkflowGraph$1 } from '../../astrlabe/contracts.mjs';
3
-
4
- /** Formats a millisecond count as a short, human-readable duration string. */
5
- declare function formatDurationMs(ms: number | null | undefined): string;
6
-
7
- /**
8
- * Parses a JSON string into a typed value, returning undefined (not throwing)
9
- * on empty input or malformed JSON. Used by form builders where the user types
10
- * JSON into a textarea and we want to surface a friendly "couldn't parse" state
11
- * rather than crashing the submit handler.
12
- */
13
- declare function tryParseJson<T = unknown>(value: FormDataEntryValue | string | null | undefined): T | undefined;
14
- /** Parses JSON into an object record. Returns undefined if the result is not a plain object. */
15
- declare function tryParseJsonObject(value: FormDataEntryValue | string | null | undefined): Record<string, unknown> | undefined;
16
- /** Parses JSON into an array of records. Returns undefined if not a plain array. */
17
- declare function tryParseJsonArray(value: FormDataEntryValue | string | null | undefined): Array<Record<string, unknown>> | undefined;
18
-
19
- type ToolCategory = 'search' | 'code' | 'file' | 'web' | 'math' | 'custom';
20
- declare const TOOL_CATEGORY_VALUES: readonly ToolCategory[];
21
- /** Narrows a form value to a ToolCategory, returning undefined if not one of the known values. */
22
- declare function parseToolCategory(value: FormDataEntryValue | null | undefined): ToolCategory | undefined;
23
-
24
- declare function adaptWorkflowGraphToUi(graph: WorkflowGraph): WorkflowGraph$1;
25
-
26
- declare function getLambdaApiBase(): string;
27
- declare function buildLambdaApiUrl(path: string): string;
28
-
29
- declare function getAuthAppUrl(): string;
30
- declare function buildHostedAuthUrl(path: string, search?: string): string;
31
-
32
- export { TOOL_CATEGORY_VALUES, type ToolCategory, adaptWorkflowGraphToUi, buildHostedAuthUrl, buildLambdaApiUrl, formatDurationMs, getAuthAppUrl, getLambdaApiBase, parseToolCategory, tryParseJson, tryParseJsonArray, tryParseJsonObject };
@@ -1,32 +0,0 @@
1
- import { WorkflowGraph } from '@datatechsolutions/shared-domain/ports/workflow';
2
- import { WorkflowGraph as WorkflowGraph$1 } from '../../astrlabe/contracts.js';
3
-
4
- /** Formats a millisecond count as a short, human-readable duration string. */
5
- declare function formatDurationMs(ms: number | null | undefined): string;
6
-
7
- /**
8
- * Parses a JSON string into a typed value, returning undefined (not throwing)
9
- * on empty input or malformed JSON. Used by form builders where the user types
10
- * JSON into a textarea and we want to surface a friendly "couldn't parse" state
11
- * rather than crashing the submit handler.
12
- */
13
- declare function tryParseJson<T = unknown>(value: FormDataEntryValue | string | null | undefined): T | undefined;
14
- /** Parses JSON into an object record. Returns undefined if the result is not a plain object. */
15
- declare function tryParseJsonObject(value: FormDataEntryValue | string | null | undefined): Record<string, unknown> | undefined;
16
- /** Parses JSON into an array of records. Returns undefined if not a plain array. */
17
- declare function tryParseJsonArray(value: FormDataEntryValue | string | null | undefined): Array<Record<string, unknown>> | undefined;
18
-
19
- type ToolCategory = 'search' | 'code' | 'file' | 'web' | 'math' | 'custom';
20
- declare const TOOL_CATEGORY_VALUES: readonly ToolCategory[];
21
- /** Narrows a form value to a ToolCategory, returning undefined if not one of the known values. */
22
- declare function parseToolCategory(value: FormDataEntryValue | null | undefined): ToolCategory | undefined;
23
-
24
- declare function adaptWorkflowGraphToUi(graph: WorkflowGraph): WorkflowGraph$1;
25
-
26
- declare function getLambdaApiBase(): string;
27
- declare function buildLambdaApiUrl(path: string): string;
28
-
29
- declare function getAuthAppUrl(): string;
30
- declare function buildHostedAuthUrl(path: string, search?: string): string;
31
-
32
- export { TOOL_CATEGORY_VALUES, type ToolCategory, adaptWorkflowGraphToUi, buildHostedAuthUrl, buildLambdaApiUrl, formatDurationMs, getAuthAppUrl, getLambdaApiBase, parseToolCategory, tryParseJson, tryParseJsonArray, tryParseJsonObject };
@@ -1,57 +0,0 @@
1
- import { AuthOrganizationDomain, AuthOrganizationRole, AdminCreateOrganizationInput, AuthOrganization, AdminCreateInvitationInput, AdminCreatePermissionInput, AdminPermission, AdminCreateUserInput, AdminUserSummary, AuthOrganizationInvitation, AdminOrganizationMember, AdminListParams, AdminListResult, AdminClient, AdminUpdateOrganizationInput, AdminUpdatePermissionInput, AdminUpdateUserInput } from '@datatechsolutions/shared-domain';
2
-
3
- declare function setWindsockAdminClient(client: AdminClient, issuer: string, authFetch: typeof fetch): void;
4
- declare function listUsers(params?: AdminListParams): Promise<AdminListResult<AdminUserSummary>>;
5
- declare function createUser(data: AdminCreateUserInput): Promise<AdminUserSummary>;
6
- declare function updateUser(userId: string, data: AdminUpdateUserInput): Promise<void>;
7
- declare function deleteUser(userId: string): Promise<void>;
8
- declare function resetUserPassword(userId: string, password: string): Promise<void>;
9
- declare function listOrganizations(): Promise<AuthOrganization[]>;
10
- declare function createOrganization(data: AdminCreateOrganizationInput): Promise<AuthOrganization>;
11
- declare function updateOrganization(organizationId: string, data: AdminUpdateOrganizationInput): Promise<AuthOrganization>;
12
- declare function deleteOrganization(organizationId: string): Promise<void>;
13
- declare function listOrganizationMembers(organizationId: string): Promise<AdminOrganizationMember[]>;
14
- declare function addOrganizationMember(organizationId: string, userId: string, role?: AuthOrganizationRole): Promise<void>;
15
- declare function removeOrganizationMember(organizationId: string, userId: string): Promise<void>;
16
- declare function listOrganizationInvitations(organizationId: string): Promise<AuthOrganizationInvitation[]>;
17
- declare function createOrganizationInvitation(organizationId: string, data: AdminCreateInvitationInput): Promise<void>;
18
- declare function listOrganizationDomains(organizationId: string): Promise<AuthOrganizationDomain[]>;
19
- declare function addOrganizationDomain(organizationId: string, domain: string): Promise<AuthOrganizationDomain>;
20
- declare function verifyOrganizationDomain(organizationId: string, domain: string): Promise<void>;
21
- declare function listPermissions(): Promise<AdminPermission[]>;
22
- declare function createPermission(data: AdminCreatePermissionInput): Promise<AdminPermission>;
23
- declare function updatePermission(permissionId: string, data: AdminUpdatePermissionInput): Promise<void>;
24
- declare function deletePermission(permissionId: string): Promise<void>;
25
- declare function getUserPermissions(userId: string): Promise<AdminPermission[]>;
26
- declare function setUserPermissions(userId: string, permissionIds: string[]): Promise<void>;
27
- type SecretSummary = {
28
- secretId: string;
29
- name: string;
30
- secretType: string;
31
- description: string | null;
32
- expiresAt: string | null;
33
- createdAt: string;
34
- updatedAt: string;
35
- disabled: boolean;
36
- };
37
- type SecretDetail = SecretSummary & {
38
- value?: string;
39
- };
40
- type CreateSecretInput = {
41
- name: string;
42
- value: string;
43
- secretType?: string;
44
- description?: string;
45
- leaseTtlSeconds?: number;
46
- };
47
- type UpdateSecretInput = {
48
- value: string;
49
- leaseTtlSeconds?: number;
50
- };
51
- declare function listSecrets(organizationId: string): Promise<SecretSummary[]>;
52
- declare function getSecret(organizationId: string, secretId: string): Promise<SecretDetail>;
53
- declare function createSecret(organizationId: string, input: CreateSecretInput): Promise<SecretSummary>;
54
- declare function rotateSecret(organizationId: string, secretId: string, input: UpdateSecretInput): Promise<SecretSummary>;
55
- declare function disableSecret(organizationId: string, secretId: string): Promise<void>;
56
-
57
- export { type CreateSecretInput, type SecretDetail, type SecretSummary, type UpdateSecretInput, addOrganizationDomain, addOrganizationMember, createOrganization, createOrganizationInvitation, createPermission, createSecret, createUser, deleteOrganization, deletePermission, deleteUser, disableSecret, getSecret, getUserPermissions, listOrganizationDomains, listOrganizationInvitations, listOrganizationMembers, listOrganizations, listPermissions, listSecrets, listUsers, removeOrganizationMember, resetUserPassword, rotateSecret, setUserPermissions, setWindsockAdminClient, updateOrganization, updatePermission, updateUser, verifyOrganizationDomain };
@@ -1,57 +0,0 @@
1
- import { AuthOrganizationDomain, AuthOrganizationRole, AdminCreateOrganizationInput, AuthOrganization, AdminCreateInvitationInput, AdminCreatePermissionInput, AdminPermission, AdminCreateUserInput, AdminUserSummary, AuthOrganizationInvitation, AdminOrganizationMember, AdminListParams, AdminListResult, AdminClient, AdminUpdateOrganizationInput, AdminUpdatePermissionInput, AdminUpdateUserInput } from '@datatechsolutions/shared-domain';
2
-
3
- declare function setWindsockAdminClient(client: AdminClient, issuer: string, authFetch: typeof fetch): void;
4
- declare function listUsers(params?: AdminListParams): Promise<AdminListResult<AdminUserSummary>>;
5
- declare function createUser(data: AdminCreateUserInput): Promise<AdminUserSummary>;
6
- declare function updateUser(userId: string, data: AdminUpdateUserInput): Promise<void>;
7
- declare function deleteUser(userId: string): Promise<void>;
8
- declare function resetUserPassword(userId: string, password: string): Promise<void>;
9
- declare function listOrganizations(): Promise<AuthOrganization[]>;
10
- declare function createOrganization(data: AdminCreateOrganizationInput): Promise<AuthOrganization>;
11
- declare function updateOrganization(organizationId: string, data: AdminUpdateOrganizationInput): Promise<AuthOrganization>;
12
- declare function deleteOrganization(organizationId: string): Promise<void>;
13
- declare function listOrganizationMembers(organizationId: string): Promise<AdminOrganizationMember[]>;
14
- declare function addOrganizationMember(organizationId: string, userId: string, role?: AuthOrganizationRole): Promise<void>;
15
- declare function removeOrganizationMember(organizationId: string, userId: string): Promise<void>;
16
- declare function listOrganizationInvitations(organizationId: string): Promise<AuthOrganizationInvitation[]>;
17
- declare function createOrganizationInvitation(organizationId: string, data: AdminCreateInvitationInput): Promise<void>;
18
- declare function listOrganizationDomains(organizationId: string): Promise<AuthOrganizationDomain[]>;
19
- declare function addOrganizationDomain(organizationId: string, domain: string): Promise<AuthOrganizationDomain>;
20
- declare function verifyOrganizationDomain(organizationId: string, domain: string): Promise<void>;
21
- declare function listPermissions(): Promise<AdminPermission[]>;
22
- declare function createPermission(data: AdminCreatePermissionInput): Promise<AdminPermission>;
23
- declare function updatePermission(permissionId: string, data: AdminUpdatePermissionInput): Promise<void>;
24
- declare function deletePermission(permissionId: string): Promise<void>;
25
- declare function getUserPermissions(userId: string): Promise<AdminPermission[]>;
26
- declare function setUserPermissions(userId: string, permissionIds: string[]): Promise<void>;
27
- type SecretSummary = {
28
- secretId: string;
29
- name: string;
30
- secretType: string;
31
- description: string | null;
32
- expiresAt: string | null;
33
- createdAt: string;
34
- updatedAt: string;
35
- disabled: boolean;
36
- };
37
- type SecretDetail = SecretSummary & {
38
- value?: string;
39
- };
40
- type CreateSecretInput = {
41
- name: string;
42
- value: string;
43
- secretType?: string;
44
- description?: string;
45
- leaseTtlSeconds?: number;
46
- };
47
- type UpdateSecretInput = {
48
- value: string;
49
- leaseTtlSeconds?: number;
50
- };
51
- declare function listSecrets(organizationId: string): Promise<SecretSummary[]>;
52
- declare function getSecret(organizationId: string, secretId: string): Promise<SecretDetail>;
53
- declare function createSecret(organizationId: string, input: CreateSecretInput): Promise<SecretSummary>;
54
- declare function rotateSecret(organizationId: string, secretId: string, input: UpdateSecretInput): Promise<SecretSummary>;
55
- declare function disableSecret(organizationId: string, secretId: string): Promise<void>;
56
-
57
- export { type CreateSecretInput, type SecretDetail, type SecretSummary, type UpdateSecretInput, addOrganizationDomain, addOrganizationMember, createOrganization, createOrganizationInvitation, createPermission, createSecret, createUser, deleteOrganization, deletePermission, deleteUser, disableSecret, getSecret, getUserPermissions, listOrganizationDomains, listOrganizationInvitations, listOrganizationMembers, listOrganizations, listPermissions, listSecrets, listUsers, removeOrganizationMember, resetUserPassword, rotateSecret, setUserPermissions, setWindsockAdminClient, updateOrganization, updatePermission, updateUser, verifyOrganizationDomain };
@@ -1,6 +0,0 @@
1
- import '../astrlabe/contracts.mjs';
2
- import '../index-BNRGVAS5.mjs';
3
- import '@datatechsolutions/shared-domain/ports/workflow';
4
- import '@datatechsolutions/shared-domain/common';
5
- export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ApprovalDecision, k as ApprovalResponse, l as ModelFamilyCatalogEntry, m as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics, n as NodeValidationIssue, P as PresignUploadInput, o as PresignedUpload, p as PublicSampleWorkflow, q as RunEvent, r as RunSubscriptionState, R as RunTimelineEntry, W as WorkflowRunListParams, s as WorkflowTemplateSummary, t as aiGenerateWorkflow, u as aiValidateWorkflow, v as buildAuthenticatedApiUrl, w as cancelWorkflowRun, x as createAgentConfig, y as createAgentPrompt, z as createAgentRule, B as createAgentTool, C as createAgentToolDefinition, E as createDatasource, F as createModelProviderConnection, G as createWorkflow, H as createWorkflowFromTemplate, I as deleteAgentConfig, J as deleteAgentPrompt, K as deleteAgentRule, L as deleteAgentTool, O as deleteAgentToolDefinition, Q as deleteModelProviderConnection, S as deleteUpload, T as deleteWorkflow, U as executeAgentRule, V as executeWorkflow, X as getAgentConfigsWithPrompts, Y as getAgentModels, Z as getAgentPrompts, _ as getAgentRules, $ as getAgentToolDefinitions, a0 as getAgentTools, a1 as getAnalyticsSummary, a2 as getCurrentAccessToken, a3 as getDatasourceSchema, a4 as getDatasourceTables, a5 as getDatasources, a6 as getPublicSampleWorkflow, a7 as getRunTimeline, a8 as getUploadDownloadUrl, a9 as getWorkflowById, aa as getWorkflowRunById, ab as getWorkflowRuns, ac as getWorkflows, ad as listModelProviderCatalog, ae as listModelProviderConnections, af as listWorkflowRuns, ag as listWorkflowTemplates, ah as presignUpload, ai as publishWorkflow, aj as replayWorkflowRun, ak as saveWorkflowDraft, al as setAccessTokenProvider, am as setAuthenticatedFetch, an as submitApproval, ao as subscribeToRunEvents, ap as updateAgentConfig, aq as updateAgentPrompt, ar as updateAgentRule, as as updateAgentTool, at as updateAgentToolDefinition, au as updateModelProviderConnection, av as updateWorkflowSettings } from '../workflow-api-client-CpFl3WcG.mjs';
6
- import 'react/jsx-runtime';
@@ -1,6 +0,0 @@
1
- import '../astrlabe/contracts.js';
2
- import '../index-CnCY-b5V.js';
3
- import '@datatechsolutions/shared-domain/ports/workflow';
4
- import '@datatechsolutions/shared-domain/common';
5
- export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ApprovalDecision, k as ApprovalResponse, l as ModelFamilyCatalogEntry, m as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics, n as NodeValidationIssue, P as PresignUploadInput, o as PresignedUpload, p as PublicSampleWorkflow, q as RunEvent, r as RunSubscriptionState, R as RunTimelineEntry, W as WorkflowRunListParams, s as WorkflowTemplateSummary, t as aiGenerateWorkflow, u as aiValidateWorkflow, v as buildAuthenticatedApiUrl, w as cancelWorkflowRun, x as createAgentConfig, y as createAgentPrompt, z as createAgentRule, B as createAgentTool, C as createAgentToolDefinition, E as createDatasource, F as createModelProviderConnection, G as createWorkflow, H as createWorkflowFromTemplate, I as deleteAgentConfig, J as deleteAgentPrompt, K as deleteAgentRule, L as deleteAgentTool, O as deleteAgentToolDefinition, Q as deleteModelProviderConnection, S as deleteUpload, T as deleteWorkflow, U as executeAgentRule, V as executeWorkflow, X as getAgentConfigsWithPrompts, Y as getAgentModels, Z as getAgentPrompts, _ as getAgentRules, $ as getAgentToolDefinitions, a0 as getAgentTools, a1 as getAnalyticsSummary, a2 as getCurrentAccessToken, a3 as getDatasourceSchema, a4 as getDatasourceTables, a5 as getDatasources, a6 as getPublicSampleWorkflow, a7 as getRunTimeline, a8 as getUploadDownloadUrl, a9 as getWorkflowById, aa as getWorkflowRunById, ab as getWorkflowRuns, ac as getWorkflows, ad as listModelProviderCatalog, ae as listModelProviderConnections, af as listWorkflowRuns, ag as listWorkflowTemplates, ah as presignUpload, ai as publishWorkflow, aj as replayWorkflowRun, ak as saveWorkflowDraft, al as setAccessTokenProvider, am as setAuthenticatedFetch, an as submitApproval, ao as subscribeToRunEvents, ap as updateAgentConfig, aq as updateAgentPrompt, ar as updateAgentRule, as as updateAgentTool, at as updateAgentToolDefinition, au as updateModelProviderConnection, av as updateWorkflowSettings } from '../workflow-api-client-uLICOanv.js';
6
- import 'react/jsx-runtime';
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { WorkflowCanvasShellProps } from '@datatechsolutions/shared-domain/common';
3
-
4
- /**
5
- * Workflow canvas shell with optional message bundle override.
6
- *
7
- * Most apps wrap their tree in `<I18nProvider>` and let the canvas read
8
- * messages from context — in that case `messages` can be omitted. Apps
9
- * that need to inject a precomputed bundle (e.g. for tests or app-specific
10
- * overrides not shipped with shared-domain) can pass it explicitly.
11
- */
12
- type Props = WorkflowCanvasShellProps & {
13
- /** Optional override for the messages catalog passed into the canvas. */
14
- messages?: Record<string, unknown>;
15
- };
16
- declare function WorkflowCanvasShell({ graph, messages }: Props): react_jsx_runtime.JSX.Element;
17
-
18
- export { WorkflowCanvasShell };
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { WorkflowCanvasShellProps } from '@datatechsolutions/shared-domain/common';
3
-
4
- /**
5
- * Workflow canvas shell with optional message bundle override.
6
- *
7
- * Most apps wrap their tree in `<I18nProvider>` and let the canvas read
8
- * messages from context — in that case `messages` can be omitted. Apps
9
- * that need to inject a precomputed bundle (e.g. for tests or app-specific
10
- * overrides not shipped with shared-domain) can pass it explicitly.
11
- */
12
- type Props = WorkflowCanvasShellProps & {
13
- /** Optional override for the messages catalog passed into the canvas. */
14
- messages?: Record<string, unknown>;
15
- };
16
- declare function WorkflowCanvasShell({ graph, messages }: Props): react_jsx_runtime.JSX.Element;
17
-
18
- export { WorkflowCanvasShell };
@@ -1,128 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- type ExecutionTimelineStatus = 'completed' | 'running' | 'failed' | 'pending' | 'skipped';
4
- type ExecutionTimelineMetrics = {
5
- tokensIn?: number;
6
- tokensOut?: number;
7
- costUsd?: number;
8
- provider?: string;
9
- model?: string;
10
- };
11
- type ExecutionTimelineEntry = {
12
- nodeId: string;
13
- nodeType: string;
14
- status: ExecutionTimelineStatus;
15
- startedAt: string | null;
16
- completedAt: string | null;
17
- durationMs: number | null;
18
- inputs?: Record<string, unknown>;
19
- outputs?: Record<string, unknown>;
20
- error?: string | null;
21
- metrics?: ExecutionTimelineMetrics;
22
- };
23
- type ExecutionTimelineLabels = {
24
- status: string;
25
- duration: string;
26
- inputs: string;
27
- outputs: string;
28
- error: string;
29
- started: string;
30
- completed: string;
31
- pending: string;
32
- running: string;
33
- failed: string;
34
- skipped: string;
35
- selectNode: string;
36
- model: string;
37
- tokens: string;
38
- cost: string;
39
- /** Used as the empty-state heading when `entries` is empty. */
40
- empty?: string;
41
- };
42
- type ExecutionTimelinePanelProps = {
43
- entries: ExecutionTimelineEntry[];
44
- labels: ExecutionTimelineLabels;
45
- /** When set, drives selection from the parent. Useful when the page
46
- * syncs the selection with a URL query param. */
47
- selectedNodeId?: string;
48
- onSelect?: (nodeId: string) => void;
49
- };
50
- declare function ExecutionTimelinePanel({ entries, labels, selectedNodeId, onSelect, }: ExecutionTimelinePanelProps): react_jsx_runtime.JSX.Element;
51
-
52
- /**
53
- * Rule editing types.
54
- *
55
- * Mirrors the shape the Rust `RuleExecutor`
56
- * (`lambda-rs/crates/astrlabe-handlers/src/engine/executors/rule.rs`) reads
57
- * from `astrlabe.agent_rules.condition` + `action`. The UI builder below
58
- * writes exactly this shape, so round-tripping through the backend is a
59
- * no-op.
60
- */
61
- type SimpleComparisonOperator = 'truthy' | 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains';
62
- type RuleConditionOperator = SimpleComparisonOperator | 'regex_match' | 'threshold' | 'time_window' | 'boolean_expression';
63
- type TimeWindow = {
64
- startHour: number;
65
- endHour: number;
66
- startMinute?: number;
67
- endMinute?: number;
68
- /** 0 = Sunday, 6 = Saturday. Omit to match every day. */
69
- daysOfWeek?: number[];
70
- };
71
- /**
72
- * Canonical rule-condition shape. The executor branches on `operator`,
73
- * so every form tree ultimately serializes to this.
74
- */
75
- type RuleCondition = {
76
- operator: RuleConditionOperator;
77
- /** Simple operators + regex_match + threshold + time_window */
78
- field?: string;
79
- /** Simple operators + threshold */
80
- value?: string | number | boolean | null;
81
- /** regex_match */
82
- pattern?: string;
83
- /** threshold — which direction `value` is compared in. */
84
- comparison?: 'gt' | 'gte' | 'lt' | 'lte';
85
- /** time_window */
86
- timezone?: string;
87
- windows?: TimeWindow[];
88
- /** boolean_expression */
89
- combinator?: 'and' | 'or';
90
- operands?: RuleCondition[];
91
- };
92
- type RuleAction = {
93
- type: string;
94
- params?: Record<string, unknown>;
95
- };
96
- /** `agent_rules.status` free-form string — keep the UI picker aligned
97
- * with the values the engine / audit trail recognizes today. */
98
- declare const RULE_STATUS_OPTIONS: readonly ["draft", "active", "archived"];
99
- type RuleStatus = (typeof RULE_STATUS_OPTIONS)[number];
100
- declare const TIMEZONE_OPTIONS: readonly ["UTC", "America/Sao_Paulo", "America/New_York", "America/Los_Angeles", "Europe/London", "Europe/Lisbon"];
101
-
102
- type RuleFormValue = {
103
- ruleId?: string;
104
- name: string;
105
- description?: string;
106
- enabled: boolean;
107
- priority: number;
108
- status?: RuleStatus;
109
- validFrom?: string | null;
110
- validUntil?: string | null;
111
- tags?: string[];
112
- condition: RuleCondition;
113
- action: RuleAction;
114
- };
115
- type Props = {
116
- value: RuleFormValue;
117
- onChange: (next: RuleFormValue) => void;
118
- };
119
- /**
120
- * Full-field rule editor used inside the create/edit modal. Composes the
121
- * visual condition + action builders and exposes the schedule / tagging /
122
- * lifecycle fields that the `agent_rules` entity has but the old JSON-
123
- * textarea form never surfaced.
124
- */
125
- declare function RuleForm({ value, onChange }: Props): react_jsx_runtime.JSX.Element;
126
- declare function defaultRuleForm(): RuleFormValue;
127
-
128
- export { type ExecutionTimelineLabels as E, type RuleFormValue as R, TIMEZONE_OPTIONS as T, type RuleCondition as a, type RuleAction as b, type ExecutionTimelineEntry as c, type ExecutionTimelineMetrics as d, ExecutionTimelinePanel as e, type ExecutionTimelinePanelProps as f, type ExecutionTimelineStatus as g, RULE_STATUS_OPTIONS as h, type RuleConditionOperator as i, RuleForm as j, type RuleStatus as k, type TimeWindow as l, defaultRuleForm as m };
@@ -1,128 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- type ExecutionTimelineStatus = 'completed' | 'running' | 'failed' | 'pending' | 'skipped';
4
- type ExecutionTimelineMetrics = {
5
- tokensIn?: number;
6
- tokensOut?: number;
7
- costUsd?: number;
8
- provider?: string;
9
- model?: string;
10
- };
11
- type ExecutionTimelineEntry = {
12
- nodeId: string;
13
- nodeType: string;
14
- status: ExecutionTimelineStatus;
15
- startedAt: string | null;
16
- completedAt: string | null;
17
- durationMs: number | null;
18
- inputs?: Record<string, unknown>;
19
- outputs?: Record<string, unknown>;
20
- error?: string | null;
21
- metrics?: ExecutionTimelineMetrics;
22
- };
23
- type ExecutionTimelineLabels = {
24
- status: string;
25
- duration: string;
26
- inputs: string;
27
- outputs: string;
28
- error: string;
29
- started: string;
30
- completed: string;
31
- pending: string;
32
- running: string;
33
- failed: string;
34
- skipped: string;
35
- selectNode: string;
36
- model: string;
37
- tokens: string;
38
- cost: string;
39
- /** Used as the empty-state heading when `entries` is empty. */
40
- empty?: string;
41
- };
42
- type ExecutionTimelinePanelProps = {
43
- entries: ExecutionTimelineEntry[];
44
- labels: ExecutionTimelineLabels;
45
- /** When set, drives selection from the parent. Useful when the page
46
- * syncs the selection with a URL query param. */
47
- selectedNodeId?: string;
48
- onSelect?: (nodeId: string) => void;
49
- };
50
- declare function ExecutionTimelinePanel({ entries, labels, selectedNodeId, onSelect, }: ExecutionTimelinePanelProps): react_jsx_runtime.JSX.Element;
51
-
52
- /**
53
- * Rule editing types.
54
- *
55
- * Mirrors the shape the Rust `RuleExecutor`
56
- * (`lambda-rs/crates/astrlabe-handlers/src/engine/executors/rule.rs`) reads
57
- * from `astrlabe.agent_rules.condition` + `action`. The UI builder below
58
- * writes exactly this shape, so round-tripping through the backend is a
59
- * no-op.
60
- */
61
- type SimpleComparisonOperator = 'truthy' | 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains';
62
- type RuleConditionOperator = SimpleComparisonOperator | 'regex_match' | 'threshold' | 'time_window' | 'boolean_expression';
63
- type TimeWindow = {
64
- startHour: number;
65
- endHour: number;
66
- startMinute?: number;
67
- endMinute?: number;
68
- /** 0 = Sunday, 6 = Saturday. Omit to match every day. */
69
- daysOfWeek?: number[];
70
- };
71
- /**
72
- * Canonical rule-condition shape. The executor branches on `operator`,
73
- * so every form tree ultimately serializes to this.
74
- */
75
- type RuleCondition = {
76
- operator: RuleConditionOperator;
77
- /** Simple operators + regex_match + threshold + time_window */
78
- field?: string;
79
- /** Simple operators + threshold */
80
- value?: string | number | boolean | null;
81
- /** regex_match */
82
- pattern?: string;
83
- /** threshold — which direction `value` is compared in. */
84
- comparison?: 'gt' | 'gte' | 'lt' | 'lte';
85
- /** time_window */
86
- timezone?: string;
87
- windows?: TimeWindow[];
88
- /** boolean_expression */
89
- combinator?: 'and' | 'or';
90
- operands?: RuleCondition[];
91
- };
92
- type RuleAction = {
93
- type: string;
94
- params?: Record<string, unknown>;
95
- };
96
- /** `agent_rules.status` free-form string — keep the UI picker aligned
97
- * with the values the engine / audit trail recognizes today. */
98
- declare const RULE_STATUS_OPTIONS: readonly ["draft", "active", "archived"];
99
- type RuleStatus = (typeof RULE_STATUS_OPTIONS)[number];
100
- declare const TIMEZONE_OPTIONS: readonly ["UTC", "America/Sao_Paulo", "America/New_York", "America/Los_Angeles", "Europe/London", "Europe/Lisbon"];
101
-
102
- type RuleFormValue = {
103
- ruleId?: string;
104
- name: string;
105
- description?: string;
106
- enabled: boolean;
107
- priority: number;
108
- status?: RuleStatus;
109
- validFrom?: string | null;
110
- validUntil?: string | null;
111
- tags?: string[];
112
- condition: RuleCondition;
113
- action: RuleAction;
114
- };
115
- type Props = {
116
- value: RuleFormValue;
117
- onChange: (next: RuleFormValue) => void;
118
- };
119
- /**
120
- * Full-field rule editor used inside the create/edit modal. Composes the
121
- * visual condition + action builders and exposes the schedule / tagging /
122
- * lifecycle fields that the `agent_rules` entity has but the old JSON-
123
- * textarea form never surfaced.
124
- */
125
- declare function RuleForm({ value, onChange }: Props): react_jsx_runtime.JSX.Element;
126
- declare function defaultRuleForm(): RuleFormValue;
127
-
128
- export { type ExecutionTimelineLabels as E, type RuleFormValue as R, TIMEZONE_OPTIONS as T, type RuleCondition as a, type RuleAction as b, type ExecutionTimelineEntry as c, type ExecutionTimelineMetrics as d, ExecutionTimelinePanel as e, type ExecutionTimelinePanelProps as f, type ExecutionTimelineStatus as g, RULE_STATUS_OPTIONS as h, type RuleConditionOperator as i, RuleForm as j, type RuleStatus as k, type TimeWindow as l, defaultRuleForm as m };