@meshery/schemas 1.0.4 → 1.0.6

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 (44) hide show
  1. package/README.md +12 -20
  2. package/dist/cloudApi.d.mts +3982 -3542
  3. package/dist/cloudApi.d.ts +3982 -3542
  4. package/dist/cloudApi.js +1 -1
  5. package/dist/cloudApi.mjs +1 -1
  6. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +1 -1
  7. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +1 -1
  8. package/dist/constructs/v1beta1/credential/CredentialSchema.js +4 -4
  9. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +4 -4
  10. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  11. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  12. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +4 -4
  13. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +4 -4
  14. package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -1
  15. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -1
  16. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +0 -160
  17. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +0 -160
  18. package/dist/constructs/v1beta1/pattern/PatternSchema.js +13 -13
  19. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +13 -13
  20. package/dist/constructs/v1beta1/view/View.d.mts +674 -0
  21. package/dist/constructs/v1beta1/view/View.d.ts +674 -0
  22. package/dist/constructs/v1beta1/view/View.js +1 -0
  23. package/dist/constructs/v1beta1/view/View.mjs +0 -0
  24. package/dist/constructs/v1beta1/view/ViewSchema.d.mts +7 -0
  25. package/dist/constructs/v1beta1/view/ViewSchema.d.ts +7 -0
  26. package/dist/constructs/v1beta1/view/ViewSchema.js +2 -0
  27. package/dist/constructs/v1beta1/view/ViewSchema.mjs +2 -0
  28. package/dist/constructs/v1beta1/workspace/Workspace.d.mts +61 -19
  29. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +61 -19
  30. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +5 -5
  31. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +5 -5
  32. package/dist/constructs/v1beta2/design/Design.d.mts +0 -168
  33. package/dist/constructs/v1beta2/design/Design.d.ts +0 -168
  34. package/dist/constructs/v1beta2/design/DesignSchema.js +13 -13
  35. package/dist/constructs/v1beta2/design/DesignSchema.mjs +13 -13
  36. package/dist/constructs/v1beta2/relationship/RelationshipSchema.js +1 -1
  37. package/dist/constructs/v1beta2/relationship/RelationshipSchema.mjs +1 -1
  38. package/dist/index.js +33 -33
  39. package/dist/index.mjs +33 -33
  40. package/dist/mesheryApi.d.mts +7612 -2453
  41. package/dist/mesheryApi.d.ts +7612 -2453
  42. package/dist/mesheryApi.js +1 -1
  43. package/dist/mesheryApi.mjs +1 -1
  44. package/package.json +2 -2
@@ -64,13 +64,6 @@ interface paths {
64
64
  "/api/content/filters/clone/{id}": {
65
65
  post: operations["cloneFilter"];
66
66
  };
67
- "/api/content/views/{viewId}": {
68
- get: operations["getViewById"];
69
- put: operations["updateView"];
70
- };
71
- "/api/content/views": {
72
- get: operations["getViews"];
73
- };
74
67
  "/api/resource/{resourceType}/share/{resourceId}": {
75
68
  post: operations["handleResourceShare"];
76
69
  };
@@ -7391,21 +7384,6 @@ interface components {
7391
7384
  MesheryFilter: {
7392
7385
  [key: string]: unknown;
7393
7386
  };
7394
- MesheryView: {
7395
- [key: string]: unknown;
7396
- };
7397
- MesheryViewPage: {
7398
- /** @description Current page number of the result set. */
7399
- page?: number;
7400
- /** @description Number of items per page. */
7401
- page_size?: number;
7402
- /** @description Total number of items available. */
7403
- total_count?: number;
7404
- /** @description The views of the mesheryviewpage. */
7405
- views?: {
7406
- [key: string]: unknown;
7407
- }[];
7408
- };
7409
7387
  ResourceAccessMapping: {
7410
7388
  [key: string]: unknown;
7411
7389
  };
@@ -7462,13 +7440,6 @@ interface components {
7462
7440
  };
7463
7441
  };
7464
7442
  };
