@meshery/schemas 0.8.128 → 0.8.130

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 (137) hide show
  1. package/dist/{Core-vaTzd8cz.d.mts → Core-BiYtFM4v.d.mts} +1 -1
  2. package/dist/{Core-vaTzd8cz.d.ts → Core-BiYtFM4v.d.ts} +1 -1
  3. package/dist/cloudApi.d.mts +13676 -3825
  4. package/dist/cloudApi.d.ts +13676 -3825
  5. package/dist/cloudApi.js +1 -1
  6. package/dist/cloudApi.mjs +1 -1
  7. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +1 -159
  8. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +1 -159
  9. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
  10. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
  11. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1 -1652
  12. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1 -1652
  13. package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
  14. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
  15. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +1 -84
  16. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +1 -84
  17. package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +32 -128
  18. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +32 -128
  19. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1 -6983
  20. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1 -6983
  21. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
  22. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
  23. package/dist/constructs/v1beta1/academy/Academy.d.mts +749 -319
  24. package/dist/constructs/v1beta1/academy/Academy.d.ts +749 -319
  25. package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +1 -11842
  26. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +1 -11842
  27. package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
  28. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
  29. package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +1 -522
  30. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +1 -522
  31. package/dist/constructs/v1beta1/category/CategorySchema.d.mts +1 -64
  32. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +1 -64
  33. package/dist/constructs/v1beta1/component/Component.d.mts +6 -12
  34. package/dist/constructs/v1beta1/component/Component.d.ts +6 -12
  35. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1 -1781
  36. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1 -1781
  37. package/dist/constructs/v1beta1/component/ComponentSchema.js +3 -3
  38. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +3 -3
  39. package/dist/constructs/v1beta1/connection/Connection.d.mts +12 -12
  40. package/dist/constructs/v1beta1/connection/Connection.d.ts +12 -12
  41. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +1 -2978
  42. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +1 -2978
  43. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  44. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  45. package/dist/constructs/v1beta1/credential/Credential.d.mts +517 -0
  46. package/dist/constructs/v1beta1/credential/Credential.d.ts +517 -0
  47. package/dist/constructs/v1beta1/credential/Credential.js +1 -0
  48. package/dist/constructs/v1beta1/credential/Credential.mjs +0 -0
  49. package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +7 -0
  50. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +7 -0
  51. package/dist/constructs/v1beta1/credential/CredentialSchema.js +9 -0
  52. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +9 -0
  53. package/dist/constructs/v1beta1/environment/Environment.d.mts +4 -4
  54. package/dist/constructs/v1beta1/environment/Environment.d.ts +4 -4
  55. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +1 -958
  56. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +1 -958
  57. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  58. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  59. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +68 -212
  60. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +68 -212
  61. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +1 -16516
  62. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +1 -16516
  63. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +25 -25
  64. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +25 -25
  65. package/dist/constructs/v1beta1/event/EventSchema.d.mts +1 -364
  66. package/dist/constructs/v1beta1/event/EventSchema.d.ts +1 -364
  67. package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +1 -776
  68. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +1 -776
  69. package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -1
  70. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -1
  71. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1 -1655
  72. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1 -1655
  73. package/dist/constructs/v1beta1/key/KeySchema.d.mts +1 -1229
  74. package/dist/constructs/v1beta1/key/KeySchema.d.ts +1 -1229
  75. package/dist/constructs/v1beta1/key/KeySchema.js +1 -1
  76. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -1
  77. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1 -1553
  78. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1 -1553
  79. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -1
  80. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -1
  81. package/dist/constructs/v1beta1/model/Model.d.mts +7 -13
  82. package/dist/constructs/v1beta1/model/Model.d.ts +7 -13
  83. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1 -1311
  84. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1 -1311
  85. package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
  86. package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
  87. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +1 -1498
  88. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +1 -1498
  89. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +7481 -212
  90. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +7481 -212
  91. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +1 -16713
  92. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +1 -16713
  93. package/dist/constructs/v1beta1/pattern/PatternSchema.js +265 -25
  94. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +265 -25
  95. package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +1 -326
  96. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +1 -326
  97. package/dist/constructs/v1beta1/role/Role.d.mts +614 -0
  98. package/dist/constructs/v1beta1/role/Role.d.ts +614 -0
  99. package/dist/constructs/v1beta1/role/Role.js +1 -0
  100. package/dist/constructs/v1beta1/role/Role.mjs +0 -0
  101. package/dist/constructs/v1beta1/role/RoleSchema.d.mts +7 -0
  102. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +7 -0
  103. package/dist/constructs/v1beta1/role/RoleSchema.js +2 -0
  104. package/dist/constructs/v1beta1/role/RoleSchema.mjs +2 -0
  105. package/dist/constructs/v1beta1/schedule/Schedule.d.mts +371 -0
  106. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +371 -0
  107. package/dist/constructs/v1beta1/schedule/Schedule.js +1 -0
  108. package/dist/constructs/v1beta1/schedule/Schedule.mjs +0 -0
  109. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +7 -0
  110. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +7 -0
  111. package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +13 -0
  112. package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +13 -0
  113. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +1 -37
  114. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +1 -37
  115. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1 -1645
  116. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1 -1645
  117. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
  118. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
  119. package/dist/constructs/v1beta1/team/Team.d.mts +46 -16
  120. package/dist/constructs/v1beta1/team/Team.d.ts +46 -16
  121. package/dist/constructs/v1beta1/team/TeamSchema.d.mts +1 -2022
  122. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +1 -2022
  123. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  124. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  125. package/dist/constructs/v1beta1/user/UserSchema.d.mts +1 -1116
  126. package/dist/constructs/v1beta1/user/UserSchema.d.ts +1 -1116
  127. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +1 -964
  128. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +1 -964
  129. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
  130. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
  131. package/dist/index.d.mts +1 -1
  132. package/dist/index.d.ts +1 -1
  133. package/dist/index.js +283 -43
  134. package/dist/index.mjs +283 -43
  135. package/dist/mesheryApi.d.mts +30 -6
  136. package/dist/mesheryApi.d.ts +30 -6
  137. package/package.json +1 -1
