@elevasis/ui 2.17.2 → 2.19.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 (63) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/app/index.js +5 -5
  3. package/dist/charts/index.js +3 -3
  4. package/dist/chunk-3JCMO7SD.js +14 -0
  5. package/dist/{chunk-TP5NMF6K.js → chunk-46Z2VHY3.js} +4 -4
  6. package/dist/{chunk-FNWWVX5N.js → chunk-5SCVXZPM.js} +358 -188
  7. package/dist/{chunk-TTP62HWW.js → chunk-BHR7IV72.js} +10 -15
  8. package/dist/{chunk-MJ6YV2B5.js → chunk-CTTY6FUT.js} +2 -2
  9. package/dist/{chunk-P3TFNFZS.js → chunk-EUWBY43Z.js} +2 -2
  10. package/dist/{chunk-MDO4UCEJ.js → chunk-IBOX2M24.js} +47 -82
  11. package/dist/{chunk-HH3RNG2O.js → chunk-JEQM67SO.js} +307 -173
  12. package/dist/{chunk-2TDZBYXI.js → chunk-LR5CRY5A.js} +1 -1
  13. package/dist/{chunk-JU6UB4YA.js → chunk-LVCJ2H2T.js} +4 -4
  14. package/dist/{chunk-GRGRBWIO.js → chunk-M7W7CGPL.js} +1 -1
  15. package/dist/{chunk-34NQLV2W.js → chunk-MJAKU2WA.js} +3 -3
  16. package/dist/{chunk-OCCZRPER.js → chunk-Q4QJOSVS.js} +1 -1
  17. package/dist/{chunk-R73EHHPN.js → chunk-Q5HC6ENG.js} +18 -2
  18. package/dist/{chunk-VDM6DQES.js → chunk-R7OJCNL3.js} +1 -1
  19. package/dist/{chunk-6RWMRQN5.js → chunk-TIIPYB2Z.js} +1 -1
  20. package/dist/{chunk-ABUDMATM.js → chunk-TKEKYPZA.js} +6 -6
  21. package/dist/{chunk-R7GKX4HW.js → chunk-UU6PJ4EJ.js} +192 -82
  22. package/dist/{chunk-7L42RRHZ.js → chunk-Y7TDUZEH.js} +221 -514
  23. package/dist/{chunk-7GCWOUFT.js → chunk-YVAXWM3W.js} +73 -121
  24. package/dist/components/index.d.ts +219 -2810
  25. package/dist/components/index.js +41 -27
  26. package/dist/features/crm/index.d.ts +54 -53
  27. package/dist/features/crm/index.js +11 -11
  28. package/dist/features/dashboard/index.js +12 -12
  29. package/dist/features/delivery/index.d.ts +2642 -2605
  30. package/dist/features/delivery/index.js +11 -11
  31. package/dist/features/lead-gen/index.d.ts +152 -16
  32. package/dist/features/lead-gen/index.js +11 -22
  33. package/dist/features/monitoring/index.js +13 -13
  34. package/dist/features/monitoring/requests/index.d.ts +38 -27
  35. package/dist/features/monitoring/requests/index.js +212 -106
  36. package/dist/features/operations/index.d.ts +9 -26
  37. package/dist/features/operations/index.js +15 -15
  38. package/dist/features/settings/index.d.ts +36 -37
  39. package/dist/features/settings/index.js +12 -12
  40. package/dist/hooks/delivery/index.d.ts +2712 -2699
  41. package/dist/hooks/delivery/index.js +2 -2
  42. package/dist/hooks/index.d.ts +1997 -4627
  43. package/dist/hooks/index.js +10 -10
  44. package/dist/hooks/published.d.ts +1997 -4627
  45. package/dist/hooks/published.js +10 -10
  46. package/dist/index.d.ts +1124 -3673
  47. package/dist/index.js +11 -11
  48. package/dist/layout/index.d.ts +14 -2
  49. package/dist/layout/index.js +1 -1
  50. package/dist/provider/index.d.ts +320 -249
  51. package/dist/provider/index.js +8 -8
  52. package/dist/provider/published.d.ts +320 -249
  53. package/dist/provider/published.js +5 -5
  54. package/dist/sse/index.d.ts +1 -6
  55. package/dist/theme/index.js +2 -2
  56. package/dist/types/index.d.ts +1608 -2487
  57. package/dist/utils/index.d.ts +32 -1
  58. package/dist/utils/index.js +1 -1
  59. package/dist/zustand/index.d.ts +4 -8
  60. package/dist/zustand/index.js +2 -2
  61. package/package.json +4 -4
  62. package/dist/chunk-ADSSLKKP.js +0 -10
  63. /package/dist/{chunk-GCBWGGI6.js → chunk-OD7GWIZS.js} +0 -0
