@epam/ai-dial-chat-api-client 1.2.0-dev.15 → 1.2.0-dev.152

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.
@@ -46,12 +46,12 @@ export declare class ClientChannelApi extends runtime.BaseAPI {
46
46
  */
47
47
  subscribeClientChannel(requestParameters?: SubscribeClientChannelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
48
48
  /**
49
- * Closes the given client channel on DIAL Core. Treats an already-gone channel (404) as idempotent success.
49
+ * Closes the given client channel on DIAL Core and returns its HTTP status unchanged with an empty body, including 404 for an already-gone channel. Returns 503 if Core cannot be reached.
50
50
  * Unsubscribe from the client channel
51
51
  */
52
52
  unsubscribeClientChannelRaw(requestParameters: UnsubscribeClientChannelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
53
53
  /**
54
- * Closes the given client channel on DIAL Core. Treats an already-gone channel (404) as idempotent success.
54
+ * Closes the given client channel on DIAL Core and returns its HTTP status unchanged with an empty body, including 404 for an already-gone channel. Returns 503 if Core cannot be reached.
55
55
  * Unsubscribe from the client channel
56
56
  */
57
57
  unsubscribeClientChannel(requestParameters: UnsubscribeClientChannelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
@@ -80,7 +80,7 @@ class ClientChannelApi extends runtime.BaseAPI {
80
80
  await this.subscribeClientChannelRaw(requestParameters, initOverrides);
81
81
  }
82
82
  /**
83
- * Closes the given client channel on DIAL Core. Treats an already-gone channel (404) as idempotent success.
83
+ * Closes the given client channel on DIAL Core and returns its HTTP status unchanged with an empty body, including 404 for an already-gone channel. Returns 503 if Core cannot be reached.
84
84
  * Unsubscribe from the client channel
85
85
  */
86
86
  async unsubscribeClientChannelRaw(requestParameters, initOverrides) {
@@ -102,7 +102,7 @@ class ClientChannelApi extends runtime.BaseAPI {
102
102
  return new runtime.VoidApiResponse(response);
103
103
  }
104
104
  /**
105
- * Closes the given client channel on DIAL Core. Treats an already-gone channel (404) as idempotent success.
105
+ * Closes the given client channel on DIAL Core and returns its HTTP status unchanged with an empty body, including 404 for an already-gone channel. Returns 503 if Core cannot be reached.
106
106
  * Unsubscribe from the client channel
107
107
  */
108
108
  async unsubscribeClientChannel(requestParameters, initOverrides) {
@@ -10,11 +10,14 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ExternalServiceAuthResultDto, ExternalServiceLogoutBodyDto, ExternalServiceSigninBodyDto, GetExternalServiceResponseDto } from '../models/index';
13
+ import type { ApplicationExternalServiceDto, ExternalServiceAuthResultDto, ExternalServiceLogoutBodyDto, ExternalServiceSigninBodyDto, GetExternalServiceResponseDto } from '../models/index';
14
14
  export interface GetExternalServiceRequest {
15
15
  appId: string;
16
16
  serviceId: string;
17
17
  }
18
+ export interface ListExternalServicesRequest {
19
+ appId: string;
20
+ }
18
21
  export interface SignInExternalServiceRequest {
19
22
  appId: string;
20
23
  serviceId: string;
@@ -39,6 +42,16 @@ export declare class ExternalServicesApi extends runtime.BaseAPI {
39
42
  * Get application external-service metadata
40
43
  */
41
44
  getExternalService(requestParameters: GetExternalServiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetExternalServiceResponseDto>;
45
+ /**
46
+ * Reads the accessible application through DIAL Core, including inline services. Returns only public OAuth configuration and credential statuses; never secrets. Not cached so login/logout changes are immediately visible.
47
+ * List application external-service authentication metadata
48
+ */
49
+ listExternalServicesRaw(requestParameters: ListExternalServicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApplicationExternalServiceDto>>>;
50
+ /**
51
+ * Reads the accessible application through DIAL Core, including inline services. Returns only public OAuth configuration and credential statuses; never secrets. Not cached so login/logout changes are immediately visible.
52
+ * List application external-service authentication metadata
53
+ */
54
+ listExternalServices(requestParameters: ListExternalServicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApplicationExternalServiceDto>>;
42
55
  /**
43
56
  * Submits API key or OAuth authorization-code credentials for an application external service by proxying DIAL Core (POST /v1/ops/external-service/signin). Credential payloads are never logged.
44
57
  * Submit external-service credentials
@@ -1 +1 @@
1
- {"version":3,"file":"ExternalServicesApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ExternalServicesApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,OAAO,CAAC,OAAO;IACtD;;;OAGG;IACG,qBAAqB,CACzB,iBAAiB,EAAE,yBAAyB,EAC5C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,6BAA6B,CAAC,CAAC;IA0C9D;;;OAGG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,yBAAyB,EAC5C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,6BAA6B,CAAC;IAQzC;;;OAGG;IACG,wBAAwB,CAC5B,iBAAiB,EAAE,4BAA4B,EAC/C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAAC;IAoD7D;;;OAGG;IACG,qBAAqB,CACzB,iBAAiB,EAAE,4BAA4B,EAC/C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,4BAA4B,CAAC;IAQxC;;;OAGG;IACG,yBAAyB,CAC7B,iBAAiB,EAAE,6BAA6B,EAChD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAAC;IAoD7D;;;OAGG;IACG,sBAAsB,CAC1B,iBAAiB,EAAE,6BAA6B,EAChD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,4BAA4B,CAAC;CAOzC"}
1
+ {"version":3,"file":"ExternalServicesApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ExternalServicesApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,6BAA6B,EAC7B,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,4B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OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAAC;IAoD7D;;;OAGG;IACG,sBAAsB,CAC1B,iBAAiB,EAAE,6BAA6B,EAChD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,4BAA4B,CAAC;CAOzC"}
@@ -51,6 +51,34 @@ class ExternalServicesApi extends runtime.BaseAPI {
51
51
  const response = await this.getExternalServiceRaw(requestParameters, initOverrides);
52
52
  return await response.value();
53
53
  }
54
+ /**
55
+ * Reads the accessible application through DIAL Core, including inline services. Returns only public OAuth configuration and credential statuses; never secrets. Not cached so login/logout changes are immediately visible.
56
+ * List application external-service authentication metadata
57
+ */
58
+ async listExternalServicesRaw(requestParameters, initOverrides) {
59
+ if (requestParameters['appId'] == null) {
60
+ throw new runtime.RequiredError('appId', 'Required parameter "appId" was null or undefined when calling listExternalServices().');
61
+ }
62
+ const queryParameters = {};
63
+ const headerParameters = {};
64
+ let urlPath = `/api/v1/external-services/{appId}`;
65
+ urlPath = urlPath.replace(`{${'appId'}}`, encodeURIComponent(String(requestParameters['appId'])));
66
+ const response = await this.request({
67
+ path: urlPath,
68
+ method: 'GET',
69
+ headers: headerParameters,
70
+ query: queryParameters,
71
+ }, initOverrides);
72
+ return new runtime.JSONApiResponse(response);
73
+ }
74
+ /**
75
+ * Reads the accessible application through DIAL Core, including inline services. Returns only public OAuth configuration and credential statuses; never secrets. Not cached so login/logout changes are immediately visible.
76
+ * List application external-service authentication metadata
77
+ */
78
+ async listExternalServices(requestParameters, initOverrides) {
79
+ const response = await this.listExternalServicesRaw(requestParameters, initOverrides);
80
+ return await response.value();
81
+ }
54
82
  /**
55
83
  * Submits API key or OAuth authorization-code credentials for an application external service by proxying DIAL Core (POST /v1/ops/external-service/signin). Credential payloads are never logged.
56
84
  * Submit external-service credentials
@@ -53,12 +53,12 @@ export declare class PublishApi extends runtime.BaseAPI {
53
53
  */
54
54
  getPublishRules(requestParameters: GetPublishRulesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublishRulesResultDto>;
55
55
  /**
56
- * Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth. The optional `author` sets the publication\'s displayed author (the catalog\'s **Hosted by** value); when it is omitted or blank the caller\'s own session display name is used, as it always was.
56
+ * Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth. The optional `author` sets the publication\'s displayed author (the catalog\'s **Hosted by** value); when it is omitted or blank the caller\'s own session display name is used, as it always was. The optional `publishCredentials` flag asks Core to copy the publisher\'s own credential for the entity onto the published copy, so members of the organization use it without authorising individually; it is forwarded unchanged and changes no authorization — Core still derives the actor from the bearer token, enforces target-folder write access, and holds the publication PENDING until an administrator approves it.
57
57
  * Publish a catalog entity to an Organization folder
58
58
  */
59
59
  publishCatalogEntityRaw(requestParameters: PublishCatalogEntityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PublishResultDto>>;
60
60
  /**
61
- * Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth. The optional `author` sets the publication\'s displayed author (the catalog\'s **Hosted by** value); when it is omitted or blank the caller\'s own session display name is used, as it always was.
61
+ * Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth. The optional `author` sets the publication\'s displayed author (the catalog\'s **Hosted by** value); when it is omitted or blank the caller\'s own session display name is used, as it always was. The optional `publishCredentials` flag asks Core to copy the publisher\'s own credential for the entity onto the published copy, so members of the organization use it without authorising individually; it is forwarded unchanged and changes no authorization — Core still derives the actor from the bearer token, enforces target-folder write access, and holds the publication PENDING until an administrator approves it.
62
62
  * Publish a catalog entity to an Organization folder
63
63
  */
64
64
  publishCatalogEntity(requestParameters: PublishCatalogEntityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublishResultDto>;
@@ -82,7 +82,7 @@ class PublishApi extends runtime.BaseAPI {
82
82
  return await response.value();
83
83
  }
84
84
  /**
85
- * Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth. The optional `author` sets the publication\'s displayed author (the catalog\'s **Hosted by** value); when it is omitted or blank the caller\'s own session display name is used, as it always was.
85
+ * Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth. The optional `author` sets the publication\'s displayed author (the catalog\'s **Hosted by** value); when it is omitted or blank the caller\'s own session display name is used, as it always was. The optional `publishCredentials` flag asks Core to copy the publisher\'s own credential for the entity onto the published copy, so members of the organization use it without authorising individually; it is forwarded unchanged and changes no authorization — Core still derives the actor from the bearer token, enforces target-folder write access, and holds the publication PENDING until an administrator approves it.
86
86
  * Publish a catalog entity to an Organization folder
87
87
  */
88
88
  async publishCatalogEntityRaw(requestParameters, initOverrides) {
@@ -111,7 +111,7 @@ class PublishApi extends runtime.BaseAPI {
111
111
  return new runtime.JSONApiResponse(response);
112
112
  }
113
113
  /**
114
- * Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth. The optional `author` sets the publication\'s displayed author (the catalog\'s **Hosted by** value); when it is omitted or blank the caller\'s own session display name is used, as it always was.
114
+ * Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth. The optional `author` sets the publication\'s displayed author (the catalog\'s **Hosted by** value); when it is omitted or blank the caller\'s own session display name is used, as it always was. The optional `publishCredentials` flag asks Core to copy the publisher\'s own credential for the entity onto the published copy, so members of the organization use it without authorising individually; it is forwarded unchanged and changes no authorization — Core still derives the actor from the bearer token, enforces target-folder write access, and holds the publication PENDING until an administrator approves it.
115
115
  * Publish a catalog entity to an Organization folder
116
116
  */
117
117
  async publishCatalogEntity(requestParameters, initOverrides) {
@@ -46,12 +46,12 @@ export interface UpdateScheduledTaskRequest {
46
46
  */
47
47
  export declare class ScheduledTasksApi extends runtime.BaseAPI {
48
48
  /**
49
- * Creates a DIAL Scheduler schedule that runs a chat completion on the given model and prompt, using the OAuth external-service id configured via SCHEDULER_SERVICE_ID. Invalidates the scheduled tasks list cache on success.
49
+ * Creates a DIAL Scheduler schedule that runs a chat completion on the given model and prompt or skill, using the OAuth external-service id configured via SCHEDULER_SERVICE_ID. Invalidates the scheduled tasks list cache on success.
50
50
  * Create a scheduled task
51
51
  */
52
52
  createScheduledTaskRaw(requestParameters: CreateScheduledTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreatedScheduledTaskDto>>;
53
53
  /**
54
- * Creates a DIAL Scheduler schedule that runs a chat completion on the given model and prompt, using the OAuth external-service id configured via SCHEDULER_SERVICE_ID. Invalidates the scheduled tasks list cache on success.
54
+ * Creates a DIAL Scheduler schedule that runs a chat completion on the given model and prompt or skill, using the OAuth external-service id configured via SCHEDULER_SERVICE_ID. Invalidates the scheduled tasks list cache on success.
55
55
  * Create a scheduled task
56
56
  */
57
57
  createScheduledTask(requestParameters: CreateScheduledTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreatedScheduledTaskDto>;
@@ -116,12 +116,12 @@ export declare class ScheduledTasksApi extends runtime.BaseAPI {
116
116
  */
117
117
  resumeScheduledTask(requestParameters: ResumeScheduledTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScheduledTaskDto>;
118
118
  /**
119
- * Updates an existing DIAL Scheduler schedule for the authenticated session user. Invalidates the scheduled tasks list cache on success.
119
+ * Updates an existing DIAL Scheduler schedule for the authenticated session user. Omitting skillUrl preserves the saved reference; null removes it. Invalidates the scheduled tasks list cache on success.
120
120
  * Update a scheduled task
121
121
  */
122
122
  updateScheduledTaskRaw(requestParameters: UpdateScheduledTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpdatedScheduledTaskDto>>;
123
123
  /**
124
- * Updates an existing DIAL Scheduler schedule for the authenticated session user. Invalidates the scheduled tasks list cache on success.
124
+ * Updates an existing DIAL Scheduler schedule for the authenticated session user. Omitting skillUrl preserves the saved reference; null removes it. Invalidates the scheduled tasks list cache on success.
125
125
  * Update a scheduled task
126
126
  */
127
127
  updateScheduledTask(requestParameters: UpdateScheduledTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UpdatedScheduledTaskDto>;
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledTasksApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ScheduledTasksApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,0BAA0B,EAC1B,uBAAuB,EACvB,gCAAgC,EAChC,6BAA6B,EAC7B,gBAAgB,EAChB,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,0BAA0B;IACzC,0BAA0B,EAAE,0BAA0B,CAAC;CACxD;AAED,MAAM,WAAW,0BAA0B;IACzC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW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AAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;IA+BjD;;;OAGG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,yBAAyB,EAC5C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,gBAAgB,CAAC;IAQ5B;;;OAGG;IACG,sBAAsB,CAC1B,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;IA+BjD;;;OAGG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,gBAAgB,CAAC;IAQ5B;;;OAGG;IACG,sBAAsB,CAC1B,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;IAyCxD;;;OAGG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,uBAAuB,CAAC;CAOpC;AAED;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;CAK7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC"}
@@ -20,7 +20,7 @@ const runtime = require("../runtime");
20
20
  */
21
21
  class ScheduledTasksApi extends runtime.BaseAPI {
22
22
  /**
23
- * Creates a DIAL Scheduler schedule that runs a chat completion on the given model and prompt, using the OAuth external-service id configured via SCHEDULER_SERVICE_ID. Invalidates the scheduled tasks list cache on success.
23
+ * Creates a DIAL Scheduler schedule that runs a chat completion on the given model and prompt or skill, using the OAuth external-service id configured via SCHEDULER_SERVICE_ID. Invalidates the scheduled tasks list cache on success.
24
24
  * Create a scheduled task
25
25
  */
26
26
  async createScheduledTaskRaw(requestParameters, initOverrides) {
@@ -41,7 +41,7 @@ class ScheduledTasksApi extends runtime.BaseAPI {
41
41
  return new runtime.JSONApiResponse(response);
42
42
  }
43
43
  /**
44
- * Creates a DIAL Scheduler schedule that runs a chat completion on the given model and prompt, using the OAuth external-service id configured via SCHEDULER_SERVICE_ID. Invalidates the scheduled tasks list cache on success.
44
+ * Creates a DIAL Scheduler schedule that runs a chat completion on the given model and prompt or skill, using the OAuth external-service id configured via SCHEDULER_SERVICE_ID. Invalidates the scheduled tasks list cache on success.
45
45
  * Create a scheduled task
46
46
  */
47
47
  async createScheduledTask(requestParameters, initOverrides) {
@@ -230,7 +230,7 @@ class ScheduledTasksApi extends runtime.BaseAPI {
230
230
  return await response.value();
231
231
  }
232
232
  /**
233
- * Updates an existing DIAL Scheduler schedule for the authenticated session user. Invalidates the scheduled tasks list cache on success.
233
+ * Updates an existing DIAL Scheduler schedule for the authenticated session user. Omitting skillUrl preserves the saved reference; null removes it. Invalidates the scheduled tasks list cache on success.
234
234
  * Update a scheduled task
235
235
  */
236
236
  async updateScheduledTaskRaw(requestParameters, initOverrides) {
@@ -255,7 +255,7 @@ class ScheduledTasksApi extends runtime.BaseAPI {
255
255
  return new runtime.JSONApiResponse(response);
256
256
  }
257
257
  /**
258
- * Updates an existing DIAL Scheduler schedule for the authenticated session user. Invalidates the scheduled tasks list cache on success.
258
+ * Updates an existing DIAL Scheduler schedule for the authenticated session user. Omitting skillUrl preserves the saved reference; null removes it. Invalidates the scheduled tasks list cache on success.
259
259
  * Update a scheduled task
260
260
  */
261
261
  async updateScheduledTask(requestParameters, initOverrides) {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { SkillCatalogListResponseDto, SkillFileDeleteResponseDto, SkillFileListResponseDto, SkillFileUploadResponseDto, SkillGroupingFolderResponseDto, SkillImportResponseDto, SkillListResponseDto, SkillOperationResultDto, SkillUploadResponseDto } from '../models/index';
13
+ import type { SkillCatalogListResponseDto, SkillFileDeleteResponseDto, SkillFileListResponseDto, SkillFileUploadResponseDto, SkillGroupingFolderResponseDto, SkillImportResponseDto, SkillListResponseDto, SkillMetadataItemDto, SkillOperationResultDto, SkillUploadResponseDto } from '../models/index';
14
14
  export interface CreateSkillRequest {
15
15
  bucket: string;
16
16
  path: string;
@@ -47,6 +47,10 @@ export interface DownloadSkillFileRequest {
47
47
  path: string;
48
48
  filePath: string;
49
49
  }
50
+ export interface GetSkillMetadataRequest {
51
+ bucket: string;
52
+ path: string;
53
+ }
50
54
  export interface ImportSkillArchiveRequest {
51
55
  file: Blob;
52
56
  }
@@ -154,6 +158,16 @@ export declare class SkillsApi extends runtime.BaseAPI {
154
158
  * Download one file from a skill
155
159
  */
156
160
  downloadSkillFile(requestParameters: DownloadSkillFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
161
+ /**
162
+ * Proxies DIAL Core listSkillMetadata for a single skill resource and returns its provenance (author, timestamps, permissions) without ownership fields — GET /api/v1/skills cannot serve this because its response is items-shaped.
163
+ * Get one skill\'s own authoritative metadata
164
+ */
165
+ getSkillMetadataRaw(requestParameters: GetSkillMetadataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillMetadataItemDto>>;
166
+ /**
167
+ * Proxies DIAL Core listSkillMetadata for a single skill resource and returns its provenance (author, timestamps, permissions) without ownership fields — GET /api/v1/skills cannot serve this because its response is items-shaped.
168
+ * Get one skill\'s own authoritative metadata
169
+ */
170
+ getSkillMetadata(requestParameters: GetSkillMetadataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillMetadataItemDto>;
157
171
  /**
158
172
  * Accepts either a whole-skill ZIP archive or a standalone file named exactly (case-sensitive) SKILL.md in the file field, safely extracts and validates it server-side (container/structure validity, path safety, encrypted/symlink rejection, incremental decompression limits, manifest UTF-8/frontmatter checks), then creates the skill atomically via the same If-None-Match: * uploadSkillFolder call createSkill uses. The two forms are told apart by the field\'s exact filename, never by its declared content type. Uses the authenticated user\'s own bucket; a client-supplied bucket is never trusted.
159
173
  * Create a new skill from an uploaded ZIP archive or a standalone SKILL.md
@@ -1 +1 @@
1
- {"version":3,"file":"SkillsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/SkillsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,2BAA2B,EAC3B,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC1B,8BAA8B,EAC9B,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;CACrB;AAED,MAAM,WAAW,gCAAgC;IAC/C,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAA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AAwB,CAAC,CAAC;IA0DzD;;;OAGG;IACG,cAAc,CAClB,iBAAiB,EAAE,qBAAqB,EACxC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,wBAAwB,CAAC;IAQpC;;;OAGG;IACG,aAAa,CACjB,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IA+CrD;;;OAGG;IACG,UAAU,CACd,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,oBAAoB,CAAC;IAKhC;;;OAGG;IACG,cAAc,CAClB,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAkGvD;;;OAGG;IACG,WAAW,CACf,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,sBAAsB,CAAC;IAQlC;;;OAGG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,sBAAsB,EACzC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAAC;IAqF3D;;;OAGG;IACG,eAAe,CACnB,iBAAiB,EAAE,sBAAsB,EACzC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,0BAA0B,CAAC;CAOvC"}
@@ -325,6 +325,42 @@ class SkillsApi extends runtime.BaseAPI {
325
325
  const response = await this.downloadSkillFileRaw(requestParameters, initOverrides);
326
326
  return await response.value();
327
327
  }
328
+ /**
329
+ * Proxies DIAL Core listSkillMetadata for a single skill resource and returns its provenance (author, timestamps, permissions) without ownership fields — GET /api/v1/skills cannot serve this because its response is items-shaped.
330
+ * Get one skill\'s own authoritative metadata
331
+ */
332
+ async getSkillMetadataRaw(requestParameters, initOverrides) {
333
+ if (requestParameters['bucket'] == null) {
334
+ throw new runtime.RequiredError('bucket', 'Required parameter "bucket" was null or undefined when calling getSkillMetadata().');
335
+ }
336
+ if (requestParameters['path'] == null) {
337
+ throw new runtime.RequiredError('path', 'Required parameter "path" was null or undefined when calling getSkillMetadata().');
338
+ }
339
+ const queryParameters = {};
340
+ if (requestParameters['bucket'] != null) {
341
+ queryParameters['bucket'] = requestParameters['bucket'];
342
+ }
343
+ if (requestParameters['path'] != null) {
344
+ queryParameters['path'] = requestParameters['path'];
345
+ }
346
+ const headerParameters = {};
347
+ let urlPath = `/api/v1/skills/metadata`;
348
+ const response = await this.request({
349
+ path: urlPath,
350
+ method: 'GET',
351
+ headers: headerParameters,
352
+ query: queryParameters,
353
+ }, initOverrides);
354
+ return new runtime.JSONApiResponse(response);
355
+ }
356
+ /**
357
+ * Proxies DIAL Core listSkillMetadata for a single skill resource and returns its provenance (author, timestamps, permissions) without ownership fields — GET /api/v1/skills cannot serve this because its response is items-shaped.
358
+ * Get one skill\'s own authoritative metadata
359
+ */
360
+ async getSkillMetadata(requestParameters, initOverrides) {
361
+ const response = await this.getSkillMetadataRaw(requestParameters, initOverrides);
362
+ return await response.value();
363
+ }
328
364
  /**
329
365
  * Accepts either a whole-skill ZIP archive or a standalone file named exactly (case-sensitive) SKILL.md in the file field, safely extracts and validates it server-side (container/structure validity, path safety, encrypted/symlink rejection, incremental decompression limits, manifest UTF-8/frontmatter checks), then creates the skill atomically via the same If-None-Match: * uploadSkillFolder call createSkill uses. The two forms are told apart by the field\'s exact filename, never by its declared content type. Uses the authenticated user\'s own bucket; a client-supplied bucket is never trusted.
330
366
  * Create a new skill from an uploaded ZIP archive or a standalone SKILL.md
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Chat API
3
+ * REST API for the chat application. Provides endpoints for theme configuration, authentication, and management. All endpoints return appropriate HTTP status codes (200, 400, 401, 403, 404, 502, 503) with descriptive error messages.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { RefineTextRequestDto, RefineTextResponseDto } from '../models/index';
14
+ export interface RefineTextRequest {
15
+ refineTextRequestDto: RefineTextRequestDto;
16
+ }
17
+ /**
18
+ *
19
+ */
20
+ export declare class TextRefinementApi extends runtime.BaseAPI {
21
+ /**
22
+ * Rewrite one field using a server-owned prompt and the caller credentials. Does not save or cache drafts. Scheduled-task purposes require scheduled-task access.
23
+ * Refine an authoring draft
24
+ */
25
+ refineTextRaw(requestParameters: RefineTextRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RefineTextResponseDto>>;
26
+ /**
27
+ * Rewrite one field using a server-owned prompt and the caller credentials. Does not save or cache drafts. Scheduled-task purposes require scheduled-task access.
28
+ * Refine an authoring draft
29
+ */
30
+ refineText(requestParameters: RefineTextRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RefineTextResponseDto>;
31
+ }
32
+ //# sourceMappingURL=TextRefinementApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextRefinementApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/TextRefinementApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,iBAAiB;IAChC,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C;AAED;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,OAAO,CAAC,OAAO;IACpD;;;OAGG;IACG,aAAa,CACjB,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;IA8BtD;;;OAGG;IACG,UAAU,CACd,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,qBAAqB,CAAC;CAIlC"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Chat API
6
+ * REST API for the chat application. Provides endpoints for theme configuration, authentication, and management. All endpoints return appropriate HTTP status codes (200, 400, 401, 403, 404, 502, 503) with descriptive error messages.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TextRefinementApi = void 0;
17
+ const runtime = require("../runtime");
18
+ /**
19
+ *
20
+ */
21
+ class TextRefinementApi extends runtime.BaseAPI {
22
+ /**
23
+ * Rewrite one field using a server-owned prompt and the caller credentials. Does not save or cache drafts. Scheduled-task purposes require scheduled-task access.
24
+ * Refine an authoring draft
25
+ */
26
+ async refineTextRaw(requestParameters, initOverrides) {
27
+ if (requestParameters['refineTextRequestDto'] == null) {
28
+ throw new runtime.RequiredError('refineTextRequestDto', 'Required parameter "refineTextRequestDto" was null or undefined when calling refineText().');
29
+ }
30
+ const queryParameters = {};
31
+ const headerParameters = {};
32
+ headerParameters['Content-Type'] = 'application/json';
33
+ let urlPath = `/api/v1/text-refinement`;
34
+ const response = await this.request({
35
+ path: urlPath,
36
+ method: 'POST',
37
+ headers: headerParameters,
38
+ query: queryParameters,
39
+ body: requestParameters['refineTextRequestDto'],
40
+ }, initOverrides);
41
+ return new runtime.JSONApiResponse(response);
42
+ }
43
+ /**
44
+ * Rewrite one field using a server-owned prompt and the caller credentials. Does not save or cache drafts. Scheduled-task purposes require scheduled-task access.
45
+ * Refine an authoring draft
46
+ */
47
+ async refineText(requestParameters, initOverrides) {
48
+ const response = await this.refineTextRaw(requestParameters, initOverrides);
49
+ return await response.value();
50
+ }
51
+ }
52
+ exports.TextRefinementApi = TextRefinementApi;
@@ -16,6 +16,7 @@ export * from './RateApi';
16
16
  export * from './ScheduledTasksApi';
17
17
  export * from './ShareApi';
18
18
  export * from './SkillsApi';
19
+ export * from './TextRefinementApi';
19
20
  export * from './ThemesApi';
20
21
  export * from './ToolsetsApi';
21
22
  export * from './TranscriptionApi';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
@@ -21,6 +21,7 @@ tslib_1.__exportStar(require("./RateApi"), exports);
21
21
  tslib_1.__exportStar(require("./ScheduledTasksApi"), exports);
22
22
  tslib_1.__exportStar(require("./ShareApi"), exports);
23
23
  tslib_1.__exportStar(require("./SkillsApi"), exports);
24
+ tslib_1.__exportStar(require("./TextRefinementApi"), exports);
24
25
  tslib_1.__exportStar(require("./ThemesApi"), exports);
25
26
  tslib_1.__exportStar(require("./ToolsetsApi"), exports);
26
27
  tslib_1.__exportStar(require("./TranscriptionApi"), exports);