@super_studio/ecforce-ai-agent-server 0.2.0-canary.3 → 0.2.0-canary.5
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/index.js +567 -42
- package/dist/index.mjs +567 -42
- package/dist/sdk/__generated__/index.d.ts +1053 -54
- package/dist/sdk/__generated__/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/sdk/__generated__/index.ts +2194 -532
- package/src/sdk/generate.ts +21 -1
- package/src/.tmp/test-script.ts +0 -18
package/dist/index.js
CHANGED
|
@@ -175,18 +175,380 @@ var Api = class extends HttpClient {
|
|
|
175
175
|
format: "json"
|
|
176
176
|
}, params))
|
|
177
177
|
};
|
|
178
|
-
this.
|
|
178
|
+
this.internalAccount = {
|
|
179
|
+
/**
|
|
180
|
+
* @description アカウント一覧
|
|
181
|
+
*
|
|
182
|
+
* @tags internal, account
|
|
183
|
+
* @name List
|
|
184
|
+
* @summary list
|
|
185
|
+
* @request GET:/v1/internal/account
|
|
186
|
+
* @secure
|
|
187
|
+
*/
|
|
188
|
+
list: (query, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
189
|
+
path: `/v1/internal/account`,
|
|
190
|
+
method: "GET",
|
|
191
|
+
query,
|
|
192
|
+
secure: true,
|
|
193
|
+
format: "json"
|
|
194
|
+
}, params)),
|
|
195
|
+
/**
|
|
196
|
+
* @description 新規アカウントを作成する
|
|
197
|
+
*
|
|
198
|
+
* @tags internal, account
|
|
199
|
+
* @name Create
|
|
200
|
+
* @summary create
|
|
201
|
+
* @request POST:/v1/internal/account
|
|
202
|
+
* @secure
|
|
203
|
+
*/
|
|
204
|
+
create: (data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
205
|
+
path: `/v1/internal/account`,
|
|
206
|
+
method: "POST",
|
|
207
|
+
body: data,
|
|
208
|
+
secure: true,
|
|
209
|
+
type: "application/json" /* Json */,
|
|
210
|
+
format: "json"
|
|
211
|
+
}, params)),
|
|
212
|
+
/**
|
|
213
|
+
* @description アカウント詳細を取得する(オプション含む)
|
|
214
|
+
*
|
|
215
|
+
* @tags internal, account
|
|
216
|
+
* @name Get
|
|
217
|
+
* @summary get
|
|
218
|
+
* @request GET:/v1/internal/account/{projectId}
|
|
219
|
+
* @secure
|
|
220
|
+
*/
|
|
221
|
+
get: (projectId, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
222
|
+
path: `/v1/internal/account/${projectId}`,
|
|
223
|
+
method: "GET",
|
|
224
|
+
secure: true,
|
|
225
|
+
format: "json"
|
|
226
|
+
}, params)),
|
|
227
|
+
/**
|
|
228
|
+
* @description アカウント設定を更新する(プラン、クレジット上限、オプション)
|
|
229
|
+
*
|
|
230
|
+
* @tags internal, account
|
|
231
|
+
* @name Update
|
|
232
|
+
* @summary update
|
|
233
|
+
* @request PUT:/v1/internal/account/{projectId}
|
|
234
|
+
* @secure
|
|
235
|
+
*/
|
|
236
|
+
update: (projectId, data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
237
|
+
path: `/v1/internal/account/${projectId}`,
|
|
238
|
+
method: "PUT",
|
|
239
|
+
body: data,
|
|
240
|
+
secure: true,
|
|
241
|
+
type: "application/json" /* Json */,
|
|
242
|
+
format: "json"
|
|
243
|
+
}, params)),
|
|
244
|
+
/**
|
|
245
|
+
* @description アカウントのメンバー一覧を取得する(管理者用)
|
|
246
|
+
*
|
|
247
|
+
* @tags internal, account
|
|
248
|
+
* @name ListMembers
|
|
249
|
+
* @summary listMembers
|
|
250
|
+
* @request GET:/v1/internal/account/{projectId}/members
|
|
251
|
+
* @secure
|
|
252
|
+
*/
|
|
253
|
+
listMembers: (projectId, query, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
254
|
+
path: `/v1/internal/account/${projectId}/members`,
|
|
255
|
+
method: "GET",
|
|
256
|
+
query,
|
|
257
|
+
secure: true,
|
|
258
|
+
format: "json"
|
|
259
|
+
}, params)),
|
|
260
|
+
/**
|
|
261
|
+
* @description 複数アカウントのクレジット情報を取得
|
|
262
|
+
*
|
|
263
|
+
* @tags internal, account
|
|
264
|
+
* @name BatchCredits
|
|
265
|
+
* @summary batchCredits
|
|
266
|
+
* @request POST:/v1/internal/account/batch-credits
|
|
267
|
+
* @secure
|
|
268
|
+
*/
|
|
269
|
+
batchCredits: (data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
270
|
+
path: `/v1/internal/account/batch-credits`,
|
|
271
|
+
method: "POST",
|
|
272
|
+
body: data,
|
|
273
|
+
secure: true,
|
|
274
|
+
type: "application/json" /* Json */,
|
|
275
|
+
format: "json"
|
|
276
|
+
}, params))
|
|
277
|
+
};
|
|
278
|
+
this.internalFeature = {
|
|
279
|
+
/**
|
|
280
|
+
* @description ユーザーのすべてのフィーチャーとその現在のステータスを一覧表示
|
|
281
|
+
*
|
|
282
|
+
* @tags internal, feature
|
|
283
|
+
* @name List
|
|
284
|
+
* @summary list
|
|
285
|
+
* @request GET:/v1/internal/feature
|
|
286
|
+
* @originalName list
|
|
287
|
+
* @duplicate
|
|
288
|
+
* @secure
|
|
289
|
+
*/
|
|
290
|
+
list: (params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
291
|
+
path: `/v1/internal/feature`,
|
|
292
|
+
method: "GET",
|
|
293
|
+
secure: true,
|
|
294
|
+
format: "json"
|
|
295
|
+
}, params)),
|
|
296
|
+
/**
|
|
297
|
+
* @description 現在のユーザーのフィーチャー上書きを取得
|
|
298
|
+
*
|
|
299
|
+
* @tags internal, feature
|
|
300
|
+
* @name GetOverrides
|
|
301
|
+
* @summary getOverrides
|
|
302
|
+
* @request GET:/v1/internal/feature/overrides
|
|
303
|
+
* @secure
|
|
304
|
+
*/
|
|
305
|
+
getOverrides: (params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
306
|
+
path: `/v1/internal/feature/overrides`,
|
|
307
|
+
method: "GET",
|
|
308
|
+
secure: true,
|
|
309
|
+
format: "json"
|
|
310
|
+
}, params)),
|
|
311
|
+
/**
|
|
312
|
+
* @description 現在のユーザーのフィーチャー上書きを設定または解除
|
|
313
|
+
*
|
|
314
|
+
* @tags internal, feature
|
|
315
|
+
* @name SetOverride
|
|
316
|
+
* @summary setOverride
|
|
317
|
+
* @request POST:/v1/internal/feature/override
|
|
318
|
+
* @secure
|
|
319
|
+
*/
|
|
320
|
+
setOverride: (data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
321
|
+
path: `/v1/internal/feature/override`,
|
|
322
|
+
method: "POST",
|
|
323
|
+
body: data,
|
|
324
|
+
secure: true,
|
|
325
|
+
type: "application/json" /* Json */,
|
|
326
|
+
format: "json"
|
|
327
|
+
}, params)),
|
|
328
|
+
/**
|
|
329
|
+
* @description 現在のユーザーのすべてのフィーチャー上書きを解除
|
|
330
|
+
*
|
|
331
|
+
* @tags internal, feature
|
|
332
|
+
* @name ClearAllOverrides
|
|
333
|
+
* @summary clearAllOverrides
|
|
334
|
+
* @request POST:/v1/internal/feature/override/clear-all
|
|
335
|
+
* @secure
|
|
336
|
+
*/
|
|
337
|
+
clearAllOverrides: (params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
338
|
+
path: `/v1/internal/feature/override/clear-all`,
|
|
339
|
+
method: "POST",
|
|
340
|
+
secure: true,
|
|
341
|
+
format: "json"
|
|
342
|
+
}, params)),
|
|
343
|
+
/**
|
|
344
|
+
* @description フィーチャーの条件を更新
|
|
345
|
+
*
|
|
346
|
+
* @tags internal, feature
|
|
347
|
+
* @name UpdateConditions
|
|
348
|
+
* @summary updateConditions
|
|
349
|
+
* @request POST:/v1/internal/feature/conditions
|
|
350
|
+
* @secure
|
|
351
|
+
*/
|
|
352
|
+
updateConditions: (data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
353
|
+
path: `/v1/internal/feature/conditions`,
|
|
354
|
+
method: "POST",
|
|
355
|
+
body: data,
|
|
356
|
+
secure: true,
|
|
357
|
+
type: "application/json" /* Json */,
|
|
358
|
+
format: "json"
|
|
359
|
+
}, params)),
|
|
360
|
+
/**
|
|
361
|
+
* @description フィーチャーの条件をコードのデフォルトにリセット
|
|
362
|
+
*
|
|
363
|
+
* @tags internal, feature
|
|
364
|
+
* @name ResetConditions
|
|
365
|
+
* @summary resetConditions
|
|
366
|
+
* @request POST:/v1/internal/feature/conditions/reset
|
|
367
|
+
* @secure
|
|
368
|
+
*/
|
|
369
|
+
resetConditions: (data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
370
|
+
path: `/v1/internal/feature/conditions/reset`,
|
|
371
|
+
method: "POST",
|
|
372
|
+
body: data,
|
|
373
|
+
secure: true,
|
|
374
|
+
type: "application/json" /* Json */,
|
|
375
|
+
format: "json"
|
|
376
|
+
}, params)),
|
|
377
|
+
/**
|
|
378
|
+
* @description すべてのグループとそのメンバーを一覧表示
|
|
379
|
+
*
|
|
380
|
+
* @tags internal, feature
|
|
381
|
+
* @name ListGroups
|
|
382
|
+
* @summary listGroups
|
|
383
|
+
* @request GET:/v1/internal/feature/groups
|
|
384
|
+
* @secure
|
|
385
|
+
*/
|
|
386
|
+
listGroups: (params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
387
|
+
path: `/v1/internal/feature/groups`,
|
|
388
|
+
method: "GET",
|
|
389
|
+
secure: true,
|
|
390
|
+
format: "json"
|
|
391
|
+
}, params)),
|
|
392
|
+
/**
|
|
393
|
+
* @description 全ユーザー一覧を取得
|
|
394
|
+
*
|
|
395
|
+
* @tags internal, feature
|
|
396
|
+
* @name ListUsers
|
|
397
|
+
* @summary listUsers
|
|
398
|
+
* @request GET:/v1/internal/feature/users
|
|
399
|
+
* @secure
|
|
400
|
+
*/
|
|
401
|
+
listUsers: (params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
402
|
+
path: `/v1/internal/feature/users`,
|
|
403
|
+
method: "GET",
|
|
404
|
+
secure: true,
|
|
405
|
+
format: "json"
|
|
406
|
+
}, params)),
|
|
407
|
+
/**
|
|
408
|
+
* @description 全アカウント一覧を取得
|
|
409
|
+
*
|
|
410
|
+
* @tags internal, feature
|
|
411
|
+
* @name ListAccounts
|
|
412
|
+
* @summary listAccounts
|
|
413
|
+
* @request GET:/v1/internal/feature/accounts
|
|
414
|
+
* @secure
|
|
415
|
+
*/
|
|
416
|
+
listAccounts: (params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
417
|
+
path: `/v1/internal/feature/accounts`,
|
|
418
|
+
method: "GET",
|
|
419
|
+
secure: true,
|
|
420
|
+
format: "json"
|
|
421
|
+
}, params)),
|
|
422
|
+
/**
|
|
423
|
+
* @description グループにメンバーを追加
|
|
424
|
+
*
|
|
425
|
+
* @tags internal, feature
|
|
426
|
+
* @name AddGroupMember
|
|
427
|
+
* @summary addGroupMember
|
|
428
|
+
* @request POST:/v1/internal/feature/group/member
|
|
429
|
+
* @secure
|
|
430
|
+
*/
|
|
431
|
+
addGroupMember: (data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
432
|
+
path: `/v1/internal/feature/group/member`,
|
|
433
|
+
method: "POST",
|
|
434
|
+
body: data,
|
|
435
|
+
secure: true,
|
|
436
|
+
type: "application/json" /* Json */,
|
|
437
|
+
format: "json"
|
|
438
|
+
}, params)),
|
|
439
|
+
/**
|
|
440
|
+
* @description グループからメンバーを削除
|
|
441
|
+
*
|
|
442
|
+
* @tags internal, feature
|
|
443
|
+
* @name RemoveGroupMember
|
|
444
|
+
* @summary removeGroupMember
|
|
445
|
+
* @request POST:/v1/internal/feature/group/member/remove
|
|
446
|
+
* @secure
|
|
447
|
+
*/
|
|
448
|
+
removeGroupMember: (data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
449
|
+
path: `/v1/internal/feature/group/member/remove`,
|
|
450
|
+
method: "POST",
|
|
451
|
+
body: data,
|
|
452
|
+
secure: true,
|
|
453
|
+
type: "application/json" /* Json */,
|
|
454
|
+
format: "json"
|
|
455
|
+
}, params))
|
|
456
|
+
};
|
|
457
|
+
this.internalGlobalAgent = {
|
|
458
|
+
/**
|
|
459
|
+
* @description グローバルエージェント一覧を取得する
|
|
460
|
+
*
|
|
461
|
+
* @tags internal, globalAgent
|
|
462
|
+
* @name ListGlobalAgents
|
|
463
|
+
* @summary listGlobalAgents
|
|
464
|
+
* @request GET:/v1/internal/global-agent
|
|
465
|
+
* @secure
|
|
466
|
+
*/
|
|
467
|
+
listGlobalAgents: (params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
468
|
+
path: `/v1/internal/global-agent`,
|
|
469
|
+
method: "GET",
|
|
470
|
+
secure: true,
|
|
471
|
+
format: "json"
|
|
472
|
+
}, params)),
|
|
473
|
+
/**
|
|
474
|
+
* @description グローバルエージェントを作成する
|
|
475
|
+
*
|
|
476
|
+
* @tags internal, globalAgent
|
|
477
|
+
* @name CreateGlobalAgent
|
|
478
|
+
* @summary createGlobalAgent
|
|
479
|
+
* @request POST:/v1/internal/global-agent
|
|
480
|
+
* @secure
|
|
481
|
+
*/
|
|
482
|
+
createGlobalAgent: (data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
483
|
+
path: `/v1/internal/global-agent`,
|
|
484
|
+
method: "POST",
|
|
485
|
+
body: data,
|
|
486
|
+
secure: true,
|
|
487
|
+
type: "application/json" /* Json */,
|
|
488
|
+
format: "json"
|
|
489
|
+
}, params)),
|
|
490
|
+
/**
|
|
491
|
+
* @description グローバルエージェント詳細を取得する
|
|
492
|
+
*
|
|
493
|
+
* @tags internal, globalAgent
|
|
494
|
+
* @name GetGlobalAgent
|
|
495
|
+
* @summary getGlobalAgent
|
|
496
|
+
* @request GET:/v1/internal/global-agent/{id}
|
|
497
|
+
* @secure
|
|
498
|
+
*/
|
|
499
|
+
getGlobalAgent: (id, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
500
|
+
path: `/v1/internal/global-agent/${id}`,
|
|
501
|
+
method: "GET",
|
|
502
|
+
secure: true,
|
|
503
|
+
format: "json"
|
|
504
|
+
}, params)),
|
|
505
|
+
/**
|
|
506
|
+
* @description グローバルエージェントを更新する
|
|
507
|
+
*
|
|
508
|
+
* @tags internal, globalAgent
|
|
509
|
+
* @name UpdateGlobalAgent
|
|
510
|
+
* @summary updateGlobalAgent
|
|
511
|
+
* @request PUT:/v1/internal/global-agent/{id}
|
|
512
|
+
* @secure
|
|
513
|
+
*/
|
|
514
|
+
updateGlobalAgent: (id, data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
515
|
+
path: `/v1/internal/global-agent/${id}`,
|
|
516
|
+
method: "PUT",
|
|
517
|
+
body: data,
|
|
518
|
+
secure: true,
|
|
519
|
+
type: "application/json" /* Json */,
|
|
520
|
+
format: "json"
|
|
521
|
+
}, params)),
|
|
522
|
+
/**
|
|
523
|
+
* @description グローバルエージェントを削除する
|
|
524
|
+
*
|
|
525
|
+
* @tags internal, globalAgent
|
|
526
|
+
* @name DeleteGlobalAgent
|
|
527
|
+
* @summary deleteGlobalAgent
|
|
528
|
+
* @request DELETE:/v1/internal/global-agent/{id}
|
|
529
|
+
* @secure
|
|
530
|
+
*/
|
|
531
|
+
deleteGlobalAgent: (id, data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
532
|
+
path: `/v1/internal/global-agent/${id}`,
|
|
533
|
+
method: "DELETE",
|
|
534
|
+
body: data,
|
|
535
|
+
secure: true,
|
|
536
|
+
type: "application/json" /* Json */,
|
|
537
|
+
format: "json"
|
|
538
|
+
}, params))
|
|
539
|
+
};
|
|
540
|
+
this.internalChat = {
|
|
179
541
|
/**
|
|
180
542
|
* @description ユーザーのセッションを作成してトークンを返す
|
|
181
543
|
*
|
|
182
|
-
* @tags internal
|
|
544
|
+
* @tags internal, chat
|
|
183
545
|
* @name CreateSession
|
|
184
546
|
* @summary createSession
|
|
185
|
-
* @request POST:/v1/internal/create-session
|
|
547
|
+
* @request POST:/v1/internal/chat/create-session
|
|
186
548
|
* @secure
|
|
187
549
|
*/
|
|
188
550
|
createSession: (data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
189
|
-
path: `/v1/internal/create-session`,
|
|
551
|
+
path: `/v1/internal/chat/create-session`,
|
|
190
552
|
method: "POST",
|
|
191
553
|
body: data,
|
|
192
554
|
secure: true,
|
|
@@ -282,12 +644,13 @@ var Api = class extends HttpClient {
|
|
|
282
644
|
* @tags agent
|
|
283
645
|
* @name GetInterfaceFeatures
|
|
284
646
|
* @summary getInterfaceFeatures
|
|
285
|
-
* @request GET:/v1/agent/
|
|
647
|
+
* @request GET:/v1/agent/interface-features
|
|
286
648
|
* @secure
|
|
287
649
|
*/
|
|
288
|
-
getInterfaceFeatures: (
|
|
289
|
-
path: `/v1/agent
|
|
650
|
+
getInterfaceFeatures: (query, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
651
|
+
path: `/v1/agent/interface-features`,
|
|
290
652
|
method: "GET",
|
|
653
|
+
query,
|
|
291
654
|
secure: true,
|
|
292
655
|
format: "json"
|
|
293
656
|
}, params)),
|
|
@@ -309,38 +672,6 @@ var Api = class extends HttpClient {
|
|
|
309
672
|
format: "json"
|
|
310
673
|
}, params))
|
|
311
674
|
};
|
|
312
|
-
this.account = {
|
|
313
|
-
/**
|
|
314
|
-
* @description 所属するアカウント一覧を取得する
|
|
315
|
-
*
|
|
316
|
-
* @tags account
|
|
317
|
-
* @name List
|
|
318
|
-
* @summary list
|
|
319
|
-
* @request GET:/v1/account
|
|
320
|
-
* @secure
|
|
321
|
-
*/
|
|
322
|
-
list: (params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
323
|
-
path: `/v1/account`,
|
|
324
|
-
method: "GET",
|
|
325
|
-
secure: true,
|
|
326
|
-
format: "json"
|
|
327
|
-
}, params)),
|
|
328
|
-
/**
|
|
329
|
-
* @description アカウント詳細を取得する
|
|
330
|
-
*
|
|
331
|
-
* @tags account
|
|
332
|
-
* @name Get
|
|
333
|
-
* @summary get
|
|
334
|
-
* @request GET:/v1/account/{projectId}
|
|
335
|
-
* @secure
|
|
336
|
-
*/
|
|
337
|
-
get: (projectId, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
338
|
-
path: `/v1/account/${projectId}`,
|
|
339
|
-
method: "GET",
|
|
340
|
-
secure: true,
|
|
341
|
-
format: "json"
|
|
342
|
-
}, params))
|
|
343
|
-
};
|
|
344
675
|
this.apiKeys = {
|
|
345
676
|
/**
|
|
346
677
|
* @description APIキー一覧を取得する
|
|
@@ -436,12 +767,10 @@ var Api = class extends HttpClient {
|
|
|
436
767
|
* @request POST:/v1/chat/my-list
|
|
437
768
|
* @secure
|
|
438
769
|
*/
|
|
439
|
-
myList: (
|
|
770
|
+
myList: (params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
440
771
|
path: `/v1/chat/my-list`,
|
|
441
772
|
method: "POST",
|
|
442
|
-
body: data,
|
|
443
773
|
secure: true,
|
|
444
|
-
type: "application/json" /* Json */,
|
|
445
774
|
format: "json"
|
|
446
775
|
}, params)),
|
|
447
776
|
/**
|
|
@@ -496,6 +825,202 @@ var Api = class extends HttpClient {
|
|
|
496
825
|
format: "json"
|
|
497
826
|
}, params))
|
|
498
827
|
};
|
|
828
|
+
this.members = {
|
|
829
|
+
/**
|
|
830
|
+
* @description メンバー一覧を取得する
|
|
831
|
+
*
|
|
832
|
+
* @tags member
|
|
833
|
+
* @name List
|
|
834
|
+
* @summary list
|
|
835
|
+
* @request GET:/v1/members
|
|
836
|
+
* @secure
|
|
837
|
+
*/
|
|
838
|
+
list: (query, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
839
|
+
path: `/v1/members`,
|
|
840
|
+
method: "GET",
|
|
841
|
+
query,
|
|
842
|
+
secure: true,
|
|
843
|
+
format: "json"
|
|
844
|
+
}, params)),
|
|
845
|
+
/**
|
|
846
|
+
* @description メンバー詳細を取得する
|
|
847
|
+
*
|
|
848
|
+
* @tags member
|
|
849
|
+
* @name Get
|
|
850
|
+
* @summary get
|
|
851
|
+
* @request GET:/v1/members/{memberId}
|
|
852
|
+
* @secure
|
|
853
|
+
*/
|
|
854
|
+
get: (memberId, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
855
|
+
path: `/v1/members/${memberId}`,
|
|
856
|
+
method: "GET",
|
|
857
|
+
secure: true,
|
|
858
|
+
format: "json"
|
|
859
|
+
}, params)),
|
|
860
|
+
/**
|
|
861
|
+
* @description メンバーのロールを更新する
|
|
862
|
+
*
|
|
863
|
+
* @tags member
|
|
864
|
+
* @name Update
|
|
865
|
+
* @summary update
|
|
866
|
+
* @request PUT:/v1/members/{memberId}
|
|
867
|
+
* @secure
|
|
868
|
+
*/
|
|
869
|
+
update: (memberId, data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
870
|
+
path: `/v1/members/${memberId}`,
|
|
871
|
+
method: "PUT",
|
|
872
|
+
body: data,
|
|
873
|
+
secure: true,
|
|
874
|
+
type: "application/json" /* Json */,
|
|
875
|
+
format: "json"
|
|
876
|
+
}, params)),
|
|
877
|
+
/**
|
|
878
|
+
* @description メンバーの使用統計を取得する
|
|
879
|
+
*
|
|
880
|
+
* @tags member
|
|
881
|
+
* @name Usage
|
|
882
|
+
* @summary usage
|
|
883
|
+
* @request GET:/v1/members/{memberId}/usage
|
|
884
|
+
* @secure
|
|
885
|
+
*/
|
|
886
|
+
usage: (memberId, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
887
|
+
path: `/v1/members/${memberId}/usage`,
|
|
888
|
+
method: "GET",
|
|
889
|
+
secure: true,
|
|
890
|
+
format: "json"
|
|
891
|
+
}, params)),
|
|
892
|
+
/**
|
|
893
|
+
* @description メンバーのチャット履歴を取得する
|
|
894
|
+
*
|
|
895
|
+
* @tags member
|
|
896
|
+
* @name Chats
|
|
897
|
+
* @summary chats
|
|
898
|
+
* @request GET:/v1/members/{memberId}/chats
|
|
899
|
+
* @secure
|
|
900
|
+
*/
|
|
901
|
+
chats: (memberId, query, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
902
|
+
path: `/v1/members/${memberId}/chats`,
|
|
903
|
+
method: "GET",
|
|
904
|
+
query,
|
|
905
|
+
secure: true,
|
|
906
|
+
format: "json"
|
|
907
|
+
}, params)),
|
|
908
|
+
/**
|
|
909
|
+
* @description メンバーの使用イベント履歴を取得する
|
|
910
|
+
*
|
|
911
|
+
* @tags member
|
|
912
|
+
* @name Events
|
|
913
|
+
* @summary events
|
|
914
|
+
* @request GET:/v1/members/{memberId}/events
|
|
915
|
+
* @secure
|
|
916
|
+
*/
|
|
917
|
+
events: (memberId, query, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
918
|
+
path: `/v1/members/${memberId}/events`,
|
|
919
|
+
method: "GET",
|
|
920
|
+
query,
|
|
921
|
+
secure: true,
|
|
922
|
+
format: "json"
|
|
923
|
+
}, params)),
|
|
924
|
+
/**
|
|
925
|
+
* @description メンバーのフィードバック履歴を取得する
|
|
926
|
+
*
|
|
927
|
+
* @tags member
|
|
928
|
+
* @name Feedback
|
|
929
|
+
* @summary feedback
|
|
930
|
+
* @request GET:/v1/members/{memberId}/feedback
|
|
931
|
+
* @secure
|
|
932
|
+
*/
|
|
933
|
+
feedback: (memberId, query, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
934
|
+
path: `/v1/members/${memberId}/feedback`,
|
|
935
|
+
method: "GET",
|
|
936
|
+
query,
|
|
937
|
+
secure: true,
|
|
938
|
+
format: "json"
|
|
939
|
+
}, params)),
|
|
940
|
+
/**
|
|
941
|
+
* @description 複数メンバーのクレジット使用量を取得
|
|
942
|
+
*
|
|
943
|
+
* @tags member
|
|
944
|
+
* @name BatchCredits
|
|
945
|
+
* @summary batchCredits
|
|
946
|
+
* @request POST:/v1/members/batch-credits
|
|
947
|
+
* @secure
|
|
948
|
+
*/
|
|
949
|
+
batchCredits: (data, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
950
|
+
path: `/v1/members/batch-credits`,
|
|
951
|
+
method: "POST",
|
|
952
|
+
body: data,
|
|
953
|
+
secure: true,
|
|
954
|
+
type: "application/json" /* Json */,
|
|
955
|
+
format: "json"
|
|
956
|
+
}, params))
|
|
957
|
+
};
|
|
958
|
+
this.usage = {
|
|
959
|
+
/**
|
|
960
|
+
* @description プロジェクトの使用量サマリーを取得する
|
|
961
|
+
*
|
|
962
|
+
* @tags usage
|
|
963
|
+
* @name Summary
|
|
964
|
+
* @summary summary
|
|
965
|
+
* @request GET:/v1/usage/summary
|
|
966
|
+
* @secure
|
|
967
|
+
*/
|
|
968
|
+
summary: (query, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
969
|
+
path: `/v1/usage/summary`,
|
|
970
|
+
method: "GET",
|
|
971
|
+
query,
|
|
972
|
+
secure: true,
|
|
973
|
+
format: "json"
|
|
974
|
+
}, params)),
|
|
975
|
+
/**
|
|
976
|
+
* @description ユーザー別の使用量を取得する
|
|
977
|
+
*
|
|
978
|
+
* @tags usage
|
|
979
|
+
* @name ByUser
|
|
980
|
+
* @summary byUser
|
|
981
|
+
* @request GET:/v1/usage/by-user
|
|
982
|
+
* @secure
|
|
983
|
+
*/
|
|
984
|
+
byUser: (query, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
985
|
+
path: `/v1/usage/by-user`,
|
|
986
|
+
method: "GET",
|
|
987
|
+
query,
|
|
988
|
+
secure: true,
|
|
989
|
+
format: "json"
|
|
990
|
+
}, params)),
|
|
991
|
+
/**
|
|
992
|
+
* @description エージェント別の使用量を取得する
|
|
993
|
+
*
|
|
994
|
+
* @tags usage
|
|
995
|
+
* @name ByAgent
|
|
996
|
+
* @summary byAgent
|
|
997
|
+
* @request GET:/v1/usage/by-agent
|
|
998
|
+
* @secure
|
|
999
|
+
*/
|
|
1000
|
+
byAgent: (query, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
1001
|
+
path: `/v1/usage/by-agent`,
|
|
1002
|
+
method: "GET",
|
|
1003
|
+
query,
|
|
1004
|
+
secure: true,
|
|
1005
|
+
format: "json"
|
|
1006
|
+
}, params)),
|
|
1007
|
+
/**
|
|
1008
|
+
* @description モデル別の使用量を取得する
|
|
1009
|
+
*
|
|
1010
|
+
* @tags usage
|
|
1011
|
+
* @name ByModel
|
|
1012
|
+
* @summary byModel
|
|
1013
|
+
* @request GET:/v1/usage/by-model
|
|
1014
|
+
* @secure
|
|
1015
|
+
*/
|
|
1016
|
+
byModel: (query, params = {}) => this.request(_chunkORMEWXMHjs.__spreadValues.call(void 0, {
|
|
1017
|
+
path: `/v1/usage/by-model`,
|
|
1018
|
+
method: "GET",
|
|
1019
|
+
query,
|
|
1020
|
+
secure: true,
|
|
1021
|
+
format: "json"
|
|
1022
|
+
}, params))
|
|
1023
|
+
};
|
|
499
1024
|
}
|
|
500
1025
|
};
|
|
501
1026
|
|