7465
- viewUpdatePayload: {
7466
- content: {
7467
- "application/json": {
7468
- [key: string]: unknown;
7469
- };
7470
- };
7471
- };
7472
7443
  resourceSharePayload: {
7473
7444
  content: {
7474
7445
  "application/json": {
@@ -17016,145 +16987,6 @@ interface operations {
17016
16987
  };
17017
16988
  };
17018
16989
  };
17019
- getViewById: {
17020
- parameters: {
17021
- path: {
17022
- viewId: string;
17023
- };
17024
- };
17025
- responses: {
17026
- /** View */
17027
- 200: {
17028
- content: {
17029
- "application/json": {
17030
- [key: string]: unknown;
17031
- };
17032
- };
17033
- };
17034
- /** Invalid request body or request param */
17035
- 400: {
17036
- content: {
17037
- "text/plain": string;
17038
- };
17039
- };
17040
- /** Expired JWT token used or insufficient privilege */
17041
- 401: {
17042
- content: {
17043
- "text/plain": string;
17044
- };
17045
- };
17046
- /** Result not found */
17047
- 404: {
17048
- content: {
17049
- "text/plain": string;
17050
- };
17051
- };
17052
- /** Internal server error */
17053
- 500: {
17054
- content: {
17055
- "text/plain": string;
17056
- };
17057
- };
17058
- };
17059
- };
17060
- updateView: {
17061
- parameters: {
17062
- path: {
17063
- viewId: string;
17064
- };
17065
- };
17066
- responses: {
17067
- /** Updated view */
17068
- 200: {
17069
- content: {
17070
- "application/json": {
17071
- [key: string]: unknown;
17072
- };
17073
- };
17074
- };
17075
- /** Invalid request body or request param */
17076
- 400: {
17077
- content: {
17078
- "text/plain": string;
17079
- };
17080
- };
17081
- /** Expired JWT token used or insufficient privilege */
17082
- 401: {
17083
- content: {
17084
- "text/plain": string;
17085
- };
17086
- };
17087
- /** Result not found */
17088
- 404: {
17089
- content: {
17090
- "text/plain": string;
17091
- };
17092
- };
17093
- /** Internal server error */
17094
- 500: {
17095
- content: {
17096
- "text/plain": string;
17097
- };
17098
- };
17099
- };
17100
- requestBody: {
17101
- content: {
17102
- "application/json": {
17103
- [key: string]: unknown;
17104
- };
17105
- };
17106
- };
17107
- };
17108
- getViews: {
17109
- parameters: {
17110
- query: {
17111
- /** Get responses that match search param value */
17112
- search?: string;
17113
- /** Get ordered responses */
17114
- order?: string;
17115
- /** Get responses by page */
17116
- page?: string;
17117
- /** Get responses by pagesize */
17118
- pagesize?: string;
17119
- filter?: string;
17120
- shared?: boolean;
17121
- visibility?: string;
17122
- orgId?: string;
17123
- userId?: string;
17124
- };
17125
- };
17126
- responses: {
17127
- /** Views page */
17128
- 200: {
17129
- content: {
17130
- "application/json": {
17131
- /** @description Current page number of the result set. */
17132
- page?: number;
17133
- /** @description Number of items per page. */
17134
- page_size?: number;
17135
- /** @description Total number of items available. */
17136
- total_count?: number;
17137
- /** @description The views of the mesheryviewpage. */
17138
- views?: {
17139
- [key: string]: unknown;
17140
- }[];
17141
- };
17142
- };
17143
- };
17144
- /** Expired JWT token used or insufficient privilege */
17145
- 401: {
17146
- content: {
17147
- "text/plain": string;
17148
- };
17149
- };
17150
- /** Internal server error */
17151
- 500: {
17152
- content: {
17153
- "text/plain": string;
17154
- };
17155
- };
17156
- };
17157
- };
17158
16990
  handleResourceShare: {
17159
16991
  parameters: {
17160
16992
  path: {
@@ -64,13 +64,6 @@ interface paths {
64
64
  "/api/content/filters/clone/{id}": {
65
65
  post: operations["cloneFilter"];
66
66
  };
67
- "/api/content/views/{viewId}": {
68
- get: operations["getViewById"];
69
- put: operations["updateView"];
70
- };
71
- "/api/content/views": {
72
- get: operations["getViews"];
73
- };
74
67
  "/api/resource/{resourceType}/share/{resourceId}": {
75
68
  post: operations["handleResourceShare"];
76
69
  };
@@ -7391,21 +7384,6 @@ interface components {
7391
7384
  MesheryFilter: {
7392
7385
  [key: string]: unknown;
7393
7386
  };
7394
- MesheryView: {
7395
- [key: string]: unknown;
7396
- };
7397
- MesheryViewPage: {
7398
- /** @description Current page number of the result set. */
7399
- page?: number;
7400
- /** @description Number of items per page. */
7401
- page_size?: number;
7402
- /** @description Total number of items available. */
7403
- total_count?: number;
7404
- /** @description The views of the mesheryviewpage. */
7405
- views?: {
7406
- [key: string]: unknown;
7407
- }[];
7408
- };
7409
7387
  ResourceAccessMapping: {
7410
7388
  [key: string]: unknown;
7411
7389
  };
@@ -7462,13 +7440,6 @@ interface components {
7462
7440
  };
7463
7441
  };
7464
7442
  };
7465
- viewUpdatePayload: {
7466
- content: {
7467
- "application/json": {
7468
- [key: string]: unknown;
7469
- };
7470
- };
7471
- };
7472
7443
  resourceSharePayload: {
7473
7444
  content: {
7474
7445
  "application/json": {
@@ -17016,145 +16987,6 @@ interface operations {
17016
16987
  };
17017
16988
  };
17018
16989
  };
17019
- getViewById: {
17020
- parameters: {
17021
- path: {
17022
- viewId: string;
17023
- };
17024
- };
17025
- responses: {
17026
- /** View */
17027
- 200: {
17028
- content: {
17029
- "application/json": {
17030
- [key: string]: unknown;
17031
- };
17032
- };
17033
- };
17034
- /** Invalid request body or request param */
17035
- 400: {
17036
- content: {
17037
- "text/plain": string;
17038
- };
17039
- };
17040
- /** Expired JWT token used or insufficient privilege */
17041
- 401: {
17042
- content: {
17043
- "text/plain": string;
17044
- };
17045
- };
17046
- /** Result not found */
17047
- 404: {
17048
- content: {
17049
- "text/plain": string;
17050
- };
17051
- };
17052
- /** Internal server error */
17053
- 500: {
17054
- content: {
17055
- "text/plain": string;
17056
- };
17057
- };
17058
- };
17059
- };
17060
- updateView: {
17061
- parameters: {
17062
- path: {
17063
- viewId: string;
17064
- };
17065
- };
17066
- responses: {
17067
- /** Updated view */
17068
- 200: {
17069
- content: {
17070
- "application/json": {
17071
- [key: string]: unknown;
17072
- };
17073
- };
17074
- };
17075
- /** Invalid request body or request param */
17076
- 400: {
17077
- content: {
17078
- "text/plain": string;
17079
- };
17080
- };
17081
- /** Expired JWT token used or insufficient privilege */
17082
- 401: {
17083
- content: {
17084
- "text/plain": string;
17085
- };
17086
- };
17087
- /** Result not found */
17088
- 404: {
17089
- content: {
17090
- "text/plain": string;
17091
- };
17092
- };
17093
- /** Internal server error */
17094
- 500: {
17095
- content: {
17096
- "text/plain": string;
17097
- };
17098
- };
17099
- };
17100
- requestBody: {
17101
- content: {
17102
- "application/json": {
17103
- [key: string]: unknown;
17104
- };
17105
- };
17106
- };
17107
- };
17108
- getViews: {
17109
- parameters: {
17110
- query: {
17111
- /** Get responses that match search param value */
17112
- search?: string;
17113
- /** Get ordered responses */
17114
- order?: string;
17115
- /** Get responses by page */
17116
- page?: string;
17117
- /** Get responses by pagesize */
17118
- pagesize?: string;
17119
- filter?: string;
17120
- shared?: boolean;
17121
- visibility?: string;
17122
- orgId?: string;
17123
- userId?: string;
17124
- };
17125
- };
17126
- responses: {
17127
- /** Views page */
17128
- 200: {
17129
- content: {
17130
- "application/json": {
17131
- /** @description Current page number of the result set. */
17132
- page?: number;
17133
- /** @description Number of items per page. */
17134
- page_size?: number;
17135
- /** @description Total number of items available. */
17136
- total_count?: number;
17137
- /** @description The views of the mesheryviewpage. */
17138
- views?: {
17139
- [key: string]: unknown;
17140
- }[];
17141
- };
17142
- };
17143
- };
17144
- /** Expired JWT token used or insufficient privilege */
17145
- 401: {
17146
- content: {
17147
- "text/plain": string;
17148
- };
17149
- };
17150
- /** Internal server error */
17151
- 500: {
17152
- content: {
17153
- "text/plain": string;
17154
- };
17155
- };
17156
- };
17157
- };
17158
16990
  handleResourceShare: {
17159
16991
  parameters: {
17160
16992
  path: {