@super_studio/ecforce-ai-agent-server 0.2.0-canary.4 → 1.0.0-canary.7
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.
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/defineProperty.cjs +14 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/defineProperty.mjs +14 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/objectSpread2.cjs +27 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/objectSpread2.mjs +27 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/objectWithoutProperties.cjs +15 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/objectWithoutProperties.mjs +15 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/objectWithoutPropertiesLoose.cjs +14 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/objectWithoutPropertiesLoose.mjs +13 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPrimitive.cjs +16 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPrimitive.mjs +16 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPropertyKey.cjs +11 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPropertyKey.mjs +11 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/typeof.cjs +18 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/typeof.mjs +12 -0
- package/dist/index.cjs +7 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +3 -531
- package/dist/lib/constants.cjs +6 -0
- package/dist/lib/constants.mjs +6 -0
- package/dist/lib/constants.mjs.map +1 -0
- package/dist/lib/jwt.cjs +64 -0
- package/dist/lib/jwt.mjs +64 -0
- package/dist/lib/jwt.mjs.map +1 -0
- package/dist/mcp-auth.cjs +52 -0
- package/dist/mcp-auth.d.cts +38 -0
- package/dist/mcp-auth.d.cts.map +1 -0
- package/dist/mcp-auth.d.mts +38 -0
- package/dist/mcp-auth.d.mts.map +1 -0
- package/dist/mcp-auth.mjs +44 -129
- package/dist/mcp-auth.mjs.map +1 -0
- package/dist/sdk/__generated__/index.cjs +524 -0
- package/dist/sdk/__generated__/index.d.cts +1648 -0
- package/dist/sdk/__generated__/index.d.cts.map +1 -0
- package/dist/sdk/__generated__/index.d.mts +1648 -0
- package/dist/sdk/__generated__/index.d.mts.map +1 -0
- package/dist/sdk/__generated__/index.mjs +523 -0
- package/dist/sdk/__generated__/index.mjs.map +1 -0
- package/dist/sdk/index.cjs +21 -0
- package/dist/sdk/index.d.cts +22 -0
- package/dist/sdk/index.d.cts.map +1 -0
- package/dist/sdk/index.d.mts +22 -0
- package/dist/sdk/index.d.mts.map +1 -0
- package/dist/sdk/index.mjs +22 -0
- package/dist/sdk/index.mjs.map +1 -0
- package/package.json +14 -20
- package/src/sdk/__generated__/index.ts +2194 -532
- package/src/sdk/generate.ts +21 -1
- package/dist/chunk-FWCSY2DS.mjs +0 -37
- package/dist/chunk-ORMEWXMH.js +0 -37
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -532
- package/dist/lib/constants.d.ts +0 -2
- package/dist/lib/constants.d.ts.map +0 -1
- package/dist/lib/jwt.d.ts +0 -37
- package/dist/lib/jwt.d.ts.map +0 -1
- package/dist/mcp-auth.d.ts +0 -35
- package/dist/mcp-auth.d.ts.map +0 -1
- package/dist/mcp-auth.js +0 -136
- package/dist/sdk/__generated__/index.d.ts +0 -637
- package/dist/sdk/__generated__/index.d.ts.map +0 -1
- package/dist/sdk/generate.d.ts +0 -2
- package/dist/sdk/generate.d.ts.map +0 -1
- package/dist/sdk/index.d.ts +0 -19
- package/dist/sdk/index.d.ts.map +0 -1
- package/src/.tmp/test-script.ts +0 -18
|
@@ -1,637 +0,0 @@
|
|
|
1
|
-
export type QueryParamsType = Record<string | number, any>;
|
|
2
|
-
export type ResponseFormat = keyof Omit<Body, "body" | "bodyUsed">;
|
|
3
|
-
export interface FullRequestParams extends Omit<RequestInit, "body"> {
|
|
4
|
-
/** set parameter to `true` for call `securityWorker` for this request */
|
|
5
|
-
secure?: boolean;
|
|
6
|
-
/** request path */
|
|
7
|
-
path: string;
|
|
8
|
-
/** content type of request body */
|
|
9
|
-
type?: ContentType;
|
|
10
|
-
/** query params */
|
|
11
|
-
query?: QueryParamsType;
|
|
12
|
-
/** format of response (i.e. response.json() -> format: "json") */
|
|
13
|
-
format?: ResponseFormat;
|
|
14
|
-
/** request body */
|
|
15
|
-
body?: unknown;
|
|
16
|
-
/** base url */
|
|
17
|
-
baseUrl?: string;
|
|
18
|
-
/** request cancellation token */
|
|
19
|
-
cancelToken?: CancelToken;
|
|
20
|
-
}
|
|
21
|
-
export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
|
|
22
|
-
export interface ApiConfig<SecurityDataType = unknown> {
|
|
23
|
-
baseUrl?: string;
|
|
24
|
-
baseApiParams?: Omit<RequestParams, "baseUrl" | "cancelToken" | "signal">;
|
|
25
|
-
securityWorker?: (securityData: SecurityDataType | null) => Promise<RequestParams | void> | RequestParams | void;
|
|
26
|
-
customFetch?: typeof fetch;
|
|
27
|
-
}
|
|
28
|
-
export interface HttpResponse<D extends unknown, E extends unknown = unknown> extends Response {
|
|
29
|
-
data: D;
|
|
30
|
-
error: E;
|
|
31
|
-
}
|
|
32
|
-
type CancelToken = Symbol | string | number;
|
|
33
|
-
export declare enum ContentType {
|
|
34
|
-
Json = "application/json",
|
|
35
|
-
JsonApi = "application/vnd.api+json",
|
|
36
|
-
FormData = "multipart/form-data",
|
|
37
|
-
UrlEncoded = "application/x-www-form-urlencoded",
|
|
38
|
-
Text = "text/plain"
|
|
39
|
-
}
|
|
40
|
-
export declare class HttpClient<SecurityDataType = unknown> {
|
|
41
|
-
baseUrl: string;
|
|
42
|
-
private securityData;
|
|
43
|
-
private securityWorker?;
|
|
44
|
-
private abortControllers;
|
|
45
|
-
private customFetch;
|
|
46
|
-
private baseApiParams;
|
|
47
|
-
constructor(apiConfig?: ApiConfig<SecurityDataType>);
|
|
48
|
-
setSecurityData: (data: SecurityDataType | null) => void;
|
|
49
|
-
protected encodeQueryParam(key: string, value: any): string;
|
|
50
|
-
protected addQueryParam(query: QueryParamsType, key: string): string;
|
|
51
|
-
protected addArrayQueryParam(query: QueryParamsType, key: string): any;
|
|
52
|
-
protected toQueryString(rawQuery?: QueryParamsType): string;
|
|
53
|
-
protected addQueryParams(rawQuery?: QueryParamsType): string;
|
|
54
|
-
private contentFormatters;
|
|
55
|
-
protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams;
|
|
56
|
-
protected createAbortSignal: (cancelToken: CancelToken) => AbortSignal | undefined;
|
|
57
|
-
abortRequest: (cancelToken: CancelToken) => void;
|
|
58
|
-
request: <T = any, E = any>({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }: FullRequestParams) => Promise<T>;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* @title ecforce ai agent api
|
|
62
|
-
* @version 1.0.0
|
|
63
|
-
* @baseUrl /api
|
|
64
|
-
*/
|
|
65
|
-
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
66
|
-
version: {
|
|
67
|
-
/**
|
|
68
|
-
* @description バージョンを取得する
|
|
69
|
-
*
|
|
70
|
-
* @tags meta
|
|
71
|
-
* @name GetVersion
|
|
72
|
-
* @summary getVersion
|
|
73
|
-
* @request GET:/v1/version
|
|
74
|
-
* @secure
|
|
75
|
-
*/
|
|
76
|
-
getVersion: (params?: RequestParams) => Promise<{
|
|
77
|
-
version: string;
|
|
78
|
-
}>;
|
|
79
|
-
};
|
|
80
|
-
internal: {
|
|
81
|
-
/**
|
|
82
|
-
* @description ユーザーのセッションを作成してトークンを返す
|
|
83
|
-
*
|
|
84
|
-
* @tags internal
|
|
85
|
-
* @name CreateSession
|
|
86
|
-
* @summary createSession
|
|
87
|
-
* @request POST:/v1/internal/create-session
|
|
88
|
-
* @secure
|
|
89
|
-
*/
|
|
90
|
-
createSession: (data: {
|
|
91
|
-
/** @minLength 1 */
|
|
92
|
-
email: string;
|
|
93
|
-
/** @minLength 1 */
|
|
94
|
-
projectId: string;
|
|
95
|
-
}, params?: RequestParams) => Promise<{
|
|
96
|
-
token: string;
|
|
97
|
-
expiresAt: string;
|
|
98
|
-
}>;
|
|
99
|
-
};
|
|
100
|
-
agent: {
|
|
101
|
-
/**
|
|
102
|
-
* @description エージェント一覧を取得する
|
|
103
|
-
*
|
|
104
|
-
* @tags agent
|
|
105
|
-
* @name List
|
|
106
|
-
* @summary list
|
|
107
|
-
* @request GET:/v1/agent
|
|
108
|
-
* @secure
|
|
109
|
-
*/
|
|
110
|
-
list: (params?: RequestParams) => Promise<{
|
|
111
|
-
/** @maxLength 30 */
|
|
112
|
-
id: string;
|
|
113
|
-
/** @maxLength 255 */
|
|
114
|
-
projectId: string;
|
|
115
|
-
/** @maxLength 255 */
|
|
116
|
-
name: string;
|
|
117
|
-
/** @maxLength 30 */
|
|
118
|
-
activeConfigId: string;
|
|
119
|
-
/** @format date-time */
|
|
120
|
-
createdAt: string;
|
|
121
|
-
/** @format date-time */
|
|
122
|
-
updatedAt: string;
|
|
123
|
-
createdBy: string | null;
|
|
124
|
-
updatedBy: string | null;
|
|
125
|
-
deletedAt: string | null;
|
|
126
|
-
deletedBy: string | null;
|
|
127
|
-
activeConfig: {
|
|
128
|
-
/** @maxLength 30 */
|
|
129
|
-
id: string;
|
|
130
|
-
/** @maxLength 30 */
|
|
131
|
-
agentId: string;
|
|
132
|
-
/** @maxLength 255 */
|
|
133
|
-
projectId: string;
|
|
134
|
-
/**
|
|
135
|
-
* @min -2147483648
|
|
136
|
-
* @max 2147483647
|
|
137
|
-
*/
|
|
138
|
-
version: number;
|
|
139
|
-
configJson: (string | number | boolean | null) | Record<string, any> | null[];
|
|
140
|
-
/** @format date-time */
|
|
141
|
-
createdAt: string;
|
|
142
|
-
/** @format date-time */
|
|
143
|
-
updatedAt: string;
|
|
144
|
-
deletedAt: string | null;
|
|
145
|
-
deletedBy: string | null;
|
|
146
|
-
};
|
|
147
|
-
}[]>;
|
|
148
|
-
/**
|
|
149
|
-
* @description エージェントを作成する
|
|
150
|
-
*
|
|
151
|
-
* @tags agent
|
|
152
|
-
* @name Create
|
|
153
|
-
* @summary create
|
|
154
|
-
* @request POST:/v1/agent
|
|
155
|
-
* @secure
|
|
156
|
-
*/
|
|
157
|
-
create: (data: {
|
|
158
|
-
/** @minLength 1 */
|
|
159
|
-
name: string;
|
|
160
|
-
configJson: {
|
|
161
|
-
defaultModel: "gpt-4.1-mini" | "gpt-4.1-nano" | "o3-mini" | "o4-mini" | "gpt-5" | "gpt-5-mini" | "gpt-5-nano" | "gemini-2.0-flash" | "gemini-2.5-flash";
|
|
162
|
-
defaultThinkingModel: "o3-mini" | "o4-mini" | "gpt-5" | "gpt-5-mini" | "gpt-5-nano";
|
|
163
|
-
systemPrompt: string;
|
|
164
|
-
nativeTools: {
|
|
165
|
-
displayChart?: boolean;
|
|
166
|
-
generateImage?: boolean;
|
|
167
|
-
ecforceFaq?: boolean;
|
|
168
|
-
getCurrentTime?: boolean;
|
|
169
|
-
webSearch?: boolean;
|
|
170
|
-
};
|
|
171
|
-
interfaceFeatures: {
|
|
172
|
-
modelSelection?: boolean;
|
|
173
|
-
attachments?: boolean;
|
|
174
|
-
thinkMode?: boolean;
|
|
175
|
-
};
|
|
176
|
-
allowedDomains: string[];
|
|
177
|
-
};
|
|
178
|
-
}, params?: RequestParams) => Promise<{
|
|
179
|
-
agent: {
|
|
180
|
-
/** @maxLength 30 */
|
|
181
|
-
id: string;
|
|
182
|
-
/** @maxLength 255 */
|
|
183
|
-
projectId: string;
|
|
184
|
-
/** @maxLength 255 */
|
|
185
|
-
name: string;
|
|
186
|
-
/** @maxLength 30 */
|
|
187
|
-
activeConfigId: string;
|
|
188
|
-
/** @format date-time */
|
|
189
|
-
createdAt: string;
|
|
190
|
-
/** @format date-time */
|
|
191
|
-
updatedAt: string;
|
|
192
|
-
createdBy: string | null;
|
|
193
|
-
updatedBy: string | null;
|
|
194
|
-
deletedAt: string | null;
|
|
195
|
-
deletedBy: string | null;
|
|
196
|
-
};
|
|
197
|
-
config: {
|
|
198
|
-
/** @maxLength 30 */
|
|
199
|
-
id: string;
|
|
200
|
-
/** @maxLength 30 */
|
|
201
|
-
agentId: string;
|
|
202
|
-
/** @maxLength 255 */
|
|
203
|
-
projectId: string;
|
|
204
|
-
/**
|
|
205
|
-
* @min -2147483648
|
|
206
|
-
* @max 2147483647
|
|
207
|
-
*/
|
|
208
|
-
version: number;
|
|
209
|
-
configJson: (string | number | boolean | null) | Record<string, any> | null[];
|
|
210
|
-
/** @format date-time */
|
|
211
|
-
createdAt: string;
|
|
212
|
-
/** @format date-time */
|
|
213
|
-
updatedAt: string;
|
|
214
|
-
deletedAt: string | null;
|
|
215
|
-
deletedBy: string | null;
|
|
216
|
-
};
|
|
217
|
-
}>;
|
|
218
|
-
/**
|
|
219
|
-
* @description エージェント詳細を取得する
|
|
220
|
-
*
|
|
221
|
-
* @tags agent
|
|
222
|
-
* @name Get
|
|
223
|
-
* @summary get
|
|
224
|
-
* @request GET:/v1/agent/{id}
|
|
225
|
-
* @secure
|
|
226
|
-
*/
|
|
227
|
-
get: (id: string, params?: RequestParams) => Promise<{
|
|
228
|
-
/** @maxLength 30 */
|
|
229
|
-
id: string;
|
|
230
|
-
/** @maxLength 255 */
|
|
231
|
-
projectId: string;
|
|
232
|
-
/** @maxLength 255 */
|
|
233
|
-
name: string;
|
|
234
|
-
/** @maxLength 30 */
|
|
235
|
-
activeConfigId: string;
|
|
236
|
-
/** @format date-time */
|
|
237
|
-
createdAt: string;
|
|
238
|
-
/** @format date-time */
|
|
239
|
-
updatedAt: string;
|
|
240
|
-
createdBy: string | null;
|
|
241
|
-
updatedBy: string | null;
|
|
242
|
-
deletedAt: string | null;
|
|
243
|
-
deletedBy: string | null;
|
|
244
|
-
activeConfig: {
|
|
245
|
-
/** @maxLength 30 */
|
|
246
|
-
id: string;
|
|
247
|
-
/** @maxLength 30 */
|
|
248
|
-
agentId: string;
|
|
249
|
-
/** @maxLength 255 */
|
|
250
|
-
projectId: string;
|
|
251
|
-
/**
|
|
252
|
-
* @min -2147483648
|
|
253
|
-
* @max 2147483647
|
|
254
|
-
*/
|
|
255
|
-
version: number;
|
|
256
|
-
configJson: (string | number | boolean | null) | Record<string, any> | null[];
|
|
257
|
-
/** @format date-time */
|
|
258
|
-
createdAt: string;
|
|
259
|
-
/** @format date-time */
|
|
260
|
-
updatedAt: string;
|
|
261
|
-
deletedAt: string | null;
|
|
262
|
-
deletedBy: string | null;
|
|
263
|
-
};
|
|
264
|
-
}>;
|
|
265
|
-
/**
|
|
266
|
-
* @description エージェントを更新する
|
|
267
|
-
*
|
|
268
|
-
* @tags agent
|
|
269
|
-
* @name Update
|
|
270
|
-
* @summary update
|
|
271
|
-
* @request PUT:/v1/agent/{id}
|
|
272
|
-
* @secure
|
|
273
|
-
*/
|
|
274
|
-
update: (id: string, data?: {
|
|
275
|
-
/** @minLength 1 */
|
|
276
|
-
name?: string;
|
|
277
|
-
configJson?: {
|
|
278
|
-
defaultModel: "gpt-4.1-mini" | "gpt-4.1-nano" | "o3-mini" | "o4-mini" | "gpt-5" | "gpt-5-mini" | "gpt-5-nano" | "gemini-2.0-flash" | "gemini-2.5-flash";
|
|
279
|
-
defaultThinkingModel: "o3-mini" | "o4-mini" | "gpt-5" | "gpt-5-mini" | "gpt-5-nano";
|
|
280
|
-
systemPrompt: string;
|
|
281
|
-
nativeTools: {
|
|
282
|
-
displayChart?: boolean;
|
|
283
|
-
generateImage?: boolean;
|
|
284
|
-
ecforceFaq?: boolean;
|
|
285
|
-
getCurrentTime?: boolean;
|
|
286
|
-
webSearch?: boolean;
|
|
287
|
-
};
|
|
288
|
-
interfaceFeatures: {
|
|
289
|
-
modelSelection?: boolean;
|
|
290
|
-
attachments?: boolean;
|
|
291
|
-
thinkMode?: boolean;
|
|
292
|
-
};
|
|
293
|
-
allowedDomains: string[];
|
|
294
|
-
};
|
|
295
|
-
}, params?: RequestParams) => Promise<{
|
|
296
|
-
/** @maxLength 30 */
|
|
297
|
-
id: string;
|
|
298
|
-
/** @maxLength 255 */
|
|
299
|
-
projectId: string;
|
|
300
|
-
/** @maxLength 255 */
|
|
301
|
-
name: string;
|
|
302
|
-
/** @maxLength 30 */
|
|
303
|
-
activeConfigId: string;
|
|
304
|
-
/** @format date-time */
|
|
305
|
-
createdAt: string;
|
|
306
|
-
/** @format date-time */
|
|
307
|
-
updatedAt: string;
|
|
308
|
-
createdBy: string | null;
|
|
309
|
-
updatedBy: string | null;
|
|
310
|
-
deletedAt: string | null;
|
|
311
|
-
deletedBy: string | null;
|
|
312
|
-
activeConfig: {
|
|
313
|
-
/** @maxLength 30 */
|
|
314
|
-
id: string;
|
|
315
|
-
/** @maxLength 30 */
|
|
316
|
-
agentId: string;
|
|
317
|
-
/** @maxLength 255 */
|
|
318
|
-
projectId: string;
|
|
319
|
-
/**
|
|
320
|
-
* @min -2147483648
|
|
321
|
-
* @max 2147483647
|
|
322
|
-
*/
|
|
323
|
-
version: number;
|
|
324
|
-
configJson: (string | number | boolean | null) | Record<string, any> | null[];
|
|
325
|
-
/** @format date-time */
|
|
326
|
-
createdAt: string;
|
|
327
|
-
/** @format date-time */
|
|
328
|
-
updatedAt: string;
|
|
329
|
-
deletedAt: string | null;
|
|
330
|
-
deletedBy: string | null;
|
|
331
|
-
};
|
|
332
|
-
}>;
|
|
333
|
-
/**
|
|
334
|
-
* @description エージェントを削除する
|
|
335
|
-
*
|
|
336
|
-
* @tags agent
|
|
337
|
-
* @name Delete
|
|
338
|
-
* @summary delete
|
|
339
|
-
* @request DELETE:/v1/agent/{id}
|
|
340
|
-
* @secure
|
|
341
|
-
*/
|
|
342
|
-
delete: (id: string, data?: object, params?: RequestParams) => Promise<{
|
|
343
|
-
success: boolean;
|
|
344
|
-
}>;
|
|
345
|
-
/**
|
|
346
|
-
* @description エージェントのUI機能設定を取得する(公開)
|
|
347
|
-
*
|
|
348
|
-
* @tags agent
|
|
349
|
-
* @name GetInterfaceFeatures
|
|
350
|
-
* @summary getInterfaceFeatures
|
|
351
|
-
* @request GET:/v1/agent/{id}/interface-features
|
|
352
|
-
* @secure
|
|
353
|
-
*/
|
|
354
|
-
getInterfaceFeatures: (id: string, params?: RequestParams) => Promise<{
|
|
355
|
-
modelSelection?: boolean;
|
|
356
|
-
attachments?: boolean;
|
|
357
|
-
thinkMode?: boolean;
|
|
358
|
-
}>;
|
|
359
|
-
/**
|
|
360
|
-
* @description エージェントのツール設定を取得する(公開)
|
|
361
|
-
*
|
|
362
|
-
* @tags agent
|
|
363
|
-
* @name GetToolSettings
|
|
364
|
-
* @summary getToolSettings
|
|
365
|
-
* @request POST:/v1/agent/tool-settings
|
|
366
|
-
* @secure
|
|
367
|
-
*/
|
|
368
|
-
getToolSettings: (data: {
|
|
369
|
-
mcps?: {
|
|
370
|
-
name: string;
|
|
371
|
-
url: string;
|
|
372
|
-
headers?: Record<string, string>;
|
|
373
|
-
type?: "mcp" | "custom";
|
|
374
|
-
}[];
|
|
375
|
-
}, params?: RequestParams) => Promise<Record<string, {
|
|
376
|
-
displayName: string;
|
|
377
|
-
requireConfirmation: boolean;
|
|
378
|
-
description?: string;
|
|
379
|
-
}>>;
|
|
380
|
-
};
|
|
381
|
-
account: {
|
|
382
|
-
/**
|
|
383
|
-
* @description 所属するアカウント一覧を取得する
|
|
384
|
-
*
|
|
385
|
-
* @tags account
|
|
386
|
-
* @name List
|
|
387
|
-
* @summary list
|
|
388
|
-
* @request GET:/v1/account
|
|
389
|
-
* @secure
|
|
390
|
-
*/
|
|
391
|
-
list: (params?: RequestParams) => Promise<{
|
|
392
|
-
/** @maxLength 255 */
|
|
393
|
-
projectId: string;
|
|
394
|
-
/** @maxLength 255 */
|
|
395
|
-
plan: string;
|
|
396
|
-
}[]>;
|
|
397
|
-
/**
|
|
398
|
-
* @description アカウント詳細を取得する
|
|
399
|
-
*
|
|
400
|
-
* @tags account
|
|
401
|
-
* @name Get
|
|
402
|
-
* @summary get
|
|
403
|
-
* @request GET:/v1/account/{projectId}
|
|
404
|
-
* @secure
|
|
405
|
-
*/
|
|
406
|
-
get: (projectId: string, params?: RequestParams) => Promise<{
|
|
407
|
-
/** @maxLength 255 */
|
|
408
|
-
projectId: string;
|
|
409
|
-
/** @maxLength 255 */
|
|
410
|
-
plan: string;
|
|
411
|
-
}>;
|
|
412
|
-
};
|
|
413
|
-
apiKeys: {
|
|
414
|
-
/**
|
|
415
|
-
* @description APIキー一覧を取得する
|
|
416
|
-
*
|
|
417
|
-
* @tags apiKey
|
|
418
|
-
* @name List
|
|
419
|
-
* @summary list
|
|
420
|
-
* @request GET:/v1/api-keys/{type}
|
|
421
|
-
* @secure
|
|
422
|
-
*/
|
|
423
|
-
list: (type: "personal" | "account", params?: RequestParams) => Promise<{
|
|
424
|
-
id: string;
|
|
425
|
-
name: string;
|
|
426
|
-
lastUsedAt: string | null;
|
|
427
|
-
/** @format date-time */
|
|
428
|
-
createdAt: string;
|
|
429
|
-
createdByUser: {
|
|
430
|
-
/** @maxLength 30 */
|
|
431
|
-
id: string;
|
|
432
|
-
/** @maxLength 255 */
|
|
433
|
-
name: string;
|
|
434
|
-
/** @maxLength 255 */
|
|
435
|
-
email: string;
|
|
436
|
-
} | null;
|
|
437
|
-
updatedByUser: {
|
|
438
|
-
/** @maxLength 30 */
|
|
439
|
-
id: string;
|
|
440
|
-
/** @maxLength 255 */
|
|
441
|
-
name: string;
|
|
442
|
-
/** @maxLength 255 */
|
|
443
|
-
email: string;
|
|
444
|
-
} | null;
|
|
445
|
-
}[]>;
|
|
446
|
-
/**
|
|
447
|
-
* @description APIキーを作成する
|
|
448
|
-
*
|
|
449
|
-
* @tags apiKey
|
|
450
|
-
* @name Create
|
|
451
|
-
* @summary create
|
|
452
|
-
* @request POST:/v1/api-keys
|
|
453
|
-
* @secure
|
|
454
|
-
*/
|
|
455
|
-
create: (data: {
|
|
456
|
-
type: "personal" | "account";
|
|
457
|
-
name?: string;
|
|
458
|
-
}, params?: RequestParams) => Promise<{
|
|
459
|
-
apiKey: {
|
|
460
|
-
/** @maxLength 30 */
|
|
461
|
-
id: string;
|
|
462
|
-
/** @maxLength 255 */
|
|
463
|
-
projectId: string;
|
|
464
|
-
/** @maxLength 30 */
|
|
465
|
-
userId: string;
|
|
466
|
-
/** @maxLength 255 */
|
|
467
|
-
tokenHash: string;
|
|
468
|
-
lastUsedAt: string | null;
|
|
469
|
-
/** @format date-time */
|
|
470
|
-
createdAt: string;
|
|
471
|
-
/** @format date-time */
|
|
472
|
-
updatedAt: string;
|
|
473
|
-
createdBy: string | null;
|
|
474
|
-
updatedBy: string | null;
|
|
475
|
-
deletedAt: string | null;
|
|
476
|
-
deletedBy: string | null;
|
|
477
|
-
};
|
|
478
|
-
plaintextToken: string;
|
|
479
|
-
}>;
|
|
480
|
-
/**
|
|
481
|
-
* @description APIキーを更新する
|
|
482
|
-
*
|
|
483
|
-
* @tags apiKey
|
|
484
|
-
* @name Update
|
|
485
|
-
* @summary update
|
|
486
|
-
* @request PATCH:/v1/api-keys/{id}
|
|
487
|
-
* @secure
|
|
488
|
-
*/
|
|
489
|
-
update: (id: string, data?: {
|
|
490
|
-
/** @minLength 1 */
|
|
491
|
-
name?: string;
|
|
492
|
-
}, params?: RequestParams) => Promise<{
|
|
493
|
-
id: string;
|
|
494
|
-
name: string;
|
|
495
|
-
lastUsedAt: string | null;
|
|
496
|
-
/** @format date-time */
|
|
497
|
-
createdAt: string;
|
|
498
|
-
createdByUser: {
|
|
499
|
-
/** @maxLength 30 */
|
|
500
|
-
id: string;
|
|
501
|
-
/** @maxLength 255 */
|
|
502
|
-
name: string;
|
|
503
|
-
/** @maxLength 255 */
|
|
504
|
-
email: string;
|
|
505
|
-
} | null;
|
|
506
|
-
updatedByUser: {
|
|
507
|
-
/** @maxLength 30 */
|
|
508
|
-
id: string;
|
|
509
|
-
/** @maxLength 255 */
|
|
510
|
-
name: string;
|
|
511
|
-
/** @maxLength 255 */
|
|
512
|
-
email: string;
|
|
513
|
-
} | null;
|
|
514
|
-
}>;
|
|
515
|
-
/**
|
|
516
|
-
* @description APIキーを削除する
|
|
517
|
-
*
|
|
518
|
-
* @tags apiKey
|
|
519
|
-
* @name Delete
|
|
520
|
-
* @summary delete
|
|
521
|
-
* @request DELETE:/v1/api-keys/{id}
|
|
522
|
-
* @secure
|
|
523
|
-
*/
|
|
524
|
-
delete: (id: string, data?: object, params?: RequestParams) => Promise<{
|
|
525
|
-
success: boolean;
|
|
526
|
-
}>;
|
|
527
|
-
};
|
|
528
|
-
chat: {
|
|
529
|
-
/**
|
|
530
|
-
* @description ユーザーのチャットメッセージ一覧を返す
|
|
531
|
-
*
|
|
532
|
-
* @tags chat
|
|
533
|
-
* @name ListMessages
|
|
534
|
-
* @summary listMessages
|
|
535
|
-
* @request POST:/v1/chat/list-messages
|
|
536
|
-
* @secure
|
|
537
|
-
*/
|
|
538
|
-
listMessages: (data: {
|
|
539
|
-
/** @minLength 1 */
|
|
540
|
-
agentId: string;
|
|
541
|
-
/** @minLength 1 */
|
|
542
|
-
chatId: string;
|
|
543
|
-
}, params?: RequestParams) => Promise<{
|
|
544
|
-
/** @maxLength 30 */
|
|
545
|
-
id: string;
|
|
546
|
-
/** @maxLength 30 */
|
|
547
|
-
chatId: string;
|
|
548
|
-
/** @maxLength 255 */
|
|
549
|
-
projectId: string;
|
|
550
|
-
/** @maxLength 30 */
|
|
551
|
-
agentConfigId: string;
|
|
552
|
-
/** @maxLength 50 */
|
|
553
|
-
role: string;
|
|
554
|
-
parts: (string | number | boolean | null) | Record<string, any> | null[];
|
|
555
|
-
attachments: ((string | number | boolean | null) | Record<string, any> | null[]) | null;
|
|
556
|
-
traceId: string | null;
|
|
557
|
-
/** @format date-time */
|
|
558
|
-
createdAt: string;
|
|
559
|
-
/** @format date-time */
|
|
560
|
-
updatedAt: string;
|
|
561
|
-
deletedAt: string | null;
|
|
562
|
-
deletedBy: string | null;
|
|
563
|
-
isUpvoted: boolean | null;
|
|
564
|
-
}[]>;
|
|
565
|
-
/**
|
|
566
|
-
* @description ユーザーのチャット一覧を返す
|
|
567
|
-
*
|
|
568
|
-
* @tags chat
|
|
569
|
-
* @name MyList
|
|
570
|
-
* @summary myList
|
|
571
|
-
* @request POST:/v1/chat/my-list
|
|
572
|
-
* @secure
|
|
573
|
-
*/
|
|
574
|
-
myList: (data: {
|
|
575
|
-
/** @minLength 1 */
|
|
576
|
-
agentId: string;
|
|
577
|
-
}, params?: RequestParams) => Promise<{
|
|
578
|
-
/** @maxLength 30 */
|
|
579
|
-
id: string;
|
|
580
|
-
/** @maxLength 255 */
|
|
581
|
-
projectId: string;
|
|
582
|
-
/** @maxLength 30 */
|
|
583
|
-
agentId: string;
|
|
584
|
-
userId: string | null;
|
|
585
|
-
chatGuestId: string | null;
|
|
586
|
-
title: string | null;
|
|
587
|
-
/** @format date-time */
|
|
588
|
-
createdAt: string;
|
|
589
|
-
/** @format date-time */
|
|
590
|
-
updatedAt: string;
|
|
591
|
-
}[]>;
|
|
592
|
-
/**
|
|
593
|
-
* @description ユーザーのチャットのタイトルを返す
|
|
594
|
-
*
|
|
595
|
-
* @tags chat
|
|
596
|
-
* @name GetTitle
|
|
597
|
-
* @summary getTitle
|
|
598
|
-
* @request POST:/v1/chat/get-title
|
|
599
|
-
* @secure
|
|
600
|
-
*/
|
|
601
|
-
getTitle: (data: {
|
|
602
|
-
/** @minLength 1 */
|
|
603
|
-
chatId: string;
|
|
604
|
-
}, params?: RequestParams) => Promise<string | null>;
|
|
605
|
-
/**
|
|
606
|
-
* @description メッセージに対する評価を送信する
|
|
607
|
-
*
|
|
608
|
-
* @tags chat
|
|
609
|
-
* @name SubmitFeedback
|
|
610
|
-
* @summary submitFeedback
|
|
611
|
-
* @request POST:/v1/chat/submit-feedback
|
|
612
|
-
* @secure
|
|
613
|
-
*/
|
|
614
|
-
submitFeedback: (data: {
|
|
615
|
-
/** @minLength 1 */
|
|
616
|
-
messageId: string;
|
|
617
|
-
isUpvoted: boolean;
|
|
618
|
-
reason?: string;
|
|
619
|
-
comment?: string;
|
|
620
|
-
}, params?: RequestParams) => Promise<any>;
|
|
621
|
-
/**
|
|
622
|
-
* @description メッセージの評価を削除する
|
|
623
|
-
*
|
|
624
|
-
* @tags chat
|
|
625
|
-
* @name DeleteFeedback
|
|
626
|
-
* @summary deleteFeedback
|
|
627
|
-
* @request POST:/v1/chat/delete-feedback
|
|
628
|
-
* @secure
|
|
629
|
-
*/
|
|
630
|
-
deleteFeedback: (data: {
|
|
631
|
-
/** @minLength 1 */
|
|
632
|
-
messageId: string;
|
|
633
|
-
}, params?: RequestParams) => Promise<any>;
|
|
634
|
-
};
|
|
635
|
-
}
|
|
636
|
-
export {};
|
|
637
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/__generated__/index.ts"],"names":[],"mappings":"AAYA,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;AAC3D,MAAM,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC;AAEnE,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC;IAClE,yEAAyE;IACzE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,mBAAmB;IACnB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,kEAAkE;IAClE,MAAM,CAAC,EAAE,cAAc,CAAC;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1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/sdk/generate.ts"],"names":[],"mappings":""}
|
package/dist/sdk/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Api } from "./__generated__";
|
|
2
|
-
export * from "./__generated__";
|
|
3
|
-
export type CreateClientParams = {
|
|
4
|
-
/**
|
|
5
|
-
* 管理画面から作られたAPIキー。
|
|
6
|
-
* `AI_AGENT_API_KEY`の環境変数からも設定可能。
|
|
7
|
-
*/
|
|
8
|
-
apiKey?: string;
|
|
9
|
-
/**
|
|
10
|
-
* エージェントのAPIエンドポイント。
|
|
11
|
-
* `AI_AGENT_API_ENDPOINT`の環境変数からも設定可能。
|
|
12
|
-
* デフォルトは本番のAPIエンドポイント。
|
|
13
|
-
* 基本的には変更不要。
|
|
14
|
-
*/
|
|
15
|
-
baseUrl?: string;
|
|
16
|
-
};
|
|
17
|
-
type AgentApi = Api<unknown>;
|
|
18
|
-
export declare function createClient(params?: CreateClientParams): AgentApi;
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/sdk/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAEtC,cAAc,iBAAiB,CAAC;AAEhC,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,QAAQ,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC;AAE7B,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,kBAAkB,GAAG,QAAQ,CAwBlE"}
|