@@ -65,6 +65,7 @@ type GetConnectionsApiResponse = {
65
65
  user_id?: string;
66
66
  created_at?: string;
67
67
  updated_at?: string;
68
+ /** SQL null Timestamp to handle null values of time. */
68
69
  deleted_at?: string;
69
70
  /** Associated environments for this connection */
70
71
  environments?: {
@@ -83,6 +84,7 @@ type GetConnectionsApiResponse = {
83
84
  created_at?: string;
84
85
  metadata?: object;
85
86
  updated_at?: string;
87
+ /** SQL null Timestamp to handle null values of time. */
86
88
  deleted_at?: string;
87
89
  }[];
88
90
  /** Specifies the version of the schema used for the definition. */
@@ -140,6 +142,7 @@ type RegisterConnectionApiResponse = {
140
142
  user_id?: string;
141
143
  created_at?: string;
142
144
  updated_at?: string;
145
+ /** SQL null Timestamp to handle null values of time. */
143
146
  deleted_at?: string;
144
147
  /** Associated environments for this connection */
145
148
  environments?: {
@@ -158,6 +161,7 @@ type RegisterConnectionApiResponse = {
158
161
  created_at?: string;
159
162
  metadata?: object;
160
163
  updated_at?: string;
164
+ /** SQL null Timestamp to handle null values of time. */
161
165
  deleted_at?: string;
162
166
  }[];
163
167
  /** Specifies the version of the schema used for the definition. */
@@ -206,6 +210,7 @@ type GetConnectionByIdApiResponse = {
206
210
  user_id?: string;
207
211
  created_at?: string;
208
212
  updated_at?: string;
213
+ /** SQL null Timestamp to handle null values of time. */
209
214
  deleted_at?: string;
210
215
  /** Associated environments for this connection */
211
216
  environments?: {
@@ -224,6 +229,7 @@ type GetConnectionByIdApiResponse = {
224
229
  created_at?: string;
225
230
  metadata?: object;
226
231
  updated_at?: string;
232
+ /** SQL null Timestamp to handle null values of time. */
227
233
  deleted_at?: string;
228
234
  }[];
229
235
  /** Specifies the version of the schema used for the definition. */
@@ -254,6 +260,7 @@ type UpdateConnectionApiResponse = {
254
260
  user_id?: string;
255
261
  created_at?: string;
256
262
  updated_at?: string;
263
+ /** SQL null Timestamp to handle null values of time. */
257
264
  deleted_at?: string;
258
265
  /** Associated environments for this connection */
259
266
  environments?: {
@@ -272,6 +279,7 @@ type UpdateConnectionApiResponse = {
272
279
  created_at?: string;
273
280
  metadata?: object;
274
281
  updated_at?: string;
282
+ /** SQL null Timestamp to handle null values of time. */
275
283
  deleted_at?: string;
276
284
  }[];
277
285
  /** Specifies the version of the schema used for the definition. */
@@ -361,6 +369,7 @@ type CreateEnvironmentApiResponse = {
361
369
  created_at?: string;
362
370
  metadata?: object;
363
371
  updated_at?: string;
372
+ /** SQL null Timestamp to handle null values of time. */
364
373
  deleted_at?: string;
365
374
  };
366
375
  type CreateEnvironmentApiArg = {
@@ -394,6 +403,7 @@ type GetEnvironmentsApiResponse = {
394
403
  created_at?: string;
395
404
  metadata?: object;
396
405
  updated_at?: string;
406
+ /** SQL null Timestamp to handle null values of time. */
397
407
  deleted_at?: string;
398
408
  }[];
399
409
  };
@@ -456,7 +466,7 @@ type PostEvaluateApiResponse = {
456
466
  /** Format specifies the format used in the `component.schema` field. JSON is the default. */
457
467
  format: "JSON" | "CUE";
458
468
  /** Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
459
- model?: {
469
+ model: {
460
470
  /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
461
471
  id: string;
462
472
  /** Specifies the version of the schema used for the definition. */
@@ -497,6 +507,7 @@ type PostEvaluateApiResponse = {
497
507
  user_id?: string;
498
508
  created_at?: string;
499
509
  updated_at?: string;
510
+ /** SQL null Timestamp to handle null values of time. */
500
511
  deleted_at?: string;
501
512
  /** Associated environments for this connection */
502
513
  environments?: {
@@ -515,6 +526,7 @@ type PostEvaluateApiResponse = {
515
526
  created_at?: string;
516
527
  metadata?: object;
517
528
  updated_at?: string;
529
+ /** SQL null Timestamp to handle null values of time. */
518
530
  deleted_at?: string;
519
531
  }[];
520
532
  /** Specifies the version of the schema used for the definition. */
@@ -615,7 +627,7 @@ type PostEvaluateApiResponse = {
615
627
  };
616
628
  };
617
629
  /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
618
- modelId: string;
630
+ modelId?: string;
619
631
  /** Visualization styles for a component */
620
632
  styles?: {
621
633
  /** Primary color of the component used for UI representation. */
@@ -828,7 +840,7 @@ type PostEvaluateApiResponse = {
828
840
  id: string;
829
841
  /** Specifies the version of the schema used for the relationship definition. */
830
842
  schemaVersion: string;
831
- /** A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1. */
843
+ /** Specifies the version of the relationship definition. */
832
844
  version: string;
833
845
  /** Kind of the Relationship. Learn more about relationships - https://docs.meshery.io/concepts/logical/relationships. */
834
846
  kind: "hierarchical" | "edge" | "sibling";
@@ -1282,7 +1294,7 @@ type PostEvaluateApiArg = {
1282
1294
  /** Format specifies the format used in the `component.schema` field. JSON is the default. */
1283
1295
  format: "JSON" | "CUE";
1284
1296
  /** Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
1285
- model?: {
1297
+ model: {
1286
1298
  /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
1287
1299
  id: string;
1288
1300
  /** Specifies the version of the schema used for the definition. */
@@ -1323,6 +1335,7 @@ type PostEvaluateApiArg = {
1323
1335
  user_id?: string;
1324
1336
  created_at?: string;
1325
1337
  updated_at?: string;
1338
+ /** SQL null Timestamp to handle null values of time. */
1326
1339
  deleted_at?: string;
1327
1340
  /** Associated environments for this connection */
1328
1341
  environments?: {
@@ -1341,6 +1354,7 @@ type PostEvaluateApiArg = {
1341
1354
  created_at?: string;
1342
1355
  metadata?: object;
1343
1356
  updated_at?: string;
1357
+ /** SQL null Timestamp to handle null values of time. */
1344
1358
  deleted_at?: string;
1345
1359
  }[];
1346
1360
  /** Specifies the version of the schema used for the definition. */
@@ -1441,7 +1455,7 @@ type PostEvaluateApiArg = {
1441
1455
  };
1442
1456
  };
1443
1457
  /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
1444
- modelId: string;
1458
+ modelId?: string;
1445
1459
  /** Visualization styles for a component */
1446
1460
  styles?: {
1447
1461
  /** Primary color of the component used for UI representation. */
@@ -1654,7 +1668,7 @@ type PostEvaluateApiArg = {
1654
1668
  id: string;
1655
1669
  /** Specifies the version of the schema used for the relationship definition. */
1656
1670
  schemaVersion: string;
1657
- /** A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1. */
1671
+ /** Specifies the version of the relationship definition. */
1658
1672
  version: string;
1659
1673
  /** Kind of the Relationship. Learn more about relationships - https://docs.meshery.io/concepts/logical/relationships. */
1660
1674
  kind: "hierarchical" | "edge" | "sibling";
@@ -2283,6 +2297,7 @@ type GetTeamsApiResponse = {
2283
2297
  metadata?: object;
2284
2298
  created_at?: string;
2285
2299
  updated_at?: string;
2300
+ /** SQL null Timestamp to handle null values of time. */
2286
2301
  deleted_at?: string;
2287
2302
  }[];
2288
2303
  };
@@ -2311,6 +2326,7 @@ type CreateTeamApiResponse = {
2311
2326
  metadata?: object;
2312
2327
  created_at?: string;
2313
2328
  updated_at?: string;
2329
+ /** SQL null Timestamp to handle null values of time. */
2314
2330
  deleted_at?: string;
2315
2331
  };
2316
2332
  type CreateTeamApiArg = {
@@ -2337,6 +2353,7 @@ type GetTeamByIdApiResponse = {
2337
2353
  metadata?: object;
2338
2354
  created_at?: string;
2339
2355
  updated_at?: string;
2356
+ /** SQL null Timestamp to handle null values of time. */
2340
2357
  deleted_at?: string;
2341
2358
  };
2342
2359
  type GetTeamByIdApiArg = {
@@ -2358,6 +2375,7 @@ type UpdateTeamApiResponse = {
2358
2375
  metadata?: object;
2359
2376
  created_at?: string;
2360
2377
  updated_at?: string;
2378
+ /** SQL null Timestamp to handle null values of time. */
2361
2379
  deleted_at?: string;
2362
2380
  };
2363
2381
  type UpdateTeamApiArg = {
@@ -2389,7 +2407,9 @@ type GetTeamUsersApiResponse = {
2389
2407
  team_id?: string;
2390
2408
  /** user's email or username */
2391
2409
  user_id?: string;
2410
+ /** Timestamp when the resource was created. */
2392
2411
  created_at?: string;
2412
+ /** Timestamp when the resource was updated. */
2393
2413
  updated_at?: string;
2394
2414
  /** SQL null Timestamp to handle null values of time. */
2395
2415
  deleted_at?: string;
@@ -2414,7 +2434,9 @@ type AddUserToTeamApiResponse = {
2414
2434
  team_id?: string;
2415
2435
  /** user's email or username */
2416
2436
  user_id?: string;
2437
+ /** Timestamp when the resource was created. */
2417
2438
  created_at?: string;
2439
+ /** Timestamp when the resource was updated. */
2418
2440
  updated_at?: string;
2419
2441
  /** SQL null Timestamp to handle null values of time. */
2420
2442
  deleted_at?: string;
@@ -2432,7 +2454,9 @@ type RemoveUserFromTeamApiResponse = {
2432
2454
  team_id?: string;
2433
2455
  /** user's email or username */
2434
2456
  user_id?: string;
2457
+ /** Timestamp when the resource was created. */
2435
2458
  created_at?: string;
2459
+ /** Timestamp when the resource was updated. */
2436
2460
  updated_at?: string;
2437
2461
  /** SQL null Timestamp to handle null values of time. */
2438
2462
  deleted_at?: string;
@@ -65,6 +65,7 @@ type GetConnectionsApiResponse = {
65
65
  user_id?: string;
66
66
  created_at?: string;
67
67
  updated_at?: string;
68
+ /** SQL null Timestamp to handle null values of time. */
68
69
  deleted_at?: string;
69
70
  /** Associated environments for this connection */
70
71
  environments?: {
@@ -83,6 +84,7 @@ type GetConnectionsApiResponse = {
83
84
  created_at?: string;
84
85
  metadata?: object;
85
86
  updated_at?: string;
87
+ /** SQL null Timestamp to handle null values of time. */
86
88
  deleted_at?: string;
87
89
  }[];
88
90
  /** Specifies the version of the schema used for the definition. */
@@ -140,6 +142,7 @@ type RegisterConnectionApiResponse = {
140
142
  user_id?: string;
141
143
  created_at?: string;
142
144
  updated_at?: string;
145
+ /** SQL null Timestamp to handle null values of time. */
143
146
  deleted_at?: string;
144
147
  /** Associated environments for this connection */
145
148
  environments?: {
@@ -158,6 +161,7 @@ type RegisterConnectionApiResponse = {
158
161
  created_at?: string;
159
162
  metadata?: object;
160
163
  updated_at?: string;
164
+ /** SQL null Timestamp to handle null values of time. */
161
165
  deleted_at?: string;
162
166
  }[];
163
167
  /** Specifies the version of the schema used for the definition. */
@@ -206,6 +210,7 @@ type GetConnectionByIdApiResponse = {
206
210
  user_id?: string;
207
211
  created_at?: string;
208
212
  updated_at?: string;
213
+ /** SQL null Timestamp to handle null values of time. */
209
214
  deleted_at?: string;
210
215
  /** Associated environments for this connection */
211
216
  environments?: {
@@ -224,6 +229,7 @@ type GetConnectionByIdApiResponse = {
224
229
  created_at?: string;
225
230
  metadata?: object;
226
231
  updated_at?: string;
232
+ /** SQL null Timestamp to handle null values of time. */
227
233
  deleted_at?: string;
228
234
  }[];
229
235
  /** Specifies the version of the schema used for the definition. */
@@ -254,6 +260,7 @@ type UpdateConnectionApiResponse = {
254
260
  user_id?: string;
255
261
  created_at?: string;
256
262
  updated_at?: string;
263
+ /** SQL null Timestamp to handle null values of time. */
257
264
  deleted_at?: string;
258
265
  /** Associated environments for this connection */
259
266
  environments?: {
@@ -272,6 +279,7 @@ type UpdateConnectionApiResponse = {
272
279
  created_at?: string;
273
280
  metadata?: object;
274
281
  updated_at?: string;
282
+ /** SQL null Timestamp to handle null values of time. */
275
283
  deleted_at?: string;
276
284
  }[];
277
285
  /** Specifies the version of the schema used for the definition. */
@@ -361,6 +369,7 @@ type CreateEnvironmentApiResponse = {
361
369
  created_at?: string;
362
370
  metadata?: object;
363
371
  updated_at?: string;
372
+ /** SQL null Timestamp to handle null values of time. */
364
373
  deleted_at?: string;
365
374
  };
366
375
  type CreateEnvironmentApiArg = {
@@ -394,6 +403,7 @@ type GetEnvironmentsApiResponse = {
394
403
  created_at?: string;
395
404
  metadata?: object;
396
405
  updated_at?: string;
406
+ /** SQL null Timestamp to handle null values of time. */
397
407
  deleted_at?: string;
398
408
  }[];
399
409
  };
@@ -456,7 +466,7 @@ type PostEvaluateApiResponse = {
456
466
  /** Format specifies the format used in the `component.schema` field. JSON is the default. */
457
467
  format: "JSON" | "CUE";
458
468
  /** Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
459
- model?: {
469
+ model: {
460
470
  /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
461
471
  id: string;
462
472
  /** Specifies the version of the schema used for the definition. */
@@ -497,6 +507,7 @@ type PostEvaluateApiResponse = {
497
507
  user_id?: string;
498
508
  created_at?: string;
499
509
  updated_at?: string;
510
+ /** SQL null Timestamp to handle null values of time. */
500
511
  deleted_at?: string;
501
512
  /** Associated environments for this connection */
502
513
  environments?: {
@@ -515,6 +526,7 @@ type PostEvaluateApiResponse = {
515
526
  created_at?: string;
516
527
  metadata?: object;
517
528
  updated_at?: string;
529
+ /** SQL null Timestamp to handle null values of time. */
518
530
  deleted_at?: string;
519
531
  }[];
520
532
  /** Specifies the version of the schema used for the definition. */
@@ -615,7 +627,7 @@ type PostEvaluateApiResponse = {
615
627
  };
616
628
  };
617
629
  /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
618
- modelId: string;
630
+ modelId?: string;
619
631
  /** Visualization styles for a component */
620
632
  styles?: {
621
633
  /** Primary color of the component used for UI representation. */
@@ -828,7 +840,7 @@ type PostEvaluateApiResponse = {
828
840
  id: string;
829
841
  /** Specifies the version of the schema used for the relationship definition. */
830
842
  schemaVersion: string;
831
- /** A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1. */
843
+ /** Specifies the version of the relationship definition. */
832
844
  version: string;
833
845
  /** Kind of the Relationship. Learn more about relationships - https://docs.meshery.io/concepts/logical/relationships. */
834
846
  kind: "hierarchical" | "edge" | "sibling";
@@ -1282,7 +1294,7 @@ type PostEvaluateApiArg = {
1282
1294
  /** Format specifies the format used in the `component.schema` field. JSON is the default. */
1283
1295
  format: "JSON" | "CUE";
1284
1296
  /** Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
1285
- model?: {
1297
+ model: {
1286
1298
  /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
1287
1299
  id: string;
1288
1300
  /** Specifies the version of the schema used for the definition. */
@@ -1323,6 +1335,7 @@ type PostEvaluateApiArg = {
1323
1335
  user_id?: string;
1324
1336
  created_at?: string;
1325
1337
  updated_at?: string;
1338
+ /** SQL null Timestamp to handle null values of time. */
1326
1339
  deleted_at?: string;
1327
1340
  /** Associated environments for this connection */
1328
1341
  environments?: {
@@ -1341,6 +1354,7 @@ type PostEvaluateApiArg = {
1341
1354
  created_at?: string;
1342
1355
  metadata?: object;
1343
1356
  updated_at?: string;
1357
+ /** SQL null Timestamp to handle null values of time. */
1344
1358
  deleted_at?: string;
1345
1359
  }[];
1346
1360
  /** Specifies the version of the schema used for the definition. */
@@ -1441,7 +1455,7 @@ type PostEvaluateApiArg = {
1441
1455
  };
1442
1456
  };
1443
1457
  /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
1444
- modelId: string;
1458
+ modelId?: string;
1445
1459
  /** Visualization styles for a component */
1446
1460
  styles?: {
1447
1461
  /** Primary color of the component used for UI representation. */
@@ -1654,7 +1668,7 @@ type PostEvaluateApiArg = {
1654
1668
  id: string;
1655
1669
  /** Specifies the version of the schema used for the relationship definition. */
1656
1670
  schemaVersion: string;
1657
- /** A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1. */
1671
+ /** Specifies the version of the relationship definition. */
1658
1672
  version: string;
1659
1673
  /** Kind of the Relationship. Learn more about relationships - https://docs.meshery.io/concepts/logical/relationships. */
1660
1674
  kind: "hierarchical" | "edge" | "sibling";
@@ -2283,6 +2297,7 @@ type GetTeamsApiResponse = {
2283
2297
  metadata?: object;
2284
2298
  created_at?: string;
2285
2299
  updated_at?: string;
2300
+ /** SQL null Timestamp to handle null values of time. */
2286
2301
  deleted_at?: string;
2287
2302
  }[];
2288
2303
  };
@@ -2311,6 +2326,7 @@ type CreateTeamApiResponse = {
2311
2326
  metadata?: object;
2312
2327
  created_at?: string;
2313
2328
  updated_at?: string;
2329
+ /** SQL null Timestamp to handle null values of time. */
2314
2330
  deleted_at?: string;
2315
2331
  };
2316
2332
  type CreateTeamApiArg = {
@@ -2337,6 +2353,7 @@ type GetTeamByIdApiResponse = {
2337
2353
  metadata?: object;
2338
2354
  created_at?: string;
2339
2355
  updated_at?: string;
2356
+ /** SQL null Timestamp to handle null values of time. */
2340
2357
  deleted_at?: string;
2341
2358
  };
2342
2359
  type GetTeamByIdApiArg = {
@@ -2358,6 +2375,7 @@ type UpdateTeamApiResponse = {
2358
2375
  metadata?: object;
2359
2376
  created_at?: string;
2360
2377
  updated_at?: string;
2378
+ /** SQL null Timestamp to handle null values of time. */
2361
2379
  deleted_at?: string;
2362
2380
  };
2363
2381
  type UpdateTeamApiArg = {
@@ -2389,7 +2407,9 @@ type GetTeamUsersApiResponse = {
2389
2407
  team_id?: string;
2390
2408
  /** user's email or username */
2391
2409
  user_id?: string;
2410
+ /** Timestamp when the resource was created. */
2392
2411
  created_at?: string;
2412
+ /** Timestamp when the resource was updated. */
2393
2413
  updated_at?: string;
2394
2414
  /** SQL null Timestamp to handle null values of time. */
2395
2415
  deleted_at?: string;
@@ -2414,7 +2434,9 @@ type AddUserToTeamApiResponse = {
2414
2434
  team_id?: string;
2415
2435
  /** user's email or username */
2416
2436
  user_id?: string;
2437
+ /** Timestamp when the resource was created. */
2417
2438
  created_at?: string;
2439
+ /** Timestamp when the resource was updated. */
2418
2440
  updated_at?: string;
2419
2441
  /** SQL null Timestamp to handle null values of time. */
2420
2442
  deleted_at?: string;
@@ -2432,7 +2454,9 @@ type RemoveUserFromTeamApiResponse = {
2432
2454
  team_id?: string;
2433
2455
  /** user's email or username */
2434
2456
  user_id?: string;
2457
+ /** Timestamp when the resource was created. */
2435
2458
  created_at?: string;
2459
+ /** Timestamp when the resource was updated. */
2436
2460
  updated_at?: string;
2437
2461
  /** SQL null Timestamp to handle null values of time. */
2438
2462
  deleted_at?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshery/schemas",
3
- "version": "0.8.128",
3
+ "version": "0.8.130",
4
4
  "description": "<p style=\"text-align:center;\" align=\"center\"><a href=\"https://meshery.io\"><picture> <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-light-text-side.svg\"> <source media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-dark-text-side.svg\"> <img src=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-dark-text-side.svg\" alt=\"Meshery Logo\" width=\"70%\" /></picture></a><br /><br /></p> <p align=\"center\"> <a href=\"https://hub.docker.com/r/meshery/meshery\" alt=\"Docker pulls\"> <img src=\"https://img.shields.io/docker/pulls/meshery/meshery.svg\" /></a> <a href=\"https://github.com/issues?q=is%3Aopen+is%3Aissue+archived%3Afalse+org%meshery+org%3Ameshery+org%3Aservice-mesh-performance+org%3Aservice-mesh-patterns+org%3A+label%3A%22help+wanted%22+\" alt=\"GitHub issues by-label\"> <img src=\"https://img.shields.io/github/issues/meshery/meshery/help%20wanted.svg?color=informational\" /></a> <a href=\"https://github.com/meshery/meshery/blob/master/LICENSE\" alt=\"LICENSE\"> <img src=\"https://img.shields.io/github/license/meshery/meshery?color=brightgreen\" /></a> <a href=\"https://artifacthub.io/packages/helm/meshery/meshery\" alt=\"Artifact Hub Meshery\"> <img src=\"https://img.shields.io/endpoint?color=brightgreen&label=Helm%20Chart&style=plastic&url=https%3A%2F%2Fartifacthub.io%2Fbadge%2Frepository%2Fartifact-hub\" /></a> <a href=\"https://goreportcard.com/report/github.com/meshery/meshery\" alt=\"Go Report Card\"> <img src=\"https://goreportcard.com/badge/github.com/meshery/meshery\" /></a> <a href=\"https://github.com/meshery/meshery/actions\" alt=\"Build Status\"> <img src=\"https://img.shields.io/github/actions/workflow/status/meshery/meshery/release-drafter.yml\" /></a> <a href=\"https://bestpractices.coreinfrastructure.org/projects/3564\" alt=\"CLI Best Practices\"> <img src=\"https://bestpractices.coreinfrastructure.org/projects/3564/badge\" /></a> <a href=\"http://discuss.meshery.io\" alt=\"Discuss Users\"> <img src=\"https://img.shields.io/discourse/users?label=discuss&logo=discourse&server=https%3A%2F%2Fdiscuss.meshery.io\" /></a> <a href=\"https://slack.meshery.io\" alt=\"Join Slack\"> <img src=\"https://img.shields.io/badge/Slack-@meshery.svg?logo=slack\" /></a> <a href=\"https://twitter.com/intent/follow?screen_name=mesheryio\" alt=\"Twitter Follow\"> <img src=\"https://img.shields.io/twitter/follow/mesheryio.svg?label=Follow+Meshery&style=social\" /></a> <a href=\"https://github.com/meshery/meshery/releases\" alt=\"Meshery Downloads\"> <img src=\"https://img.shields.io/github/downloads/meshery/meshery/total\" /></a> <!-- <a href=\"https://app.fossa.com/projects/git%2Bgithub.com%2Fmeshery%2Fmeshery?ref=badge_shield\" alt=\"License Scan Report\"> <img src=\"https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmeshery%2Fmeshery.svg?type=shield\"/></a> --> </p>",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",