@meshery/schemas 1.3.18 → 1.3.20

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 (34) hide show
  1. package/dist/cloudApi.d.mts +1722 -1700
  2. package/dist/cloudApi.d.ts +1722 -1700
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1beta1/model/Model.d.ts +6 -4
  6. package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
  7. package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
  8. package/dist/constructs/v1beta1/user/User.d.ts +450 -14
  9. package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
  10. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
  11. package/dist/constructs/v1beta2/core/Core.d.ts +2 -0
  12. package/dist/constructs/v1beta2/core/CoreSchema.js +1 -1
  13. package/dist/constructs/v1beta2/core/CoreSchema.mjs +1 -1
  14. package/dist/constructs/v1beta2/model/Model.d.ts +7 -5
  15. package/dist/constructs/v1beta2/model/ModelSchema.js +2 -2
  16. package/dist/constructs/v1beta2/model/ModelSchema.mjs +2 -2
  17. package/dist/constructs/v1beta2/team/Team.d.ts +18 -0
  18. package/dist/constructs/v1beta2/team/TeamSchema.js +1 -1
  19. package/dist/constructs/v1beta2/team/TeamSchema.mjs +1 -1
  20. package/dist/constructs/v1beta2/token/TokenSchema.js +1 -1
  21. package/dist/constructs/v1beta2/token/TokenSchema.mjs +1 -1
  22. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +27 -8
  23. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
  24. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
  25. package/dist/constructs/v1beta3/token/Token.d.ts +46 -46
  26. package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
  27. package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
  28. package/dist/index.d.mts +229 -8
  29. package/dist/index.d.ts +229 -8
  30. package/dist/index.js +2 -2
  31. package/dist/index.mjs +2 -2
  32. package/dist/mesheryApi.d.mts +717 -711
  33. package/dist/mesheryApi.d.ts +717 -711
  34. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -1978,9 +1978,10 @@ interface components$t {
1978
1978
  page_size?: number;
1979
1979
  /** @description Total number of items available. */
1980
1980
  total_count?: number;
1981
- /** @description The models of the meshmodelmodelspage. */
1981
+ /** @description The models matching the list-endpoint query. */
1982
1982
  models?: {
1983
- [key: string]: unknown;
1983
+ /** @description Version of the model as defined by the registrant. */
1984
+ version: string;
1984
1985
  }[];
1985
1986
  };
1986
1987
  };
@@ -2178,18 +2179,130 @@ interface components$s {
2178
2179
  /** @description Teams the user belongs to with role information */
2179
2180
  teams?: {
2180
2181
  /** @description Team memberships for the user with their assigned roles. */
2181
- teams_with_roles?: Record<string, never>[];
2182
+ teams_with_roles?: {
2183
+ /**
2184
+ * Format: uuid
2185
+ * @description Unique identifier of the team.
2186
+ */
2187
+ id: string;
2188
+ /** @description Name of the team. */
2189
+ name: string;
2190
+ /** @description Human readable description of the team. */
2191
+ description?: string;
2192
+ /**
2193
+ * Format: uuid
2194
+ * @description Identifier of the team owner.
2195
+ */
2196
+ owner?: string;
2197
+ /**
2198
+ * Format: date-time
2199
+ * @description Timestamp when the team was created.
2200
+ */
2201
+ created_at?: string;
2202
+ /**
2203
+ * Format: date-time
2204
+ * @description Timestamp when the team was last updated.
2205
+ */
2206
+ updated_at?: string;
2207
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2208
+ role_names: string[];
2209
+ }[];
2182
2210
  /** @description Total number of team memberships returned for the user. */
2183
2211
  total_count?: number;
2184
2212
  };
2185
2213
  /** @description Organizations the user belongs to with role information */
2186
2214
  organizations?: {
2187
2215
  /** @description Organization memberships for the user with their assigned roles. */
2188
- organizations_with_roles?: Record<string, never>[];
2216
+ organizations_with_roles?: {
2217
+ /**
2218
+ * Format: uuid
2219
+ * @description Unique identifier of the organization.
2220
+ */
2221
+ id: string;
2222
+ /** @description Name of the organization. */
2223
+ name: string;
2224
+ /** @description Human readable description of the organization. */
2225
+ description?: string;
2226
+ /**
2227
+ * Format: uuid
2228
+ * @description Identifier of the organization owner.
2229
+ */
2230
+ owner?: string;
2231
+ /**
2232
+ * Format: date-time
2233
+ * @description Timestamp when the organization was created.
2234
+ */
2235
+ created_at?: string;
2236
+ /**
2237
+ * Format: date-time
2238
+ * @description Timestamp when the organization was last updated.
2239
+ */
2240
+ updated_at?: string;
2241
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2242
+ role_names: string[];
2243
+ }[];
2189
2244
  /** @description Total number of organization memberships returned for the user. */
2190
2245
  total_count?: number;
2191
2246
  };
2192
2247
  };
