@artemis-studio/client 2026.10.17 → 2026.10.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 (2) hide show
  1. package/package.json +1 -1
  2. package/schema.d.ts +200 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artemis-studio/client",
3
- "version": "2026.10.17",
3
+ "version": "2026.10.20",
4
4
  "description": "A typed TypeScript client for the Artemis Studio API, generated from its OpenAPI document.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/schema.d.ts CHANGED
@@ -1908,6 +1908,22 @@ export interface paths {
1908
1908
  patch?: never;
1909
1909
  trace?: never;
1910
1910
  };
1911
+ "/api/v1/me/access/resource": {
1912
+ parameters: {
1913
+ query?: never;
1914
+ header?: never;
1915
+ path?: never;
1916
+ cookie?: never;
1917
+ };
1918
+ get: operations["resource"];
1919
+ put?: never;
1920
+ post?: never;
1921
+ delete?: never;
1922
+ options?: never;
1923
+ head?: never;
1924
+ patch?: never;
1925
+ trace?: never;
1926
+ };
1911
1927
  "/api/v1/mcp/tools": {
1912
1928
  parameters: {
1913
1929
  query?: never;
@@ -2228,6 +2244,22 @@ export interface paths {
2228
2244
  patch?: never;
2229
2245
  trace?: never;
2230
2246
  };
2247
+ "/api/v1/clusters/{clusterId}/resource-access": {
2248
+ parameters: {
2249
+ query?: never;
2250
+ header?: never;
2251
+ path?: never;
2252
+ cookie?: never;
2253
+ };
2254
+ get: operations["resourceAccess"];
2255
+ put?: never;
2256
+ post?: never;
2257
+ delete?: never;
2258
+ options?: never;
2259
+ head?: never;
2260
+ patch?: never;
2261
+ trace?: never;
2262
+ };
2231
2263
  "/api/v1/clusters/{clusterId}/queues/{queueName}/messages/{messageId}": {
2232
2264
  parameters: {
2233
2265
  query?: never;
@@ -3855,6 +3887,10 @@ export interface components {
3855
3887
  scopeType: string;
3856
3888
  /** Format: uuid */
3857
3889
  scopeId?: string | null;
3890
+ /** @description QUEUE or ADDRESS: limits the grant to names matching resourcePattern */
3891
+ resourceKind?: string | null;
3892
+ /** @description An Artemis wildcard pattern, with resourceKind; absent for the whole scope */
3893
+ resourcePattern?: string | null;
3858
3894
  };
3859
3895
  CreatedTokenView: {
3860
3896
  token: components["schemas"]["TokenView"];
@@ -3865,6 +3901,8 @@ export interface components {
3865
3901
  scopeType: string;
3866
3902
  /** Format: uuid */
3867
3903
  scopeId: string;
3904
+ resourceKind?: string | null;
3905
+ resourcePattern?: string | null;
3868
3906
  };
3869
3907
  TokenView: {
3870
3908
  /** Format: uuid */
@@ -5607,6 +5645,13 @@ export interface components {
5607
5645
  /** @description Whether the caller may see the cluster at all; null when no cluster is asked about. */
5608
5646
  canSeeCluster?: boolean | null;
5609
5647
  teams: components["schemas"]["TeamMembership"][];
5648
+ /** @description Patterns on which the caller may create a queue or address through a team or a share. A grant that reaches the cluster allows any name and shows in permissions. */
5649
+ createPatterns: components["schemas"]["CreatePatterns"];
5650
+ };
5651
+ /** @description Name patterns, as written, that the caller may create under. Empty when none. */
5652
+ CreatePatterns: {
5653
+ queue: string[];
5654
+ address: string[];
5610
5655
  };
5611
5656
  /** @description A team the caller belongs to, with the team role they hold in it. */
5612
5657
  TeamMembership: {
@@ -5619,6 +5664,11 @@ export interface components {
5619
5664
  /** @description Whether the team role holds team:admin. */
5620
5665
  teamAdmin: boolean;
5621
5666
  };
5667
+ /** @description What the caller may do with one queue or address: the actions they hold on it. */
5668
+ MyResourceAccess: {
5669
+ /** @description The resource permissions the caller holds on it, through a grant, a team or a share, including plugins'. Empty for a resource they may not read. */
5670
+ actions: string[];
5671
+ };
5622
5672
  McpToolView: {
5623
5673
  name: string;
5624
5674
  /** @enum {string} */
@@ -6247,6 +6297,35 @@ export interface components {
6247
6297
  summary: string;
6248
6298
  remedy: string;
6249
6299
  };
6300
+ /** @description Who has access to one queue or address through teams: its owner and every share. */
6301
+ ResourceAccessView: {
6302
+ ownerTeam?: components["schemas"]["TeamRef"] | null;
6303
+ grants: components["schemas"]["ResourceTeamGrant"][];
6304
+ };
6305
+ /** @description One team role that reaches a queue or address, and how many members hold it: a role of the owning team, or the role a share gives another team. */
6306
+ ResourceTeamGrant: {
6307
+ /** Format: uuid */
6308
+ teamId: string;
6309
+ teamName: string;
6310
+ roleName: string;
6311
+ /** @enum {string} */
6312
+ source: "OWNER" | "SHARE";
6313
+ /** @description SHARE only: the owning team that shared the pattern. */
6314
+ sharedByTeamName?: string | null;
6315
+ /** @description SHARE only: the pattern the owning team shared. */
6316
+ pattern?: string | null;
6317
+ /**
6318
+ * Format: int32
6319
+ * @description OWNER: the team's members holding the role. SHARE: all members of the receiving team.
6320
+ */
6321
+ memberCount: number;
6322
+ };
6323
+ /** @description A team, by id and name. */
6324
+ TeamRef: {
6325
+ /** Format: uuid */
6326
+ id: string;
6327
+ name: string;
6328
+ };
6250
6329
  PagedViewQueueView: {
6251
6330
  data: components["schemas"]["QueueView"][];
6252
6331
  /** Format: int32 */
@@ -6299,6 +6378,7 @@ export interface components {
6299
6378
  perNode: components["schemas"]["QueueNodeCell"][];
6300
6379
  /** @description The actions of the catalogue that apply to this row and that the caller holds on it, such as queue:purge. The console gates its controls from this. */
6301
6380
  allowedActions: string[];
6381
+ ownerTeam?: components["schemas"]["TeamRef"] | null;
6302
6382
  };
6303
6383
  MessagePageView: {
6304
6384
  data: components["schemas"]["MessageSummaryView"][];
@@ -7230,6 +7310,7 @@ export interface components {
7230
7310
  messageCount: number;
7231
7311
  /** @description The actions of the catalogue that apply to this row and that the caller holds on it, such as queue:purge. The console gates its controls from this. */
7232
7312
  allowedActions: string[];
7313
+ ownerTeam?: components["schemas"]["TeamRef"] | null;
7233
7314
  };
7234
7315
  PagedViewAddressView: {
7235
7316
  data: components["schemas"]["AddressView"][];
@@ -16997,6 +17078,65 @@ export interface operations {
16997
17078
  };
16998
17079
  };
16999
17080
  };
17081
+ resource: {
17082
+ parameters: {
17083
+ query: {
17084
+ clusterId: string;
17085
+ kind: "QUEUE" | "ADDRESS";
17086
+ name: string;
17087
+ };
17088
+ header?: never;
17089
+ path?: never;
17090
+ cookie?: never;
17091
+ };
17092
+ requestBody?: never;
17093
+ responses: {
17094
+ /** @description OK */
17095
+ 200: {
17096
+ headers: {
17097
+ [name: string]: unknown;
17098
+ };
17099
+ content: {
17100
+ "*/*": components["schemas"]["MyResourceAccess"];
17101
+ };
17102
+ };
17103
+ /** @description Too many requests. Wait for Retry-After seconds. */
17104
+ 429: {
17105
+ headers: {
17106
+ /** @description Seconds to wait before retrying. */
17107
+ "Retry-After"?: number;
17108
+ /** @description Requests allowed in the window (API tokens). */
17109
+ "RateLimit-Limit"?: number;
17110
+ /** @description Requests left in the window (API tokens). */
17111
+ "RateLimit-Remaining"?: number;
17112
+ /** @description Seconds until the window resets (API tokens). */
17113
+ "RateLimit-Reset"?: number;
17114
+ [name: string]: unknown;
17115
+ };
17116
+ content: {
17117
+ "application/problem+json": components["schemas"]["ProblemDetail"];
17118
+ };
17119
+ };
17120
+ /** @description Client error */
17121
+ "4XX": {
17122
+ headers: {
17123
+ [name: string]: unknown;
17124
+ };
17125
+ content: {
17126
+ "application/problem+json": components["schemas"]["ProblemDetail"];
17127
+ };
17128
+ };
17129
+ /** @description Server error */
17130
+ "5XX": {
17131
+ headers: {
17132
+ [name: string]: unknown;
17133
+ };
17134
+ content: {
17135
+ "application/problem+json": components["schemas"]["ProblemDetail"];
17136
+ };
17137
+ };
17138
+ };
17139
+ };
17000
17140
  list_10: {
17001
17141
  parameters: {
17002
17142
  query?: {
@@ -18214,6 +18354,66 @@ export interface operations {
18214
18354
  };
18215
18355
  };
18216
18356
  };
18357
+ resourceAccess: {
18358
+ parameters: {
18359
+ query: {
18360
+ kind: "QUEUE" | "ADDRESS";
18361
+ name: string;
18362
+ };
18363
+ header?: never;
18364
+ path: {
18365
+ clusterId: string;
18366
+ };
18367
+ cookie?: never;
18368
+ };
18369
+ requestBody?: never;
18370
+ responses: {
18371
+ /** @description OK */
18372
+ 200: {
18373
+ headers: {
18374
+ [name: string]: unknown;
18375
+ };
18376
+ content: {
18377
+ "*/*": components["schemas"]["ResourceAccessView"];
18378
+ };
18379
+ };
18380
+ /** @description Too many requests. Wait for Retry-After seconds. */
18381
+ 429: {
18382
+ headers: {
18383
+ /** @description Seconds to wait before retrying. */
18384
+ "Retry-After"?: number;
18385
+ /** @description Requests allowed in the window (API tokens). */
18386
+ "RateLimit-Limit"?: number;
18387
+ /** @description Requests left in the window (API tokens). */
18388
+ "RateLimit-Remaining"?: number;
18389
+ /** @description Seconds until the window resets (API tokens). */
18390
+ "RateLimit-Reset"?: number;
18391
+ [name: string]: unknown;
18392
+ };
18393
+ content: {
18394
+ "application/problem+json": components["schemas"]["ProblemDetail"];
18395
+ };
18396
+ };
18397
+ /** @description Client error */
18398
+ "4XX": {
18399
+ headers: {
18400
+ [name: string]: unknown;
18401
+ };
18402
+ content: {
18403
+ "application/problem+json": components["schemas"]["ProblemDetail"];
18404
+ };
18405
+ };
18406
+ /** @description Server error */
18407
+ "5XX": {
18408
+ headers: {
18409
+ [name: string]: unknown;
18410
+ };
18411
+ content: {
18412
+ "application/problem+json": components["schemas"]["ProblemDetail"];
18413
+ };
18414
+ };
18415
+ };
18416
+ };
18217
18417
  detail: {
18218
18418
  parameters: {
18219
18419
  query?: {