@@ -2671,6 +2671,21 @@ interface MembershipFeatureConfig {
2671
2671
  features?: Record<string, boolean>;
2672
2672
  }
2673
2673
 
2674
+ /**
2675
+ * GET /api/credentials - List credentials
2676
+ */
2677
+ declare const ListCredentialsResponseSchema: z.ZodObject<{
2678
+ credentials: z.ZodArray<z.ZodObject<{
2679
+ id: z.ZodString;
2680
+ name: z.ZodString;
2681
+ type: z.ZodString;
2682
+ provider: z.ZodNullable<z.ZodString>;
2683
+ createdAt: z.ZodString;
2684
+ }, z.core.$strip>>;
2685
+ }, z.core.$strip>;
2686
+ /** API response type for a single credential list item */
2687
+ type CredentialListItem = z.infer<typeof ListCredentialsResponseSchema>['credentials'][number];
2688
+
2674
2689
  /**
2675
2690
  * Minimal WorkOS user shape required by AccountSettings.
2676
2691
  * The CC wrapper extracts these fields from useAuth() and threads them as props.
@@ -2727,25 +2742,27 @@ interface WebhookEndpointSettingsProps {
2727
2742
  }
2728
2743
  declare function WebhookEndpointSettings({ apiUrl }: WebhookEndpointSettingsProps): react_jsx_runtime.JSX.Element;
2729
2744
 
2730
- /**
2731
- * Response shape for a single webhook endpoint.
2732
- * NOT strict — response schemas allow extra fields for forward compatibility.
2733
- */
2734
- declare const WebhookEndpointResponseSchema = z.object({
2735
- id: UuidSchema,
2736
- organizationId: UuidSchema,
2737
- key: z.string(),
2738
- name: z.string(),
2739
- description: z.string().nullable(),
2740
- resourceId: z.string().nullable(),
2741
- status: WebhookEndpointStatusSchema,
2742
- lastTriggeredAt: z.string().datetime().nullable(),
2743
- requestCount: z.number().int().min(0),
2744
- createdAt: z.string().datetime(),
2745
- updatedAt: z.string().datetime()
2746
- })
2747
-
2748
- type WebhookEndpointResponse = z.infer<typeof WebhookEndpointResponseSchema>
2745
+ /**
2746
+ * Response shape for a single webhook endpoint.
2747
+ * NOT strict — response schemas allow extra fields for forward compatibility.
2748
+ */
2749
+ declare const WebhookEndpointResponseSchema: z.ZodObject<{
2750
+ id: z.ZodString;
2751
+ organizationId: z.ZodString;
2752
+ key: z.ZodString;
2753
+ name: z.ZodString;
2754
+ description: z.ZodNullable<z.ZodString>;
2755
+ resourceId: z.ZodNullable<z.ZodString>;
2756
+ status: z.ZodEnum<{
2757
+ active: "active";
2758
+ paused: "paused";
2759
+ }>;
2760
+ lastTriggeredAt: z.ZodNullable<z.ZodString>;
2761
+ requestCount: z.ZodNumber;
2762
+ createdAt: z.ZodString;
2763
+ updatedAt: z.ZodString;
2764
+ }, z.core.$strip>;
2765
+ type WebhookEndpointResponse = z.infer<typeof WebhookEndpointResponseSchema>;
2749
2766
 