2248
+ /** @description A team the user is a member of, together with the names of the roles assigned to that user within the team. Returned as an item of User.teams.teams_with_roles. The role names are dynamic, user-generated values (no fixed enumeration). */
2249
+ TeamWithRoles: {
2250
+ /**
2251
+ * Format: uuid
2252
+ * @description Unique identifier of the team.
2253
+ */
2254
+ id: string;
2255
+ /** @description Name of the team. */
2256
+ name: string;
2257
+ /** @description Human readable description of the team. */
2258
+ description?: string;
2259
+ /**
2260
+ * Format: uuid
2261
+ * @description Identifier of the team owner.
2262
+ */
2263
+ owner?: string;
2264
+ /**
2265
+ * Format: date-time
2266
+ * @description Timestamp when the team was created.
2267
+ */
2268
+ created_at?: string;
2269
+ /**
2270
+ * Format: date-time
2271
+ * @description Timestamp when the team was last updated.
2272
+ */
2273
+ updated_at?: string;
2274
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2275
+ role_names: string[];
2276
+ };
2277
+ /** @description An organization the user is a member of, together with the names of the roles assigned to that user within the organization. Returned as an item of User.organizations.organizations_with_roles. The role names are dynamic, user-generated values (no fixed enumeration). */
2278
+ OrganizationWithRoles: {
2279
+ /**
2280
+ * Format: uuid
2281
+ * @description Unique identifier of the organization.
2282
+ */
2283
+ id: string;
2284
+ /** @description Name of the organization. */
2285
+ name: string;
2286
+ /** @description Human readable description of the organization. */
2287
+ description?: string;
2288
+ /**
2289
+ * Format: uuid
2290
+ * @description Identifier of the organization owner.
2291
+ */
2292
+ owner?: string;
2293
+ /**
2294
+ * Format: date-time
2295
+ * @description Timestamp when the organization was created.
2296
+ */
2297
+ created_at?: string;
2298
+ /**
2299
+ * Format: date-time
2300
+ * @description Timestamp when the organization was last updated.
2301
+ */
2302
+ updated_at?: string;
2303
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2304
+ role_names: string[];
2305
+ };
2193
2306
  /** @description Paginated list of users with organization and team role context */
