@meshery/schemas 1.0.3 → 1.0.4

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.
@@ -2586,17 +2586,27 @@ type GetWorkspacesApiResponse = {
2586
2586
  page?: number;
2587
2587
  page_size?: number;
2588
2588
  total_count?: number;
2589
- /** The workspaces of the workspacepage. */
2589
+ /** List of workspaces with resolved owner details. */
2590
2590
  workspaces?: {
2591
2591
  id?: string;
2592
+ /** Name of the workspace. */
2592
2593
  name?: string;
2594
+ /** Description of the workspace. */
2593
2595
  description?: string;
2594
- /** Workspace organization ID */
2595
- organization_id?: string;
2596
+ /** Name of the owning organization. */
2597
+ org_name?: string;
2598
+ /** Display name of the workspace owner. */
2596
2599
  owner?: string;
2597
- metadata?: {
2598
- [key: string]: string;
2599
- };
2600
+ /** User ID of the workspace owner. */
2601
+ owner_id?: string;
2602
+ /** Email address of the workspace owner. */
2603
+ owner_email?: string;
2604
+ /** Avatar URL of the workspace owner. */
2605
+ owner_avatar?: string;
2606
+ /** Metadata associated with the workspace. */
2607
+ metadata?: object;
2608
+ /** Organization to which this workspace belongs. */
2609
+ organization_id?: string;
2600
2610
  /** Timestamp when the resource was created. */
2601
2611
  created_at?: string;
2602
2612
  /** Timestamp when the resource was updated. */
@@ -2618,19 +2628,21 @@ type GetWorkspacesApiArg = {
2618
2628
  filter?: string;
2619
2629
  };
2620
2630
  type CreateWorkspaceApiResponse = {
2621
- id?: string;
2622
- name?: string;
2631
+ id: string;
2632
+ /** Name of the workspace. */
2633
+ name: string;
2634
+ /** Description of the workspace. */
2623
2635
  description?: string;
2624
- /** Workspace organization ID */
2625
- organization_id?: string;
2636
+ /** Organization to which this workspace belongs. */
2637
+ organization_id: string;
2638
+ /** User ID of the workspace owner. */
2626
2639
  owner?: string;
2627
- metadata?: {
2628
- [key: string]: string;
2629
- };
2640
+ /** Metadata associated with the workspace. */
2641
+ metadata?: object;
2630
2642
  /** Timestamp when the resource was created. */
2631
- created_at?: string;
2643
+ created_at: string;
2632
2644
  /** Timestamp when the resource was updated. */
2633
- updated_at?: string;
2645
+ updated_at: string;
2634
2646
  /** Timestamp when the resource was deleted. */
2635
2647
  deleted_at?: string;
2636
2648
  };
@@ -2643,22 +2655,26 @@ type CreateWorkspaceApiArg = {
2643
2655
  description?: string;
2644
2656
  /** Organization ID. */
2645
2657
  organization_id: string;
2658
+ /** Metadata associated with the workspace. */
2659
+ metadata?: object;
2646
2660
  };
2647
2661
  };
2648
2662
  type GetWorkspaceByIdApiResponse = {
2649
- id?: string;
2650
- name?: string;
2663
+ id: string;
2664
+ /** Name of the workspace. */
2665
+ name: string;
2666
+ /** Description of the workspace. */
2651
2667
  description?: string;
2652
- /** Workspace organization ID */
2653
- organization_id?: string;
2668
+ /** Organization to which this workspace belongs. */
2669
+ organization_id: string;
2670
+ /** User ID of the workspace owner. */
2654
2671
  owner?: string;
2655
- metadata?: {
2656
- [key: string]: string;
2657
- };
2672
+ /** Metadata associated with the workspace. */
2673
+ metadata?: object;
2658
2674
  /** Timestamp when the resource was created. */
2659
- created_at?: string;
2675
+ created_at: string;
2660
2676
  /** Timestamp when the resource was updated. */
2661
- updated_at?: string;
2677
+ updated_at: string;
2662
2678
  /** Timestamp when the resource was deleted. */
2663
2679
  deleted_at?: string;
2664
2680
  };
@@ -2667,19 +2683,21 @@ type GetWorkspaceByIdApiArg = {
2667
2683
  workspaceId: string;
2668
2684
  };
2669
2685
  type UpdateWorkspaceApiResponse = {
2670
- id?: string;
2671
- name?: string;
2686
+ id: string;
2687
+ /** Name of the workspace. */
2688
+ name: string;
2689
+ /** Description of the workspace. */
2672
2690
  description?: string;
2673
- /** Workspace organization ID */
2674
- organization_id?: string;
2691
+ /** Organization to which this workspace belongs. */
2692
+ organization_id: string;
2693
+ /** User ID of the workspace owner. */
2675
2694
  owner?: string;
2676
- metadata?: {
2677
- [key: string]: string;
2678
- };
2695
+ /** Metadata associated with the workspace. */
2696
+ metadata?: object;
2679
2697
  /** Timestamp when the resource was created. */
2680
- created_at?: string;
2698
+ created_at: string;
2681
2699
  /** Timestamp when the resource was updated. */
2682
- updated_at?: string;
2700
+ updated_at: string;
2683
2701
  /** Timestamp when the resource was deleted. */
2684
2702
  deleted_at?: string;
2685
2703
  };
@@ -2694,6 +2712,8 @@ type UpdateWorkspaceApiArg = {
2694
2712
  description?: string;
2695
2713
  /** Organization ID. */
2696
2714
  organization_id: string;
2715
+ /** Metadata associated with the workspace. */
2716
+ metadata?: object;
2697
2717
  };
2698
2718
  };