2750
2767
  interface WebhookEndpointListProps {
2751
2768
  endpoints: WebhookEndpointResponse[];
@@ -2817,24 +2834,6 @@ interface MemberConfigModalProps {
2817
2834
  }
2818
2835
  declare function MemberConfigModal({ opened, onClose, member }: MemberConfigModalProps): react_jsx_runtime.JSX.Element | null;
2819
2836
 
2820
- /**
2821
- * GET /api/credentials - List credentials
2822
- */
2823
- declare const ListCredentialsResponseSchema = z.object({
2824
- credentials: z.array(
2825
- z.object({
2826
- id: UuidSchema,
2827
- name: z.string(),
2828
- type: z.string(),
2829
- provider: z.string().nullable(), // OAuth provider or null for non-OAuth
2830
- createdAt: z.string().datetime()
2831
- })
2832
- )
2833
- })
2834
-
2835
- /** API response type for a single credential list item */
2836
- type CredentialListItem = z.infer<typeof ListCredentialsResponseSchema>['credentials'][number]
2837
-
2838
2837
  interface EditCredentialModalProps {
2839
2838
  /** Base API URL used to construct the OAuth authorize endpoint. */
2840
2839
  apiUrl: string;
@@ -1,27 +1,27 @@
1
- export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-7GCWOUFT.js';
1
+ export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-YVAXWM3W.js';
2
2
  import '../../chunk-M25JL54Z.js';
3
3
  import '../../chunk-PDHTXPSF.js';
4
4
  import '../../chunk-GBMNCNHX.js';
5
- import '../../chunk-6RWMRQN5.js';
5
+ import '../../chunk-TIIPYB2Z.js';
6
6
  import '../../chunk-7M2VOCYN.js';
7
- import '../../chunk-R7GKX4HW.js';
7
+ import '../../chunk-UU6PJ4EJ.js';
8
8
  import '../../chunk-BRXELOHC.js';
9
9
  import '../../chunk-QSTH6T77.js';
10
- import '../../chunk-GRGRBWIO.js';
10
+ import '../../chunk-M7W7CGPL.js';
11
11
  import '../../chunk-22UVE3RA.js';
12
12
  import '../../chunk-3ZMAGTWF.js';
13
- import '../../chunk-OCCZRPER.js';
14
- import '../../chunk-34NQLV2W.js';
15
- import '../../chunk-R73EHHPN.js';
13
+ import '../../chunk-Q4QJOSVS.js';
14
+ import '../../chunk-MJAKU2WA.js';
15
+ import '../../chunk-Q5HC6ENG.js';
16
16
  import '../../chunk-WLOQ4IBG.js';
17
- import '../../chunk-2TDZBYXI.js';
18
- import '../../chunk-P3TFNFZS.js';
17
+ import '../../chunk-LR5CRY5A.js';
18
+ import '../../chunk-EUWBY43Z.js';
19
19
  import '../../chunk-RX4UWZZR.js';
20
- import '../../chunk-TTP62HWW.js';
20
+ import '../../chunk-BHR7IV72.js';
21
21
  import '../../chunk-SZHARWKU.js';
22
22
  import '../../chunk-3KMDHCAR.js';
23
23
  import '../../chunk-NYBEU5TE.js';
24
- import '../../chunk-VDM6DQES.js';
24
+ import '../../chunk-R7OJCNL3.js';
25
25
  import '../../chunk-2IFYDILW.js';
26
26
  import '../../chunk-Q7DJKLEN.js';
27
27
  import '../../chunk-7YQKVWSD.js';
@@ -30,7 +30,7 @@ import '../../chunk-QJ2KCHKX.js';
30
30
  import '../../chunk-HQ7M6PBW.js';
31
31
  import '../../chunk-DT3QYZVU.js';
32
32
  import '../../chunk-RNP5R5I3.js';
33
- import '../../chunk-GCBWGGI6.js';
33
+ import '../../chunk-OD7GWIZS.js';
34
34
  import '../../chunk-KRWALB24.js';
35
35
  import '../../chunk-SLH2QLKV.js';
36
36
  import '../../chunk-DK2HVHCY.js';