@meshery/schemas 1.3.124 → 1.3.126

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 +14 -14
  2. package/dist/cloudApi.d.ts +14 -14
  3. package/dist/constructs/v1alpha1/core/Core.d.ts +34 -0
  4. package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
  5. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
  6. package/dist/constructs/v1beta1/feature/Feature.d.ts +3 -3
  7. package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -1
  8. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -1
  9. package/dist/constructs/v1beta2/core/Core.d.ts +64 -1
  10. package/dist/constructs/v1beta2/core/CoreSchema.js +1 -1
  11. package/dist/constructs/v1beta2/core/CoreSchema.mjs +1 -1
  12. package/dist/constructs/v1beta2/user/User.d.ts +60 -2
  13. package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
  14. package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
  15. package/dist/constructs/v1beta3/connection/Connection.d.ts +92 -5
  16. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +5 -5
  17. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +5 -5
  18. package/dist/constructs/v1beta3/content_item/ContentItem.d.ts +90 -3
  19. package/dist/constructs/v1beta3/content_item/ContentItemSchema.js +6 -6
  20. package/dist/constructs/v1beta3/content_item/ContentItemSchema.mjs +6 -6
  21. package/dist/constructs/v1beta3/event/Event.d.ts +60 -2
  22. package/dist/constructs/v1beta3/event/EventSchema.js +3 -3
  23. package/dist/constructs/v1beta3/event/EventSchema.mjs +3 -3
  24. package/dist/constructs/v1beta3/request/Request.d.ts +5 -5
  25. package/dist/constructs/v1beta3/request/RequestSchema.js +5 -5
  26. package/dist/constructs/v1beta3/request/RequestSchema.mjs +5 -5
  27. package/dist/constructs/v1beta3/schedule/Schedule.d.ts +90 -3
  28. package/dist/constructs/v1beta3/schedule/ScheduleSchema.js +5 -5
  29. package/dist/constructs/v1beta3/schedule/ScheduleSchema.mjs +5 -5
  30. package/dist/index.d.mts +65 -2
  31. package/dist/index.d.ts +65 -2
  32. package/dist/mesheryApi.d.mts +2 -2
  33. package/dist/mesheryApi.d.ts +2 -2
  34. package/package.json +1 -1
@@ -13,7 +13,7 @@ export interface paths {
13
13
  };
14
14
  /**
15
15
  * Get all connections
16
- * @description Returns a paginated list of connections for the authenticated user with filtering, sorting and pagination support. When `X-Current-Orgid` is also sent, it must name the same organization as the `orgId` query; a mismatch is refused with a 400 (the organization selector in docs/mcp-operation-contract.md). When `X-Current-Orgid` is omitted, the `orgId` query must name the organization the call acts in (the session's selected organization); a mismatch is refused with a 403.
16
+ * @description Returns a paginated list of connections for the authenticated user with filtering, sorting and pagination support. When `X-Current-Orgid` is also sent, it must name the same organization as the `orgId` query; a mismatch is refused with a 400 (the organization selector in docs/mcp-operation-contract.md). When `X-Current-Orgid` is omitted, a sent `orgId` query names the acting organization (subject to the live-membership rule) and does not have to equal a selected organization.
17
17
  */
18
18
  get: operations["getConnections"];
19
19
  put?: never;
@@ -2382,6 +2382,35 @@ export interface components {
2382
2382
  "text/plain": string;
2383
2383
  };
2384
2384
  };
2385
+ /** @description Conflict - the call needs an organization, none was named, and more than one of the caller's organizations qualifies. Pass one of `choices[].id` as `X-Current-Orgid` (the `organizationId` tool argument). The body's `code` is `organization_selection_required`. */
2386
+ OrganizationSelectionRequired: {
2387
+ headers: {
2388
+ [name: string]: unknown;
2389
+ };
2390
+ content: {
2391
+ "application/json": {
2392
+ /**
2393
+ * @description Machine-readable reason. Always `organization_selection_required` for this body.
2394
+ * @enum {string}
2395
+ */
2396
+ code: "organization_selection_required";
2397
+ /** @description The sentence the caller is shown. */
2398
+ message: string;
2399
+ /** @description The caller's own live organizations the call could act in. Pass one `id` as `X-Current-Orgid`. */
2400
+ choices: {
2401
+ /**
2402
+ * Format: uuid
2403
+ * @description Organization ID.
2404
+ */
2405
+ id: string;
2406
+ /** @description Name of the organization. */
2407
+ name: string;
2408
+ /** @description Description of the organization. */
2409
+ description: string;
2410
+ }[];
2411
+ };
2412
+ };
2413
+ };
2385
2414
  /** @description Too many requests - the caller exceeded the server's per-user request rate for this route family. Wait the number of seconds in `Retry-After` before retrying. */