2194
2307
  UsersPageForAdmin: {
2195
2308
  /** @description Current page number of the result set. */
@@ -2373,14 +2486,68 @@ interface components$s {
2373
2486
  /** @description Teams the user belongs to with role information */
2374
2487
  teams?: {
2375
2488
  /** @description Team memberships for the user with their assigned roles. */
2376
- teams_with_roles?: Record<string, never>[];
2489
+ teams_with_roles?: {
2490
+ /**
2491
+ * Format: uuid
2492
+ * @description Unique identifier of the team.
2493
+ */
2494
+ id: string;
2495
+ /** @description Name of the team. */
2496
+ name: string;
2497
+ /** @description Human readable description of the team. */
2498
+ description?: string;
2499
+ /**
2500
+ * Format: uuid
2501
+ * @description Identifier of the team owner.
2502
+ */
2503
+ owner?: string;
2504
+ /**
2505
+ * Format: date-time
2506
+ * @description Timestamp when the team was created.
2507
+ */
2508
+ created_at?: string;
2509
+ /**
2510
+ * Format: date-time
2511
+ * @description Timestamp when the team was last updated.
2512
+ */
2513
+ updated_at?: string;
2514
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2515
+ role_names: string[];
2516
+ }[];
2377
2517
  /** @description Total number of team memberships returned for the user. */
2378
2518
  total_count?: number;
2379
2519
  };
2380
2520
  /** @description Organizations the user belongs to with role information */
2381
2521
  organizations?: {
2382
2522
  /** @description Organization memberships for the user with their assigned roles. */
2383
- organizations_with_roles?: Record<string, never>[];
2523
+ organizations_with_roles?: {
2524
+ /**
2525
+ * Format: uuid
2526
+ * @description Unique identifier of the organization.
2527
+ */
2528
+ id: string;
2529
+ /** @description Name of the organization. */
2530
+ name: string;
2531
+ /** @description Human readable description of the organization. */
2532
+ description?: string;
2533
+ /**
2534
+ * Format: uuid
2535
+ * @description Identifier of the organization owner.
2536
+ */
2537
+ owner?: string;
2538
+ /**
2539
+ * Format: date-time
2540
+ * @description Timestamp when the organization was created.
2541
+ */
2542
+ created_at?: string;
2543
+ /**
2544
+ * Format: date-time
2545
+ * @description Timestamp when the organization was last updated.
2546
+ */
2547
+ updated_at?: string;
2548
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2549
+ role_names: string[];
2550
+ }[];
2384
2551
  /** @description Total number of organization memberships returned for the user. */
2385
2552
  total_count?: number;
2386
2553
  };
@@ -2569,14 +2736,68 @@ interface components$s {
2569
2736
  /** @description Teams the user belongs to with role information */
2570
2737
  teams?: {
2571
2738
  /** @description Team memberships for the user with their assigned roles. */
2572
- teams_with_roles?: Record<string, never>[];
2739
+ teams_with_roles?: {
2740
+ /**
2741
+ * Format: uuid
2742
+ * @description Unique identifier of the team.
2743
+ */
2744
+ id: string;
2745
+ /** @description Name of the team. */
2746
+ name: string;
2747
+ /** @description Human readable description of the team. */
2748
+ description?: string;
2749
+ /**
2750
+ * Format: uuid
2751
+ * @description Identifier of the team owner.
2752
+ */
2753
+ owner?: string;
2754
+ /**
2755
+ * Format: date-time
2756
+ * @description Timestamp when the team was created.
2757
+ */
2758
+ created_at?: string;
2759
+ /**
2760
+ * Format: date-time
2761
+ * @description Timestamp when the team was last updated.
2762
+ */
2763
+ updated_at?: string;
2764
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2765
+ role_names: string[];
2766
+ }[];
2573
2767
  /** @description Total number of team memberships returned for the user. */
2574
2768
  total_count?: number;
2575
2769
  };
2576
2770
  /** @description Organizations the user belongs to with role information */
2577
2771
  organizations?: {
2578
2772
  /** @description Organization memberships for the user with their assigned roles. */
2579
- organizations_with_roles?: Record<string, never>[];
2773
+ organizations_with_roles?: {
2774
+ /**
2775
+ * Format: uuid
2776
+ * @description Unique identifier of the organization.
2777
+ */
2778
+ id: string;
2779
+ /** @description Name of the organization. */
2780
+ name: string;
2781
+ /** @description Human readable description of the organization. */
2782
+ description?: string;
2783
+ /**
2784
+ * Format: uuid
2785
+ * @description Identifier of the organization owner.
2786
+ */
2787
+ owner?: string;
2788
+ /**
2789
+ * Format: date-time
2790
+ * @description Timestamp when the organization was created.
2791
+ */
2792
+ created_at?: string;
2793
+ /**
2794
+ * Format: date-time
2795
+ * @description Timestamp when the organization was last updated.
2796
+ */
2797
+ updated_at?: string;
2798
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2799
+ role_names: string[];
2800
+ }[];
2580
2801
  /** @description Total number of organization memberships returned for the user. */
2581
2802
  total_count?: number;
2582
2803
  };
package/dist/index.d.ts CHANGED
@@ -1978,9 +1978,10 @@ interface components$t {
1978
1978
  page_size?: number;
1979
1979
  /** @description Total number of items available. */
1980
1980
  total_count?: number;
1981
- /** @description The models of the meshmodelmodelspage. */
1981
+ /** @description The models matching the list-endpoint query. */
1982
1982
  models?: {
1983
- [key: string]: unknown;
1983
+ /** @description Version of the model as defined by the registrant. */
1984
+ version: string;
1984
1985
  }[];
1985
1986
  };
1986
1987
  };
@@ -2178,18 +2179,130 @@ interface components$s {
2178
2179
  /** @description Teams the user belongs to with role information */
2179
2180
  teams?: {
2180
2181
  /** @description Team memberships for the user with their assigned roles. */
2181
- teams_with_roles?: Record<string, never>[];
2182
+ teams_with_roles?: {
2183
+ /**
2184
+ * Format: uuid
2185
+ * @description Unique identifier of the team.
2186
+ */
2187
+ id: string;
2188
+ /** @description Name of the team. */
2189
+ name: string;
2190
+ /** @description Human readable description of the team. */
2191
+ description?: string;
2192
+ /**
2193
+ * Format: uuid
2194
+ * @description Identifier of the team owner.
2195
+ */
2196
+ owner?: string;
2197
+ /**
2198
+ * Format: date-time
2199
+ * @description Timestamp when the team was created.
2200
+ */
2201
+ created_at?: string;
2202
+ /**
2203
+ * Format: date-time
2204
+ * @description Timestamp when the team was last updated.
2205
+ */
2206
+ updated_at?: string;
2207
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2208
+ role_names: string[];
2209
+ }[];
2182
2210
  /** @description Total number of team memberships returned for the user. */
2183
2211
  total_count?: number;
2184
2212
  };
2185
2213
  /** @description Organizations the user belongs to with role information */
2186
2214
  organizations?: {
2187
2215
  /** @description Organization memberships for the user with their assigned roles. */
2188
- organizations_with_roles?: Record<string, never>[];
2216
+ organizations_with_roles?: {
2217
+ /**
2218
+ * Format: uuid
2219
+ * @description Unique identifier of the organization.
2220
+ */
2221
+ id: string;
2222
+ /** @description Name of the organization. */
2223
+ name: string;
2224
+ /** @description Human readable description of the organization. */
2225
+ description?: string;
2226
+ /**
2227
+ * Format: uuid
2228
+ * @description Identifier of the organization owner.
2229
+ */
2230
+ owner?: string;
2231
+ /**
2232
+ * Format: date-time
2233
+ * @description Timestamp when the organization was created.
2234
+ */
2235
+ created_at?: string;
2236
+ /**
2237
+ * Format: date-time
2238
+ * @description Timestamp when the organization was last updated.
2239
+ */
2240
+ updated_at?: string;
2241
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2242
+ role_names: string[];
2243
+ }[];
2189
2244
  /** @description Total number of organization memberships returned for the user. */
2190
2245
  total_count?: number;
2191
2246
  };
2192
2247
  };
2248
+ /** @description A team the user is a member of, together with the names of the roles assigned to that user within the team. Returned as an item of User.teams.teams_with_roles. The role names are dynamic, user-generated values (no fixed enumeration). */
2249
+ TeamWithRoles: {
2250
+ /**
2251
+ * Format: uuid
2252
+ * @description Unique identifier of the team.
2253
+ */
2254
+ id: string;
2255
+ /** @description Name of the team. */
2256
+ name: string;
2257
+ /** @description Human readable description of the team. */
2258
+ description?: string;
2259
+ /**
2260
+ * Format: uuid
2261
+ * @description Identifier of the team owner.
2262
+ */
2263
+ owner?: string;
2264
+ /**
2265
+ * Format: date-time
2266
+ * @description Timestamp when the team was created.
2267
+ */
2268
+ created_at?: string;
2269
+ /**
2270
+ * Format: date-time
2271
+ * @description Timestamp when the team was last updated.
2272
+ */
2273
+ updated_at?: string;
2274
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2275
+ role_names: string[];
2276
+ };
2277
+ /** @description An organization the user is a member of, together with the names of the roles assigned to that user within the organization. Returned as an item of User.organizations.organizations_with_roles. The role names are dynamic, user-generated values (no fixed enumeration). */
2278
+ OrganizationWithRoles: {
2279
+ /**
2280
+ * Format: uuid
2281
+ * @description Unique identifier of the organization.
2282
+ */
2283
+ id: string;
2284
+ /** @description Name of the organization. */
2285
+ name: string;
2286
+ /** @description Human readable description of the organization. */
2287
+ description?: string;
2288
+ /**
2289
+ * Format: uuid
2290
+ * @description Identifier of the organization owner.
2291
+ */
2292
+ owner?: string;
2293
+ /**
2294
+ * Format: date-time
2295
+ * @description Timestamp when the organization was created.
2296
+ */
2297
+ created_at?: string;
2298
+ /**
2299
+ * Format: date-time
2300
+ * @description Timestamp when the organization was last updated.
2301
+ */
2302
+ updated_at?: string;
2303
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2304
+ role_names: string[];
2305
+ };
2193
2306
  /** @description Paginated list of users with organization and team role context */
2194
2307
  UsersPageForAdmin: {
2195
2308
  /** @description Current page number of the result set. */
@@ -2373,14 +2486,68 @@ interface components$s {
2373
2486
  /** @description Teams the user belongs to with role information */
2374
2487
  teams?: {
2375
2488
  /** @description Team memberships for the user with their assigned roles. */
2376
- teams_with_roles?: Record<string, never>[];
2489
+ teams_with_roles?: {
2490
+ /**
2491
+ * Format: uuid
2492
+ * @description Unique identifier of the team.
2493
+ */
2494
+ id: string;
2495
+ /** @description Name of the team. */
2496
+ name: string;
2497
+ /** @description Human readable description of the team. */
2498
+ description?: string;
2499
+ /**
2500
+ * Format: uuid
2501
+ * @description Identifier of the team owner.
2502
+ */
2503
+ owner?: string;
2504
+ /**
2505
+ * Format: date-time
2506
+ * @description Timestamp when the team was created.
2507
+ */
2508
+ created_at?: string;
2509
+ /**
2510
+ * Format: date-time
2511
+ * @description Timestamp when the team was last updated.
2512
+ */
2513
+ updated_at?: string;
2514
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2515
+ role_names: string[];
2516
+ }[];
2377
2517
  /** @description Total number of team memberships returned for the user. */
2378
2518
  total_count?: number;
2379
2519
  };
2380
2520
  /** @description Organizations the user belongs to with role information */
2381
2521
  organizations?: {
2382
2522
  /** @description Organization memberships for the user with their assigned roles. */
2383
- organizations_with_roles?: Record<string, never>[];
2523
+ organizations_with_roles?: {
2524
+ /**
2525
+ * Format: uuid
2526
+ * @description Unique identifier of the organization.
2527
+ */
2528
+ id: string;
2529
+ /** @description Name of the organization. */
2530
+ name: string;
2531
+ /** @description Human readable description of the organization. */
2532
+ description?: string;
2533
+ /**
2534
+ * Format: uuid
2535
+ * @description Identifier of the organization owner.
2536
+ */
2537
+ owner?: string;
2538
+ /**
2539
+ * Format: date-time
2540
+ * @description Timestamp when the organization was created.
2541
+ */
2542
+ created_at?: string;
2543
+ /**
2544
+ * Format: date-time
2545
+ * @description Timestamp when the organization was last updated.
2546
+ */
2547
+ updated_at?: string;
2548
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2549
+ role_names: string[];
2550
+ }[];
2384
2551
  /** @description Total number of organization memberships returned for the user. */
2385
2552
  total_count?: number;
2386
2553
  };
@@ -2569,14 +2736,68 @@ interface components$s {
2569
2736
  /** @description Teams the user belongs to with role information */
2570
2737
  teams?: {
2571
2738
  /** @description Team memberships for the user with their assigned roles. */
2572
- teams_with_roles?: Record<string, never>[];
2739
+ teams_with_roles?: {
2740
+ /**
2741
+ * Format: uuid
2742
+ * @description Unique identifier of the team.
2743
+ */
2744
+ id: string;
2745
+ /** @description Name of the team. */
2746
+ name: string;
2747
+ /** @description Human readable description of the team. */
2748
+ description?: string;
2749
+ /**
2750
+ * Format: uuid
2751
+ * @description Identifier of the team owner.
2752
+ */
2753
+ owner?: string;
2754
+ /**
2755
+ * Format: date-time
2756
+ * @description Timestamp when the team was created.
2757
+ */
2758
+ created_at?: string;
2759
+ /**
2760
+ * Format: date-time
2761
+ * @description Timestamp when the team was last updated.
2762
+ */
2763
+ updated_at?: string;
2764
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2765
+ role_names: string[];
2766
+ }[];
2573
2767
  /** @description Total number of team memberships returned for the user. */
2574
2768
  total_count?: number;
2575
2769
  };
2576
2770
  /** @description Organizations the user belongs to with role information */
2577
2771
  organizations?: {
2578
2772
  /** @description Organization memberships for the user with their assigned roles. */
2579
- organizations_with_roles?: Record<string, never>[];
2773
+ organizations_with_roles?: {
2774
+ /**
2775
+ * Format: uuid
2776
+ * @description Unique identifier of the organization.
2777
+ */
2778
+ id: string;
2779
+ /** @description Name of the organization. */
2780
+ name: string;
2781
+ /** @description Human readable description of the organization. */
2782
+ description?: string;
2783
+ /**
2784
+ * Format: uuid
2785
+ * @description Identifier of the organization owner.
2786
+ */
2787
+ owner?: string;
2788
+ /**
2789
+ * Format: date-time
2790
+ * @description Timestamp when the organization was created.
2791
+ */
2792
+ created_at?: string;
2793
+ /**
2794
+ * Format: date-time
2795
+ * @description Timestamp when the organization was last updated.
2796
+ */
2797
+ updated_at?: string;
2798
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2799
+ role_names: string[];
2800
+ }[];
2580
2801
  /** @description Total number of organization memberships returned for the user. */
2581
2802
  total_count?: number;
2582
2803
  };