2699
2719
  type DeleteWorkspaceApiResponse = unknown;
@@ -2741,11 +2761,11 @@ type AssignTeamToWorkspaceApiResponse = {
2741
2761
  page?: number;
2742
2762
  page_size?: number;
2743
2763
  total_count?: number;
2744
- /** The workspaces teams mapping of the workspacesteamsmappingpage. */
2764
+ /** Workspace-team mapping entries. */
2745
2765
  workspacesTeamsMapping?: {
2746
2766
  id?: string;
2747
- team_id?: string;
2748
2767
  workspace_id?: string;
2768
+ team_id?: string;
2749
2769
  /** Timestamp when the resource was created. */
2750
2770
  created_at?: string;
2751
2771
  /** Timestamp when the resource was updated. */
@@ -2813,11 +2833,11 @@ type AssignEnvironmentToWorkspaceApiResponse = {
2813
2833
  page?: number;
2814
2834
  page_size?: number;
2815
2835
  total_count?: number;
2816
- /** The workspaces environments mapping of the workspacesenvironmentsmappingpage. */
2836
+ /** Workspace-environment mapping entries. */
2817
2837
  workspacesEnvironmentsMapping?: {
2818
2838
  id?: string;
2819
- environment_id?: string;
2820
2839
  workspace_id?: string;
2840
+ environment_id?: string;
2821
2841
  /** Timestamp when the resource was created. */
2822
2842
  created_at?: string;
2823
2843
  /** Timestamp when the resource was updated. */
@@ -2843,7 +2863,7 @@ type GetDesignsOfWorkspaceApiResponse = {
2843
2863
  page?: number;
2844
2864
  page_size?: number;
2845
2865
  total_count?: number;
2846
- /** The designs of the mesherydesignpage. */
2866
+ /** Designs in this page. */
2847
2867
  designs?: {
2848
2868
  catalogData?: {
2849
2869
  /** Tracks the specific content version that has been made available in the Catalog. */
@@ -3722,11 +3742,11 @@ type AssignDesignToWorkspaceApiResponse = {
3722
3742
  page?: number;
3723
3743
  page_size?: number;
3724
3744
  total_count?: number;
3725
- /** The workspaces designs mapping of the workspacesdesignsmappingpage. */
3745
+ /** Workspace-design mapping entries. */
3726
3746
  workspacesDesignsMapping?: {
3727
3747
  id?: string;
3728
- design_id?: string;
3729
3748
  workspace_id?: string;
3749
+ design_id?: string;
3730
3750
  /** Timestamp when the resource was created. */
3731
3751
  created_at?: string;
3732
3752
  /** Timestamp when the resource was updated. */
@@ -3752,17 +3772,18 @@ type GetViewsOfWorkspaceApiResponse = {
3752
3772
  page?: number;
3753
3773
  page_size?: number;
3754
3774
  total_count?: number;
3755
- /** The views of the mesheryviewpage. */
3775
+ /** Views in this page. */
3756
3776
  views?: {
3757
3777
  id?: string;
3778
+ /** Name of the view. */
3758
3779
  name?: string;
3759
- filters?: {
3760
- [key: string]: string;
3761
- };
3780
+ /** Filter configuration for this view. */
3781
+ filters?: object;
3782
+ /** Visibility of the view. */
3762
3783
  visibility?: string;
3763
- metadata?: {
3764
- [key: string]: string;
3765
- };
3784
+ /** Metadata associated with the view. */
3785
+ metadata?: object;
3786
+ /** User ID of the view creator. */
3766
3787
  user_id?: string;
3767
3788
  /** Timestamp when the resource was created. */
3768
3789
  created_at?: string;
@@ -3790,11 +3811,11 @@ type AssignViewToWorkspaceApiResponse = {
3790
3811
  page?: number;
3791
3812
  page_size?: number;
3792
3813
  total_count?: number;
3793
- /** The workspaces views mapping of the workspacesviewsmappingpage. */
3814
+ /** Workspace-view mapping entries. */
3794
3815
  workspacesViewsMapping?: {
3795
3816
  id?: string;
3796
- view_id?: string;
3797
3817
  workspace_id?: string;
3818
+ view_id?: string;
3798
3819
  /** Timestamp when the resource was created. */
3799
3820
  created_at?: string;
3800
3821
  /** Timestamp when the resource was updated. */
@@ -2586,17 +2586,27 @@ type GetWorkspacesApiResponse = {
2586
2586
  page?: number;
2587
2587
  page_size?: number;
2588
2588
  total_count?: number;
2589
- /** The workspaces of the workspacepage. */
2589
+ /** List of workspaces with resolved owner details. */
2590
2590
  workspaces?: {
2591
2591
  id?: string;
2592
+ /** Name of the workspace. */
2592
2593
  name?: string;
2594
+ /** Description of the workspace. */
2593
2595
  description?: string;
2594
- /** Workspace organization ID */
2595
- organization_id?: string;
2596
+ /** Name of the owning organization. */
2597
+ org_name?: string;
2598
+ /** Display name of the workspace owner. */
2596
2599
  owner?: string;
2597
- metadata?: {
2598
- [key: string]: string;
2599
- };
2600
+ /** User ID of the workspace owner. */
2601
+ owner_id?: string;
2602
+ /** Email address of the workspace owner. */
2603
+ owner_email?: string;
2604
+ /** Avatar URL of the workspace owner. */
2605
+ owner_avatar?: string;
2606
+ /** Metadata associated with the workspace. */
2607
+ metadata?: object;
2608
+ /** Organization to which this workspace belongs. */
2609
+ organization_id?: string;
2600
2610
  /** Timestamp when the resource was created. */
2601
2611
  created_at?: string;
2602
2612
  /** Timestamp when the resource was updated. */
@@ -2618,19 +2628,21 @@ type GetWorkspacesApiArg = {
2618
2628
  filter?: string;
2619
2629
  };
2620
2630
  type CreateWorkspaceApiResponse = {
2621
- id?: string;
2622
- name?: string;
2631
+ id: string;
2632
+ /** Name of the workspace. */
2633
+ name: string;
2634
+ /** Description of the workspace. */
2623
2635
  description?: string;
2624
- /** Workspace organization ID */
2625
- organization_id?: string;
2636
+ /** Organization to which this workspace belongs. */
2637
+ organization_id: string;
2638
+ /** User ID of the workspace owner. */
2626
2639
  owner?: string;
2627
- metadata?: {
2628
- [key: string]: string;
2629
- };
2640
+ /** Metadata associated with the workspace. */
2641
+ metadata?: object;
2630
2642
  /** Timestamp when the resource was created. */
2631
- created_at?: string;
2643
+ created_at: string;
2632
2644
  /** Timestamp when the resource was updated. */
2633
- updated_at?: string;
2645
+ updated_at: string;
2634
2646
  /** Timestamp when the resource was deleted. */
2635
2647
  deleted_at?: string;
2636
2648
  };
@@ -2643,22 +2655,26 @@ type CreateWorkspaceApiArg = {
2643
2655
  description?: string;
2644
2656
  /** Organization ID. */
2645
2657
  organization_id: string;
2658
+ /** Metadata associated with the workspace. */
2659
+ metadata?: object;
2646
2660
  };
2647
2661
  };
2648
2662
  type GetWorkspaceByIdApiResponse = {
2649
- id?: string;
2650
- name?: string;
2663
+ id: string;
2664
+ /** Name of the workspace. */
2665
+ name: string;
2666
+ /** Description of the workspace. */
2651
2667
  description?: string;
2652
- /** Workspace organization ID */
2653
- organization_id?: string;
2668
+ /** Organization to which this workspace belongs. */
2669
+ organization_id: string;
2670
+ /** User ID of the workspace owner. */
2654
2671
  owner?: string;
2655
- metadata?: {
2656
- [key: string]: string;
2657
- };
2672
+ /** Metadata associated with the workspace. */
2673
+ metadata?: object;
2658
2674
  /** Timestamp when the resource was created. */
2659
- created_at?: string;
2675
+ created_at: string;
2660
2676
  /** Timestamp when the resource was updated. */
2661
- updated_at?: string;
2677
+ updated_at: string;
2662
2678
  /** Timestamp when the resource was deleted. */
2663
2679
  deleted_at?: string;
2664
2680
  };
@@ -2667,19 +2683,21 @@ type GetWorkspaceByIdApiArg = {
2667
2683
  workspaceId: string;
2668
2684
  };
2669
2685
  type UpdateWorkspaceApiResponse = {
2670
- id?: string;
2671
- name?: string;
2686
+ id: string;
2687
+ /** Name of the workspace. */
2688
+ name: string;
2689
+ /** Description of the workspace. */
2672
2690
  description?: string;
2673
- /** Workspace organization ID */
2674
- organization_id?: string;
2691
+ /** Organization to which this workspace belongs. */
2692
+ organization_id: string;
2693
+ /** User ID of the workspace owner. */
2675
2694
  owner?: string;
2676
- metadata?: {
2677
- [key: string]: string;
2678
- };
2695
+ /** Metadata associated with the workspace. */
2696
+ metadata?: object;
2679
2697
  /** Timestamp when the resource was created. */
2680
- created_at?: string;
2698
+ created_at: string;
2681
2699
  /** Timestamp when the resource was updated. */
2682
- updated_at?: string;
2700
+ updated_at: string;
2683
2701
  /** Timestamp when the resource was deleted. */
2684
2702
  deleted_at?: string;
2685
2703
  };
@@ -2694,6 +2712,8 @@ type UpdateWorkspaceApiArg = {
2694
2712
  description?: string;
2695
2713
  /** Organization ID. */
2696
2714
  organization_id: string;
2715
+ /** Metadata associated with the workspace. */
2716
+ metadata?: object;
2697
2717
  };
2698
2718
  };
2699
2719
  type DeleteWorkspaceApiResponse = unknown;
@@ -2741,11 +2761,11 @@ type AssignTeamToWorkspaceApiResponse = {
2741
2761
  page?: number;
2742
2762
  page_size?: number;
2743
2763
  total_count?: number;
2744
- /** The workspaces teams mapping of the workspacesteamsmappingpage. */
2764
+ /** Workspace-team mapping entries. */
2745
2765
  workspacesTeamsMapping?: {
2746
2766
  id?: string;
2747
- team_id?: string;
2748
2767
  workspace_id?: string;
2768
+ team_id?: string;
2749
2769
  /** Timestamp when the resource was created. */
2750
2770
  created_at?: string;
2751
2771
  /** Timestamp when the resource was updated. */
@@ -2813,11 +2833,11 @@ type AssignEnvironmentToWorkspaceApiResponse = {
2813
2833
  page?: number;
2814
2834
  page_size?: number;
2815
2835
  total_count?: number;
2816
- /** The workspaces environments mapping of the workspacesenvironmentsmappingpage. */
2836
+ /** Workspace-environment mapping entries. */
2817
2837
  workspacesEnvironmentsMapping?: {
2818
2838
  id?: string;
2819
- environment_id?: string;
2820
2839
  workspace_id?: string;
2840
+ environment_id?: string;
2821
2841
  /** Timestamp when the resource was created. */
2822
2842
  created_at?: string;
2823
2843
  /** Timestamp when the resource was updated. */
@@ -2843,7 +2863,7 @@ type GetDesignsOfWorkspaceApiResponse = {
2843
2863
  page?: number;
2844
2864
  page_size?: number;
2845
2865
  total_count?: number;
2846
- /** The designs of the mesherydesignpage. */
2866
+ /** Designs in this page. */
2847
2867
  designs?: {
2848
2868
  catalogData?: {
2849
2869
  /** Tracks the specific content version that has been made available in the Catalog. */
@@ -3722,11 +3742,11 @@ type AssignDesignToWorkspaceApiResponse = {
3722
3742
  page?: number;
3723
3743
  page_size?: number;
3724
3744
  total_count?: number;
3725
- /** The workspaces designs mapping of the workspacesdesignsmappingpage. */
3745
+ /** Workspace-design mapping entries. */
3726
3746
  workspacesDesignsMapping?: {
3727
3747
  id?: string;
3728
- design_id?: string;
3729
3748
  workspace_id?: string;
3749
+ design_id?: string;
3730
3750
  /** Timestamp when the resource was created. */
3731
3751
  created_at?: string;
3732
3752
  /** Timestamp when the resource was updated. */
@@ -3752,17 +3772,18 @@ type GetViewsOfWorkspaceApiResponse = {
3752
3772
  page?: number;
3753
3773
  page_size?: number;
3754
3774
  total_count?: number;
3755
- /** The views of the mesheryviewpage. */
3775
+ /** Views in this page. */
3756
3776
  views?: {
3757
3777
  id?: string;
3778
+ /** Name of the view. */
3758
3779
  name?: string;
3759
- filters?: {
3760
- [key: string]: string;
3761
- };
3780
+ /** Filter configuration for this view. */
3781
+ filters?: object;
3782
+ /** Visibility of the view. */
3762
3783
  visibility?: string;
3763
- metadata?: {
3764
- [key: string]: string;
3765
- };
3784
+ /** Metadata associated with the view. */
3785
+ metadata?: object;
3786
+ /** User ID of the view creator. */
3766
3787
  user_id?: string;
3767
3788
  /** Timestamp when the resource was created. */
3768
3789
  created_at?: string;
@@ -3790,11 +3811,11 @@ type AssignViewToWorkspaceApiResponse = {
3790
3811
  page?: number;
3791
3812
  page_size?: number;
3792
3813
  total_count?: number;
3793
- /** The workspaces views mapping of the workspacesviewsmappingpage. */
3814
+ /** Workspace-view mapping entries. */
3794
3815
  workspacesViewsMapping?: {
3795
3816
  id?: string;
3796
- view_id?: string;
3797
3817
  workspace_id?: string;
3818
+ view_id?: string;
3798
3819
  /** Timestamp when the resource was created. */
3799
3820
  created_at?: string;
3800
3821
  /** Timestamp when the resource was updated. */