2386
2415
  MeshkitError429: {
2387
2416
  headers: {
@@ -2432,7 +2461,7 @@ export interface components {
2432
2461
  };
2433
2462
  };
2434
2463
  parameters: {
2435
- /** @description Organization the call acts in, by ID (a UUID). When present, the server resolves the session organization from it instead of the caller's selected organization, and runs its membership and permission checks there. A caller who is not a live member of the named organization receives the same 404 as an unknown resource. Omitted, the caller's selected organization applies. */
2464
+ /** @description Organization the call acts in, by ID (a UUID). When present, the server resolves the session organization from it instead of the caller's selected organization, and runs its membership and permission checks there. A caller who is not a live member of the named organization receives the same 404 as an unknown resource. Omitted, a path or query `orgId` the operation takes names the organization when sent; otherwise the caller's selected organization applies when it is not nil; otherwise the server defaults among the caller's live organizations, using the only one when exactly one qualifies. When the call needs an acting organization and several qualify, an operation that declares the OrganizationSelectionRequired response answers 409 `organization_selection_required`. The resolution order is in docs/mcp-operation-contract.md, the organization selector. */
2436
2465
  currentOrgId: string;
2437
2466
  /** @description Connection ID */
2438
2467
  connectionId: string;
@@ -2488,7 +2517,7 @@ export interface operations {
2488
2517
  name?: string;
2489
2518
  };
2490
2519
  header?: {
2491
- /** @description Organization the call acts in, by ID (a UUID). When present, the server resolves the session organization from it instead of the caller's selected organization, and runs its membership and permission checks there. A caller who is not a live member of the named organization receives the same 404 as an unknown resource. Omitted, the caller's selected organization applies. */
2520
+ /** @description Organization the call acts in, by ID (a UUID). When present, the server resolves the session organization from it instead of the caller's selected organization, and runs its membership and permission checks there. A caller who is not a live member of the named organization receives the same 404 as an unknown resource. Omitted, a path or query `orgId` the operation takes names the organization when sent; otherwise the caller's selected organization applies when it is not nil; otherwise the server defaults among the caller's live organizations, using the only one when exactly one qualifies. When the call needs an acting organization and several qualify, an operation that declares the OrganizationSelectionRequired response answers 409 `organization_selection_required`. The resolution order is in docs/mcp-operation-contract.md, the organization selector. */
2492
2521
  "X-Current-Orgid"?: string;
2493
2522
  };
2494
2523
  path?: never;
@@ -2909,6 +2938,35 @@ export interface operations {
2909
2938
  "text/plain": string;
2910
2939
  };
2911
2940
  };
2941
+ /** @description Conflict - the call needs an organization, none was named, and more than one of the caller's organizations qualifies. Pass one of `choices[].id` as `X-Current-Orgid` (the `organizationId` tool argument). The body's `code` is `organization_selection_required`. */
2942
+ 409: {
2943
+ headers: {
2944
+ [name: string]: unknown;
2945
+ };
2946
+ content: {
2947
+ "application/json": {
2948
+ /**
2949
+ * @description Machine-readable reason. Always `organization_selection_required` for this body.
2950
+ * @enum {string}
2951
+ */
2952
+ code: "organization_selection_required";
2953
+ /** @description The sentence the caller is shown. */
2954
+ message: string;
2955
+ /** @description The caller's own live organizations the call could act in. Pass one `id` as `X-Current-Orgid`. */
2956
+ choices: {
2957
+ /**
2958
+ * Format: uuid
2959
+ * @description Organization ID.
2960
+ */
2961
+ id: string;
2962
+ /** @description Name of the organization. */
2963
+ name: string;
2964
+ /** @description Description of the organization. */
2965
+ description: string;
2966
+ }[];
2967
+ };
2968
+ };
2969
+ };
2912
2970
  /** @description Internal server error */
2913
2971
  500: {
2914
2972
  headers: {
@@ -5869,7 +5927,7 @@ export interface operations {
5869
5927
  parameters: {
5870
5928
  query?: never;
5871
5929
  header?: {
5872
- /** @description Organization the call acts in, by ID (a UUID). When present, the server resolves the session organization from it instead of the caller's selected organization, and runs its membership and permission checks there. A caller who is not a live member of the named organization receives the same 404 as an unknown resource. Omitted, the caller's selected organization applies. */
5930
+ /** @description Organization the call acts in, by ID (a UUID). When present, the server resolves the session organization from it instead of the caller's selected organization, and runs its membership and permission checks there. A caller who is not a live member of the named organization receives the same 404 as an unknown resource. Omitted, a path or query `orgId` the operation takes names the organization when sent; otherwise the caller's selected organization applies when it is not nil; otherwise the server defaults among the caller's live organizations, using the only one when exactly one qualifies. When the call needs an acting organization and several qualify, an operation that declares the OrganizationSelectionRequired response answers 409 `organization_selection_required`. The resolution order is in docs/mcp-operation-contract.md, the organization selector. */
5873
5931
  "X-Current-Orgid"?: string;
5874
5932
  };
5875
5933
  path: {
@@ -6063,7 +6121,7 @@ export interface operations {
6063
6121
  installationId?: string;
6064
6122
  };
6065
6123
  header?: {
6066
- /** @description Organization the call acts in, by ID (a UUID). When present, the server resolves the session organization from it instead of the caller's selected organization, and runs its membership and permission checks there. A caller who is not a live member of the named organization receives the same 404 as an unknown resource. Omitted, the caller's selected organization applies. */
6124
+ /** @description Organization the call acts in, by ID (a UUID). When present, the server resolves the session organization from it instead of the caller's selected organization, and runs its membership and permission checks there. A caller who is not a live member of the named organization receives the same 404 as an unknown resource. Omitted, a path or query `orgId` the operation takes names the organization when sent; otherwise the caller's selected organization applies when it is not nil; otherwise the server defaults among the caller's live organizations, using the only one when exactly one qualifies. When the call needs an acting organization and several qualify, an operation that declares the OrganizationSelectionRequired response answers 409 `organization_selection_required`. The resolution order is in docs/mcp-operation-contract.md, the organization selector. */
6067
6125
  "X-Current-Orgid"?: string;
6068
6126
  };
6069
6127
  path?: never;
@@ -6189,6 +6247,35 @@ export interface operations {
6189
6247
  "text/plain": string;
6190
6248
  };
6191
6249
  };
6250
+ /** @description Conflict - the call needs an organization, none was named, and more than one of the caller's organizations qualifies. Pass one of `choices[].id` as `X-Current-Orgid` (the `organizationId` tool argument). The body's `code` is `organization_selection_required`. */
6251
+ 409: {
6252
+ headers: {
6253
+ [name: string]: unknown;
6254
+ };
6255
+ content: {
6256
+ "application/json": {
6257
+ /**
6258
+ * @description Machine-readable reason. Always `organization_selection_required` for this body.
6259
+ * @enum {string}
6260
+ */
6261
+ code: "organization_selection_required";
6262
+ /** @description The sentence the caller is shown. */
6263
+ message: string;
6264
+ /** @description The caller's own live organizations the call could act in. Pass one `id` as `X-Current-Orgid`. */
6265
+ choices: {
6266
+ /**
6267
+ * Format: uuid
6268
+ * @description Organization ID.
6269
+ */
6270
+ id: string;
6271
+ /** @description Name of the organization. */
6272
+ name: string;
6273
+ /** @description Description of the organization. */
6274
+ description: string;
6275
+ }[];
6276
+ };
6277
+ };
6278
+ };
6192
6279
  /** @description Internal server error */
6193
6280
  500: {
6194
6281
  headers: {