diff --git a/.changeset/red-cups-sniff.md b/.changeset/red-cups-sniff.md new file mode 100644 index 0000000..073efd2 --- /dev/null +++ b/.changeset/red-cups-sniff.md @@ -0,0 +1,5 @@ +--- +'openapi-ts-request': patch +--- + +perf: typeName upperFist diff --git a/src/generator/serviceGenarator.ts b/src/generator/serviceGenarator.ts index 706f104..b3ab050 100644 --- a/src/generator/serviceGenarator.ts +++ b/src/generator/serviceGenarator.ts @@ -12,6 +12,7 @@ import { isFunction, isObject, keys, + lowerFirst, map, upperFirst, } from 'lodash'; @@ -238,9 +239,10 @@ export default class ServiceGenerator { } } + const tagTypeName = resolveTypeName(tag); const tagKey = this.config.isCamelCase - ? camelCase(resolveTypeName(tag)) - : resolveTypeName(tag); + ? camelCase(tagTypeName) + : lowerFirst(tagTypeName); if (!this.apiData[tagKey]) { this.apiData[tagKey] = []; @@ -610,7 +612,7 @@ export default class ServiceGenerator { if (this.config.isGenJsonSchemas) { this.schemaList.push({ - typeName: `$${resolveTypeName(schemaKey)}`, + typeName: `$${lowerFirst(resolveTypeName(schemaKey))}`, type: JSON.stringify( patchSchema( schema, @@ -933,7 +935,9 @@ export default class ServiceGenerator { const typeName = this.config?.hook?.customTypeName?.(data) || this.getFunctionName(data); - return resolveTypeName(`${namespace}${typeName ?? data.operationId}Params`); + return upperFirst( + resolveTypeName(`${namespace}${typeName ?? data.operationId}Params`) + ); } private getBodyTP(requestBody: RequestBodyObject, namespace?: string) { diff --git a/src/generator/util.ts b/src/generator/util.ts index 1f8a581..ed0d132 100644 --- a/src/generator/util.ts +++ b/src/generator/util.ts @@ -14,6 +14,7 @@ import { isUndefined, keys, map, + upperFirst, } from 'lodash'; import ReservedDict from 'reserved-words'; import pinyin from 'tiny-pinyin'; @@ -97,12 +98,12 @@ export function resolveTypeName(typeName: string) { } if (!/[\u3220-\uFA29]/.test(name) && !/^\d$/.test(name)) { - return name; + return upperFirst(name); } const noBlankName = name.replace(/ +/g, ''); - return pinyin.convertToPinyin(noBlankName, '', true); + return upperFirst(pinyin.convertToPinyin(noBlankName, '', true)); } export function getRefName(refObject: ReferenceObject | string) { diff --git "a/test/__snapshots__/common/\345\260\217\351\251\274\345\263\260\345\221\275\345\220\215\346\226\207\344\273\266\345\222\214\350\257\267\346\261\202\345\207\275\346\225\260.snap" "b/test/__snapshots__/common/\345\260\217\351\251\274\345\263\260\345\221\275\345\220\215\346\226\207\344\273\266\345\222\214\350\257\267\346\261\202\345\207\275\346\225\260.snap" index 2787af1..0306afb 100644 --- "a/test/__snapshots__/common/\345\260\217\351\251\274\345\263\260\345\221\275\345\220\215\346\226\207\344\273\266\345\222\214\350\257\267\346\261\202\345\207\275\346\225\260.snap" +++ "b/test/__snapshots__/common/\345\260\217\351\251\274\345\263\260\345\221\275\345\220\215\346\226\207\344\273\266\345\222\214\350\257\267\346\261\202\345\207\275\346\225\260.snap" @@ -67,7 +67,7 @@ export async function petPetIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingGetParams; + params: API.PetPetIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -85,7 +85,7 @@ export async function petPetIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingPostParams; + params: API.PetPetIdUsingPostParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -105,7 +105,7 @@ export async function petPetIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingDeleteParams; + params: API.PetPetIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -124,7 +124,7 @@ export async function petPetIdUploadImageUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUploadImageUsingPostParams; + params: API.PetPetIdUploadImageUsingPostParams; body: API.PetPetIdUploadImageUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -149,7 +149,7 @@ export async function petFindByStatusUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByStatusUsingGetParams; + params: API.PetFindByStatusUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByStatus', { @@ -169,7 +169,7 @@ export async function petFindByTagsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByTagsUsingGetParams; + params: API.PetFindByTagsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByTags', { @@ -222,7 +222,7 @@ export async function storeOrderOrderIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingGetParams; + params: API.StoreOrderOrderIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; @@ -240,7 +240,7 @@ export async function storeOrderOrderIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingDeleteParams; + params: API.StoreOrderOrderIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; @@ -285,36 +285,36 @@ export type Pet = { status?: 'available' | 'pending' | 'sold'; }; -export type petFindByStatusUsingGetParams = { +export type PetFindByStatusUsingGetParams = { /** Status values that need to be considered for filter */ status?: 'available' | 'pending' | 'sold'; }; -export type petFindByTagsUsingGetParams = { +export type PetFindByTagsUsingGetParams = { /** Tags to filter by */ tags?: string[]; }; export type PetPetIdUploadImageUsingPostBody = string; -export type petPetIdUploadImageUsingPostParams = { +export type PetPetIdUploadImageUsingPostParams = { /** ID of pet to update */ petId: number; /** Additional Metadata */ additionalMetadata?: string; }; -export type petPetIdUsingDeleteParams = { +export type PetPetIdUsingDeleteParams = { /** Pet id to delete */ petId: number; }; -export type petPetIdUsingGetParams = { +export type PetPetIdUsingGetParams = { /** ID of pet to return */ petId: number; }; -export type petPetIdUsingPostParams = { +export type PetPetIdUsingPostParams = { /** ID of pet that needs to be updated */ petId: number; /** Name of pet that needs to be updated */ @@ -339,12 +339,12 @@ export enum StatusEnum2 { export type IStatusEnum2 = keyof typeof StatusEnum2; -export type storeOrderOrderIdUsingDeleteParams = { +export type StoreOrderOrderIdUsingDeleteParams = { /** ID of the order that needs to be deleted */ orderId: number; }; -export type storeOrderOrderIdUsingGetParams = { +export type StoreOrderOrderIdUsingGetParams = { /** ID of order that needs to be fetched */ orderId: number; }; @@ -368,24 +368,24 @@ export type User = { export type UserCreateWithListUsingPostBody = User[]; -export type userLoginUsingGetParams = { +export type UserLoginUsingGetParams = { /** The user name for login */ username?: string; /** The password for login in clear text */ password?: string; }; -export type userUsernameUsingDeleteParams = { +export type UserUsernameUsingDeleteParams = { /** The name that needs to be deleted */ username: string; }; -export type userUsernameUsingGetParams = { +export type UserUsernameUsingGetParams = { /** The name that needs to be fetched. Use user1 for testing. */ username: string; }; -export type userUsernameUsingPutParams = { +export type UserUsernameUsingPutParams = { /** name that needs to be updated */ username: string; }; @@ -419,7 +419,7 @@ export async function userUsernameUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingGetParams; + params: API.UserUsernameUsingGetParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -438,7 +438,7 @@ export async function userUsernameUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingPutParams; + params: API.UserUsernameUsingPutParams; body: API.User; options?: { [key: string]: unknown }; }) { @@ -461,7 +461,7 @@ export async function userUsernameUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingDeleteParams; + params: API.UserUsernameUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -497,7 +497,7 @@ export async function userLoginUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userLoginUsingGetParams; + params: API.UserLoginUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/user/login', { diff --git "a/test/__snapshots__/common/\346\224\257\346\214\201 null \347\261\273\345\236\213\344\275\234\344\270\272\351\273\230\350\256\244\345\200\274.snap" "b/test/__snapshots__/common/\346\224\257\346\214\201 null \347\261\273\345\236\213\344\275\234\344\270\272\351\273\230\350\256\244\345\200\274.snap" index c6c847c..3d24e4b 100644 --- "a/test/__snapshots__/common/\346\224\257\346\214\201 null \347\261\273\345\236\213\344\275\234\344\270\272\351\273\230\350\256\244\345\200\274.snap" +++ "b/test/__snapshots__/common/\346\224\257\346\214\201 null \347\261\273\345\236\213\344\275\234\344\270\272\351\273\230\350\256\244\345\200\274.snap" @@ -67,7 +67,7 @@ export async function petPetIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingGetParams; + params: API.PetPetIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -85,7 +85,7 @@ export async function petPetIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingPostParams; + params: API.PetPetIdUsingPostParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -105,7 +105,7 @@ export async function petPetIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingDeleteParams; + params: API.PetPetIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -124,7 +124,7 @@ export async function petPetIdUploadImageUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUploadImageUsingPostParams; + params: API.PetPetIdUploadImageUsingPostParams; body: API.PetPetIdUploadImageUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -149,7 +149,7 @@ export async function petFindByStatusUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByStatusUsingGetParams; + params: API.PetFindByStatusUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByStatus', { @@ -169,7 +169,7 @@ export async function petFindByTagsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByTagsUsingGetParams; + params: API.PetFindByTagsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByTags', { @@ -222,7 +222,7 @@ export async function storeOrderOrderIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingGetParams; + params: API.StoreOrderOrderIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; @@ -240,7 +240,7 @@ export async function storeOrderOrderIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingDeleteParams; + params: API.StoreOrderOrderIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; @@ -285,36 +285,36 @@ export type Pet = { status: 'available' | 'pending' | 'sold' | null; }; -export type petFindByStatusUsingGetParams = { +export type PetFindByStatusUsingGetParams = { /** Status values that need to be considered for filter */ status: 'available' | 'pending' | 'sold' | null; }; -export type petFindByTagsUsingGetParams = { +export type PetFindByTagsUsingGetParams = { /** Tags to filter by */ tags: string[] | null; }; export type PetPetIdUploadImageUsingPostBody = string; -export type petPetIdUploadImageUsingPostParams = { +export type PetPetIdUploadImageUsingPostParams = { /** ID of pet to update */ petId: number; /** Additional Metadata */ additionalMetadata: string | null; }; -export type petPetIdUsingDeleteParams = { +export type PetPetIdUsingDeleteParams = { /** Pet id to delete */ petId: number; }; -export type petPetIdUsingGetParams = { +export type PetPetIdUsingGetParams = { /** ID of pet to return */ petId: number; }; -export type petPetIdUsingPostParams = { +export type PetPetIdUsingPostParams = { /** ID of pet that needs to be updated */ petId: number; /** Name of pet that needs to be updated */ @@ -339,12 +339,12 @@ export enum StatusEnum2 { export type IStatusEnum2 = keyof typeof StatusEnum2; -export type storeOrderOrderIdUsingDeleteParams = { +export type StoreOrderOrderIdUsingDeleteParams = { /** ID of the order that needs to be deleted */ orderId: number; }; -export type storeOrderOrderIdUsingGetParams = { +export type StoreOrderOrderIdUsingGetParams = { /** ID of order that needs to be fetched */ orderId: number; }; @@ -368,24 +368,24 @@ export type User = { export type UserCreateWithListUsingPostBody = User[]; -export type userLoginUsingGetParams = { +export type UserLoginUsingGetParams = { /** The user name for login */ username: string | null; /** The password for login in clear text */ password: string | null; }; -export type userUsernameUsingDeleteParams = { +export type UserUsernameUsingDeleteParams = { /** The name that needs to be deleted */ username: string; }; -export type userUsernameUsingGetParams = { +export type UserUsernameUsingGetParams = { /** The name that needs to be fetched. Use user1 for testing. */ username: string; }; -export type userUsernameUsingPutParams = { +export type UserUsernameUsingPutParams = { /** name that needs to be updated */ username: string; }; @@ -419,7 +419,7 @@ export async function userUsernameUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingGetParams; + params: API.UserUsernameUsingGetParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -438,7 +438,7 @@ export async function userUsernameUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingPutParams; + params: API.UserUsernameUsingPutParams; body: API.User; options?: { [key: string]: unknown }; }) { @@ -461,7 +461,7 @@ export async function userUsernameUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingDeleteParams; + params: API.UserUsernameUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -497,7 +497,7 @@ export async function userLoginUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userLoginUsingGetParams; + params: API.UserLoginUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/user/login', { diff --git "a/test/__snapshots__/common/\346\255\243\345\270\270\345\221\275\345\220\215\346\226\207\344\273\266\345\222\214\350\257\267\346\261\202\345\207\275\346\225\260.snap" "b/test/__snapshots__/common/\346\255\243\345\270\270\345\221\275\345\220\215\346\226\207\344\273\266\345\222\214\350\257\267\346\261\202\345\207\275\346\225\260.snap" index 4887413..0306afb 100644 --- "a/test/__snapshots__/common/\346\255\243\345\270\270\345\221\275\345\220\215\346\226\207\344\273\266\345\222\214\350\257\267\346\261\202\345\207\275\346\225\260.snap" +++ "b/test/__snapshots__/common/\346\255\243\345\270\270\345\221\275\345\220\215\346\226\207\344\273\266\345\222\214\350\257\267\346\261\202\345\207\275\346\225\260.snap" @@ -1,5 +1,26 @@ /* eslint-disable */ // @ts-ignore +import * as API from './types'; + +export function displayStatusEnum(field: API.StatusEnum) { + return { placed: 'placed', approved: 'approved', delivered: 'delivered' }[ + field + ]; +} + +export function displayStatusEnum2(field: API.StatusEnum2) { + return { available: 'available', pending: 'pending', sold: 'sold' }[field]; +} +/* eslint-disable */ +// @ts-ignore +export * from './types'; +export * from './displayEnumLabel'; + +export * from './pet'; +export * from './store'; +export * from './user'; +/* eslint-disable */ +// @ts-ignore import { request } from 'axios'; import * as API from './types'; @@ -46,7 +67,7 @@ export async function petPetIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingGetParams; + params: API.PetPetIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -64,7 +85,7 @@ export async function petPetIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingPostParams; + params: API.PetPetIdUsingPostParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -84,7 +105,7 @@ export async function petPetIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingDeleteParams; + params: API.PetPetIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -103,7 +124,7 @@ export async function petPetIdUploadImageUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUploadImageUsingPostParams; + params: API.PetPetIdUploadImageUsingPostParams; body: API.PetPetIdUploadImageUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -128,7 +149,7 @@ export async function petFindByStatusUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByStatusUsingGetParams; + params: API.PetFindByStatusUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByStatus', { @@ -148,7 +169,7 @@ export async function petFindByTagsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByTagsUsingGetParams; + params: API.PetFindByTagsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByTags', { @@ -201,7 +222,7 @@ export async function storeOrderOrderIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingGetParams; + params: API.StoreOrderOrderIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; @@ -219,7 +240,7 @@ export async function storeOrderOrderIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingDeleteParams; + params: API.StoreOrderOrderIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; @@ -232,6 +253,144 @@ export async function storeOrderOrderIdUsingDelete({ } /* eslint-disable */ // @ts-ignore + +export type ApiResponse = { + code?: number; + type?: string; + message?: string; +}; + +export type Category = { + id?: number; + name?: string; +}; + +export type Order = { + id?: number; + petId?: number; + quantity?: number; + shipDate?: string; + /** Order Status */ + status?: 'placed' | 'approved' | 'delivered'; + complete?: boolean; +}; + +export type Pet = { + id?: number; + name: string; + category?: Category; + photoUrls: string[]; + tags?: Tag[]; + /** pet status in the store */ + status?: 'available' | 'pending' | 'sold'; +}; + +export type PetFindByStatusUsingGetParams = { + /** Status values that need to be considered for filter */ + status?: 'available' | 'pending' | 'sold'; +}; + +export type PetFindByTagsUsingGetParams = { + /** Tags to filter by */ + tags?: string[]; +}; + +export type PetPetIdUploadImageUsingPostBody = string; + +export type PetPetIdUploadImageUsingPostParams = { + /** ID of pet to update */ + petId: number; + /** Additional Metadata */ + additionalMetadata?: string; +}; + +export type PetPetIdUsingDeleteParams = { + /** Pet id to delete */ + petId: number; +}; + +export type PetPetIdUsingGetParams = { + /** ID of pet to return */ + petId: number; +}; + +export type PetPetIdUsingPostParams = { + /** ID of pet that needs to be updated */ + petId: number; + /** Name of pet that needs to be updated */ + name?: string; + /** Status of pet that needs to be updated */ + status?: string; +}; + +export enum StatusEnum { + 'placed' = 'placed', + 'approved' = 'approved', + 'delivered' = 'delivered', +} + +export type IStatusEnum = keyof typeof StatusEnum; + +export enum StatusEnum2 { + 'available' = 'available', + 'pending' = 'pending', + 'sold' = 'sold', +} + +export type IStatusEnum2 = keyof typeof StatusEnum2; + +export type StoreOrderOrderIdUsingDeleteParams = { + /** ID of the order that needs to be deleted */ + orderId: number; +}; + +export type StoreOrderOrderIdUsingGetParams = { + /** ID of order that needs to be fetched */ + orderId: number; +}; + +export type Tag = { + id?: number; + name?: string; +}; + +export type User = { + id?: number; + username?: string; + firstName?: string; + lastName?: string; + email?: string; + password?: string; + phone?: string; + /** User Status */ + userStatus?: number; +}; + +export type UserCreateWithListUsingPostBody = User[]; + +export type UserLoginUsingGetParams = { + /** The user name for login */ + username?: string; + /** The password for login in clear text */ + password?: string; +}; + +export type UserUsernameUsingDeleteParams = { + /** The name that needs to be deleted */ + username: string; +}; + +export type UserUsernameUsingGetParams = { + /** The name that needs to be fetched. Use user1 for testing. */ + username: string; +}; + +export type UserUsernameUsingPutParams = { + /** name that needs to be updated */ + username: string; +}; +/* eslint-disable */ +// @ts-ignore import { request } from 'axios'; import * as API from './types'; @@ -260,7 +419,7 @@ export async function userUsernameUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingGetParams; + params: API.UserUsernameUsingGetParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -279,7 +438,7 @@ export async function userUsernameUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingPutParams; + params: API.UserUsernameUsingPutParams; body: API.User; options?: { [key: string]: unknown }; }) { @@ -302,7 +461,7 @@ export async function userUsernameUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingDeleteParams; + params: API.UserUsernameUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -338,7 +497,7 @@ export async function userLoginUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userLoginUsingGetParams; + params: API.UserLoginUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/user/login', { @@ -361,162 +520,3 @@ export async function userLogoutUsingGet({ ...(options || {}), }); } -/* eslint-disable */ -// @ts-ignore -import * as API from './types'; - -export function displayStatusEnum(field: API.StatusEnum) { - return { placed: 'placed', approved: 'approved', delivered: 'delivered' }[ - field - ]; -} - -export function displayStatusEnum2(field: API.StatusEnum2) { - return { available: 'available', pending: 'pending', sold: 'sold' }[field]; -} -/* eslint-disable */ -// @ts-ignore -export * from './types'; -export * from './displayEnumLabel'; - -export * from './Pet'; -export * from './Store'; -export * from './User'; -/* eslint-disable */ -// @ts-ignore - -export type ApiResponse = { - code?: number; - type?: string; - message?: string; -}; - -export type Category = { - id?: number; - name?: string; -}; - -export type Order = { - id?: number; - petId?: number; - quantity?: number; - shipDate?: string; - /** Order Status */ - status?: 'placed' | 'approved' | 'delivered'; - complete?: boolean; -}; - -export type Pet = { - id?: number; - name: string; - category?: Category; - photoUrls: string[]; - tags?: Tag[]; - /** pet status in the store */ - status?: 'available' | 'pending' | 'sold'; -}; - -export type petFindByStatusUsingGetParams = { - /** Status values that need to be considered for filter */ - status?: 'available' | 'pending' | 'sold'; -}; - -export type petFindByTagsUsingGetParams = { - /** Tags to filter by */ - tags?: string[]; -}; - -export type PetPetIdUploadImageUsingPostBody = string; - -export type petPetIdUploadImageUsingPostParams = { - /** ID of pet to update */ - petId: number; - /** Additional Metadata */ - additionalMetadata?: string; -}; - -export type petPetIdUsingDeleteParams = { - /** Pet id to delete */ - petId: number; -}; - -export type petPetIdUsingGetParams = { - /** ID of pet to return */ - petId: number; -}; - -export type petPetIdUsingPostParams = { - /** ID of pet that needs to be updated */ - petId: number; - /** Name of pet that needs to be updated */ - name?: string; - /** Status of pet that needs to be updated */ - status?: string; -}; - -export enum StatusEnum { - 'placed' = 'placed', - 'approved' = 'approved', - 'delivered' = 'delivered', -} - -export type IStatusEnum = keyof typeof StatusEnum; - -export enum StatusEnum2 { - 'available' = 'available', - 'pending' = 'pending', - 'sold' = 'sold', -} - -export type IStatusEnum2 = keyof typeof StatusEnum2; - -export type storeOrderOrderIdUsingDeleteParams = { - /** ID of the order that needs to be deleted */ - orderId: number; -}; - -export type storeOrderOrderIdUsingGetParams = { - /** ID of order that needs to be fetched */ - orderId: number; -}; - -export type Tag = { - id?: number; - name?: string; -}; - -export type User = { - id?: number; - username?: string; - firstName?: string; - lastName?: string; - email?: string; - password?: string; - phone?: string; - /** User Status */ - userStatus?: number; -}; - -export type UserCreateWithListUsingPostBody = User[]; - -export type userLoginUsingGetParams = { - /** The user name for login */ - username?: string; - /** The password for login in clear text */ - password?: string; -}; - -export type userUsernameUsingDeleteParams = { - /** The name that needs to be deleted */ - username: string; -}; - -export type userUsernameUsingGetParams = { - /** The name that needs to be fetched. Use user1 for testing. */ - username: string; -}; - -export type userUsernameUsingPutParams = { - /** name that needs to be updated */ - username: string; -}; diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225 $ref \345\274\225\347\224\250\344\270\255\345\214\205\345\220\253 encode \347\274\226\347\240\201\345\255\227\347\254\246.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225 $ref \345\274\225\347\224\250\344\270\255\345\214\205\345\220\253 encode \347\274\226\347\240\201\345\255\227\347\254\246.snap" index 434c2ea..05fd29f 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225 $ref \345\274\225\347\224\250\344\270\255\345\214\205\345\220\253 encode \347\274\226\347\240\201\345\255\227\347\254\246.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225 $ref \345\274\225\347\224\250\344\270\255\345\214\205\345\220\253 encode \347\274\226\347\240\201\345\255\227\347\254\246.snap" @@ -69,7 +69,7 @@ export async function goodsDeleteGoodsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.goodsDeleteGoodsUsingGetParams; + params: API.GoodsDeleteGoodsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/mall/goods/deleteGoods', { @@ -87,7 +87,7 @@ export async function goodsGetGoodsDetailUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.goodsGetGoodsDetailUsingPostParams; + params: API.GoodsGetGoodsDetailUsingPostParams; options?: { [key: string]: unknown }; }) { return request( @@ -108,7 +108,7 @@ export async function goodsGetGoodsNumUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.goodsGetGoodsNumUsingGetParams; + params: API.GoodsGetGoodsNumUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/mall/goods/getGoodsNum', { @@ -354,7 +354,7 @@ export type DisableGoodsReq = { status: number; }; -export type goodsDeleteGoodsUsingGetParams = { +export type GoodsDeleteGoodsUsingGetParams = { goodsId: string; orgId: string; }; @@ -489,12 +489,12 @@ export type GoodsDetailRes = { expirationDate?: string; }; -export type goodsGetGoodsDetailUsingPostParams = { +export type GoodsGetGoodsDetailUsingPostParams = { goodsId: string; orgId: string; }; -export type goodsGetGoodsNumUsingGetParams = { +export type GoodsGetGoodsNumUsingGetParams = { orgId: string; }; diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225 number\347\261\273\345\236\213 \346\236\232\344\270\276.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225 number\347\261\273\345\236\213 \346\236\232\344\270\276.snap" index a5a6a5a..9a4614b 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225 number\347\261\273\345\236\213 \346\236\232\344\270\276.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225 number\347\261\273\345\236\213 \346\236\232\344\270\276.snap" @@ -10,7 +10,7 @@ export async function cityCityUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.cityCityUsingGetParams; + params: API.CityCityUsingGetParams; options?: { [key: string]: unknown }; }) { const { city: param0, ...queryParams } = params; @@ -101,7 +101,7 @@ export async function cityCityUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.cityCityUsingPutParams; + params: API.CityCityUsingPutParams; options?: { [key: string]: unknown }; }) { const { city: param0, ...queryParams } = params; @@ -115,12 +115,12 @@ export async function cityCityUsingPut({ /* eslint-disable */ // @ts-ignore -export type cityCityUsingGetParams = { +export type CityCityUsingGetParams = { city: string; query_string?: string; }; -export type cityCityUsingPutParams = { +export type CityCityUsingPutParams = { city: Poi2CategoryEnum; }; diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225 number\347\261\273\345\236\213 \346\236\232\344\270\276\357\274\214\344\275\277\347\224\250 desc \350\247\243\346\236\220\346\236\232\344\270\276.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225 number\347\261\273\345\236\213 \346\236\232\344\270\276\357\274\214\344\275\277\347\224\250 desc \350\247\243\346\236\220\346\236\232\344\270\276.snap" index 66ba828..26338dc 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225 number\347\261\273\345\236\213 \346\236\232\344\270\276\357\274\214\344\275\277\347\224\250 desc \350\247\243\346\236\220\346\236\232\344\270\276.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225 number\347\261\273\345\236\213 \346\236\232\344\270\276\357\274\214\344\275\277\347\224\250 desc \350\247\243\346\236\220\346\236\232\344\270\276.snap" @@ -14,7 +14,7 @@ export * from './user'; /* eslint-disable */ // @ts-ignore -export type apiSysUserGetUserInfoUsingGetParams = { +export type ApiSysUserGetUserInfoUsingGetParams = { userId?: number; }; @@ -57,7 +57,7 @@ export async function apiSysUserGetUserInfoUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.apiSysUserGetUserInfoUsingGetParams; + params: API.ApiSysUserGetUserInfoUsingGetParams; options?: { [key: string]: unknown }; }) { return request( diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225 schemas \345\214\205\345\220\253\346\236\232\344\270\276\346\225\260\347\273\204.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225 schemas \345\214\205\345\220\253\346\236\232\344\270\276\346\225\260\347\273\204.snap" index 4c26827..ce85614 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225 schemas \345\214\205\345\220\253\346\236\232\344\270\276\346\225\260\347\273\204.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225 schemas \345\214\205\345\220\253\346\236\232\344\270\276\346\225\260\347\273\204.snap" @@ -8,7 +8,7 @@ export * from './user'; export type StatusEnumArray = ('value1' | 'value2' | 'value3')[]; -export type userUsernameUsingDeleteParams = { +export type UserUsernameUsingDeleteParams = { /** The name that needs to be deleted */ username: string; /** The status that needs to be deleted */ @@ -26,7 +26,7 @@ export async function userUsernameUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingDeleteParams; + params: API.UserUsernameUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225 swagger =_ openapi, schema \345\276\252\347\216\257\345\274\225\347\224\250.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225 swagger =_ openapi, schema \345\276\252\347\216\257\345\274\225\347\224\250.snap" index 86fa185..d594015 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225 swagger =_ openapi, schema \345\276\252\347\216\257\345\274\225\347\224\250.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225 swagger =_ openapi, schema \345\276\252\347\216\257\345\274\225\347\224\250.snap" @@ -15,7 +15,7 @@ export async function adminAdminsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminAdminsUsingGetParams; + params: API.AdminAdminsUsingGetParams; options?: { [key: string]: unknown }; }) { return request< @@ -59,7 +59,7 @@ export async function adminAdminsIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminAdminsIdUsingGetParams; + params: API.AdminAdminsIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -82,7 +82,7 @@ export async function adminAdminsIdUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminAdminsIdUsingPutParams; + params: API.AdminAdminsIdUsingPutParams; body: API.AdminUpdateArg; options?: { [key: string]: unknown }; }) { @@ -106,7 +106,7 @@ export async function adminAdminsIdPermissionsUsingPatch({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminAdminsIdPermissionsUsingPatchParams; + params: API.AdminAdminsIdPermissionsUsingPatchParams; body: API.AdminSetPermissionsArg; options?: { [key: string]: unknown }; }) { @@ -129,7 +129,7 @@ export async function adminAdminsIdResetUsingPatch({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminAdminsIdResetUsingPatchParams; + params: API.AdminAdminsIdResetUsingPatchParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -152,7 +152,7 @@ export async function adminAdminsIdToggleUsingPatch({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminAdminsIdToggleUsingPatchParams; + params: API.AdminAdminsIdToggleUsingPatchParams; body: API.AdminToggleArg; options?: { [key: string]: unknown }; }) { @@ -191,7 +191,7 @@ export async function adminEvaluationsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminEvaluationsUsingGetParams; + params: API.AdminEvaluationsUsingGetParams; options?: { [key: string]: unknown }; }) { return request< @@ -236,7 +236,7 @@ export async function adminEvaluationsIdUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminEvaluationsIdUsingPutParams; + params: API.AdminEvaluationsIdUsingPutParams; body: API.EvaluationUpdateArg; options?: { [key: string]: unknown }; }) { @@ -259,7 +259,7 @@ export async function adminEvaluationsIdDataUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminEvaluationsIdDataUsingGetParams; + params: API.AdminEvaluationsIdDataUsingGetParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -297,7 +297,7 @@ export async function adminEvaluationsReportsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminEvaluationsReportsUsingGetParams; + params: API.AdminEvaluationsReportsUsingGetParams; options?: { [key: string]: unknown }; }) { return request< @@ -319,7 +319,7 @@ export async function adminEvaluationsReportsIdDataUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminEvaluationsReportsIdDataUsingGetParams; + params: API.AdminEvaluationsReportsIdDataUsingGetParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -341,7 +341,7 @@ export async function adminEvaluationsReportsIdExamineUsingPatch({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminEvaluationsReportsIdExamineUsingPatchParams; + params: API.AdminEvaluationsReportsIdExamineUsingPatchParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -359,7 +359,7 @@ export async function adminEvaluationsReportsIdSendUsingPatch({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminEvaluationsReportsIdSendUsingPatchParams; + params: API.AdminEvaluationsReportsIdSendUsingPatchParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -377,7 +377,7 @@ export async function adminEvaluationsReportsOpenApiExportUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminEvaluationsReportsOpenApiExportUsingGetParams; + params: API.AdminEvaluationsReportsOpenApiExportUsingGetParams; options?: { [key: string]: unknown }; }) { return request< @@ -467,7 +467,7 @@ export async function adminOrganizationsIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminOrganizationsIdUsingGetParams; + params: API.AdminOrganizationsIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -490,7 +490,7 @@ export async function adminOrganizationsIdUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminOrganizationsIdUsingPutParams; + params: API.AdminOrganizationsIdUsingPutParams; body: API.OrganizationUpdateArg; options?: { [key: string]: unknown }; }) { @@ -514,7 +514,7 @@ export async function adminOrganizationsIdMoveUsingPatch({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminOrganizationsIdMoveUsingPatchParams; + params: API.AdminOrganizationsIdMoveUsingPatchParams; body: API.OrganizationMoveArg; options?: { [key: string]: unknown }; }) { @@ -537,7 +537,7 @@ export async function adminOrganizationsIdPermissionsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminOrganizationsIdPermissionsUsingGetParams; + params: API.AdminOrganizationsIdPermissionsUsingGetParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -560,7 +560,7 @@ export async function adminOrganizationsIdToggleUsingPatch({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminOrganizationsIdToggleUsingPatchParams; + params: API.AdminOrganizationsIdToggleUsingPatchParams; body: API.OrganizationToggleArg; options?: { [key: string]: unknown }; }) { @@ -599,7 +599,7 @@ export async function adminScalesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminScalesUsingGetParams; + params: API.AdminScalesUsingGetParams; options?: { [key: string]: unknown }; }) { return request< @@ -621,7 +621,7 @@ export async function adminScalesIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminScalesIdUsingGetParams; + params: API.AdminScalesIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -644,7 +644,7 @@ export async function adminScalesIdToggleUsingPatch({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminScalesIdToggleUsingPatchParams; + params: API.AdminScalesIdToggleUsingPatchParams; body: API.ScaleToggleArg; options?: { [key: string]: unknown }; }) { @@ -727,7 +727,7 @@ export async function adminSystemsLogsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminSystemsLogsUsingGetParams; + params: API.AdminSystemsLogsUsingGetParams; options?: { [key: string]: unknown }; }) { return request< @@ -749,7 +749,7 @@ export async function adminSystemsLogsOpenApiExportUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminSystemsLogsOpenApiExportUsingGetParams; + params: API.AdminSystemsLogsOpenApiExportUsingGetParams; options?: { [key: string]: unknown }; }) { return request< @@ -787,7 +787,7 @@ export async function adminUsersUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminUsersUsingGetParams; + params: API.AdminUsersUsingGetParams; options?: { [key: string]: unknown }; }) { return request< @@ -810,7 +810,7 @@ export async function adminUsersIdToggleUsingPatch({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminUsersIdToggleUsingPatchParams; + params: API.AdminUsersIdToggleUsingPatchParams; body: API.UserToggleArg; options?: { [key: string]: unknown }; }) { @@ -833,7 +833,7 @@ export async function adminUsersSheetsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminUsersSheetsUsingGetParams; + params: API.AdminUsersSheetsUsingGetParams; options?: { [key: string]: unknown }; }) { return request< @@ -878,7 +878,7 @@ export async function adminUsersSheetsIdUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminUsersSheetsIdUsingPutParams; + params: API.AdminUsersSheetsIdUsingPutParams; body: API.UserSheetUpdateArg; options?: { [key: string]: unknown }; }) { @@ -902,7 +902,7 @@ export async function adminUsersSheetsIdToggleUsingPatch({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.adminUsersSheetsIdToggleUsingPatchParams; + params: API.AdminUsersSheetsIdToggleUsingPatchParams; body: API.UserSheetToggleArg; options?: { [key: string]: unknown }; }) { @@ -1019,7 +1019,7 @@ export async function userEvaluationsIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userEvaluationsIdUsingGetParams; + params: API.UserEvaluationsIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -1042,7 +1042,7 @@ export async function userEvaluationsIdReportsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userEvaluationsIdReportsUsingPostParams; + params: API.UserEvaluationsIdReportsUsingPostParams; body: API.EvaluationReportCreateArg; options?: { [key: string]: unknown }; }) { @@ -1069,7 +1069,7 @@ export async function userEvaluationsReportsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userEvaluationsReportsUsingGetParams; + params: API.UserEvaluationsReportsUsingGetParams; options?: { [key: string]: unknown }; }) { return request< @@ -1091,7 +1091,7 @@ export async function userEvaluationsReportsIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userEvaluationsReportsIdUsingGetParams; + params: API.UserEvaluationsReportsIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -1203,32 +1203,32 @@ export async function userUtilsDataUsingGet({ /* eslint-disable */ // @ts-ignore -export type adminAdminsIdPermissionsUsingPatchParams = { +export type AdminAdminsIdPermissionsUsingPatchParams = { /** 成员id */ id: string; }; -export type adminAdminsIdResetUsingPatchParams = { +export type AdminAdminsIdResetUsingPatchParams = { /** 成员id */ id: string; }; -export type adminAdminsIdToggleUsingPatchParams = { +export type AdminAdminsIdToggleUsingPatchParams = { /** 成员id */ id: string; }; -export type adminAdminsIdUsingGetParams = { +export type AdminAdminsIdUsingGetParams = { /** 成员id */ id: string; }; -export type adminAdminsIdUsingPutParams = { +export type AdminAdminsIdUsingPutParams = { /** 成员id */ id: string; }; -export type adminAdminsUsingGetParams = { +export type AdminAdminsUsingGetParams = { /** 创建时间范围 */ created_at?: string; /** 机构id */ @@ -1259,32 +1259,32 @@ export type AdminCreateRet = { password?: string; }; -export type adminEvaluationsIdDataUsingGetParams = { +export type AdminEvaluationsIdDataUsingGetParams = { /** 测评id */ id: string; }; -export type adminEvaluationsIdUsingPutParams = { +export type AdminEvaluationsIdUsingPutParams = { /** 测评id */ id: string; }; -export type adminEvaluationsReportsIdDataUsingGetParams = { +export type AdminEvaluationsReportsIdDataUsingGetParams = { /** 报告id */ id: string; }; -export type adminEvaluationsReportsIdExamineUsingPatchParams = { +export type AdminEvaluationsReportsIdExamineUsingPatchParams = { /** 报告id */ id: string; }; -export type adminEvaluationsReportsIdSendUsingPatchParams = { +export type AdminEvaluationsReportsIdSendUsingPatchParams = { /** 报告id */ id: string; }; -export type adminEvaluationsReportsOpenApiExportUsingGetParams = { +export type AdminEvaluationsReportsOpenApiExportUsingGetParams = { /** 测评时间范围 */ created_at?: string; /** 测评id */ @@ -1301,7 +1301,7 @@ export type adminEvaluationsReportsOpenApiExportUsingGetParams = { warning_level?: string; }; -export type adminEvaluationsReportsUsingGetParams = { +export type AdminEvaluationsReportsUsingGetParams = { /** 测评时间范围 */ created_at?: string; /** 测评id */ @@ -1322,7 +1322,7 @@ export type adminEvaluationsReportsUsingGetParams = { warning_level?: string; }; -export type adminEvaluationsUsingGetParams = { +export type AdminEvaluationsUsingGetParams = { /** 创建时间范围 */ created_at?: string; /** 测评名称 */ @@ -1409,27 +1409,27 @@ export type AdminLogModuleDict = { value?: string; }; -export type adminOrganizationsIdMoveUsingPatchParams = { +export type AdminOrganizationsIdMoveUsingPatchParams = { /** 机构id */ id: string; }; -export type adminOrganizationsIdPermissionsUsingGetParams = { +export type AdminOrganizationsIdPermissionsUsingGetParams = { /** 机构id */ id: string; }; -export type adminOrganizationsIdToggleUsingPatchParams = { +export type AdminOrganizationsIdToggleUsingPatchParams = { /** 机构id */ id: string; }; -export type adminOrganizationsIdUsingGetParams = { +export type AdminOrganizationsIdUsingGetParams = { /** 机构id */ id: string; }; -export type adminOrganizationsIdUsingPutParams = { +export type AdminOrganizationsIdUsingPutParams = { /** 机构id */ id: string; }; @@ -1444,17 +1444,17 @@ export type AdminResetRet = { password?: string; }; -export type adminScalesIdToggleUsingPatchParams = { +export type AdminScalesIdToggleUsingPatchParams = { /** 量表id */ id: string; }; -export type adminScalesIdUsingGetParams = { +export type AdminScalesIdUsingGetParams = { /** 量表id */ id: string; }; -export type adminScalesUsingGetParams = { +export type AdminScalesUsingGetParams = { /** 创建时间范围 */ created_at?: string; /** 量表名称 */ @@ -1474,7 +1474,7 @@ export type AdminSetPermissionsArg = { role?: string; }; -export type adminSystemsLogsOpenApiExportUsingGetParams = { +export type AdminSystemsLogsOpenApiExportUsingGetParams = { /** 操作行为 */ action?: string; /** 操作时间范围 */ @@ -1487,7 +1487,7 @@ export type adminSystemsLogsOpenApiExportUsingGetParams = { organization_id?: string; }; -export type adminSystemsLogsUsingGetParams = { +export type AdminSystemsLogsUsingGetParams = { /** 操作行为 */ action?: string; /** 操作时间范围 */ @@ -1516,22 +1516,22 @@ export type AdminUpdateArg = { number?: string; }; -export type adminUsersIdToggleUsingPatchParams = { +export type AdminUsersIdToggleUsingPatchParams = { /** 用户id */ id: string; }; -export type adminUsersSheetsIdToggleUsingPatchParams = { +export type AdminUsersSheetsIdToggleUsingPatchParams = { /** 信息表id */ id: string; }; -export type adminUsersSheetsIdUsingPutParams = { +export type AdminUsersSheetsIdUsingPutParams = { /** 信息表id */ id: string; }; -export type adminUsersSheetsUsingGetParams = { +export type AdminUsersSheetsUsingGetParams = { /** 上传时间范围 */ created_at?: string; /** 信息表名称 */ @@ -1546,7 +1546,7 @@ export type adminUsersSheetsUsingGetParams = { type?: string; }; -export type adminUsersUsingGetParams = { +export type AdminUsersUsingGetParams = { /** 年龄范围 */ age?: string; /** 性别 */ @@ -2028,22 +2028,22 @@ export type UploadRet = { url?: string; }; -export type userEvaluationsIdReportsUsingPostParams = { +export type UserEvaluationsIdReportsUsingPostParams = { /** 测评任务id */ id: string; }; -export type userEvaluationsIdUsingGetParams = { +export type UserEvaluationsIdUsingGetParams = { /** 测评任务id */ id: string; }; -export type userEvaluationsReportsIdUsingGetParams = { +export type UserEvaluationsReportsIdUsingGetParams = { /** 测评报告id */ id: string; }; -export type userEvaluationsReportsUsingGetParams = { +export type UserEvaluationsReportsUsingGetParams = { /** 页码 */ page?: number; /** 分页大小 */ diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225 tags \344\270\272 undefined.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225 tags \344\270\272 undefined.snap" index 03db326..9cb4e75 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225 tags \344\270\272 undefined.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225 tags \344\270\272 undefined.snap" @@ -17,7 +17,7 @@ export async function petFindByStatusUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByStatusUsingGetParams; + params: API.PetFindByStatusUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByStatus', { @@ -54,7 +54,7 @@ export type Pet = { status?: 'available' | 'pending' | 'sold'; }; -export type petFindByStatusUsingGetParams = { +export type PetFindByStatusUsingGetParams = { /** Status values that need to be considered for filter */ status?: 'available' | 'pending' | 'sold'; }; diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225 tags \344\270\272[].snap" "b/test/__snapshots__/common/\346\265\213\350\257\225 tags \344\270\272[].snap" index 03db326..9cb4e75 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225 tags \344\270\272[].snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225 tags \344\270\272[].snap" @@ -17,7 +17,7 @@ export async function petFindByStatusUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByStatusUsingGetParams; + params: API.PetFindByStatusUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByStatus', { @@ -54,7 +54,7 @@ export type Pet = { status?: 'available' | 'pending' | 'sold'; }; -export type petFindByStatusUsingGetParams = { +export type PetFindByStatusUsingGetParams = { /** Status values that need to be considered for filter */ status?: 'available' | 'pending' | 'sold'; }; diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\345\217\252\347\224\237\346\210\220 typescript \347\261\273\345\236\213\357\274\214\344\270\215\347\224\237\346\210\220\350\257\267\346\261\202\345\207\275\346\225\260.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\345\217\252\347\224\237\346\210\220 typescript \347\261\273\345\236\213\357\274\214\344\270\215\347\224\237\346\210\220\350\257\267\346\261\202\345\207\275\346\225\260.snap" index 5c0fffd..3b5bb85 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\345\217\252\347\224\237\346\210\220 typescript \347\261\273\345\236\213\357\274\214\344\270\215\347\224\237\346\210\220\350\257\267\346\261\202\345\207\275\346\225\260.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\345\217\252\347\224\237\346\210\220 typescript \347\261\273\345\236\213\357\274\214\344\270\215\347\224\237\346\210\220\350\257\267\346\261\202\345\207\275\346\225\260.snap" @@ -35,34 +35,34 @@ export type Pet = { status?: 'available' | 'pending' | 'sold'; }; -export type petFindByStatusUsingGetParams = { +export type PetFindByStatusUsingGetParams = { /** Status values that need to be considered for filter */ status?: 'available' | 'pending' | 'sold'; }; -export type petFindByTagsUsingGetParams = { +export type PetFindByTagsUsingGetParams = { /** Tags to filter by */ tags?: string[]; }; -export type petPetIdUploadImageUsingPostParams = { +export type PetPetIdUploadImageUsingPostParams = { /** ID of pet to update */ petId: number; /** Additional Metadata */ additionalMetadata?: string; }; -export type petPetIdUsingDeleteParams = { +export type PetPetIdUsingDeleteParams = { /** Pet id to delete */ petId: number; }; -export type petPetIdUsingGetParams = { +export type PetPetIdUsingGetParams = { /** ID of pet to return */ petId: number; }; -export type petPetIdUsingPostParams = { +export type PetPetIdUsingPostParams = { /** ID of pet that needs to be updated */ petId: number; /** Name of pet that needs to be updated */ @@ -87,12 +87,12 @@ export enum StatusEnum2 { export type IStatusEnum2 = keyof typeof StatusEnum2; -export type storeOrderOrderIdUsingDeleteParams = { +export type StoreOrderOrderIdUsingDeleteParams = { /** ID of the order that needs to be deleted */ orderId: number; }; -export type storeOrderOrderIdUsingGetParams = { +export type StoreOrderOrderIdUsingGetParams = { /** ID of order that needs to be fetched */ orderId: number; }; @@ -114,24 +114,24 @@ export type User = { userStatus?: number; }; -export type userLoginUsingGetParams = { +export type UserLoginUsingGetParams = { /** The user name for login */ username?: string; /** The password for login in clear text */ password?: string; }; -export type userUsernameUsingDeleteParams = { +export type UserUsernameUsingDeleteParams = { /** The name that needs to be deleted */ username: string; }; -export type userUsernameUsingGetParams = { +export type UserUsernameUsingGetParams = { /** The name that needs to be fetched. Use user1 for testing. */ username: string; }; -export type userUsernameUsingPutParams = { +export type UserUsernameUsingPutParams = { /** name that needs to be updated */ username: string; }; diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\345\244\204\347\220\206 allof \347\273\223\346\236\204, \347\224\237\346\210\220\345\244\215\346\235\202 type \347\277\273\350\257\221.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\345\244\204\347\220\206 allof \347\273\223\346\236\204, \347\224\237\346\210\220\345\244\215\346\235\202 type \347\277\273\350\257\221.snap" index 30e731b..2001758 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\345\244\204\347\220\206 allof \347\273\223\346\236\204, \347\224\237\346\210\220\345\244\215\346\235\202 type \347\277\273\350\257\221.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\345\244\204\347\220\206 allof \347\273\223\346\236\204, \347\224\237\346\210\220\345\244\215\346\235\202 type \347\277\273\350\257\221.snap" @@ -24,8 +24,8 @@ export function displayBatchList(field: keyof API.BatchList) { ); } -export function displaybatchUsingGetParams( - field: keyof API.batchUsingGetParams +export function displayBatchUsingGetParams( + field: keyof API.BatchUsingGetParams ) { return { errorMessage: 'log to filter by errorMessage', @@ -57,7 +57,7 @@ export async function batchUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.batchUsingGetParams; + params: API.BatchUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/batch', { @@ -87,7 +87,7 @@ export type BatchList = data?: Batch[]; }; -export type batchUsingGetParams = { +export type BatchUsingGetParams = { /** log to filter by errorMessage */ errorMessage?: unknown; }; diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\345\260\206\344\270\255\346\226\207 tag \345\220\215\347\247\260\347\277\273\350\257\221\346\210\220\350\213\261\346\226\207 tag \345\220\215\347\247\260.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\345\260\206\344\270\255\346\226\207 tag \345\220\215\347\247\260\347\277\273\350\257\221\346\210\220\350\213\261\346\226\207 tag \345\220\215\347\247\260.snap" index 6208dae..a7e27fe 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\345\260\206\344\270\255\346\226\207 tag \345\220\215\347\247\260\347\277\273\350\257\221\346\210\220\350\213\261\346\226\207 tag \345\220\215\347\247\260.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\345\260\206\344\270\255\346\226\207 tag \345\220\215\347\247\260\347\277\273\350\257\221\346\210\220\350\213\261\346\226\207 tag \345\220\215\347\247\260.snap" @@ -116,7 +116,7 @@ export async function petPetIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingGetParams; + params: API.PetPetIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -134,7 +134,7 @@ export async function petPetIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingPostParams; + params: API.PetPetIdUsingPostParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -154,7 +154,7 @@ export async function petPetIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingDeleteParams; + params: API.PetPetIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -173,7 +173,7 @@ export async function petPetIdUploadImageUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUploadImageUsingPostParams; + params: API.PetPetIdUploadImageUsingPostParams; body: API.PetPetIdUploadImageUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -198,7 +198,7 @@ export async function petFindByStatusUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByStatusUsingGetParams; + params: API.PetFindByStatusUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByStatus', { @@ -218,7 +218,7 @@ export async function petFindByTagsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByTagsUsingGetParams; + params: API.PetFindByTagsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByTags', { @@ -263,36 +263,36 @@ export type Pet = { status?: 'available' | 'pending' | 'sold'; }; -export type petFindByStatusUsingGetParams = { +export type PetFindByStatusUsingGetParams = { /** Status values that need to be considered for filter */ status?: 'available' | 'pending' | 'sold'; }; -export type petFindByTagsUsingGetParams = { +export type PetFindByTagsUsingGetParams = { /** Tags to filter by */ tags?: string[]; }; export type PetPetIdUploadImageUsingPostBody = string; -export type petPetIdUploadImageUsingPostParams = { +export type PetPetIdUploadImageUsingPostParams = { /** ID of pet to update */ petId: number; /** Additional Metadata */ additionalMetadata?: string; }; -export type petPetIdUsingDeleteParams = { +export type PetPetIdUsingDeleteParams = { /** Pet id to delete */ petId: number; }; -export type petPetIdUsingGetParams = { +export type PetPetIdUsingGetParams = { /** ID of pet to return */ petId: number; }; -export type petPetIdUsingPostParams = { +export type PetPetIdUsingPostParams = { /** ID of pet that needs to be updated */ petId: number; /** Name of pet that needs to be updated */ @@ -317,12 +317,12 @@ export enum StatusEnum2 { export type IStatusEnum2 = keyof typeof StatusEnum2; -export type storeOrderOrderIdUsingDeleteParams = { +export type StoreOrderOrderIdUsingDeleteParams = { /** ID of the order that needs to be deleted */ orderId: number; }; -export type storeOrderOrderIdUsingGetParams = { +export type StoreOrderOrderIdUsingGetParams = { /** ID of order that needs to be fetched */ orderId: number; }; @@ -346,24 +346,24 @@ export type User = { export type UserCreateWithListUsingPostBody = User[]; -export type userLoginUsingGetParams = { +export type UserLoginUsingGetParams = { /** The user name for login */ username?: string; /** The password for login in clear text */ password?: string; }; -export type userUsernameUsingDeleteParams = { +export type UserUsernameUsingDeleteParams = { /** The name that needs to be deleted */ username: string; }; -export type userUsernameUsingGetParams = { +export type UserUsernameUsingGetParams = { /** The name that needs to be fetched. Use user1 for testing. */ username: string; }; -export type userUsernameUsingPutParams = { +export type UserUsernameUsingPutParams = { /** name that needs to be updated */ username: string; }; @@ -397,7 +397,7 @@ export async function userUsernameUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingGetParams; + params: API.UserUsernameUsingGetParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -416,7 +416,7 @@ export async function userUsernameUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingPutParams; + params: API.UserUsernameUsingPutParams; body: API.User; options?: { [key: string]: unknown }; }) { @@ -439,7 +439,7 @@ export async function userUsernameUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingDeleteParams; + params: API.UserUsernameUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -475,7 +475,7 @@ export async function userLoginUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userLoginUsingGetParams; + params: API.UserLoginUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/user/login', { @@ -540,7 +540,7 @@ export async function storeOrderOrderIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingGetParams; + params: API.StoreOrderOrderIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; @@ -558,7 +558,7 @@ export async function storeOrderOrderIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingDeleteParams; + params: API.StoreOrderOrderIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 apifox x-apifox-enum.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 apifox x-apifox-enum.snap" index db4092a..556ac48 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 apifox x-apifox-enum.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 apifox x-apifox-enum.snap" @@ -10,7 +10,7 @@ export async function detailUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.detailUsingGetParams; + params: API.DetailUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -79,7 +79,7 @@ export enum BusinessServiceEnum { export type IBusinessServiceEnum = keyof typeof BusinessServiceEnum; -export type detailUsingGetParams = { +export type DetailUsingGetParams = { inquiryOrderId: string; }; diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 apifox x-run-in-apifox.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 apifox x-run-in-apifox.snap" index ce251e9..b55310f 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 apifox x-run-in-apifox.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 apifox x-run-in-apifox.snap" @@ -113,7 +113,7 @@ export async function goodsDeleteGoodsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.goodsDeleteGoodsUsingGetParams; + params: API.GoodsDeleteGoodsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/mall/goods/deleteGoods', { @@ -131,7 +131,7 @@ export async function goodsGetGoodsDetailUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.goodsGetGoodsDetailUsingPostParams; + params: API.GoodsGetGoodsDetailUsingPostParams; options?: { [key: string]: unknown }; }) { return request( @@ -152,7 +152,7 @@ export async function goodsGetGoodsNumUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.goodsGetGoodsNumUsingGetParams; + params: API.GoodsGetGoodsNumUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/mall/goods/getGoodsNum', { @@ -274,7 +274,7 @@ export async function goodsGetDiagnoseByDictNameUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.goodsGetDiagnoseByDictNameUsingGetParams; + params: API.GoodsGetDiagnoseByDictNameUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -316,7 +316,7 @@ export async function goodsGetPharmacySuppliersUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.goodsGetPharmacySuppliersUsingGetParams; + params: API.GoodsGetPharmacySuppliersUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -337,7 +337,7 @@ export async function goodsGetSectionDictUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.goodsGetSectionDictUsingGetParams; + params: API.GoodsGetSectionDictUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -358,7 +358,7 @@ export async function goodsGetSupplierCertificateUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.goodsGetSupplierCertificateUsingGetParams; + params: API.GoodsGetSupplierCertificateUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -438,7 +438,7 @@ export async function goodsGetGoodsInfoUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.goodsGetGoodsInfoUsingGetParams; + params: API.GoodsGetGoodsInfoUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/mall/goods/getGoodsInfo', { @@ -727,7 +727,7 @@ export type GoodsAttributeDictPageRes = { type?: number; }; -export type goodsDeleteGoodsUsingGetParams = { +export type GoodsDeleteGoodsUsingGetParams = { goodsId: string; orgId: string; }; @@ -992,32 +992,32 @@ export type GoodsDTO = { expirationDate?: string; }; -export type goodsGetDiagnoseByDictNameUsingGetParams = { +export type GoodsGetDiagnoseByDictNameUsingGetParams = { dictName: string; }; -export type goodsGetGoodsDetailUsingPostParams = { +export type GoodsGetGoodsDetailUsingPostParams = { goodsId: string; orgId: string; }; -export type goodsGetGoodsInfoUsingGetParams = { +export type GoodsGetGoodsInfoUsingGetParams = { goodsId?: string; }; -export type goodsGetGoodsNumUsingGetParams = { +export type GoodsGetGoodsNumUsingGetParams = { orgId: string; }; -export type goodsGetPharmacySuppliersUsingGetParams = { +export type GoodsGetPharmacySuppliersUsingGetParams = { orgId: string; }; -export type goodsGetSectionDictUsingGetParams = { +export type GoodsGetSectionDictUsingGetParams = { orgId: string; }; -export type goodsGetSupplierCertificateUsingGetParams = { +export type GoodsGetSupplierCertificateUsingGetParams = { orgId: string; }; @@ -1270,7 +1270,7 @@ export type ResponseResultListSectionDictValueRes = { export type ResponseResultListsupplierRes = { code?: string; msg?: string; - data?: supplierRes[]; + data?: SupplierRes[]; }; export type ResponseResultSupplierCertificateRes = { @@ -1299,7 +1299,7 @@ export type SupplierCertificateRes = { licensePhotoUrls?: string[]; }; -export type supplierRes = { +export type SupplierRes = { /** 供应商ID */ supplierId?: string; /** 供应商code */ diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 components \351\235\236 schemas \347\232\204\345\255\227\346\256\265.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 components \351\235\236 schemas \347\232\204\345\255\227\346\256\265.snap" index 9c4ccac..fa0785a 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 components \351\235\236 schemas \347\232\204\345\255\227\346\256\265.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\346\224\257\346\214\201 components \351\235\236 schemas \347\232\204\345\255\227\346\256\265.snap" @@ -10,7 +10,7 @@ export async function activityIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.activityIdUsingGetParams; + params: API.ActivityIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { id: param0, ...queryParams } = params; @@ -29,7 +29,7 @@ export * from './activity'; /* eslint-disable */ // @ts-ignore -export type activityIdUsingGetParams = { +export type ActivityIdUsingGetParams = { /** 活动id */ id: number; }; diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 JSON Schemas.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 JSON Schemas.snap" index 9e6d9bb..8df0a76 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 JSON Schemas.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 JSON Schemas.snap" @@ -11,7 +11,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingPostParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingPostParams; body: API.AddAppkeyReq; options?: { [key: string]: unknown }; }) { @@ -36,7 +36,7 @@ export async function v1ApiAppAppIdApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdApiTokenUsingGetParams; + params: API.V1ApiAppAppIdApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -59,7 +59,7 @@ export async function v1ApiAppAppIdApiTokenUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdApiTokenUsingPostParams; + params: API.V1ApiAppAppIdApiTokenUsingPostParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -85,7 +85,7 @@ export async function v1ApiAppIdCostUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppIdCostUsingPostParams; + params: API.V1ApiAppIdCostUsingPostParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -120,7 +120,7 @@ export async function v1ApiAppAppIdOpenApiDeleteUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdOpenApiDeleteUsingDeleteParams; + params: API.V1ApiAppAppIdOpenApiDeleteUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -138,7 +138,7 @@ export async function v1ApiAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDetailsUsingGetParams; + params: API.V1ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -156,7 +156,7 @@ export async function v1ApiAppAppIdHourlyMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyMessagesUsingGetParams; + params: API.V1ApiAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -179,7 +179,7 @@ export async function v1ApiAppAppIdHourlyTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyTokenUsingGetParams; + params: API.V1ApiAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -202,7 +202,7 @@ export async function v1ApiAppAppIdLogsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsUsingGetParams; + params: API.V1ApiAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -225,7 +225,7 @@ export async function v1ApiAppAppIdLogsConversationIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, conversationID: param1, ...queryParams } = params; @@ -246,7 +246,7 @@ export async function v1ApiAppAppIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -269,7 +269,7 @@ export async function v1ApiAppAppIdShareUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdShareUsingPutParams; + params: API.V1ApiAppAppIdShareUsingPutParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -292,7 +292,7 @@ export async function v1ApiAppAppIdTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdTokenUsingGetParams; + params: API.V1ApiAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -316,7 +316,7 @@ export async function v1ApiAppAppIdUpdateUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdUpdateUsingPutParams; + params: API.V1ApiAppAppIdUpdateUsingPutParams; body: API.UpdateAppReq; options?: { [key: string]: unknown }; }) { @@ -337,7 +337,7 @@ export async function v1ApiAppAppIdUpdateStatusUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdUpdateStatusUsingPutParams; + params: API.V1ApiAppAppIdUpdateStatusUsingPutParams; body: API.ReleaseDiscoverReq; options?: { [key: string]: unknown }; }) { @@ -393,7 +393,7 @@ export async function v1ApiAppListPrivateUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPrivateUsingGetParams; + params: API.V1ApiAppListPrivateUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/app/list-private', { @@ -411,7 +411,7 @@ export async function v1ApiAppListPublicUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPublicUsingGetParams; + params: API.V1ApiAppListPublicUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/app/list-public', { @@ -434,7 +434,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingGetParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -456,7 +456,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingPutParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingPutParams; body: API.AppDatasetConfigs; options?: { [key: string]: unknown }; }) { @@ -477,7 +477,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingPostParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingPostParams; body: API.AppDatasetConfigs; options?: { [key: string]: unknown }; }) { @@ -497,7 +497,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingDeleteParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -522,7 +522,7 @@ export async function v1ApiAppAppIdMemberUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingGetParams; + params: API.V1ApiAppAppIdMemberUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -543,7 +543,7 @@ export async function v1ApiAppAppIdMemberUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingPostParams; + params: API.V1ApiAppAppIdMemberUsingPostParams; body: API.MemberBody; options?: { [key: string]: unknown }; }) { @@ -564,7 +564,7 @@ export async function v1ApiAppAppIdMemberUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingDeleteParams; + params: API.V1ApiAppAppIdMemberUsingDeleteParams; body: API.DeleteMemberBody; options?: { [key: string]: unknown }; }) { @@ -585,7 +585,7 @@ export async function v1ApiAppAppIdMemberRoleUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberRoleUsingPutParams; + params: API.V1ApiAppAppIdMemberRoleUsingPutParams; body: API.MemberBody; options?: { [key: string]: unknown }; }) { @@ -611,7 +611,7 @@ export async function v1ApiAppAppIdModelConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelConfigsUsingPutParams; + params: API.V1ApiAppAppIdModelConfigsUsingPutParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -632,7 +632,7 @@ export async function v1ApiAppAppIdModelConfigsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelConfigsUsingPostParams; + params: API.V1ApiAppAppIdModelConfigsUsingPostParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -653,7 +653,7 @@ export async function v1ApiAppAppIdModelPromptUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelPromptUsingPostParams; + params: API.V1ApiAppAppIdModelPromptUsingPostParams; body: API.AppModelConfigPromptPrefix; options?: { [key: string]: unknown }; }) { @@ -673,7 +673,7 @@ export async function v1ApiAppAppIdPluginUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdPluginUsingPutParams; + params: API.V1ApiAppAppIdPluginUsingPutParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -711,7 +711,7 @@ export async function v2ApiAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppAppIdDetailsUsingGetParams; + params: API.V2ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -730,7 +730,7 @@ export async function v2ApiAppAppIdUpdateUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppAppIdUpdateUsingPostParams; + params: API.V2ApiAppAppIdUpdateUsingPostParams; body: API.UpdateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -750,7 +750,7 @@ export async function v2ApiAppListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppListUsingGetParams; + params: API.V2ApiAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v2/api/app/list', { @@ -768,7 +768,7 @@ export async function v2ApiAppShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppShareApiTokenUsingGetParams; + params: API.V2ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -794,7 +794,7 @@ export async function v1ApiAttentionAppListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionAppListUsingGetParams; + params: API.V1ApiAttentionAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/attention/app/list', { @@ -866,7 +866,7 @@ export async function v1ApiAttentionMessagesHistoryUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionMessagesHistoryUsingGetParams; + params: API.V1ApiAttentionMessagesHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -902,7 +902,7 @@ export async function v1ApiAttentionUserAllUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionUserAllUsingGetParams; + params: API.V1ApiAttentionUserAllUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -941,7 +941,7 @@ export async function v1ApiAttentionUserListUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionUserListUsingPostParams; + params: API.V1ApiAttentionUserListUsingPostParams; options?: { [key: string]: unknown }; }) { return request( @@ -967,7 +967,7 @@ export async function authAuthorizeUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authAuthorizeUsingGetParams; + params: API.AuthAuthorizeUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/auth/authorize', { @@ -1091,7 +1091,7 @@ export async function v1ApiConversationsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsUsingGetParams; + params: API.V1ApiConversationsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/conversations', { @@ -1109,7 +1109,7 @@ export async function v1ApiConversationsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsUsingDeleteParams; + params: API.V1ApiConversationsUsingDeleteParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/conversations', { @@ -1133,7 +1133,7 @@ export async function v1ApiFeedbacksMessageIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksMessageIdUsingPostParams; + params: API.V1ApiFeedbacksMessageIdUsingPostParams; body: API.FeedbacksReqBody; options?: { [key: string]: unknown }; }) { @@ -1165,7 +1165,7 @@ export async function v1ApiAppAppIdDatasetsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsUsingPostParams; + params: API.V1ApiAppAppIdDatasetsUsingPostParams; body: API.V1ApiAppAppIdDatasetsUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -1185,7 +1185,7 @@ export async function v1ApiAppAppIdDatasetsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsUsingDeleteParams; + params: API.V1ApiAppAppIdDatasetsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -1210,7 +1210,7 @@ export async function v1ApiAppAppIdDatasetsListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsListUsingGetParams; + params: API.V1ApiAppAppIdDatasetsListUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -1238,7 +1238,7 @@ export async function v1ApiFeedbacksMessageIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksMessageIdUsingDeleteParams; + params: API.V1ApiFeedbacksMessageIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { message_id: param0, ...queryParams } = params; @@ -1267,7 +1267,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingDeleteParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingDeleteParams; body: API.GetAppKeyReq; options?: { [key: string]: unknown }; }) { @@ -1327,7 +1327,7 @@ export async function authExchangeUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authExchangeUsingGetParams; + params: API.AuthExchangeUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/auth/exchange', { @@ -1351,7 +1351,7 @@ export async function v1ApiFileUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFileUsingPostParams; + params: API.V1ApiFileUsingPostParams; body: API.V1ApiFileUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -1411,7 +1411,7 @@ export async function v2ApiFileUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiFileUsingPostParams; + params: API.V2ApiFileUsingPostParams; body: API.V2ApiFileUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -1457,7 +1457,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingGetParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -1482,7 +1482,7 @@ export async function v1ApiConversationsConversationIdHistoryUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsConversationIdHistoryUsingGetParams; + params: API.V1ApiConversationsConversationIdHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { const { conversation_id: param0, ...queryParams } = params; @@ -1503,7 +1503,7 @@ export async function v1ApiConversationsConversationIdHistoryUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsConversationIdHistoryUsingDeleteParams; + params: API.V1ApiConversationsConversationIdHistoryUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { conversation_id: param0, ...queryParams } = params; @@ -1526,7 +1526,7 @@ export async function v2ApiChatMessagesMessagesCountUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiChatMessagesMessagesCountUsingGetParams; + params: API.V2ApiChatMessagesMessagesCountUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -1552,7 +1552,7 @@ export async function v1ApiIamAccountUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiIamAccountUsingGetParams; + params: API.V1ApiIamAccountUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/iamAccount', { @@ -1613,7 +1613,7 @@ export async function v1ApiFeedbacksUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksUsingGetParams; + params: API.V1ApiFeedbacksUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/feedbacks/', { @@ -1636,7 +1636,7 @@ export async function v1ApiProviderListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiProviderListUsingGetParams; + params: API.V1ApiProviderListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/provider/list', { @@ -1659,7 +1659,7 @@ export async function v1ApiAppAppIdRecommendedContextUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdRecommendedContextUsingGetParams; + params: API.V1ApiAppAppIdRecommendedContextUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -1681,7 +1681,7 @@ export async function v1ApiAppAppIdRecommendedContextUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdRecommendedContextUsingPostParams; + params: API.V1ApiAppAppIdRecommendedContextUsingPostParams; body: API.AppRecommendedContext; options?: { [key: string]: unknown }; }) { @@ -1714,7 +1714,7 @@ export async function authRefreshTokenUsingPost({ ...(options || {}), }); } -export const $GetImagePreSignedUrlResp = { +export const $getImagePreSignedUrlResp = { properties: { appImage: { type: 'string' }, preSignedPutUrl: { type: 'string' }, @@ -1723,7 +1723,7 @@ export const $GetImagePreSignedUrlResp = { isAllowed: true, }; -export const $ConversationMsg = { +export const $conversationMsg = { properties: { conversationId: { type: 'string' }, createAt: { type: 'string' }, @@ -1734,11 +1734,11 @@ export const $ConversationMsg = { isAllowed: true, }; -export const $CreateFeedbacksResp = { type: 'object', isAllowed: true }; +export const $createFeedbacksResp = { type: 'object', isAllowed: true }; -export const $DeleteFeedbacksResp = { type: 'object', isAllowed: true }; +export const $deleteFeedbacksResp = { type: 'object', isAllowed: true }; -export const $HistoryInfo = { +export const $historyInfo = { properties: { Rating: { description: 'like/unlike', type: 'string' }, answer: { type: 'string' }, @@ -1756,7 +1756,7 @@ export const $HistoryInfo = { isAllowed: true, }; -export const $ApiToken = { +export const $apiToken = { properties: { apiTokenID: { type: 'string' }, appID: { type: 'string' }, @@ -1768,7 +1768,7 @@ export const $ApiToken = { isAllowed: true, }; -export const $ApiTokenDataList = { +export const $apiTokenDataList = { properties: { data: { items: { @@ -1791,7 +1791,7 @@ export const $ApiTokenDataList = { isAllowed: true, }; -export const $App = { +export const $app = { properties: { appID: { type: 'string' }, appImage: { type: 'integer' }, @@ -1826,7 +1826,7 @@ export const $App = { isAllowed: true, }; -export const $AppDatasetConfig = { +export const $appDatasetConfig = { properties: { appDatasetConfigID: { type: 'string' }, appID: { type: 'string' }, @@ -1841,7 +1841,7 @@ export const $AppDatasetConfig = { isAllowed: true, }; -export const $AppRecommendedContext = { +export const $appRecommendedContext = { properties: { appID: { type: 'string' }, appRecommendedContextID: { type: 'string' }, @@ -1855,13 +1855,13 @@ export const $AppRecommendedContext = { isAllowed: true, }; -export const $Guidances = { +export const $guidances = { properties: { items: { items: { type: 'string' }, type: 'array' } }, type: 'object', isAllowed: true, }; -export const $ListWorkspaceGroup = { +export const $listWorkspaceGroup = { properties: { data: { items: { @@ -1883,7 +1883,7 @@ export const $ListWorkspaceGroup = { isAllowed: true, }; -export const $User = { +export const $user = { properties: { createdAt: { type: 'string' }, email: { type: 'string' }, @@ -1912,7 +1912,7 @@ export const $User = { isAllowed: true, }; -export const $WorkspaceGroup = { +export const $workspaceGroup = { properties: { createdAt: { type: 'string' }, name: { description: '分组名', type: 'string' }, @@ -1924,7 +1924,7 @@ export const $WorkspaceGroup = { isAllowed: true, }; -export const $DatasetData = { +export const $datasetData = { properties: { author: { type: 'string' }, description: { type: 'string' }, @@ -1941,7 +1941,7 @@ export const $DatasetData = { isAllowed: true, }; -export const $ListDatasetsResp = { +export const $listDatasetsResp = { properties: { data: { items: { @@ -1972,7 +1972,7 @@ export const $ListDatasetsResp = { isAllowed: true, }; -export const $Permission = { +export const $permission = { enum: ['read_only', 'operation', 'no_permission'], type: 'string', 'x-enum-comments': { @@ -1984,14 +1984,14 @@ export const $Permission = { isAllowed: true, }; -export const $ProviderType = { +export const $providerType = { enum: ['openai', 'spark', 'wenxin', 'rockai'], type: 'string', 'x-enum-varnames': ['OpenAI', 'Spark', 'WenXin', 'RockAI'], isAllowed: true, }; -export const $RbacRole = { +export const $rbacRole = { enum: ['system_admin', 'system_user', 'app_admin', 'app_user'], type: 'string', 'x-enum-comments': { @@ -2004,7 +2004,7 @@ export const $RbacRole = { isAllowed: true, }; -export const $WorkspaceRole = { +export const $workspaceRole = { enum: ['workspace_admin', 'workspace_user'], type: 'string', 'x-enum-comments': { @@ -2015,25 +2015,25 @@ export const $WorkspaceRole = { isAllowed: true, }; -export const $FilestreamResp = { +export const $filestreamResp = { properties: { conversation_id: { type: 'string' } }, type: 'object', isAllowed: true, }; -export const $SpeechToTextResp = { +export const $speechToTextResp = { properties: { text: { description: '转化的结果', type: 'string' } }, type: 'object', isAllowed: true, }; -export const $TextToSpeechReq = { +export const $textToSpeechReq = { properties: { text: { description: '需要转的文字', type: 'string' } }, type: 'object', isAllowed: true, }; -export const $Feedback = { +export const $feedback = { properties: { comment: { description: '评论', type: 'string' }, conversation_id: { type: 'string' }, @@ -2047,20 +2047,20 @@ export const $Feedback = { isAllowed: true, }; -export const $Map = { +export const $map = { additionalProperties: true, type: 'object', isAllowed: true, }; -export const $Bool = { +export const $bool = { type: 'string', 'x-enum-comments': { BOOL_FALSE: 'false', BOOL_TRUE: 'true' }, 'x-enum-varnames': ['BOOL_UNKNOWN', 'BOOL_TRUE', 'BOOL_FALSE'], isAllowed: true, }; -export const $Chat = { +export const $chat = { properties: { conversation_id: { type: 'string' }, inputs: { type: 'object' }, @@ -2073,13 +2073,13 @@ export const $Chat = { isAllowed: true, }; -export const $ChatMessageReq = { +export const $chatMessageReq = { properties: { prompt: { type: 'string' }, query: { type: 'string' } }, type: 'object', isAllowed: true, }; -export const $FeedbacksReqBody = { +export const $feedbacksReqBody = { properties: { comment: { description: '评论', type: 'string' }, conversation_id: { type: 'string' }, @@ -2090,7 +2090,7 @@ export const $FeedbacksReqBody = { isAllowed: true, }; -export const $ListFeedbacksResp = { +export const $listFeedbacksResp = { properties: { data: { items: { @@ -2115,7 +2115,7 @@ export const $ListFeedbacksResp = { isAllowed: true, }; -export const $QuestionRecommendReq = { +export const $questionRecommendReq = { properties: { conversation_id: { type: 'string' }, user: { @@ -2128,7 +2128,7 @@ export const $QuestionRecommendReq = { isAllowed: true, }; -export const $ResponseData = { +export const $responseData = { properties: { answer: { type: 'string' }, conversation_id: { type: 'string' }, @@ -2141,7 +2141,7 @@ export const $ResponseData = { isAllowed: true, }; -export const $ResponseRecommendData = { +export const $responseRecommendData = { properties: { answer: { type: 'string' }, conversation_id: { type: 'string' }, @@ -2154,7 +2154,7 @@ export const $ResponseRecommendData = { isAllowed: true, }; -export const $AppDataset = { +export const $appDataset = { properties: { description: { description: '描述', type: 'string' }, llmDesc: { description: 'llm描述', type: 'string' }, @@ -2164,7 +2164,7 @@ export const $AppDataset = { isAllowed: true, }; -export const $AppDatasetConfigs = { +export const $appDatasetConfigs = { properties: { minScore: { description: '最低分数', type: 'number' }, searchSource: { description: '知识库源,默认 warehouse', type: 'string' }, @@ -2175,7 +2175,7 @@ export const $AppDatasetConfigs = { isAllowed: true, }; -export const $AppModelConfigPromptPrefix = { +export const $appModelConfigPromptPrefix = { properties: { background: { type: 'string' }, role: { type: 'string' }, @@ -2185,7 +2185,7 @@ export const $AppModelConfigPromptPrefix = { isAllowed: true, }; -export const $AppModelConfigs = { +export const $appModelConfigs = { properties: { configs: { properties: { @@ -2222,7 +2222,7 @@ export const $AppModelConfigs = { isAllowed: true, }; -export const $AppRecommendedContext2 = { +export const $appRecommendedContext2 = { properties: { context: { type: 'string' }, description: { type: 'string' }, @@ -2233,13 +2233,13 @@ export const $AppRecommendedContext2 = { isAllowed: true, }; -export const $CopyAppReq = { +export const $copyAppReq = { properties: { appID: { type: 'string' }, workspaceID: { type: 'string' } }, type: 'object', isAllowed: true, }; -export const $CreateAppReq = { +export const $createAppReq = { properties: { description: { type: 'string' }, guidance: { @@ -2255,7 +2255,7 @@ export const $CreateAppReq = { isAllowed: true, }; -export const $CreateAppReqV2 = { +export const $createAppReqV2 = { properties: { appDescription: { type: 'string' }, appGroupID: { type: 'string' }, @@ -2305,7 +2305,7 @@ export const $CreateAppReqV2 = { isAllowed: true, }; -export const $CreateAttentionReq = { +export const $createAttentionReq = { properties: { followeeUserIDList: { items: { type: 'string' }, type: 'array' }, iamID: { type: 'string' }, @@ -2314,7 +2314,7 @@ export const $CreateAttentionReq = { isAllowed: true, }; -export const $DeleteAttentionReq = { +export const $deleteAttentionReq = { properties: { followeeUserIDList: { items: { type: 'string' }, type: 'array' }, iamID: { type: 'string' }, @@ -2323,13 +2323,13 @@ export const $DeleteAttentionReq = { isAllowed: true, }; -export const $DeleteMemberBody = { +export const $deleteMemberBody = { properties: { userID: { description: '用户id', type: 'string' } }, type: 'object', isAllowed: true, }; -export const $GetAttentionDataCountReq = { +export const $getAttentionDataCountReq = { properties: { appIDList: { items: { type: 'string' }, type: 'array' }, iamID: { type: 'string' }, @@ -2339,7 +2339,7 @@ export const $GetAttentionDataCountReq = { isAllowed: true, }; -export const $ListAttentionConversationReq = { +export const $listAttentionConversationReq = { properties: { appIDList: { items: { type: 'string' }, type: 'array' }, iamID: { type: 'string' }, @@ -2351,7 +2351,7 @@ export const $ListAttentionConversationReq = { isAllowed: true, }; -export const $MemberBody = { +export const $memberBody = { properties: { role: { description: @@ -2374,7 +2374,7 @@ export const $MemberBody = { isAllowed: true, }; -export const $ModelConfigsMap = { +export const $modelConfigsMap = { properties: { model_type: { description: @@ -2402,13 +2402,13 @@ export const $ModelConfigsMap = { isAllowed: true, }; -export const $RefreshTokenBody = { +export const $refreshTokenBody = { properties: { refreshToken: { type: 'string' } }, type: 'object', isAllowed: true, }; -export const $ReleaseDiscoverReq = { +export const $releaseDiscoverReq = { properties: { alterAppID: { type: 'string' }, appType: { description: '应用类型', type: 'integer' }, @@ -2421,13 +2421,13 @@ export const $ReleaseDiscoverReq = { isAllowed: true, }; -export const $UpdateAppGroup = { +export const $updateAppGroup = { properties: { appGroupID: { type: 'string' } }, type: 'object', isAllowed: true, }; -export const $UpdateAppReq = { +export const $updateAppReq = { properties: { appDescription: { type: 'string' }, appGroupID: { type: 'string' }, @@ -2438,7 +2438,7 @@ export const $UpdateAppReq = { isAllowed: true, }; -export const $UpdateAppReqV2 = { +export const $updateAppReqV2 = { properties: { appGroupID: { type: 'string' }, appGuidance: { @@ -2501,7 +2501,7 @@ export const $UpdateAppReqV2 = { isAllowed: true, }; -export const $UpdateAppStatusReq = { +export const $updateAppStatusReq = { properties: { appStatus: { description: 'PUBLIC:公开;PRIVATE:私有', type: 'string' }, }, @@ -2509,7 +2509,7 @@ export const $UpdateAppStatusReq = { isAllowed: true, }; -export const $UpdateUserRoleBody = { +export const $updateUserRoleBody = { properties: { role: { description: @@ -2532,13 +2532,13 @@ export const $UpdateUserRoleBody = { isAllowed: true, }; -export const $WorkspaceGroupReq = { +export const $workspaceGroupReq = { properties: { name: { type: 'string' } }, type: 'object', isAllowed: true, }; -export const $WorkspaceReq = { +export const $workspaceReq = { properties: { description: { description: '描述', type: 'string' }, name: { description: '空间名', type: 'string' }, @@ -2547,7 +2547,7 @@ export const $WorkspaceReq = { isAllowed: true, }; -export const $WorkspaceUser = { +export const $workspaceUser = { properties: { role: { description: 'workspace_admin空间超管用户;workspace_user空间普通用户', @@ -2567,7 +2567,7 @@ export const $WorkspaceUser = { isAllowed: true, }; -export const $AppDatasets = { +export const $appDatasets = { properties: { appCount: { type: 'integer' }, author: { type: 'string' }, @@ -2580,7 +2580,7 @@ export const $AppDatasets = { isAllowed: true, }; -export const $AppDetail = { +export const $appDetail = { properties: { AnswerTokensCount: { description: '消耗输出token', type: 'integer' }, appDatasetConfig: { @@ -2714,13 +2714,13 @@ export const $AppDetail = { isAllowed: true, }; -export const $AppMessagesCount = { +export const $appMessagesCount = { properties: { total: { type: 'integer' } }, type: 'object', isAllowed: true, }; -export const $AppRecommendedContext3 = { +export const $appRecommendedContext3 = { properties: { context: { type: 'string' }, description: { type: 'string' }, @@ -2731,7 +2731,7 @@ export const $AppRecommendedContext3 = { isAllowed: true, }; -export const $AppRecommendedContextResp = { +export const $appRecommendedContextResp = { properties: { questions: { type: 'string' }, recommendSwitch: { type: 'boolean' }, @@ -2740,7 +2740,7 @@ export const $AppRecommendedContextResp = { isAllowed: true, }; -export const $AppResp = { +export const $appResp = { properties: { appGroupID: { type: 'string' }, appGroupName: { type: 'string' }, @@ -2759,7 +2759,7 @@ export const $AppResp = { isAllowed: true, }; -export const $AppWithPermission = { +export const $appWithPermission = { properties: { appID: { type: 'string' }, appImage: { type: 'integer' }, @@ -2795,13 +2795,13 @@ export const $AppWithPermission = { isAllowed: true, }; -export const $AttentionDataCountResp = { +export const $attentionDataCountResp = { properties: { total: { type: 'integer' } }, type: 'object', isAllowed: true, }; -export const $AttentionUser = { +export const $attentionUser = { properties: { email: { type: 'string' }, isAttentionUser: { type: 'boolean' }, @@ -2813,7 +2813,7 @@ export const $AttentionUser = { isAllowed: true, }; -export const $AttentionUserResp = { +export const $attentionUserResp = { properties: { email: { type: 'string' }, lastMessageTime: { type: 'string' }, @@ -2825,7 +2825,7 @@ export const $AttentionUserResp = { isAllowed: true, }; -export const $ConversationLogsResp = { +export const $conversationLogsResp = { properties: { AnswerTokensCount: { description: '消耗输出token', type: 'integer' }, appID: { type: 'string' }, @@ -2875,7 +2875,7 @@ export const $ConversationLogsResp = { isAllowed: true, }; -export const $ConversationResp = { +export const $conversationResp = { properties: { AnswerTokensCount: { description: '消耗输出token', type: 'integer' }, appID: { type: 'string' }, @@ -2927,25 +2927,25 @@ export const $ConversationResp = { isAllowed: true, }; -export const $CreateApiTokenRESP = { +export const $createApiTokenRESP = { properties: { token: { type: 'string' } }, type: 'object', isAllowed: true, }; -export const $CreateSharePathRESP = { +export const $createSharePathRESP = { properties: { path: { type: 'string' } }, type: 'object', isAllowed: true, }; -export const $DeleteResp = { +export const $deleteResp = { properties: { msg: { type: 'string' } }, type: 'object', isAllowed: true, }; -export const $ExchangeTokenRESP = { +export const $exchangeTokenRESP = { properties: { access_token: { description: '访问令牌', type: 'string' }, expires_in: { description: '访问令牌过期时间', type: 'string' }, @@ -2957,7 +2957,7 @@ export const $ExchangeTokenRESP = { isAllowed: true, }; -export const $GetApiTokenByRandomPathRESP = { +export const $getApiTokenByRandomPathRESP = { properties: { apiTokenID: { type: 'string' }, appID: { type: 'string' }, @@ -2989,7 +2989,7 @@ export const $GetApiTokenByRandomPathRESP = { isAllowed: true, }; -export const $IAMUserInfo = { +export const $iAMUserInfo = { properties: { createdTime: { description: '创建时间', type: 'string' }, email: { description: 'Cid string `json:"cid"`', type: 'string' }, @@ -3021,7 +3021,7 @@ export const $IAMUserInfo = { isAllowed: true, }; -export const $ListAllAttentionUser = { +export const $listAllAttentionUser = { properties: { data: { items: { @@ -3044,7 +3044,7 @@ export const $ListAllAttentionUser = { isAllowed: true, }; -export const $ListAppDatasetConfigResp = { +export const $listAppDatasetConfigResp = { properties: { data: { items: { @@ -3070,7 +3070,7 @@ export const $ListAppDatasetConfigResp = { isAllowed: true, }; -export const $ListAppDatasets = { +export const $listAppDatasets = { properties: { Data: { items: { @@ -3094,7 +3094,7 @@ export const $ListAppDatasets = { isAllowed: true, }; -export const $ListAppResp = { +export const $listAppResp = { properties: { data: { items: { @@ -3124,7 +3124,7 @@ export const $ListAppResp = { isAllowed: true, }; -export const $ListAttentionUserResp = { +export const $listAttentionUserResp = { properties: { data: { items: { @@ -3147,7 +3147,7 @@ export const $ListAttentionUserResp = { isAllowed: true, }; -export const $ListConversationLogsResp = { +export const $listConversationLogsResp = { properties: { data: { items: { @@ -3208,7 +3208,7 @@ export const $ListConversationLogsResp = { isAllowed: true, }; -export const $ListConversationResp = { +export const $listConversationResp = { properties: { data: { items: { @@ -3271,7 +3271,7 @@ export const $ListConversationResp = { isAllowed: true, }; -export const $ListMemberRESP = { +export const $listMemberRESP = { properties: { data: { items: { @@ -3337,7 +3337,7 @@ export const $ListMemberRESP = { isAllowed: true, }; -export const $ListProviderResp = { +export const $listProviderResp = { properties: { data: { items: { @@ -3366,7 +3366,7 @@ export const $ListProviderResp = { isAllowed: true, }; -export const $ListUserWithAppRESP = { +export const $listUserWithAppRESP = { properties: { data: { items: { @@ -3456,7 +3456,7 @@ export const $ListUserWithAppRESP = { isAllowed: true, }; -export const $ListWorkspacePermissions = { +export const $listWorkspacePermissions = { properties: { data: { items: { @@ -3514,7 +3514,7 @@ export const $ListWorkspacePermissions = { isAllowed: true, }; -export const $MemberWithRoleData = { +export const $memberWithRoleData = { properties: { appRole: { description: '应用角色', @@ -3559,7 +3559,7 @@ export const $MemberWithRoleData = { isAllowed: true, }; -export const $MessagesCountResp = { +export const $messagesCountResp = { properties: { messagesCount: { description: '请求消耗token', type: 'integer' }, time: { type: 'string' }, @@ -3568,7 +3568,7 @@ export const $MessagesCountResp = { isAllowed: true, }; -export const $MessagesTokenResp = { +export const $messagesTokenResp = { properties: { answerToken: { description: '回答消耗token', type: 'integer' }, queryToken: { description: '请求消耗token', type: 'integer' }, @@ -3579,7 +3579,7 @@ export const $MessagesTokenResp = { isAllowed: true, }; -export const $ModelConfigsMap2 = { +export const $modelConfigsMap2 = { properties: { model_type: { description: @@ -3607,7 +3607,7 @@ export const $ModelConfigsMap2 = { isAllowed: true, }; -export const $ProviderResp = { +export const $providerResp = { properties: { name: { description: '名字', type: 'string' }, providerID: { type: 'string' }, @@ -3625,7 +3625,7 @@ export const $ProviderResp = { isAllowed: true, }; -export const $QueryTokenResp = { +export const $queryTokenResp = { properties: { AnswerTokensCount: { description: '消耗输出token', type: 'integer' }, queryTokensCount: { description: '消耗输入token', type: 'integer' }, @@ -3635,7 +3635,7 @@ export const $QueryTokenResp = { isAllowed: true, }; -export const $RecommendQuestionAndContext = { +export const $recommendQuestionAndContext = { properties: { contexts: { items: { @@ -3657,7 +3657,7 @@ export const $RecommendQuestionAndContext = { isAllowed: true, }; -export const $UserWithAppData = { +export const $userWithAppData = { properties: { appWithPermissionList: { items: { @@ -3726,7 +3726,7 @@ export const $UserWithAppData = { isAllowed: true, }; -export const $WJLAccount = { +export const $wJLAccount = { properties: { code: { type: 'integer' }, data: { @@ -3747,7 +3747,7 @@ export const $WJLAccount = { isAllowed: true, }; -export const $WorkspaceListResp = { +export const $workspaceListResp = { properties: { data: { items: { @@ -3768,7 +3768,7 @@ export const $WorkspaceListResp = { isAllowed: true, }; -export const $WorkspacePermissions = { +export const $workspacePermissions = { properties: { createdAt: { type: 'string' }, email: { type: 'string' }, @@ -3810,7 +3810,7 @@ export const $WorkspacePermissions = { isAllowed: true, }; -export const $WorkspaceResp = { +export const $workspaceResp = { properties: { description: { description: '空间描述', type: 'string' }, name: { description: '空间名', type: 'string' }, @@ -3820,7 +3820,7 @@ export const $WorkspaceResp = { isAllowed: true, }; -export const $AddAppkeyReq = { +export const $addAppkeyReq = { properties: { appid: { type: 'string' }, appkey: { type: 'string' }, @@ -3834,7 +3834,7 @@ export const $AddAppkeyReq = { isAllowed: true, }; -export const $Data = { +export const $data = { properties: { appkey: { type: 'string' }, appsecret: { type: 'string' }, @@ -3854,7 +3854,7 @@ export const $Data = { isAllowed: true, }; -export const $GetAppKeyReq = { +export const $getAppKeyReq = { properties: { appid: { type: 'string' }, type: { description: 'wjl,dingding,feishu,wxa,wx', type: 'string' }, @@ -3864,7 +3864,7 @@ export const $GetAppKeyReq = { isAllowed: true, }; -export const $UpdateAppKeyStateReq = { +export const $updateAppKeyStateReq = { properties: { appid: { type: 'string' }, state: { description: '0-关闭,1-启动', type: 'integer' }, @@ -3875,15 +3875,15 @@ export const $UpdateAppKeyStateReq = { isAllowed: true, }; -export const $WxExtra = { +export const $wxExtra = { properties: { encodingAESKey: { type: 'string' }, token: { type: 'string' } }, type: 'object', isAllowed: true, }; -export const $EmptyObject = { type: 'object', isAllowed: true }; +export const $emptyObject = { type: 'object', isAllowed: true }; -export const $ErrorResp = { +export const $errorResp = { properties: { msg: { type: 'string' }, type: { type: 'object' } }, type: 'object', isAllowed: true, @@ -3900,7 +3900,7 @@ export async function v1ApiAppH5ShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppH5ShareApiTokenUsingGetParams; + params: API.V1ApiAppH5ShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -3921,7 +3921,7 @@ export async function v1ApiAppShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppShareApiTokenUsingGetParams; + params: API.V1ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -4180,14 +4180,14 @@ export type AttentionUserResp = { userName?: string; }; -export type authAuthorizeUsingGetParams = { +export type AuthAuthorizeUsingGetParams = { /** 业务回调地址 */ redirect_uri: string; /** 保持请求和回调的状态,授权成功后会回传该参数 */ state?: string; }; -export type authExchangeUsingGetParams = { +export type AuthExchangeUsingGetParams = { /** code */ code: string; /** 业务回调地址 */ @@ -4789,7 +4789,7 @@ export type UserWithAppData = { userName?: string; }; -export type v1ApiAppAppIdApiTokenUsingGetParams = { +export type V1ApiAppAppIdApiTokenUsingGetParams = { /** 应用id */ appID: string; /** 每页大小 */ @@ -4798,34 +4798,34 @@ export type v1ApiAppAppIdApiTokenUsingGetParams = { offset: number; }; -export type v1ApiAppAppIdApiTokenUsingPostParams = { +export type V1ApiAppAppIdApiTokenUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingDeleteParams = { +export type V1ApiAppAppIdDatasetConfigsUsingDeleteParams = { /** 应用id */ appID: string; /** 应用知识库配置id */ appDatasetConfigID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingGetParams = { +export type V1ApiAppAppIdDatasetConfigsUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingPostParams = { +export type V1ApiAppAppIdDatasetConfigsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingPutParams = { +export type V1ApiAppAppIdDatasetConfigsUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetsListUsingGetParams = { +export type V1ApiAppAppIdDatasetsListUsingGetParams = { /** 应用id */ appID: string; /** size */ @@ -4834,7 +4834,7 @@ export type v1ApiAppAppIdDatasetsListUsingGetParams = { offset?: number; }; -export type v1ApiAppAppIdDatasetsUsingDeleteParams = { +export type V1ApiAppAppIdDatasetsUsingDeleteParams = { /** 应用id */ appID: string; /** 数据集id */ @@ -4843,17 +4843,17 @@ export type v1ApiAppAppIdDatasetsUsingDeleteParams = { export type V1ApiAppAppIdDatasetsUsingPostBody = AppDatasets[]; -export type v1ApiAppAppIdDatasetsUsingPostParams = { +export type V1ApiAppAppIdDatasetsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDetailsUsingGetParams = { +export type V1ApiAppAppIdDetailsUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdHourlyMessagesUsingGetParams = { +export type V1ApiAppAppIdHourlyMessagesUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4862,7 +4862,7 @@ export type v1ApiAppAppIdHourlyMessagesUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdHourlyTokenUsingGetParams = { +export type V1ApiAppAppIdHourlyTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4871,14 +4871,14 @@ export type v1ApiAppAppIdHourlyTokenUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdLogsConversationIdMessagesUsingGetParams = { +export type V1ApiAppAppIdLogsConversationIdMessagesUsingGetParams = { /** 应用id */ appID: string; /** 会话id */ conversationID: string; }; -export type v1ApiAppAppIdLogsUsingGetParams = { +export type V1ApiAppAppIdLogsUsingGetParams = { /** 应用id */ appID: string; /** 会话id */ @@ -4897,17 +4897,17 @@ export type v1ApiAppAppIdLogsUsingGetParams = { userID?: string; }; -export type v1ApiAppAppIdMemberRoleUsingPutParams = { +export type V1ApiAppAppIdMemberRoleUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMemberUsingDeleteParams = { +export type V1ApiAppAppIdMemberUsingDeleteParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMemberUsingGetParams = { +export type V1ApiAppAppIdMemberUsingGetParams = { /** 应用id */ appID: string; /** 每页大小 */ @@ -4916,12 +4916,12 @@ export type v1ApiAppAppIdMemberUsingGetParams = { offset: number; }; -export type v1ApiAppAppIdMemberUsingPostParams = { +export type V1ApiAppAppIdMemberUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMessagesUsingGetParams = { +export type V1ApiAppAppIdMessagesUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4930,49 +4930,49 @@ export type v1ApiAppAppIdMessagesUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdModelConfigsUsingPostParams = { +export type V1ApiAppAppIdModelConfigsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdModelConfigsUsingPutParams = { +export type V1ApiAppAppIdModelConfigsUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdModelPromptUsingPostParams = { +export type V1ApiAppAppIdModelPromptUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdOpenApiDeleteUsingDeleteParams = { +export type V1ApiAppAppIdOpenApiDeleteUsingDeleteParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdPluginUsingPutParams = { +export type V1ApiAppAppIdPluginUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdRecommendedContextUsingGetParams = { +export type V1ApiAppAppIdRecommendedContextUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdRecommendedContextUsingPostParams = { +export type V1ApiAppAppIdRecommendedContextUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdShareUsingPutParams = { +export type V1ApiAppAppIdShareUsingPutParams = { /** 应用id */ appID: string; /** 是否h5 */ isH5?: boolean; }; -export type v1ApiAppAppIdTokenUsingGetParams = { +export type V1ApiAppAppIdTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4981,22 +4981,22 @@ export type v1ApiAppAppIdTokenUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdUpdateStatusUsingPutParams = { +export type V1ApiAppAppIdUpdateStatusUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdUpdateUsingPutParams = { +export type V1ApiAppAppIdUpdateUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppH5ShareApiTokenUsingGetParams = { +export type V1ApiAppH5ShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v1ApiAppIdCostUsingPostParams = { +export type V1ApiAppIdCostUsingPostParams = { /** 应用id */ appID: string; /** 会话id */ @@ -5015,27 +5015,27 @@ export type v1ApiAppIdCostUsingPostParams = { userID?: string; }; -export type v1ApiAppListPrivateUsingGetParams = { +export type V1ApiAppListPrivateUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v1ApiAppListPublicUsingGetParams = { +export type V1ApiAppListPublicUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v1ApiAppShareApiTokenUsingGetParams = { +export type V1ApiAppShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v1ApiAttentionAppListUsingGetParams = { +export type V1ApiAttentionAppListUsingGetParams = { /** IAM用户id */ iamID: string; }; -export type v1ApiAttentionMessagesHistoryUsingGetParams = { +export type V1ApiAttentionMessagesHistoryUsingGetParams = { /** IAM ID */ iamID: string; /** 应用id */ @@ -5044,7 +5044,7 @@ export type v1ApiAttentionMessagesHistoryUsingGetParams = { conversationID: string; }; -export type v1ApiAttentionUserAllUsingGetParams = { +export type V1ApiAttentionUserAllUsingGetParams = { /** 登陆用户IAMID */ iamID?: string; /** 用户id */ @@ -5061,7 +5061,7 @@ export type v1ApiAttentionUserAllUsingGetParams = { userName?: string; }; -export type v1ApiAttentionUserListUsingPostParams = { +export type V1ApiAttentionUserListUsingPostParams = { /** IAM ID */ iamID: string; /** 默认10 */ @@ -5070,41 +5070,41 @@ export type v1ApiAttentionUserListUsingPostParams = { offset?: number; }; -export type v1ApiConversationsConversationIdHistoryUsingDeleteParams = { +export type V1ApiConversationsConversationIdHistoryUsingDeleteParams = { /** 会话id */ conversation_id: string; /** 聊天信息id */ message_id: string; }; -export type v1ApiConversationsConversationIdHistoryUsingGetParams = { +export type V1ApiConversationsConversationIdHistoryUsingGetParams = { /** 会话id */ conversation_id: string; }; -export type v1ApiConversationsUsingDeleteParams = { +export type V1ApiConversationsUsingDeleteParams = { /** 会话id */ conversation_id: string; }; -export type v1ApiConversationsUsingGetParams = { +export type V1ApiConversationsUsingGetParams = { /** 用户id,空值不返回 */ user_id?: string; }; -export type v1ApiFeedbacksMessageIdUsingDeleteParams = { +export type V1ApiFeedbacksMessageIdUsingDeleteParams = { /** 消息id */ message_id: string; /** 会话id */ conversation_id: string; }; -export type v1ApiFeedbacksMessageIdUsingPostParams = { +export type V1ApiFeedbacksMessageIdUsingPostParams = { /** 消息id */ message_id: string; }; -export type v1ApiFeedbacksUsingGetParams = { +export type V1ApiFeedbacksUsingGetParams = { conversation_ID?: string; message_ID?: string; /** 页数1开始 */ @@ -5118,36 +5118,36 @@ export type V1ApiFileUsingPostBody = { file: string; }; -export type v1ApiFileUsingPostParams = { +export type V1ApiFileUsingPostParams = { /** 会话id */ conversation_id?: string; /** user id */ user_id?: string; }; -export type v1ApiIamAccountUsingGetParams = { +export type V1ApiIamAccountUsingGetParams = { /** openId */ openId: string; }; -export type v1ApiProviderListUsingGetParams = { +export type V1ApiProviderListUsingGetParams = { /** size */ size?: number; /** offset */ offset?: number; }; -export type v1ApiRobotWorkspaceIdAppkeyStateUsingPostParams = { +export type V1ApiRobotWorkspaceIdAppkeyStateUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingDeleteParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingDeleteParams = { /** 空间ID */ workspaceID: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingGetParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingGetParams = { /** 空间ID */ workspaceID: string; appid: string; @@ -5155,7 +5155,7 @@ export type v1ApiRobotWorkspaceIdAppkeyUsingGetParams = { type: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingPostParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingPostParams = { /** 空间ID */ workspaceID: string; }; @@ -5165,12 +5165,12 @@ export type V1ApiSpeechToTextUsingPostBody = { file: string; }; -export type v1ApiUserInfoUsingGetParams = { +export type V1ApiUserInfoUsingGetParams = { /** 应用id */ appID?: string; }; -export type v1ApiUserUsingGetParams = { +export type V1ApiUserUsingGetParams = { offset?: number; /** 电话号码 */ phone?: string; @@ -5181,27 +5181,27 @@ export type v1ApiUserUsingGetParams = { userName?: string; }; -export type v2ApiAppAppIdDetailsUsingGetParams = { +export type V2ApiAppAppIdDetailsUsingGetParams = { /** 应用id */ appID: string; }; -export type v2ApiAppAppIdUpdateUsingPostParams = { +export type V2ApiAppAppIdUpdateUsingPostParams = { /** 应用id */ appID: string; }; -export type v2ApiAppListUsingGetParams = { +export type V2ApiAppListUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v2ApiAppShareApiTokenUsingGetParams = { +export type V2ApiAppShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v2ApiChatMessagesMessagesCountUsingGetParams = { +export type V2ApiChatMessagesMessagesCountUsingGetParams = { /** 是否查询人均,默认false */ isPerPerson?: boolean; /** 开始时间,秒级时间戳 */ @@ -5215,19 +5215,19 @@ export type V2ApiFileUsingPostBody = { files: unknown[]; }; -export type v2ApiFileUsingPostParams = { +export type V2ApiFileUsingPostParams = { /** 会话id */ conversation_id?: string; /** user id */ user_id?: string; }; -export type v2ApiWorkspacesDefaultUsingPostParams = { +export type V2ApiWorkspacesDefaultUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { +export type V2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { /** 消息id */ messageId: string; }; @@ -5235,14 +5235,14 @@ export type v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostBody = AppDatasets[]; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { /** 应用id */ appID: string; /** 空间ID */ @@ -5251,14 +5251,14 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { datasetID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -5269,7 +5269,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -5280,7 +5280,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { /** 应用id */ appID: string; /** 空间ID */ @@ -5301,7 +5301,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { userID?: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -5312,21 +5312,21 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -5335,42 +5335,42 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { /** 空间ID */ workspaceID: string; /** 是否只查看会话过的应用 */ @@ -5379,32 +5379,32 @@ export type v2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { appName?: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = +export type V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; @@ -5412,41 +5412,41 @@ export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = workspaceGroupID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams = { /** 空间ID */ workspaceID: string; /** 分组ID */ workspaceGroupID: string; }; -export type v2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsersUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdUsersUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsersUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdUsersUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; /** userID */ userID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdUsingPostParams = { /** 空间ID */ workspaceID: string; }; @@ -5546,7 +5546,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyStateUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyStateUsingPostParams; + params: API.V1ApiRobotWorkspaceIdAppkeyStateUsingPostParams; body: API.UpdateAppKeyStateReq; options?: { [key: string]: unknown }; }) { @@ -5571,7 +5571,7 @@ export async function v1ApiUserUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserUsingGetParams; + params: API.V1ApiUserUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/user', { @@ -5592,7 +5592,7 @@ export async function v1ApiUserInfoUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserInfoUsingGetParams; + params: API.V1ApiUserInfoUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/user/info', { @@ -5669,7 +5669,7 @@ export async function v2ApiWorkspacesDefaultUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesDefaultUsingPostParams; + params: API.V2ApiWorkspacesDefaultUsingPostParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v2/api/workspaces-default', { @@ -5688,7 +5688,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdUsingPostParams; body: API.WorkspaceReq; options?: { [key: string]: unknown }; }) { @@ -5708,7 +5708,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5727,7 +5727,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams; body: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -5750,7 +5750,7 @@ export async function v2ApiWorkspacesWorkspaceIdDatasetsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5772,7 +5772,7 @@ export async function v2ApiWorkspacesWorkspaceIdDatasetsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams; body: API.AppDataset; options?: { [key: string]: unknown }; }) { @@ -5792,7 +5792,7 @@ export async function v2ApiWorkspacesWorkspaceIdPermissionsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5813,7 +5813,7 @@ export async function v2ApiWorkspacesWorkspaceIdUserUserIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, userID: param1, ...queryParams } = params; @@ -5834,7 +5834,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsersUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsersUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdUsersUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5856,7 +5856,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsersUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsersUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdUsersUsingPostParams; body: API.WorkspaceUser; options?: { [key: string]: unknown }; }) { @@ -5897,7 +5897,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams; body: API.UpdateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -5917,7 +5917,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -5938,7 +5938,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -5961,7 +5961,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -5984,7 +5984,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -6008,7 +6008,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams; body: API.UpdateAppStatusReq; options?: { [key: string]: unknown }; }) { @@ -6031,7 +6031,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -6052,7 +6052,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsUsingPostParams; body: API.CreateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -6072,7 +6072,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -6095,7 +6095,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -6119,7 +6119,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -6142,7 +6142,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -6163,7 +6163,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -6186,7 +6186,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -6208,7 +6208,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams; body: API.UpdateAppReq; options?: { [key: string]: unknown }; }) { @@ -6232,7 +6232,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams; body: API.UpdateAppGroup; options?: { [key: string]: unknown }; }) { @@ -6255,7 +6255,7 @@ export async function v2ApiWorkspacesRecommendedMessageIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { messageId: param0, ...queryParams } = params; @@ -6281,7 +6281,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -6303,7 +6303,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsUsingPostParams; body: API.WorkspaceGroupReq; options?: { [key: string]: unknown }; }) { @@ -6327,7 +6327,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPost( options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams; body: API.WorkspaceGroupReq; options?: { [key: string]: unknown }; }) { @@ -6354,7 +6354,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDelet options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 isSupportParseEnumDesc \350\256\276\347\275\256\344\270\272true.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 isSupportParseEnumDesc \350\256\276\347\275\256\344\270\272true.snap" index 74f45f4..d905e38 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 isSupportParseEnumDesc \350\256\276\347\275\256\344\270\272true.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 isSupportParseEnumDesc \350\256\276\347\275\256\344\270\272true.snap" @@ -11,7 +11,7 @@ export async function cgiBinGettokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.cgiBinGettokenUsingGetParams; + params: API.CgiBinGettokenUsingGetParams; body: API.CgiBinGettokenUsingGetBody; options?: { [key: string]: unknown }; }) { @@ -41,7 +41,7 @@ export type CgiBinGettokenUsingGetBody = { age?: number; }; -export type cgiBinGettokenUsingGetParams = { +export type CgiBinGettokenUsingGetParams = { /** 企业ID,获取方式参考:[术语说明-corpid](https://developer.work.weixin.qq.com/document/path/91039#14953/corpid) */ corpid: string; /** 应用的凭证密钥,获取方式参考:[术语说明-secret](https://developer.work.weixin.qq.com/document/path/91039#14953/secret) */ diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 react-query \347\232\204 vue \346\250\241\345\274\217.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 react-query \347\232\204 vue \346\250\241\345\274\217.snap" index 4855b35..a9b90fe 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 react-query \347\232\204 vue \346\250\241\345\274\217.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 react-query \347\232\204 vue \346\250\241\345\274\217.snap" @@ -11,7 +11,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingPostParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingPostParams; body: API.AddAppkeyReq; options?: { [key: string]: unknown }; }) { @@ -64,7 +64,7 @@ export async function v1ApiAppAppIdApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdApiTokenUsingGetParams; + params: API.V1ApiAppAppIdApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -87,7 +87,7 @@ export async function v1ApiAppAppIdApiTokenUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdApiTokenUsingPostParams; + params: API.V1ApiAppAppIdApiTokenUsingPostParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -113,7 +113,7 @@ import * as API from './types'; /** ListApiToken 获取app 的 token 列表 GET /llmops/v1/api/app/${param0}/api-token */ export function v1ApiAppAppIdApiTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdApiTokenUsingGetParams; + params: API.V1ApiAppAppIdApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -155,7 +155,7 @@ export async function v1ApiAppIdCostUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppIdCostUsingPostParams; + params: API.V1ApiAppIdCostUsingPostParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -190,7 +190,7 @@ export async function v1ApiAppAppIdOpenApiDeleteUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdOpenApiDeleteUsingDeleteParams; + params: API.V1ApiAppAppIdOpenApiDeleteUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -208,7 +208,7 @@ export async function v1ApiAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDetailsUsingGetParams; + params: API.V1ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -226,7 +226,7 @@ export async function v1ApiAppAppIdHourlyMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyMessagesUsingGetParams; + params: API.V1ApiAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -249,7 +249,7 @@ export async function v1ApiAppAppIdHourlyTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyTokenUsingGetParams; + params: API.V1ApiAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -272,7 +272,7 @@ export async function v1ApiAppAppIdLogsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsUsingGetParams; + params: API.V1ApiAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -295,7 +295,7 @@ export async function v1ApiAppAppIdLogsConversationIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, conversationID: param1, ...queryParams } = params; @@ -316,7 +316,7 @@ export async function v1ApiAppAppIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -339,7 +339,7 @@ export async function v1ApiAppAppIdShareUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdShareUsingPutParams; + params: API.V1ApiAppAppIdShareUsingPutParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -362,7 +362,7 @@ export async function v1ApiAppAppIdTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdTokenUsingGetParams; + params: API.V1ApiAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -386,7 +386,7 @@ export async function v1ApiAppAppIdUpdateUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdUpdateUsingPutParams; + params: API.V1ApiAppAppIdUpdateUsingPutParams; body: API.UpdateAppReq; options?: { [key: string]: unknown }; }) { @@ -407,7 +407,7 @@ export async function v1ApiAppAppIdUpdateStatusUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdUpdateStatusUsingPutParams; + params: API.V1ApiAppAppIdUpdateStatusUsingPutParams; body: API.ReleaseDiscoverReq; options?: { [key: string]: unknown }; }) { @@ -463,7 +463,7 @@ export async function v1ApiAppListPrivateUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPrivateUsingGetParams; + params: API.V1ApiAppListPrivateUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/app/list-private', { @@ -481,7 +481,7 @@ export async function v1ApiAppListPublicUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPublicUsingGetParams; + params: API.V1ApiAppListPublicUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/app/list-public', { @@ -564,7 +564,7 @@ export function useV1ApiAppAppIdOpenApiDeleteUsingDeleteMutation(options?: { /** GetAppDetails 查询 app 详情 GET /llmops/v1/api/app/${param0}/details */ export function v1ApiAppAppIdDetailsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDetailsUsingGetParams; + params: API.V1ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -578,7 +578,7 @@ export function v1ApiAppAppIdDetailsUsingGetQueryOptions(options: { /** GetSumHourlyMessagesCount 每小时messages数 GET /llmops/v1/api/app/${param0}/hourly-messages */ export function v1ApiAppAppIdHourlyMessagesUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyMessagesUsingGetParams; + params: API.V1ApiAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -594,7 +594,7 @@ export function v1ApiAppAppIdHourlyMessagesUsingGetQueryOptions(options: { /** GetSumHourlyToken 每小时token数 GET /llmops/v1/api/app/${param0}/hourly-token */ export function v1ApiAppAppIdHourlyTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyTokenUsingGetParams; + params: API.V1ApiAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -610,7 +610,7 @@ export function v1ApiAppAppIdHourlyTokenUsingGetQueryOptions(options: { /** GetAppLogs 查询 app 日志与标注 GET /llmops/v1/api/app/${param0}/logs */ export function v1ApiAppAppIdLogsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsUsingGetParams; + params: API.V1ApiAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -624,7 +624,7 @@ export function v1ApiAppAppIdLogsUsingGetQueryOptions(options: { /** GetLogsMessages 查询 app 日志与标注消息详情 GET /llmops/v1/api/app/${param0}/logs/${param1}/messages */ export function v1ApiAppAppIdLogsConversationIdMessagesUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -640,7 +640,7 @@ export function v1ApiAppAppIdLogsConversationIdMessagesUsingGetQueryOptions(opti /** GetSumDailyMessagesCount 每日messages数 GET /llmops/v1/api/app/${param0}/messages */ export function v1ApiAppAppIdMessagesUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -674,7 +674,7 @@ export function useV1ApiAppAppIdShareUsingPutMutation(options?: { /** GetSumDailyToken 每日token GET /llmops/v1/api/app/${param0}/token */ export function v1ApiAppAppIdTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdTokenUsingGetParams; + params: API.V1ApiAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -764,7 +764,7 @@ export function v1ApiAppListPickUsingGetQueryOptions(options: { /** ListAppByUser 查询用户关联的 app 列表 GET /llmops/v1/api/app/list-private */ export function v1ApiAppListPrivateUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPrivateUsingGetParams; + params: API.V1ApiAppListPrivateUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -778,7 +778,7 @@ export function v1ApiAppListPrivateUsingGetQueryOptions(options: { /** ListAppPublic 查询公共 app 列表 GET /llmops/v1/api/app/list-public */ export function v1ApiAppListPublicUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPublicUsingGetParams; + params: API.V1ApiAppListPublicUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -800,7 +800,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingGetParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -822,7 +822,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingPutParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingPutParams; body: API.AppDatasetConfigs; options?: { [key: string]: unknown }; }) { @@ -843,7 +843,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingPostParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingPostParams; body: API.AppDatasetConfigs; options?: { [key: string]: unknown }; }) { @@ -863,7 +863,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingDeleteParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -888,7 +888,7 @@ import * as API from './types'; /** GetAppDatasetConfigsList 查询应用知识库查询配置 GET /llmops/v1/api/app/${param0}/dataset-configs */ export function v1ApiAppAppIdDatasetConfigsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingGetParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -972,7 +972,7 @@ export async function v1ApiAppAppIdMemberUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingGetParams; + params: API.V1ApiAppAppIdMemberUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -993,7 +993,7 @@ export async function v1ApiAppAppIdMemberUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingPostParams; + params: API.V1ApiAppAppIdMemberUsingPostParams; body: API.MemberBody; options?: { [key: string]: unknown }; }) { @@ -1014,7 +1014,7 @@ export async function v1ApiAppAppIdMemberUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingDeleteParams; + params: API.V1ApiAppAppIdMemberUsingDeleteParams; body: API.DeleteMemberBody; options?: { [key: string]: unknown }; }) { @@ -1035,7 +1035,7 @@ export async function v1ApiAppAppIdMemberRoleUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberRoleUsingPutParams; + params: API.V1ApiAppAppIdMemberRoleUsingPutParams; body: API.MemberBody; options?: { [key: string]: unknown }; }) { @@ -1060,7 +1060,7 @@ import * as API from './types'; /** ListMember app下的用户列表 GET /llmops/v1/api/app/${param0}/member */ export function v1ApiAppAppIdMemberUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingGetParams; + params: API.V1ApiAppAppIdMemberUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1143,7 +1143,7 @@ export async function v1ApiAppAppIdModelConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelConfigsUsingPutParams; + params: API.V1ApiAppAppIdModelConfigsUsingPutParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -1164,7 +1164,7 @@ export async function v1ApiAppAppIdModelConfigsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelConfigsUsingPostParams; + params: API.V1ApiAppAppIdModelConfigsUsingPostParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -1185,7 +1185,7 @@ export async function v1ApiAppAppIdModelPromptUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelPromptUsingPostParams; + params: API.V1ApiAppAppIdModelPromptUsingPostParams; body: API.AppModelConfigPromptPrefix; options?: { [key: string]: unknown }; }) { @@ -1205,7 +1205,7 @@ export async function v1ApiAppAppIdPluginUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdPluginUsingPutParams; + params: API.V1ApiAppAppIdPluginUsingPutParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -1331,7 +1331,7 @@ export async function v2ApiAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppAppIdDetailsUsingGetParams; + params: API.V2ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -1350,7 +1350,7 @@ export async function v2ApiAppAppIdUpdateUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppAppIdUpdateUsingPostParams; + params: API.V2ApiAppAppIdUpdateUsingPostParams; body: API.UpdateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -1370,7 +1370,7 @@ export async function v2ApiAppListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppListUsingGetParams; + params: API.V2ApiAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v2/api/app/list', { @@ -1388,7 +1388,7 @@ export async function v2ApiAppShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppShareApiTokenUsingGetParams; + params: API.V2ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -1434,7 +1434,7 @@ export function useV2ApiAppUsingPostMutation(options?: { /** GetAppDetailsV2 查询 app 详情 GET /llmops/v2/api/app/${param0}/details */ export function v2ApiAppAppIdDetailsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppAppIdDetailsUsingGetParams; + params: API.V2ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1468,7 +1468,7 @@ export function useV2ApiAppAppIdUpdateUsingPostMutation(options?: { /** ListAppV2 查询用户关联的 app 列表 GET /llmops/v2/api/app/list */ export function v2ApiAppListUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppListUsingGetParams; + params: API.V2ApiAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1482,7 +1482,7 @@ export function v2ApiAppListUsingGetQueryOptions(options: { /** GetApiTokenV2 获取一个 app token GET /llmops/v2/api/app/share/api-token */ export function v2ApiAppShareApiTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppShareApiTokenUsingGetParams; + params: API.V2ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1504,7 +1504,7 @@ export async function v1ApiAttentionAppListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionAppListUsingGetParams; + params: API.V1ApiAttentionAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/attention/app/list', { @@ -1576,7 +1576,7 @@ export async function v1ApiAttentionMessagesHistoryUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionMessagesHistoryUsingGetParams; + params: API.V1ApiAttentionMessagesHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -1612,7 +1612,7 @@ export async function v1ApiAttentionUserAllUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionUserAllUsingGetParams; + params: API.V1ApiAttentionUserAllUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -1651,7 +1651,7 @@ export async function v1ApiAttentionUserListUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionUserListUsingPostParams; + params: API.V1ApiAttentionUserListUsingPostParams; options?: { [key: string]: unknown }; }) { return request( @@ -1677,7 +1677,7 @@ import * as API from './types'; /** ListAttentionApp 应用列表 GET /llmops/v1/api/attention/app/list */ export function v1ApiAttentionAppListUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionAppListUsingGetParams; + params: API.V1ApiAttentionAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1751,7 +1751,7 @@ export function useV1ApiAttentionMessagesCountUsingPostMutation(options?: { /** GetAttentionMessagesHistory 获取聊天历史 GET /llmops/v1/api/attention/messages/history */ export function v1ApiAttentionMessagesHistoryUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionMessagesHistoryUsingGetParams; + params: API.V1ApiAttentionMessagesHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1787,7 +1787,7 @@ export function useV1ApiAttentionUserUsingPostMutation(options?: { /** ListAllUser 系统全局用户列表 GET /llmops/v1/api/attention/user/all */ export function v1ApiAttentionUserAllUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionUserAllUsingGetParams; + params: API.V1ApiAttentionUserAllUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1849,7 +1849,7 @@ export async function authAuthorizeUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authAuthorizeUsingGetParams; + params: API.AuthAuthorizeUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/auth/authorize', { @@ -1872,7 +1872,7 @@ import * as API from './types'; /** Authorize 获取code的跳转 GET /llmops/auth/authorize */ export function authAuthorizeUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authAuthorizeUsingGetParams; + params: API.AuthAuthorizeUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2103,7 +2103,7 @@ export async function v1ApiConversationsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsUsingGetParams; + params: API.V1ApiConversationsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/conversations', { @@ -2121,7 +2121,7 @@ export async function v1ApiConversationsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsUsingDeleteParams; + params: API.V1ApiConversationsUsingDeleteParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/conversations', { @@ -2144,7 +2144,7 @@ import * as API from './types'; /** ConversationList 会话历史 GET /llmops/v1/api/conversations */ export function v1ApiConversationsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsUsingGetParams; + params: API.V1ApiConversationsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2187,7 +2187,7 @@ export async function v1ApiFeedbacksMessageIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksMessageIdUsingPostParams; + params: API.V1ApiFeedbacksMessageIdUsingPostParams; body: API.FeedbacksReqBody; options?: { [key: string]: unknown }; }) { @@ -2247,7 +2247,7 @@ export async function v1ApiAppAppIdDatasetsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsUsingPostParams; + params: API.V1ApiAppAppIdDatasetsUsingPostParams; body: API.V1ApiAppAppIdDatasetsUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -2267,7 +2267,7 @@ export async function v1ApiAppAppIdDatasetsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsUsingDeleteParams; + params: API.V1ApiAppAppIdDatasetsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -2340,7 +2340,7 @@ export async function v1ApiAppAppIdDatasetsListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsListUsingGetParams; + params: API.V1ApiAppAppIdDatasetsListUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -2368,7 +2368,7 @@ import * as API from './types'; /** GetDatasetsList 数据集列表 GET /llmops/v1/api/app/${param0}/datasets-list */ export function v1ApiAppAppIdDatasetsListUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsListUsingGetParams; + params: API.V1ApiAppAppIdDatasetsListUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2392,7 +2392,7 @@ export async function v1ApiFeedbacksMessageIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksMessageIdUsingDeleteParams; + params: API.V1ApiFeedbacksMessageIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { message_id: param0, ...queryParams } = params; @@ -2449,7 +2449,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingDeleteParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingDeleteParams; body: API.GetAppKeyReq; options?: { [key: string]: unknown }; }) { @@ -2537,7 +2537,7 @@ export async function authExchangeUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authExchangeUsingGetParams; + params: API.AuthExchangeUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/auth/exchange', { @@ -2560,7 +2560,7 @@ import * as API from './types'; /** Exchange 换取token GET /llmops/auth/exchange */ export function authExchangeUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authExchangeUsingGetParams; + params: API.AuthExchangeUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2583,7 +2583,7 @@ export async function v1ApiFileUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFileUsingPostParams; + params: API.V1ApiFileUsingPostParams; body: API.V1ApiFileUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -2643,7 +2643,7 @@ export async function v2ApiFileUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiFileUsingPostParams; + params: API.V2ApiFileUsingPostParams; body: API.V2ApiFileUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -2777,7 +2777,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingGetParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -2802,7 +2802,7 @@ import * as API from './types'; /** GetAppKey 为应用获取各种类型机器人appkey GET /llmops/v1/api/robot/${param0}/appkey */ export function v1ApiRobotWorkspaceIdAppkeyUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingGetParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2826,7 +2826,7 @@ export async function v1ApiConversationsConversationIdHistoryUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsConversationIdHistoryUsingGetParams; + params: API.V1ApiConversationsConversationIdHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { const { conversation_id: param0, ...queryParams } = params; @@ -2847,7 +2847,7 @@ export async function v1ApiConversationsConversationIdHistoryUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsConversationIdHistoryUsingDeleteParams; + params: API.V1ApiConversationsConversationIdHistoryUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { conversation_id: param0, ...queryParams } = params; @@ -2870,7 +2870,7 @@ export async function v2ApiChatMessagesMessagesCountUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiChatMessagesMessagesCountUsingGetParams; + params: API.V2ApiChatMessagesMessagesCountUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -2896,7 +2896,7 @@ import * as API from './types'; /** History 会话历史 GET /llmops/v1/api/conversations/${param0}/history */ export function v1ApiConversationsConversationIdHistoryUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsConversationIdHistoryUsingGetParams; + params: API.V1ApiConversationsConversationIdHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2932,7 +2932,7 @@ export function useV1ApiConversationsConversationIdHistoryUsingDeleteMutation(op /** GetMessageCount 用于微精灵获取消息数的v2版本 GET /llmops/v2/api/chat-messages/messagesCount */ export function v2ApiChatMessagesMessagesCountUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiChatMessagesMessagesCountUsingGetParams; + params: API.V2ApiChatMessagesMessagesCountUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2956,7 +2956,7 @@ export async function v1ApiIamAccountUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiIamAccountUsingGetParams; + params: API.V1ApiIamAccountUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/iamAccount', { @@ -2979,7 +2979,7 @@ import * as API from './types'; /** GetIamUserId 查询 IAM 用户信息 GET /llmops/v1/api/iamAccount */ export function v1ApiIamAccountUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiIamAccountUsingGetParams; + params: API.V1ApiIamAccountUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -3068,7 +3068,7 @@ export async function v1ApiFeedbacksUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksUsingGetParams; + params: API.V1ApiFeedbacksUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/feedbacks/', { @@ -3091,7 +3091,7 @@ import * as API from './types'; /** ListFeedbacks ListFeedbacks GET /llmops/v1/api/feedbacks/ */ export function v1ApiFeedbacksUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksUsingGetParams; + params: API.V1ApiFeedbacksUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -3113,7 +3113,7 @@ export async function v1ApiProviderListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiProviderListUsingGetParams; + params: API.V1ApiProviderListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/provider/list', { @@ -3136,7 +3136,7 @@ import * as API from './types'; /** ListProviders 查询 Provider 列表 GET /llmops/v1/api/provider/list */ export function v1ApiProviderListUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiProviderListUsingGetParams; + params: API.V1ApiProviderListUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -3158,7 +3158,7 @@ export async function v1ApiAppAppIdRecommendedContextUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdRecommendedContextUsingGetParams; + params: API.V1ApiAppAppIdRecommendedContextUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -3180,7 +3180,7 @@ export async function v1ApiAppAppIdRecommendedContextUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdRecommendedContextUsingPostParams; + params: API.V1ApiAppAppIdRecommendedContextUsingPostParams; body: API.AppRecommendedContext; options?: { [key: string]: unknown }; }) { @@ -3205,7 +3205,7 @@ import * as API from './types'; /** ListRecommendedContext 查询推荐内容列表 GET /llmops/v1/api/app/${param0}/recommended/context */ export function v1ApiAppAppIdRecommendedContextUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdRecommendedContextUsingGetParams; + params: API.V1ApiAppAppIdRecommendedContextUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -3297,7 +3297,7 @@ export async function v1ApiAppH5ShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppH5ShareApiTokenUsingGetParams; + params: API.V1ApiAppH5ShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -3318,7 +3318,7 @@ export async function v1ApiAppShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppShareApiTokenUsingGetParams; + params: API.V1ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -3344,7 +3344,7 @@ import * as API from './types'; /** H5GetApiToken 获取一个 app token h5版 GET /llmops/v1/api/app/h5/share/api-token */ export function v1ApiAppH5ShareApiTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppH5ShareApiTokenUsingGetParams; + params: API.V1ApiAppH5ShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -3360,7 +3360,7 @@ export function v1ApiAppH5ShareApiTokenUsingGetQueryOptions(options: { /** GetApiToken 获取一个 app token GET /llmops/v1/api/app/share/api-token */ export function v1ApiAppShareApiTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppShareApiTokenUsingGetParams; + params: API.V1ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -3615,14 +3615,14 @@ export type AttentionUserResp = { userName?: string; }; -export type authAuthorizeUsingGetParams = { +export type AuthAuthorizeUsingGetParams = { /** 业务回调地址 */ redirect_uri: string; /** 保持请求和回调的状态,授权成功后会回传该参数 */ state?: string; }; -export type authExchangeUsingGetParams = { +export type AuthExchangeUsingGetParams = { /** code */ code: string; /** 业务回调地址 */ @@ -4224,7 +4224,7 @@ export type UserWithAppData = { userName?: string; }; -export type v1ApiAppAppIdApiTokenUsingGetParams = { +export type V1ApiAppAppIdApiTokenUsingGetParams = { /** 应用id */ appID: string; /** 每页大小 */ @@ -4233,34 +4233,34 @@ export type v1ApiAppAppIdApiTokenUsingGetParams = { offset: number; }; -export type v1ApiAppAppIdApiTokenUsingPostParams = { +export type V1ApiAppAppIdApiTokenUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingDeleteParams = { +export type V1ApiAppAppIdDatasetConfigsUsingDeleteParams = { /** 应用id */ appID: string; /** 应用知识库配置id */ appDatasetConfigID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingGetParams = { +export type V1ApiAppAppIdDatasetConfigsUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingPostParams = { +export type V1ApiAppAppIdDatasetConfigsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingPutParams = { +export type V1ApiAppAppIdDatasetConfigsUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetsListUsingGetParams = { +export type V1ApiAppAppIdDatasetsListUsingGetParams = { /** 应用id */ appID: string; /** size */ @@ -4269,7 +4269,7 @@ export type v1ApiAppAppIdDatasetsListUsingGetParams = { offset?: number; }; -export type v1ApiAppAppIdDatasetsUsingDeleteParams = { +export type V1ApiAppAppIdDatasetsUsingDeleteParams = { /** 应用id */ appID: string; /** 数据集id */ @@ -4278,17 +4278,17 @@ export type v1ApiAppAppIdDatasetsUsingDeleteParams = { export type V1ApiAppAppIdDatasetsUsingPostBody = AppDatasets[]; -export type v1ApiAppAppIdDatasetsUsingPostParams = { +export type V1ApiAppAppIdDatasetsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDetailsUsingGetParams = { +export type V1ApiAppAppIdDetailsUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdHourlyMessagesUsingGetParams = { +export type V1ApiAppAppIdHourlyMessagesUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4297,7 +4297,7 @@ export type v1ApiAppAppIdHourlyMessagesUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdHourlyTokenUsingGetParams = { +export type V1ApiAppAppIdHourlyTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4306,14 +4306,14 @@ export type v1ApiAppAppIdHourlyTokenUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdLogsConversationIdMessagesUsingGetParams = { +export type V1ApiAppAppIdLogsConversationIdMessagesUsingGetParams = { /** 应用id */ appID: string; /** 会话id */ conversationID: string; }; -export type v1ApiAppAppIdLogsUsingGetParams = { +export type V1ApiAppAppIdLogsUsingGetParams = { /** 应用id */ appID: string; /** 会话id */ @@ -4332,17 +4332,17 @@ export type v1ApiAppAppIdLogsUsingGetParams = { userID?: string; }; -export type v1ApiAppAppIdMemberRoleUsingPutParams = { +export type V1ApiAppAppIdMemberRoleUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMemberUsingDeleteParams = { +export type V1ApiAppAppIdMemberUsingDeleteParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMemberUsingGetParams = { +export type V1ApiAppAppIdMemberUsingGetParams = { /** 应用id */ appID: string; /** 每页大小 */ @@ -4351,12 +4351,12 @@ export type v1ApiAppAppIdMemberUsingGetParams = { offset: number; }; -export type v1ApiAppAppIdMemberUsingPostParams = { +export type V1ApiAppAppIdMemberUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMessagesUsingGetParams = { +export type V1ApiAppAppIdMessagesUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4365,49 +4365,49 @@ export type v1ApiAppAppIdMessagesUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdModelConfigsUsingPostParams = { +export type V1ApiAppAppIdModelConfigsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdModelConfigsUsingPutParams = { +export type V1ApiAppAppIdModelConfigsUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdModelPromptUsingPostParams = { +export type V1ApiAppAppIdModelPromptUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdOpenApiDeleteUsingDeleteParams = { +export type V1ApiAppAppIdOpenApiDeleteUsingDeleteParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdPluginUsingPutParams = { +export type V1ApiAppAppIdPluginUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdRecommendedContextUsingGetParams = { +export type V1ApiAppAppIdRecommendedContextUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdRecommendedContextUsingPostParams = { +export type V1ApiAppAppIdRecommendedContextUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdShareUsingPutParams = { +export type V1ApiAppAppIdShareUsingPutParams = { /** 应用id */ appID: string; /** 是否h5 */ isH5?: boolean; }; -export type v1ApiAppAppIdTokenUsingGetParams = { +export type V1ApiAppAppIdTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4416,22 +4416,22 @@ export type v1ApiAppAppIdTokenUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdUpdateStatusUsingPutParams = { +export type V1ApiAppAppIdUpdateStatusUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdUpdateUsingPutParams = { +export type V1ApiAppAppIdUpdateUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppH5ShareApiTokenUsingGetParams = { +export type V1ApiAppH5ShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v1ApiAppIdCostUsingPostParams = { +export type V1ApiAppIdCostUsingPostParams = { /** 应用id */ appID: string; /** 会话id */ @@ -4450,27 +4450,27 @@ export type v1ApiAppIdCostUsingPostParams = { userID?: string; }; -export type v1ApiAppListPrivateUsingGetParams = { +export type V1ApiAppListPrivateUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v1ApiAppListPublicUsingGetParams = { +export type V1ApiAppListPublicUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v1ApiAppShareApiTokenUsingGetParams = { +export type V1ApiAppShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v1ApiAttentionAppListUsingGetParams = { +export type V1ApiAttentionAppListUsingGetParams = { /** IAM用户id */ iamID: string; }; -export type v1ApiAttentionMessagesHistoryUsingGetParams = { +export type V1ApiAttentionMessagesHistoryUsingGetParams = { /** IAM ID */ iamID: string; /** 应用id */ @@ -4479,7 +4479,7 @@ export type v1ApiAttentionMessagesHistoryUsingGetParams = { conversationID: string; }; -export type v1ApiAttentionUserAllUsingGetParams = { +export type V1ApiAttentionUserAllUsingGetParams = { /** 登陆用户IAMID */ iamID?: string; /** 用户id */ @@ -4496,7 +4496,7 @@ export type v1ApiAttentionUserAllUsingGetParams = { userName?: string; }; -export type v1ApiAttentionUserListUsingPostParams = { +export type V1ApiAttentionUserListUsingPostParams = { /** IAM ID */ iamID: string; /** 默认10 */ @@ -4505,41 +4505,41 @@ export type v1ApiAttentionUserListUsingPostParams = { offset?: number; }; -export type v1ApiConversationsConversationIdHistoryUsingDeleteParams = { +export type V1ApiConversationsConversationIdHistoryUsingDeleteParams = { /** 会话id */ conversation_id: string; /** 聊天信息id */ message_id: string; }; -export type v1ApiConversationsConversationIdHistoryUsingGetParams = { +export type V1ApiConversationsConversationIdHistoryUsingGetParams = { /** 会话id */ conversation_id: string; }; -export type v1ApiConversationsUsingDeleteParams = { +export type V1ApiConversationsUsingDeleteParams = { /** 会话id */ conversation_id: string; }; -export type v1ApiConversationsUsingGetParams = { +export type V1ApiConversationsUsingGetParams = { /** 用户id,空值不返回 */ user_id?: string; }; -export type v1ApiFeedbacksMessageIdUsingDeleteParams = { +export type V1ApiFeedbacksMessageIdUsingDeleteParams = { /** 消息id */ message_id: string; /** 会话id */ conversation_id: string; }; -export type v1ApiFeedbacksMessageIdUsingPostParams = { +export type V1ApiFeedbacksMessageIdUsingPostParams = { /** 消息id */ message_id: string; }; -export type v1ApiFeedbacksUsingGetParams = { +export type V1ApiFeedbacksUsingGetParams = { conversation_ID?: string; message_ID?: string; /** 页数1开始 */ @@ -4553,36 +4553,36 @@ export type V1ApiFileUsingPostBody = { file: string; }; -export type v1ApiFileUsingPostParams = { +export type V1ApiFileUsingPostParams = { /** 会话id */ conversation_id?: string; /** user id */ user_id?: string; }; -export type v1ApiIamAccountUsingGetParams = { +export type V1ApiIamAccountUsingGetParams = { /** openId */ openId: string; }; -export type v1ApiProviderListUsingGetParams = { +export type V1ApiProviderListUsingGetParams = { /** size */ size?: number; /** offset */ offset?: number; }; -export type v1ApiRobotWorkspaceIdAppkeyStateUsingPostParams = { +export type V1ApiRobotWorkspaceIdAppkeyStateUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingDeleteParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingDeleteParams = { /** 空间ID */ workspaceID: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingGetParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingGetParams = { /** 空间ID */ workspaceID: string; appid: string; @@ -4590,7 +4590,7 @@ export type v1ApiRobotWorkspaceIdAppkeyUsingGetParams = { type: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingPostParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingPostParams = { /** 空间ID */ workspaceID: string; }; @@ -4600,12 +4600,12 @@ export type V1ApiSpeechToTextUsingPostBody = { file: string; }; -export type v1ApiUserInfoUsingGetParams = { +export type V1ApiUserInfoUsingGetParams = { /** 应用id */ appID?: string; }; -export type v1ApiUserUsingGetParams = { +export type V1ApiUserUsingGetParams = { offset?: number; /** 电话号码 */ phone?: string; @@ -4616,27 +4616,27 @@ export type v1ApiUserUsingGetParams = { userName?: string; }; -export type v2ApiAppAppIdDetailsUsingGetParams = { +export type V2ApiAppAppIdDetailsUsingGetParams = { /** 应用id */ appID: string; }; -export type v2ApiAppAppIdUpdateUsingPostParams = { +export type V2ApiAppAppIdUpdateUsingPostParams = { /** 应用id */ appID: string; }; -export type v2ApiAppListUsingGetParams = { +export type V2ApiAppListUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v2ApiAppShareApiTokenUsingGetParams = { +export type V2ApiAppShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v2ApiChatMessagesMessagesCountUsingGetParams = { +export type V2ApiChatMessagesMessagesCountUsingGetParams = { /** 是否查询人均,默认false */ isPerPerson?: boolean; /** 开始时间,秒级时间戳 */ @@ -4650,19 +4650,19 @@ export type V2ApiFileUsingPostBody = { files: unknown[]; }; -export type v2ApiFileUsingPostParams = { +export type V2ApiFileUsingPostParams = { /** 会话id */ conversation_id?: string; /** user id */ user_id?: string; }; -export type v2ApiWorkspacesDefaultUsingPostParams = { +export type V2ApiWorkspacesDefaultUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { +export type V2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { /** 消息id */ messageId: string; }; @@ -4670,14 +4670,14 @@ export type v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostBody = AppDatasets[]; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { /** 应用id */ appID: string; /** 空间ID */ @@ -4686,14 +4686,14 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { datasetID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -4704,7 +4704,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -4715,7 +4715,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { /** 应用id */ appID: string; /** 空间ID */ @@ -4736,7 +4736,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { userID?: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -4747,21 +4747,21 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4770,42 +4770,42 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { /** 空间ID */ workspaceID: string; /** 是否只查看会话过的应用 */ @@ -4814,32 +4814,32 @@ export type v2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { appName?: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = +export type V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; @@ -4847,41 +4847,41 @@ export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = workspaceGroupID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams = { /** 空间ID */ workspaceID: string; /** 分组ID */ workspaceGroupID: string; }; -export type v2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsersUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdUsersUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsersUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdUsersUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; /** userID */ userID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdUsingPostParams = { /** 空间ID */ workspaceID: string; }; @@ -4981,7 +4981,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyStateUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyStateUsingPostParams; + params: API.V1ApiRobotWorkspaceIdAppkeyStateUsingPostParams; body: API.UpdateAppKeyStateReq; options?: { [key: string]: unknown }; }) { @@ -5034,7 +5034,7 @@ export async function v1ApiUserUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserUsingGetParams; + params: API.V1ApiUserUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/user', { @@ -5055,7 +5055,7 @@ export async function v1ApiUserInfoUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserInfoUsingGetParams; + params: API.V1ApiUserInfoUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/user/info', { @@ -5093,7 +5093,7 @@ import * as API from './types'; /** ListUser 系统全局用户列表 GET /llmops/v1/api/user */ export function v1ApiUserUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserUsingGetParams; + params: API.V1ApiUserUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5107,7 +5107,7 @@ export function v1ApiUserUsingGetQueryOptions(options: { /** GetUserInfoByToken 获取iam用户数据 GET /llmops/v1/api/user/info */ export function v1ApiUserInfoUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserInfoUsingGetParams; + params: API.V1ApiUserInfoUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5188,7 +5188,7 @@ export async function v2ApiWorkspacesDefaultUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesDefaultUsingPostParams; + params: API.V2ApiWorkspacesDefaultUsingPostParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v2/api/workspaces-default', { @@ -5207,7 +5207,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdUsingPostParams; body: API.WorkspaceReq; options?: { [key: string]: unknown }; }) { @@ -5227,7 +5227,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5246,7 +5246,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams; body: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -5269,7 +5269,7 @@ export async function v2ApiWorkspacesWorkspaceIdDatasetsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5291,7 +5291,7 @@ export async function v2ApiWorkspacesWorkspaceIdDatasetsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams; body: API.AppDataset; options?: { [key: string]: unknown }; }) { @@ -5311,7 +5311,7 @@ export async function v2ApiWorkspacesWorkspaceIdPermissionsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5332,7 +5332,7 @@ export async function v2ApiWorkspacesWorkspaceIdUserUserIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, userID: param1, ...queryParams } = params; @@ -5353,7 +5353,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsersUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsersUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdUsersUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5375,7 +5375,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsersUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsersUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdUsersUsingPostParams; body: API.WorkspaceUser; options?: { [key: string]: unknown }; }) { @@ -5524,7 +5524,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostMutati /** GetWorkspaceDatasetsList 空间下数据集列表 GET /llmops/v2/api/workspaces/${param0}/datasets */ export function v2ApiWorkspacesWorkspaceIdDatasetsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5560,7 +5560,7 @@ export function useV2ApiWorkspacesWorkspaceIdDatasetsUsingPostMutation(options?: /** GetWorkspaceUserRole 查询空间用户权限 GET /llmops/v2/api/workspaces/${param0}/permissions */ export function v2ApiWorkspacesWorkspaceIdPermissionsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5596,7 +5596,7 @@ export function useV2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteMutation(optio /** GetWorkspaceUsers 查询空间下用户列表 GET /llmops/v2/api/workspaces/${param0}/users */ export function v2ApiWorkspacesWorkspaceIdUsersUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsersUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdUsersUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5656,7 +5656,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams; body: API.UpdateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -5676,7 +5676,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -5697,7 +5697,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -5720,7 +5720,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -5743,7 +5743,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -5767,7 +5767,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams; body: API.UpdateAppStatusReq; options?: { [key: string]: unknown }; }) { @@ -5790,7 +5790,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5811,7 +5811,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsUsingPostParams; body: API.CreateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -5831,7 +5831,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -5854,7 +5854,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -5878,7 +5878,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -5901,7 +5901,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -5922,7 +5922,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -5945,7 +5945,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -5967,7 +5967,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams; body: API.UpdateAppReq; options?: { [key: string]: unknown }; }) { @@ -5991,7 +5991,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams; body: API.UpdateAppGroup; options?: { [key: string]: unknown }; }) { @@ -6014,7 +6014,7 @@ export async function v2ApiWorkspacesRecommendedMessageIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { messageId: param0, ...queryParams } = params; @@ -6080,7 +6080,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppAppIdUsingPostMutation(options?: /** GetAppDetailsV2.1 查询 app 详情 GET /llmops/v2/api/workspaces/${param0}/app/${param1}/details */ export function v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -6096,7 +6096,7 @@ export function v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetQueryOptions(op /** GetSumHourlyMessagesCountV2.1 每小时messages数 GET /llmops/v2/api/workspaces/${param0}/app/${param1}/hourly-messages */ export function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -6115,7 +6115,7 @@ export function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetQueryOpt /** GetSumHourlyTokenV2.1 每小时token数 GET /llmops/v2/api/workspaces/${param0}/app/${param1}/hourly-token */ export function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -6134,7 +6134,7 @@ export function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetQueryOption /** GetSumDailyMessagesCountV2.1 每日messages数 GET /llmops/v2/api/workspaces/${param0}/app/${param1}/messages */ export function v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -6170,7 +6170,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutMutatio /** ListAppV2.1 查询用户关联的 app 列表 GET /llmops/v2/api/workspaces/${param0}/apps */ export function v2ApiWorkspacesWorkspaceIdAppsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -6226,7 +6226,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteMutation /** GetAppLogsV2.1 查询 app 日志与标注 GET /llmops/v2/api/workspaces/${param1}/app/${param0}/logs */ export function v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -6262,7 +6262,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutMutatio /** GetPluginListV2.1 获取插件列表 GET /llmops/v2/api/workspaces/${param1}/app/${param0}/plugin */ export function v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -6278,7 +6278,7 @@ export function v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetQueryOptions(opt /** GetSumDailyTokenV2.1 每日token GET /llmops/v2/api/workspaces/${param1}/app/${param0}/token */ export function v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -6354,7 +6354,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostMutation(opt /** GetAppRecommendedContext 获取自定义推荐问题 & 推荐开关 GET /llmops/v2/api/workspaces/recommended/${param0}/details */ export function v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -6378,7 +6378,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -6400,7 +6400,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsUsingPostParams; body: API.WorkspaceGroupReq; options?: { [key: string]: unknown }; }) { @@ -6424,7 +6424,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPost( options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams; body: API.WorkspaceGroupReq; options?: { [key: string]: unknown }; }) { @@ -6451,7 +6451,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDelet options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { @@ -6481,7 +6481,7 @@ import * as API from './types'; /** GetWorkspaceGroupList 空间分组列表 GET /llmops/v2/api/workspaces/${param0}/groups */ export function v2ApiWorkspacesWorkspaceIdGroupsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 react-query.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 react-query.snap" index 40ab198..d74f08c 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 react-query.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 react-query.snap" @@ -39,7 +39,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingPostParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingPostParams; body: API.AddAppkeyReq; options?: { [key: string]: unknown }; }) { @@ -64,7 +64,7 @@ import * as API from './types'; /** ListApiToken 获取app 的 token 列表 GET /llmops/v1/api/app/${param0}/api-token */ export function v1ApiAppAppIdApiTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdApiTokenUsingGetParams; + params: API.V1ApiAppAppIdApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -106,7 +106,7 @@ export async function v1ApiAppAppIdApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdApiTokenUsingGetParams; + params: API.V1ApiAppAppIdApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -129,7 +129,7 @@ export async function v1ApiAppAppIdApiTokenUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdApiTokenUsingPostParams; + params: API.V1ApiAppAppIdApiTokenUsingPostParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -215,7 +215,7 @@ export function useV1ApiAppAppIdOpenApiDeleteUsingDeleteMutation(options?: { /** GetAppDetails 查询 app 详情 GET /llmops/v1/api/app/${param0}/details */ export function v1ApiAppAppIdDetailsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDetailsUsingGetParams; + params: API.V1ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -229,7 +229,7 @@ export function v1ApiAppAppIdDetailsUsingGetQueryOptions(options: { /** GetSumHourlyMessagesCount 每小时messages数 GET /llmops/v1/api/app/${param0}/hourly-messages */ export function v1ApiAppAppIdHourlyMessagesUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyMessagesUsingGetParams; + params: API.V1ApiAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -245,7 +245,7 @@ export function v1ApiAppAppIdHourlyMessagesUsingGetQueryOptions(options: { /** GetSumHourlyToken 每小时token数 GET /llmops/v1/api/app/${param0}/hourly-token */ export function v1ApiAppAppIdHourlyTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyTokenUsingGetParams; + params: API.V1ApiAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -261,7 +261,7 @@ export function v1ApiAppAppIdHourlyTokenUsingGetQueryOptions(options: { /** GetAppLogs 查询 app 日志与标注 GET /llmops/v1/api/app/${param0}/logs */ export function v1ApiAppAppIdLogsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsUsingGetParams; + params: API.V1ApiAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -275,7 +275,7 @@ export function v1ApiAppAppIdLogsUsingGetQueryOptions(options: { /** GetLogsMessages 查询 app 日志与标注消息详情 GET /llmops/v1/api/app/${param0}/logs/${param1}/messages */ export function v1ApiAppAppIdLogsConversationIdMessagesUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -291,7 +291,7 @@ export function v1ApiAppAppIdLogsConversationIdMessagesUsingGetQueryOptions(opti /** GetSumDailyMessagesCount 每日messages数 GET /llmops/v1/api/app/${param0}/messages */ export function v1ApiAppAppIdMessagesUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -325,7 +325,7 @@ export function useV1ApiAppAppIdShareUsingPutMutation(options?: { /** GetSumDailyToken 每日token GET /llmops/v1/api/app/${param0}/token */ export function v1ApiAppAppIdTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdTokenUsingGetParams; + params: API.V1ApiAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -415,7 +415,7 @@ export function v1ApiAppListPickUsingGetQueryOptions(options: { /** ListAppByUser 查询用户关联的 app 列表 GET /llmops/v1/api/app/list-private */ export function v1ApiAppListPrivateUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPrivateUsingGetParams; + params: API.V1ApiAppListPrivateUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -429,7 +429,7 @@ export function v1ApiAppListPrivateUsingGetQueryOptions(options: { /** ListAppPublic 查询公共 app 列表 GET /llmops/v1/api/app/list-public */ export function v1ApiAppListPublicUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPublicUsingGetParams; + params: API.V1ApiAppListPublicUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -451,7 +451,7 @@ export async function v1ApiAppIdCostUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppIdCostUsingPostParams; + params: API.V1ApiAppIdCostUsingPostParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -486,7 +486,7 @@ export async function v1ApiAppAppIdOpenApiDeleteUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdOpenApiDeleteUsingDeleteParams; + params: API.V1ApiAppAppIdOpenApiDeleteUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -504,7 +504,7 @@ export async function v1ApiAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDetailsUsingGetParams; + params: API.V1ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -522,7 +522,7 @@ export async function v1ApiAppAppIdHourlyMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyMessagesUsingGetParams; + params: API.V1ApiAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -545,7 +545,7 @@ export async function v1ApiAppAppIdHourlyTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyTokenUsingGetParams; + params: API.V1ApiAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -568,7 +568,7 @@ export async function v1ApiAppAppIdLogsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsUsingGetParams; + params: API.V1ApiAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -591,7 +591,7 @@ export async function v1ApiAppAppIdLogsConversationIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, conversationID: param1, ...queryParams } = params; @@ -612,7 +612,7 @@ export async function v1ApiAppAppIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -635,7 +635,7 @@ export async function v1ApiAppAppIdShareUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdShareUsingPutParams; + params: API.V1ApiAppAppIdShareUsingPutParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -658,7 +658,7 @@ export async function v1ApiAppAppIdTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdTokenUsingGetParams; + params: API.V1ApiAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -682,7 +682,7 @@ export async function v1ApiAppAppIdUpdateUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdUpdateUsingPutParams; + params: API.V1ApiAppAppIdUpdateUsingPutParams; body: API.UpdateAppReq; options?: { [key: string]: unknown }; }) { @@ -703,7 +703,7 @@ export async function v1ApiAppAppIdUpdateStatusUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdUpdateStatusUsingPutParams; + params: API.V1ApiAppAppIdUpdateStatusUsingPutParams; body: API.ReleaseDiscoverReq; options?: { [key: string]: unknown }; }) { @@ -759,7 +759,7 @@ export async function v1ApiAppListPrivateUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPrivateUsingGetParams; + params: API.V1ApiAppListPrivateUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/app/list-private', { @@ -777,7 +777,7 @@ export async function v1ApiAppListPublicUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPublicUsingGetParams; + params: API.V1ApiAppListPublicUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/app/list-public', { @@ -800,7 +800,7 @@ import * as API from './types'; /** GetAppDatasetConfigsList 查询应用知识库查询配置 GET /llmops/v1/api/app/${param0}/dataset-configs */ export function v1ApiAppAppIdDatasetConfigsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingGetParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -884,7 +884,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingGetParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -906,7 +906,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingPutParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingPutParams; body: API.AppDatasetConfigs; options?: { [key: string]: unknown }; }) { @@ -927,7 +927,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingPostParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingPostParams; body: API.AppDatasetConfigs; options?: { [key: string]: unknown }; }) { @@ -947,7 +947,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingDeleteParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -972,7 +972,7 @@ import * as API from './types'; /** ListMember app下的用户列表 GET /llmops/v1/api/app/${param0}/member */ export function v1ApiAppAppIdMemberUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingGetParams; + params: API.V1ApiAppAppIdMemberUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1054,7 +1054,7 @@ export async function v1ApiAppAppIdMemberUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingGetParams; + params: API.V1ApiAppAppIdMemberUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -1075,7 +1075,7 @@ export async function v1ApiAppAppIdMemberUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingPostParams; + params: API.V1ApiAppAppIdMemberUsingPostParams; body: API.MemberBody; options?: { [key: string]: unknown }; }) { @@ -1096,7 +1096,7 @@ export async function v1ApiAppAppIdMemberUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingDeleteParams; + params: API.V1ApiAppAppIdMemberUsingDeleteParams; body: API.DeleteMemberBody; options?: { [key: string]: unknown }; }) { @@ -1117,7 +1117,7 @@ export async function v1ApiAppAppIdMemberRoleUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberRoleUsingPutParams; + params: API.V1ApiAppAppIdMemberRoleUsingPutParams; body: API.MemberBody; options?: { [key: string]: unknown }; }) { @@ -1231,7 +1231,7 @@ export async function v1ApiAppAppIdModelConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelConfigsUsingPutParams; + params: API.V1ApiAppAppIdModelConfigsUsingPutParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -1252,7 +1252,7 @@ export async function v1ApiAppAppIdModelConfigsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelConfigsUsingPostParams; + params: API.V1ApiAppAppIdModelConfigsUsingPostParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -1273,7 +1273,7 @@ export async function v1ApiAppAppIdModelPromptUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelPromptUsingPostParams; + params: API.V1ApiAppAppIdModelPromptUsingPostParams; body: API.AppModelConfigPromptPrefix; options?: { [key: string]: unknown }; }) { @@ -1293,7 +1293,7 @@ export async function v1ApiAppAppIdPluginUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdPluginUsingPutParams; + params: API.V1ApiAppAppIdPluginUsingPutParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -1336,7 +1336,7 @@ export function useV2ApiAppUsingPostMutation(options?: { /** GetAppDetailsV2 查询 app 详情 GET /llmops/v2/api/app/${param0}/details */ export function v2ApiAppAppIdDetailsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppAppIdDetailsUsingGetParams; + params: API.V2ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1370,7 +1370,7 @@ export function useV2ApiAppAppIdUpdateUsingPostMutation(options?: { /** ListAppV2 查询用户关联的 app 列表 GET /llmops/v2/api/app/list */ export function v2ApiAppListUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppListUsingGetParams; + params: API.V2ApiAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1384,7 +1384,7 @@ export function v2ApiAppListUsingGetQueryOptions(options: { /** GetApiTokenV2 获取一个 app token GET /llmops/v2/api/app/share/api-token */ export function v2ApiAppShareApiTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppShareApiTokenUsingGetParams; + params: API.V2ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1421,7 +1421,7 @@ export async function v2ApiAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppAppIdDetailsUsingGetParams; + params: API.V2ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -1440,7 +1440,7 @@ export async function v2ApiAppAppIdUpdateUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppAppIdUpdateUsingPostParams; + params: API.V2ApiAppAppIdUpdateUsingPostParams; body: API.UpdateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -1460,7 +1460,7 @@ export async function v2ApiAppListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppListUsingGetParams; + params: API.V2ApiAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v2/api/app/list', { @@ -1478,7 +1478,7 @@ export async function v2ApiAppShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppShareApiTokenUsingGetParams; + params: API.V2ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -1504,7 +1504,7 @@ import * as API from './types'; /** ListAttentionApp 应用列表 GET /llmops/v1/api/attention/app/list */ export function v1ApiAttentionAppListUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionAppListUsingGetParams; + params: API.V1ApiAttentionAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1578,7 +1578,7 @@ export function useV1ApiAttentionMessagesCountUsingPostMutation(options?: { /** GetAttentionMessagesHistory 获取聊天历史 GET /llmops/v1/api/attention/messages/history */ export function v1ApiAttentionMessagesHistoryUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionMessagesHistoryUsingGetParams; + params: API.V1ApiAttentionMessagesHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1614,7 +1614,7 @@ export function useV1ApiAttentionUserUsingPostMutation(options?: { /** ListAllUser 系统全局用户列表 GET /llmops/v1/api/attention/user/all */ export function v1ApiAttentionUserAllUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionUserAllUsingGetParams; + params: API.V1ApiAttentionUserAllUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1676,7 +1676,7 @@ export async function v1ApiAttentionAppListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionAppListUsingGetParams; + params: API.V1ApiAttentionAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/attention/app/list', { @@ -1748,7 +1748,7 @@ export async function v1ApiAttentionMessagesHistoryUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionMessagesHistoryUsingGetParams; + params: API.V1ApiAttentionMessagesHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -1784,7 +1784,7 @@ export async function v1ApiAttentionUserAllUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionUserAllUsingGetParams; + params: API.V1ApiAttentionUserAllUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -1823,7 +1823,7 @@ export async function v1ApiAttentionUserListUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionUserListUsingPostParams; + params: API.V1ApiAttentionUserListUsingPostParams; options?: { [key: string]: unknown }; }) { return request( @@ -1849,7 +1849,7 @@ import * as API from './types'; /** Authorize 获取code的跳转 GET /llmops/auth/authorize */ export function authAuthorizeUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authAuthorizeUsingGetParams; + params: API.AuthAuthorizeUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -1871,7 +1871,7 @@ export async function authAuthorizeUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authAuthorizeUsingGetParams; + params: API.AuthAuthorizeUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/auth/authorize', { @@ -2103,7 +2103,7 @@ import * as API from './types'; /** ConversationList 会话历史 GET /llmops/v1/api/conversations */ export function v1ApiConversationsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsUsingGetParams; + params: API.V1ApiConversationsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2145,7 +2145,7 @@ export async function v1ApiConversationsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsUsingGetParams; + params: API.V1ApiConversationsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/conversations', { @@ -2163,7 +2163,7 @@ export async function v1ApiConversationsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsUsingDeleteParams; + params: API.V1ApiConversationsUsingDeleteParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/conversations', { @@ -2215,7 +2215,7 @@ export async function v1ApiFeedbacksMessageIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksMessageIdUsingPostParams; + params: API.V1ApiFeedbacksMessageIdUsingPostParams; body: API.FeedbacksReqBody; options?: { [key: string]: unknown }; }) { @@ -2295,7 +2295,7 @@ export async function v1ApiAppAppIdDatasetsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsUsingPostParams; + params: API.V1ApiAppAppIdDatasetsUsingPostParams; body: API.V1ApiAppAppIdDatasetsUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -2315,7 +2315,7 @@ export async function v1ApiAppAppIdDatasetsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsUsingDeleteParams; + params: API.V1ApiAppAppIdDatasetsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -2340,7 +2340,7 @@ import * as API from './types'; /** GetDatasetsList 数据集列表 GET /llmops/v1/api/app/${param0}/datasets-list */ export function v1ApiAppAppIdDatasetsListUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsListUsingGetParams; + params: API.V1ApiAppAppIdDatasetsListUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2364,7 +2364,7 @@ export async function v1ApiAppAppIdDatasetsListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsListUsingGetParams; + params: API.V1ApiAppAppIdDatasetsListUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -2420,7 +2420,7 @@ export async function v1ApiFeedbacksMessageIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksMessageIdUsingDeleteParams; + params: API.V1ApiFeedbacksMessageIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { message_id: param0, ...queryParams } = params; @@ -2477,7 +2477,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingDeleteParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingDeleteParams; body: API.GetAppKeyReq; options?: { [key: string]: unknown }; }) { @@ -2537,7 +2537,7 @@ import * as API from './types'; /** Exchange 换取token GET /llmops/auth/exchange */ export function authExchangeUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authExchangeUsingGetParams; + params: API.AuthExchangeUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2559,7 +2559,7 @@ export async function authExchangeUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authExchangeUsingGetParams; + params: API.AuthExchangeUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/auth/exchange', { @@ -2671,7 +2671,7 @@ export async function v1ApiFileUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFileUsingPostParams; + params: API.V1ApiFileUsingPostParams; body: API.V1ApiFileUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -2731,7 +2731,7 @@ export async function v2ApiFileUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiFileUsingPostParams; + params: API.V2ApiFileUsingPostParams; body: API.V2ApiFileUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -2777,7 +2777,7 @@ import * as API from './types'; /** GetAppKey 为应用获取各种类型机器人appkey GET /llmops/v1/api/robot/${param0}/appkey */ export function v1ApiRobotWorkspaceIdAppkeyUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingGetParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2801,7 +2801,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingGetParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -2826,7 +2826,7 @@ import * as API from './types'; /** History 会话历史 GET /llmops/v1/api/conversations/${param0}/history */ export function v1ApiConversationsConversationIdHistoryUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsConversationIdHistoryUsingGetParams; + params: API.V1ApiConversationsConversationIdHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2862,7 +2862,7 @@ export function useV1ApiConversationsConversationIdHistoryUsingDeleteMutation(op /** GetMessageCount 用于微精灵获取消息数的v2版本 GET /llmops/v2/api/chat-messages/messagesCount */ export function v2ApiChatMessagesMessagesCountUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiChatMessagesMessagesCountUsingGetParams; + params: API.V2ApiChatMessagesMessagesCountUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2886,7 +2886,7 @@ export async function v1ApiConversationsConversationIdHistoryUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsConversationIdHistoryUsingGetParams; + params: API.V1ApiConversationsConversationIdHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { const { conversation_id: param0, ...queryParams } = params; @@ -2907,7 +2907,7 @@ export async function v1ApiConversationsConversationIdHistoryUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsConversationIdHistoryUsingDeleteParams; + params: API.V1ApiConversationsConversationIdHistoryUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { conversation_id: param0, ...queryParams } = params; @@ -2930,7 +2930,7 @@ export async function v2ApiChatMessagesMessagesCountUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiChatMessagesMessagesCountUsingGetParams; + params: API.V2ApiChatMessagesMessagesCountUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -2956,7 +2956,7 @@ import * as API from './types'; /** GetIamUserId 查询 IAM 用户信息 GET /llmops/v1/api/iamAccount */ export function v1ApiIamAccountUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiIamAccountUsingGetParams; + params: API.V1ApiIamAccountUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -2978,7 +2978,7 @@ export async function v1ApiIamAccountUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiIamAccountUsingGetParams; + params: API.V1ApiIamAccountUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/iamAccount', { @@ -3068,7 +3068,7 @@ import * as API from './types'; /** ListFeedbacks ListFeedbacks GET /llmops/v1/api/feedbacks/ */ export function v1ApiFeedbacksUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksUsingGetParams; + params: API.V1ApiFeedbacksUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -3090,7 +3090,7 @@ export async function v1ApiFeedbacksUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksUsingGetParams; + params: API.V1ApiFeedbacksUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/feedbacks/', { @@ -3113,7 +3113,7 @@ import * as API from './types'; /** ListProviders 查询 Provider 列表 GET /llmops/v1/api/provider/list */ export function v1ApiProviderListUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiProviderListUsingGetParams; + params: API.V1ApiProviderListUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -3135,7 +3135,7 @@ export async function v1ApiProviderListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiProviderListUsingGetParams; + params: API.V1ApiProviderListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/provider/list', { @@ -3158,7 +3158,7 @@ import * as API from './types'; /** ListRecommendedContext 查询推荐内容列表 GET /llmops/v1/api/app/${param0}/recommended/context */ export function v1ApiAppAppIdRecommendedContextUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdRecommendedContextUsingGetParams; + params: API.V1ApiAppAppIdRecommendedContextUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -3202,7 +3202,7 @@ export async function v1ApiAppAppIdRecommendedContextUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdRecommendedContextUsingGetParams; + params: API.V1ApiAppAppIdRecommendedContextUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -3224,7 +3224,7 @@ export async function v1ApiAppAppIdRecommendedContextUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdRecommendedContextUsingPostParams; + params: API.V1ApiAppAppIdRecommendedContextUsingPostParams; body: API.AppRecommendedContext; options?: { [key: string]: unknown }; }) { @@ -3297,7 +3297,7 @@ import * as API from './types'; /** H5GetApiToken 获取一个 app token h5版 GET /llmops/v1/api/app/h5/share/api-token */ export function v1ApiAppH5ShareApiTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppH5ShareApiTokenUsingGetParams; + params: API.V1ApiAppH5ShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -3313,7 +3313,7 @@ export function v1ApiAppH5ShareApiTokenUsingGetQueryOptions(options: { /** GetApiToken 获取一个 app token GET /llmops/v1/api/app/share/api-token */ export function v1ApiAppShareApiTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppShareApiTokenUsingGetParams; + params: API.V1ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -3335,7 +3335,7 @@ export async function v1ApiAppH5ShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppH5ShareApiTokenUsingGetParams; + params: API.V1ApiAppH5ShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -3356,7 +3356,7 @@ export async function v1ApiAppShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppShareApiTokenUsingGetParams; + params: API.V1ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -3615,14 +3615,14 @@ export type AttentionUserResp = { userName?: string; }; -export type authAuthorizeUsingGetParams = { +export type AuthAuthorizeUsingGetParams = { /** 业务回调地址 */ redirect_uri: string; /** 保持请求和回调的状态,授权成功后会回传该参数 */ state?: string; }; -export type authExchangeUsingGetParams = { +export type AuthExchangeUsingGetParams = { /** code */ code: string; /** 业务回调地址 */ @@ -4224,7 +4224,7 @@ export type UserWithAppData = { userName?: string; }; -export type v1ApiAppAppIdApiTokenUsingGetParams = { +export type V1ApiAppAppIdApiTokenUsingGetParams = { /** 应用id */ appID: string; /** 每页大小 */ @@ -4233,34 +4233,34 @@ export type v1ApiAppAppIdApiTokenUsingGetParams = { offset: number; }; -export type v1ApiAppAppIdApiTokenUsingPostParams = { +export type V1ApiAppAppIdApiTokenUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingDeleteParams = { +export type V1ApiAppAppIdDatasetConfigsUsingDeleteParams = { /** 应用id */ appID: string; /** 应用知识库配置id */ appDatasetConfigID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingGetParams = { +export type V1ApiAppAppIdDatasetConfigsUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingPostParams = { +export type V1ApiAppAppIdDatasetConfigsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingPutParams = { +export type V1ApiAppAppIdDatasetConfigsUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetsListUsingGetParams = { +export type V1ApiAppAppIdDatasetsListUsingGetParams = { /** 应用id */ appID: string; /** size */ @@ -4269,7 +4269,7 @@ export type v1ApiAppAppIdDatasetsListUsingGetParams = { offset?: number; }; -export type v1ApiAppAppIdDatasetsUsingDeleteParams = { +export type V1ApiAppAppIdDatasetsUsingDeleteParams = { /** 应用id */ appID: string; /** 数据集id */ @@ -4278,17 +4278,17 @@ export type v1ApiAppAppIdDatasetsUsingDeleteParams = { export type V1ApiAppAppIdDatasetsUsingPostBody = AppDatasets[]; -export type v1ApiAppAppIdDatasetsUsingPostParams = { +export type V1ApiAppAppIdDatasetsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDetailsUsingGetParams = { +export type V1ApiAppAppIdDetailsUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdHourlyMessagesUsingGetParams = { +export type V1ApiAppAppIdHourlyMessagesUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4297,7 +4297,7 @@ export type v1ApiAppAppIdHourlyMessagesUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdHourlyTokenUsingGetParams = { +export type V1ApiAppAppIdHourlyTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4306,14 +4306,14 @@ export type v1ApiAppAppIdHourlyTokenUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdLogsConversationIdMessagesUsingGetParams = { +export type V1ApiAppAppIdLogsConversationIdMessagesUsingGetParams = { /** 应用id */ appID: string; /** 会话id */ conversationID: string; }; -export type v1ApiAppAppIdLogsUsingGetParams = { +export type V1ApiAppAppIdLogsUsingGetParams = { /** 应用id */ appID: string; /** 会话id */ @@ -4332,17 +4332,17 @@ export type v1ApiAppAppIdLogsUsingGetParams = { userID?: string; }; -export type v1ApiAppAppIdMemberRoleUsingPutParams = { +export type V1ApiAppAppIdMemberRoleUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMemberUsingDeleteParams = { +export type V1ApiAppAppIdMemberUsingDeleteParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMemberUsingGetParams = { +export type V1ApiAppAppIdMemberUsingGetParams = { /** 应用id */ appID: string; /** 每页大小 */ @@ -4351,12 +4351,12 @@ export type v1ApiAppAppIdMemberUsingGetParams = { offset: number; }; -export type v1ApiAppAppIdMemberUsingPostParams = { +export type V1ApiAppAppIdMemberUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMessagesUsingGetParams = { +export type V1ApiAppAppIdMessagesUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4365,49 +4365,49 @@ export type v1ApiAppAppIdMessagesUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdModelConfigsUsingPostParams = { +export type V1ApiAppAppIdModelConfigsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdModelConfigsUsingPutParams = { +export type V1ApiAppAppIdModelConfigsUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdModelPromptUsingPostParams = { +export type V1ApiAppAppIdModelPromptUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdOpenApiDeleteUsingDeleteParams = { +export type V1ApiAppAppIdOpenApiDeleteUsingDeleteParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdPluginUsingPutParams = { +export type V1ApiAppAppIdPluginUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdRecommendedContextUsingGetParams = { +export type V1ApiAppAppIdRecommendedContextUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdRecommendedContextUsingPostParams = { +export type V1ApiAppAppIdRecommendedContextUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdShareUsingPutParams = { +export type V1ApiAppAppIdShareUsingPutParams = { /** 应用id */ appID: string; /** 是否h5 */ isH5?: boolean; }; -export type v1ApiAppAppIdTokenUsingGetParams = { +export type V1ApiAppAppIdTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4416,22 +4416,22 @@ export type v1ApiAppAppIdTokenUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdUpdateStatusUsingPutParams = { +export type V1ApiAppAppIdUpdateStatusUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdUpdateUsingPutParams = { +export type V1ApiAppAppIdUpdateUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppH5ShareApiTokenUsingGetParams = { +export type V1ApiAppH5ShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v1ApiAppIdCostUsingPostParams = { +export type V1ApiAppIdCostUsingPostParams = { /** 应用id */ appID: string; /** 会话id */ @@ -4450,27 +4450,27 @@ export type v1ApiAppIdCostUsingPostParams = { userID?: string; }; -export type v1ApiAppListPrivateUsingGetParams = { +export type V1ApiAppListPrivateUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v1ApiAppListPublicUsingGetParams = { +export type V1ApiAppListPublicUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v1ApiAppShareApiTokenUsingGetParams = { +export type V1ApiAppShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v1ApiAttentionAppListUsingGetParams = { +export type V1ApiAttentionAppListUsingGetParams = { /** IAM用户id */ iamID: string; }; -export type v1ApiAttentionMessagesHistoryUsingGetParams = { +export type V1ApiAttentionMessagesHistoryUsingGetParams = { /** IAM ID */ iamID: string; /** 应用id */ @@ -4479,7 +4479,7 @@ export type v1ApiAttentionMessagesHistoryUsingGetParams = { conversationID: string; }; -export type v1ApiAttentionUserAllUsingGetParams = { +export type V1ApiAttentionUserAllUsingGetParams = { /** 登陆用户IAMID */ iamID?: string; /** 用户id */ @@ -4496,7 +4496,7 @@ export type v1ApiAttentionUserAllUsingGetParams = { userName?: string; }; -export type v1ApiAttentionUserListUsingPostParams = { +export type V1ApiAttentionUserListUsingPostParams = { /** IAM ID */ iamID: string; /** 默认10 */ @@ -4505,41 +4505,41 @@ export type v1ApiAttentionUserListUsingPostParams = { offset?: number; }; -export type v1ApiConversationsConversationIdHistoryUsingDeleteParams = { +export type V1ApiConversationsConversationIdHistoryUsingDeleteParams = { /** 会话id */ conversation_id: string; /** 聊天信息id */ message_id: string; }; -export type v1ApiConversationsConversationIdHistoryUsingGetParams = { +export type V1ApiConversationsConversationIdHistoryUsingGetParams = { /** 会话id */ conversation_id: string; }; -export type v1ApiConversationsUsingDeleteParams = { +export type V1ApiConversationsUsingDeleteParams = { /** 会话id */ conversation_id: string; }; -export type v1ApiConversationsUsingGetParams = { +export type V1ApiConversationsUsingGetParams = { /** 用户id,空值不返回 */ user_id?: string; }; -export type v1ApiFeedbacksMessageIdUsingDeleteParams = { +export type V1ApiFeedbacksMessageIdUsingDeleteParams = { /** 消息id */ message_id: string; /** 会话id */ conversation_id: string; }; -export type v1ApiFeedbacksMessageIdUsingPostParams = { +export type V1ApiFeedbacksMessageIdUsingPostParams = { /** 消息id */ message_id: string; }; -export type v1ApiFeedbacksUsingGetParams = { +export type V1ApiFeedbacksUsingGetParams = { conversation_ID?: string; message_ID?: string; /** 页数1开始 */ @@ -4553,36 +4553,36 @@ export type V1ApiFileUsingPostBody = { file: string; }; -export type v1ApiFileUsingPostParams = { +export type V1ApiFileUsingPostParams = { /** 会话id */ conversation_id?: string; /** user id */ user_id?: string; }; -export type v1ApiIamAccountUsingGetParams = { +export type V1ApiIamAccountUsingGetParams = { /** openId */ openId: string; }; -export type v1ApiProviderListUsingGetParams = { +export type V1ApiProviderListUsingGetParams = { /** size */ size?: number; /** offset */ offset?: number; }; -export type v1ApiRobotWorkspaceIdAppkeyStateUsingPostParams = { +export type V1ApiRobotWorkspaceIdAppkeyStateUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingDeleteParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingDeleteParams = { /** 空间ID */ workspaceID: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingGetParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingGetParams = { /** 空间ID */ workspaceID: string; appid: string; @@ -4590,7 +4590,7 @@ export type v1ApiRobotWorkspaceIdAppkeyUsingGetParams = { type: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingPostParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingPostParams = { /** 空间ID */ workspaceID: string; }; @@ -4600,12 +4600,12 @@ export type V1ApiSpeechToTextUsingPostBody = { file: string; }; -export type v1ApiUserInfoUsingGetParams = { +export type V1ApiUserInfoUsingGetParams = { /** 应用id */ appID?: string; }; -export type v1ApiUserUsingGetParams = { +export type V1ApiUserUsingGetParams = { offset?: number; /** 电话号码 */ phone?: string; @@ -4616,27 +4616,27 @@ export type v1ApiUserUsingGetParams = { userName?: string; }; -export type v2ApiAppAppIdDetailsUsingGetParams = { +export type V2ApiAppAppIdDetailsUsingGetParams = { /** 应用id */ appID: string; }; -export type v2ApiAppAppIdUpdateUsingPostParams = { +export type V2ApiAppAppIdUpdateUsingPostParams = { /** 应用id */ appID: string; }; -export type v2ApiAppListUsingGetParams = { +export type V2ApiAppListUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v2ApiAppShareApiTokenUsingGetParams = { +export type V2ApiAppShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v2ApiChatMessagesMessagesCountUsingGetParams = { +export type V2ApiChatMessagesMessagesCountUsingGetParams = { /** 是否查询人均,默认false */ isPerPerson?: boolean; /** 开始时间,秒级时间戳 */ @@ -4650,19 +4650,19 @@ export type V2ApiFileUsingPostBody = { files: unknown[]; }; -export type v2ApiFileUsingPostParams = { +export type V2ApiFileUsingPostParams = { /** 会话id */ conversation_id?: string; /** user id */ user_id?: string; }; -export type v2ApiWorkspacesDefaultUsingPostParams = { +export type V2ApiWorkspacesDefaultUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { +export type V2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { /** 消息id */ messageId: string; }; @@ -4670,14 +4670,14 @@ export type v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostBody = AppDatasets[]; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { /** 应用id */ appID: string; /** 空间ID */ @@ -4686,14 +4686,14 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { datasetID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -4704,7 +4704,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -4715,7 +4715,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { /** 应用id */ appID: string; /** 空间ID */ @@ -4736,7 +4736,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { userID?: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -4747,21 +4747,21 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4770,42 +4770,42 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { /** 空间ID */ workspaceID: string; /** 是否只查看会话过的应用 */ @@ -4814,32 +4814,32 @@ export type v2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { appName?: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = +export type V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; @@ -4847,41 +4847,41 @@ export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = workspaceGroupID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams = { /** 空间ID */ workspaceID: string; /** 分组ID */ workspaceGroupID: string; }; -export type v2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsersUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdUsersUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsersUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdUsersUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; /** userID */ userID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdUsingPostParams = { /** 空间ID */ workspaceID: string; }; @@ -5009,7 +5009,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyStateUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyStateUsingPostParams; + params: API.V1ApiRobotWorkspaceIdAppkeyStateUsingPostParams; body: API.UpdateAppKeyStateReq; options?: { [key: string]: unknown }; }) { @@ -5034,7 +5034,7 @@ import * as API from './types'; /** ListUser 系统全局用户列表 GET /llmops/v1/api/user */ export function v1ApiUserUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserUsingGetParams; + params: API.V1ApiUserUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5048,7 +5048,7 @@ export function v1ApiUserUsingGetQueryOptions(options: { /** GetUserInfoByToken 获取iam用户数据 GET /llmops/v1/api/user/info */ export function v1ApiUserInfoUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserInfoUsingGetParams; + params: API.V1ApiUserInfoUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5090,7 +5090,7 @@ export async function v1ApiUserUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserUsingGetParams; + params: API.V1ApiUserUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/user', { @@ -5111,7 +5111,7 @@ export async function v1ApiUserInfoUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserInfoUsingGetParams; + params: API.V1ApiUserInfoUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/user/info', { @@ -5273,7 +5273,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostMutati /** GetWorkspaceDatasetsList 空间下数据集列表 GET /llmops/v2/api/workspaces/${param0}/datasets */ export function v2ApiWorkspacesWorkspaceIdDatasetsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5309,7 +5309,7 @@ export function useV2ApiWorkspacesWorkspaceIdDatasetsUsingPostMutation(options?: /** GetWorkspaceUserRole 查询空间用户权限 GET /llmops/v2/api/workspaces/${param0}/permissions */ export function v2ApiWorkspacesWorkspaceIdPermissionsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5345,7 +5345,7 @@ export function useV2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteMutation(optio /** GetWorkspaceUsers 查询空间下用户列表 GET /llmops/v2/api/workspaces/${param0}/users */ export function v2ApiWorkspacesWorkspaceIdUsersUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsersUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdUsersUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5428,7 +5428,7 @@ export async function v2ApiWorkspacesDefaultUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesDefaultUsingPostParams; + params: API.V2ApiWorkspacesDefaultUsingPostParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v2/api/workspaces-default', { @@ -5447,7 +5447,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdUsingPostParams; body: API.WorkspaceReq; options?: { [key: string]: unknown }; }) { @@ -5467,7 +5467,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5486,7 +5486,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams; body: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -5509,7 +5509,7 @@ export async function v2ApiWorkspacesWorkspaceIdDatasetsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5531,7 +5531,7 @@ export async function v2ApiWorkspacesWorkspaceIdDatasetsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams; body: API.AppDataset; options?: { [key: string]: unknown }; }) { @@ -5551,7 +5551,7 @@ export async function v2ApiWorkspacesWorkspaceIdPermissionsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5572,7 +5572,7 @@ export async function v2ApiWorkspacesWorkspaceIdUserUserIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, userID: param1, ...queryParams } = params; @@ -5593,7 +5593,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsersUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsersUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdUsersUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5615,7 +5615,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsersUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsersUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdUsersUsingPostParams; body: API.WorkspaceUser; options?: { [key: string]: unknown }; }) { @@ -5680,7 +5680,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppAppIdUsingPostMutation(options?: /** GetAppDetailsV2.1 查询 app 详情 GET /llmops/v2/api/workspaces/${param0}/app/${param1}/details */ export function v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5696,7 +5696,7 @@ export function v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetQueryOptions(op /** GetSumHourlyMessagesCountV2.1 每小时messages数 GET /llmops/v2/api/workspaces/${param0}/app/${param1}/hourly-messages */ export function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5715,7 +5715,7 @@ export function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetQueryOpt /** GetSumHourlyTokenV2.1 每小时token数 GET /llmops/v2/api/workspaces/${param0}/app/${param1}/hourly-token */ export function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5734,7 +5734,7 @@ export function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetQueryOption /** GetSumDailyMessagesCountV2.1 每日messages数 GET /llmops/v2/api/workspaces/${param0}/app/${param1}/messages */ export function v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5770,7 +5770,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutMutatio /** ListAppV2.1 查询用户关联的 app 列表 GET /llmops/v2/api/workspaces/${param0}/apps */ export function v2ApiWorkspacesWorkspaceIdAppsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5826,7 +5826,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteMutation /** GetAppLogsV2.1 查询 app 日志与标注 GET /llmops/v2/api/workspaces/${param1}/app/${param0}/logs */ export function v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5862,7 +5862,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutMutatio /** GetPluginListV2.1 获取插件列表 GET /llmops/v2/api/workspaces/${param1}/app/${param0}/plugin */ export function v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5878,7 +5878,7 @@ export function v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetQueryOptions(opt /** GetSumDailyTokenV2.1 每日token GET /llmops/v2/api/workspaces/${param1}/app/${param0}/token */ export function v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5954,7 +5954,7 @@ export function useV2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostMutation(opt /** GetAppRecommendedContext 获取自定义推荐问题 & 推荐开关 GET /llmops/v2/api/workspaces/recommended/${param0}/details */ export function v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -5994,7 +5994,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams; body: API.UpdateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -6014,7 +6014,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -6035,7 +6035,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -6058,7 +6058,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -6081,7 +6081,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -6105,7 +6105,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams; body: API.UpdateAppStatusReq; options?: { [key: string]: unknown }; }) { @@ -6128,7 +6128,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -6149,7 +6149,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsUsingPostParams; body: API.CreateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -6169,7 +6169,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -6192,7 +6192,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -6216,7 +6216,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -6239,7 +6239,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -6260,7 +6260,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -6283,7 +6283,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -6305,7 +6305,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams; body: API.UpdateAppReq; options?: { [key: string]: unknown }; }) { @@ -6329,7 +6329,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams; body: API.UpdateAppGroup; options?: { [key: string]: unknown }; }) { @@ -6352,7 +6352,7 @@ export async function v2ApiWorkspacesRecommendedMessageIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { messageId: param0, ...queryParams } = params; @@ -6378,7 +6378,7 @@ import * as API from './types'; /** GetWorkspaceGroupList 空间分组列表 GET /llmops/v2/api/workspaces/${param0}/groups */ export function v2ApiWorkspacesWorkspaceIdGroupsUsingGetQueryOptions(options: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; options?: { [key: string]: unknown }; }) { return queryOptions({ @@ -6463,7 +6463,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -6485,7 +6485,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsUsingPostParams; body: API.WorkspaceGroupReq; options?: { [key: string]: unknown }; }) { @@ -6509,7 +6509,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPost( options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams; body: API.WorkspaceGroupReq; options?: { [key: string]: unknown }; }) { @@ -6536,7 +6536,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDelet options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 response type comments.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 response type comments.snap" index 74f45f4..d905e38 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 response type comments.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220 response type comments.snap" @@ -11,7 +11,7 @@ export async function cgiBinGettokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.cgiBinGettokenUsingGetParams; + params: API.CgiBinGettokenUsingGetParams; body: API.CgiBinGettokenUsingGetBody; options?: { [key: string]: unknown }; }) { @@ -41,7 +41,7 @@ export type CgiBinGettokenUsingGetBody = { age?: number; }; -export type cgiBinGettokenUsingGetParams = { +export type CgiBinGettokenUsingGetParams = { /** 企业ID,获取方式参考:[术语说明-corpid](https://developer.work.weixin.qq.com/document/path/91039#14953/corpid) */ corpid: string; /** 应用的凭证密钥,获取方式参考:[术语说明-secret](https://developer.work.weixin.qq.com/document/path/91039#14953/secret) */ diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220\345\214\277\345\220\215response =_ \345\205\267\345\220\215response.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220\345\214\277\345\220\215response =_ \345\205\267\345\220\215response.snap" index 74f45f4..d905e38 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220\345\214\277\345\220\215response =_ \345\205\267\345\220\215response.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\347\224\237\346\210\220\345\214\277\345\220\215response =_ \345\205\267\345\220\215response.snap" @@ -11,7 +11,7 @@ export async function cgiBinGettokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.cgiBinGettokenUsingGetParams; + params: API.CgiBinGettokenUsingGetParams; body: API.CgiBinGettokenUsingGetBody; options?: { [key: string]: unknown }; }) { @@ -41,7 +41,7 @@ export type CgiBinGettokenUsingGetBody = { age?: number; }; -export type cgiBinGettokenUsingGetParams = { +export type CgiBinGettokenUsingGetParams = { /** 企业ID,获取方式参考:[术语说明-corpid](https://developer.work.weixin.qq.com/document/path/91039#14953/corpid) */ corpid: string; /** 应用的凭证密钥,获取方式参考:[术语说明-secret](https://developer.work.weixin.qq.com/document/path/91039#14953/secret) */ diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\347\251\272\347\232\204 schema \345\274\225\347\224\250.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\347\251\272\347\232\204 schema \345\274\225\347\224\250.snap" index c8c0295..6d5a9af 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\347\251\272\347\232\204 schema \345\274\225\347\224\250.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\347\251\272\347\232\204 schema \345\274\225\347\224\250.snap" @@ -42,7 +42,7 @@ export async function electricityClassificationTimeSharingElectricityUsingPost({ body, options, }: { - body: API.fenxiangshebeiziranshijiantongjichaxunDto; + body: API.FenxiangshebeiziranshijiantongjichaxunDto; options?: { [key: string]: unknown }; }) { return request( @@ -74,7 +74,7 @@ export enum BusinessTypeEnum { export type IBusinessTypeEnum = keyof typeof BusinessTypeEnum; -export type fenxiangshebeiziranshijiantongjichaxunDto = { +export type FenxiangshebeiziranshijiantongjichaxunDto = { /** 业务类型 */ businessType?: 'CLASSIFICATION' | 'DEVICE' | 'INSTRUMENT'; /** 结束时间 */ diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\347\255\233\351\200\211\345\207\272\346\214\207\345\256\232 tags \345\257\271\345\272\224\347\232\204api.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\347\255\233\351\200\211\345\207\272\346\214\207\345\256\232 tags \345\257\271\345\272\224\347\232\204api.snap" index aa1aa51..39d5d7e 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\347\255\233\351\200\211\345\207\272\346\214\207\345\256\232 tags \345\257\271\345\272\224\347\232\204api.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\347\255\233\351\200\211\345\207\272\346\214\207\345\256\232 tags \345\257\271\345\272\224\347\232\204api.snap" @@ -59,7 +59,7 @@ export async function petPetIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingGetParams; + params: API.PetPetIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -77,7 +77,7 @@ export async function petPetIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingPostParams; + params: API.PetPetIdUsingPostParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -97,7 +97,7 @@ export async function petPetIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingDeleteParams; + params: API.PetPetIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -116,7 +116,7 @@ export async function petPetIdUploadImageUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUploadImageUsingPostParams; + params: API.PetPetIdUploadImageUsingPostParams; body: API.PetPetIdUploadImageUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -141,7 +141,7 @@ export async function petFindByStatusUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByStatusUsingGetParams; + params: API.PetFindByStatusUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByStatus', { @@ -161,7 +161,7 @@ export async function petFindByTagsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByTagsUsingGetParams; + params: API.PetFindByTagsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByTags', { @@ -196,36 +196,36 @@ export type Pet = { status?: 'available' | 'pending' | 'sold'; }; -export type petFindByStatusUsingGetParams = { +export type PetFindByStatusUsingGetParams = { /** Status values that need to be considered for filter */ status?: 'available' | 'pending' | 'sold'; }; -export type petFindByTagsUsingGetParams = { +export type PetFindByTagsUsingGetParams = { /** Tags to filter by */ tags?: string[]; }; export type PetPetIdUploadImageUsingPostBody = string; -export type petPetIdUploadImageUsingPostParams = { +export type PetPetIdUploadImageUsingPostParams = { /** ID of pet to update */ petId: number; /** Additional Metadata */ additionalMetadata?: string; }; -export type petPetIdUsingDeleteParams = { +export type PetPetIdUsingDeleteParams = { /** Pet id to delete */ petId: number; }; -export type petPetIdUsingGetParams = { +export type PetPetIdUsingGetParams = { /** ID of pet to return */ petId: number; }; -export type petPetIdUsingPostParams = { +export type PetPetIdUsingPostParams = { /** ID of pet that needs to be updated */ petId: number; /** Name of pet that needs to be updated */ diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\350\247\243\346\236\220 swagger.yaml_openapi.yaml.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\350\247\243\346\236\220 swagger.yaml_openapi.yaml.snap" index fdbfaf6..34bd53c 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\350\247\243\346\236\220 swagger.yaml_openapi.yaml.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\350\247\243\346\236\220 swagger.yaml_openapi.yaml.snap" @@ -67,7 +67,7 @@ export async function petPetIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingGetParams; + params: API.PetPetIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -86,7 +86,7 @@ export async function petPetIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingPostParams; + params: API.PetPetIdUsingPostParams; body: API.PetPetIdUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -109,7 +109,7 @@ export async function petPetIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingDeleteParams; + params: API.PetPetIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -129,7 +129,7 @@ export async function petPetIdUploadImageUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUploadImageUsingPostParams; + params: API.PetPetIdUploadImageUsingPostParams; body: API.PetPetIdUploadImageUsingPostBody; file?: File; options?: { [key: string]: unknown }; @@ -174,7 +174,7 @@ export async function petFindByStatusUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByStatusUsingGetParams; + params: API.PetFindByStatusUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByStatus', { @@ -192,7 +192,7 @@ export async function petFindByTagsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByTagsUsingGetParams; + params: API.PetFindByTagsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/pet/findByTags', { @@ -245,7 +245,7 @@ export async function storeOrderOrderIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingGetParams; + params: API.StoreOrderOrderIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; @@ -263,7 +263,7 @@ export async function storeOrderOrderIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingDeleteParams; + params: API.StoreOrderOrderIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; @@ -308,12 +308,12 @@ export type Pet = { status?: 'available' | 'pending' | 'sold'; }; -export type petFindByStatusUsingGetParams = { +export type PetFindByStatusUsingGetParams = { /** Status values that need to be considered for filter */ status: ('available' | 'pending' | 'sold')[]; }; -export type petFindByTagsUsingGetParams = { +export type PetFindByTagsUsingGetParams = { /** Tags to filter by */ tags: string[]; }; @@ -325,17 +325,17 @@ export type PetPetIdUploadImageUsingPostBody = { file?: string; }; -export type petPetIdUploadImageUsingPostParams = { +export type PetPetIdUploadImageUsingPostParams = { /** ID of pet to update */ petId: number; }; -export type petPetIdUsingDeleteParams = { +export type PetPetIdUsingDeleteParams = { /** Pet id to delete */ petId: number; }; -export type petPetIdUsingGetParams = { +export type PetPetIdUsingGetParams = { /** ID of pet to return */ petId: number; }; @@ -347,7 +347,7 @@ export type PetPetIdUsingPostBody = { status?: string; }; -export type petPetIdUsingPostParams = { +export type PetPetIdUsingPostParams = { /** ID of pet that needs to be updated */ petId: number; }; @@ -368,12 +368,12 @@ export enum StatusEnum2 { export type IStatusEnum2 = keyof typeof StatusEnum2; -export type storeOrderOrderIdUsingDeleteParams = { +export type StoreOrderOrderIdUsingDeleteParams = { /** ID of the order that needs to be deleted */ orderId: number; }; -export type storeOrderOrderIdUsingGetParams = { +export type StoreOrderOrderIdUsingGetParams = { /** ID of pet that needs to be fetched */ orderId: number; }; @@ -399,24 +399,24 @@ export type UserCreateWithArrayUsingPostBody = User[]; export type UserCreateWithListUsingPostBody = User[]; -export type userLoginUsingGetParams = { +export type UserLoginUsingGetParams = { /** The user name for login */ username: string; /** The password for login in clear text */ password: string; }; -export type userUsernameUsingDeleteParams = { +export type UserUsernameUsingDeleteParams = { /** The name that needs to be deleted */ username: string; }; -export type userUsernameUsingGetParams = { +export type UserUsernameUsingGetParams = { /** The name that needs to be fetched. Use user1 for testing. */ username: string; }; -export type userUsernameUsingPutParams = { +export type UserUsernameUsingPutParams = { /** name that need to be updated */ username: string; }; @@ -450,7 +450,7 @@ export async function userUsernameUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingGetParams; + params: API.UserUsernameUsingGetParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -469,7 +469,7 @@ export async function userUsernameUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingPutParams; + params: API.UserUsernameUsingPutParams; body: API.User; options?: { [key: string]: unknown }; }) { @@ -492,7 +492,7 @@ export async function userUsernameUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingDeleteParams; + params: API.UserUsernameUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -546,7 +546,7 @@ export async function userLoginUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userLoginUsingGetParams; + params: API.UserLoginUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/user/login', { diff --git "a/test/__snapshots__/common/\346\265\213\350\257\225\350\256\276\347\275\256 path \345\211\215\347\274\200.snap" "b/test/__snapshots__/common/\346\265\213\350\257\225\350\256\276\347\275\256 path \345\211\215\347\274\200.snap" index 873d831..16349b4 100644 --- "a/test/__snapshots__/common/\346\265\213\350\257\225\350\256\276\347\275\256 path \345\211\215\347\274\200.snap" +++ "b/test/__snapshots__/common/\346\265\213\350\257\225\350\256\276\347\275\256 path \345\211\215\347\274\200.snap" @@ -67,7 +67,7 @@ export async function petPetIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingGetParams; + params: API.PetPetIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -86,7 +86,7 @@ export async function petPetIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingPostParams; + params: API.PetPetIdUsingPostParams; body: API.PetPetIdUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -109,7 +109,7 @@ export async function petPetIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUsingDeleteParams; + params: API.PetPetIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { petId: param0, ...queryParams } = params; @@ -129,7 +129,7 @@ export async function petPetIdUploadImageUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petPetIdUploadImageUsingPostParams; + params: API.PetPetIdUploadImageUsingPostParams; body: API.PetPetIdUploadImageUsingPostBody; file?: File; options?: { [key: string]: unknown }; @@ -174,7 +174,7 @@ export async function petFindByStatusUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByStatusUsingGetParams; + params: API.PetFindByStatusUsingGetParams; options?: { [key: string]: unknown }; }) { return request(`/pet/findByStatus`, { @@ -192,7 +192,7 @@ export async function petFindByTagsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.petFindByTagsUsingGetParams; + params: API.PetFindByTagsUsingGetParams; options?: { [key: string]: unknown }; }) { return request(`/pet/findByTags`, { @@ -245,7 +245,7 @@ export async function storeOrderOrderIdUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingGetParams; + params: API.StoreOrderOrderIdUsingGetParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; @@ -263,7 +263,7 @@ export async function storeOrderOrderIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.storeOrderOrderIdUsingDeleteParams; + params: API.StoreOrderOrderIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { orderId: param0, ...queryParams } = params; @@ -308,12 +308,12 @@ export type Pet = { status?: 'available' | 'pending' | 'sold'; }; -export type petFindByStatusUsingGetParams = { +export type PetFindByStatusUsingGetParams = { /** Status values that need to be considered for filter */ status: ('available' | 'pending' | 'sold')[]; }; -export type petFindByTagsUsingGetParams = { +export type PetFindByTagsUsingGetParams = { /** Tags to filter by */ tags: string[]; }; @@ -325,17 +325,17 @@ export type PetPetIdUploadImageUsingPostBody = { file?: string; }; -export type petPetIdUploadImageUsingPostParams = { +export type PetPetIdUploadImageUsingPostParams = { /** ID of pet to update */ petId: number; }; -export type petPetIdUsingDeleteParams = { +export type PetPetIdUsingDeleteParams = { /** Pet id to delete */ petId: number; }; -export type petPetIdUsingGetParams = { +export type PetPetIdUsingGetParams = { /** ID of pet to return */ petId: number; }; @@ -347,7 +347,7 @@ export type PetPetIdUsingPostBody = { status?: string; }; -export type petPetIdUsingPostParams = { +export type PetPetIdUsingPostParams = { /** ID of pet that needs to be updated */ petId: number; }; @@ -368,12 +368,12 @@ export enum StatusEnum2 { export type IStatusEnum2 = keyof typeof StatusEnum2; -export type storeOrderOrderIdUsingDeleteParams = { +export type StoreOrderOrderIdUsingDeleteParams = { /** ID of the order that needs to be deleted */ orderId: number; }; -export type storeOrderOrderIdUsingGetParams = { +export type StoreOrderOrderIdUsingGetParams = { /** ID of pet that needs to be fetched */ orderId: number; }; @@ -399,24 +399,24 @@ export type UserCreateWithArrayUsingPostBody = User[]; export type UserCreateWithListUsingPostBody = User[]; -export type userLoginUsingGetParams = { +export type UserLoginUsingGetParams = { /** The user name for login */ username: string; /** The password for login in clear text */ password: string; }; -export type userUsernameUsingDeleteParams = { +export type UserUsernameUsingDeleteParams = { /** The name that needs to be deleted */ username: string; }; -export type userUsernameUsingGetParams = { +export type UserUsernameUsingGetParams = { /** The name that needs to be fetched. Use user1 for testing. */ username: string; }; -export type userUsernameUsingPutParams = { +export type UserUsernameUsingPutParams = { /** name that need to be updated */ username: string; }; @@ -450,7 +450,7 @@ export async function userUsernameUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingGetParams; + params: API.UserUsernameUsingGetParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -469,7 +469,7 @@ export async function userUsernameUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingPutParams; + params: API.UserUsernameUsingPutParams; body: API.User; options?: { [key: string]: unknown }; }) { @@ -492,7 +492,7 @@ export async function userUsernameUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userUsernameUsingDeleteParams; + params: API.UserUsernameUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { username: param0, ...queryParams } = params; @@ -546,7 +546,7 @@ export async function userLoginUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.userLoginUsingGetParams; + params: API.UserLoginUsingGetParams; options?: { [key: string]: unknown }; }) { return request(`/pet/user/login`, { diff --git "a/test/__snapshots__/common/\347\224\237\346\210\220\346\236\232\344\270\276\347\277\273\350\257\221, \347\224\237\346\210\220 type \347\277\273\350\257\221.snap" "b/test/__snapshots__/common/\347\224\237\346\210\220\346\236\232\344\270\276\347\277\273\350\257\221, \347\224\237\346\210\220 type \347\277\273\350\257\221.snap" index 44a0b42..7cef54a 100644 --- "a/test/__snapshots__/common/\347\224\237\346\210\220\346\236\232\344\270\276\347\277\273\350\257\221, \347\224\237\346\210\220 type \347\277\273\350\257\221.snap" +++ "b/test/__snapshots__/common/\347\224\237\346\210\220\346\236\232\344\270\276\347\277\273\350\257\221, \347\224\237\346\210\220 type \347\277\273\350\257\221.snap" @@ -11,7 +11,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingPostParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingPostParams; body: API.AddAppkeyReq; options?: { [key: string]: unknown }; }) { @@ -36,7 +36,7 @@ export async function v1ApiAppAppIdApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdApiTokenUsingGetParams; + params: API.V1ApiAppAppIdApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -59,7 +59,7 @@ export async function v1ApiAppAppIdApiTokenUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdApiTokenUsingPostParams; + params: API.V1ApiAppAppIdApiTokenUsingPostParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -85,7 +85,7 @@ export async function v1ApiAppIdCostUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppIdCostUsingPostParams; + params: API.V1ApiAppIdCostUsingPostParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -120,7 +120,7 @@ export async function v1ApiAppAppIdOpenApiDeleteUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdOpenApiDeleteUsingDeleteParams; + params: API.V1ApiAppAppIdOpenApiDeleteUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -138,7 +138,7 @@ export async function v1ApiAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDetailsUsingGetParams; + params: API.V1ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -156,7 +156,7 @@ export async function v1ApiAppAppIdHourlyMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyMessagesUsingGetParams; + params: API.V1ApiAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -179,7 +179,7 @@ export async function v1ApiAppAppIdHourlyTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdHourlyTokenUsingGetParams; + params: API.V1ApiAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -202,7 +202,7 @@ export async function v1ApiAppAppIdLogsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsUsingGetParams; + params: API.V1ApiAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -225,7 +225,7 @@ export async function v1ApiAppAppIdLogsConversationIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdLogsConversationIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, conversationID: param1, ...queryParams } = params; @@ -246,7 +246,7 @@ export async function v1ApiAppAppIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMessagesUsingGetParams; + params: API.V1ApiAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -269,7 +269,7 @@ export async function v1ApiAppAppIdShareUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdShareUsingPutParams; + params: API.V1ApiAppAppIdShareUsingPutParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -292,7 +292,7 @@ export async function v1ApiAppAppIdTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdTokenUsingGetParams; + params: API.V1ApiAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -316,7 +316,7 @@ export async function v1ApiAppAppIdUpdateUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdUpdateUsingPutParams; + params: API.V1ApiAppAppIdUpdateUsingPutParams; body: API.UpdateAppReq; options?: { [key: string]: unknown }; }) { @@ -337,7 +337,7 @@ export async function v1ApiAppAppIdUpdateStatusUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdUpdateStatusUsingPutParams; + params: API.V1ApiAppAppIdUpdateStatusUsingPutParams; body: API.ReleaseDiscoverReq; options?: { [key: string]: unknown }; }) { @@ -393,7 +393,7 @@ export async function v1ApiAppListPrivateUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPrivateUsingGetParams; + params: API.V1ApiAppListPrivateUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/app/list-private', { @@ -411,7 +411,7 @@ export async function v1ApiAppListPublicUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppListPublicUsingGetParams; + params: API.V1ApiAppListPublicUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/app/list-public', { @@ -434,7 +434,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingGetParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -456,7 +456,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingPutParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingPutParams; body: API.AppDatasetConfigs; options?: { [key: string]: unknown }; }) { @@ -477,7 +477,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingPostParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingPostParams; body: API.AppDatasetConfigs; options?: { [key: string]: unknown }; }) { @@ -497,7 +497,7 @@ export async function v1ApiAppAppIdDatasetConfigsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetConfigsUsingDeleteParams; + params: API.V1ApiAppAppIdDatasetConfigsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -522,7 +522,7 @@ export async function v1ApiAppAppIdMemberUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingGetParams; + params: API.V1ApiAppAppIdMemberUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -543,7 +543,7 @@ export async function v1ApiAppAppIdMemberUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingPostParams; + params: API.V1ApiAppAppIdMemberUsingPostParams; body: API.MemberBody; options?: { [key: string]: unknown }; }) { @@ -564,7 +564,7 @@ export async function v1ApiAppAppIdMemberUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberUsingDeleteParams; + params: API.V1ApiAppAppIdMemberUsingDeleteParams; body: API.DeleteMemberBody; options?: { [key: string]: unknown }; }) { @@ -585,7 +585,7 @@ export async function v1ApiAppAppIdMemberRoleUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdMemberRoleUsingPutParams; + params: API.V1ApiAppAppIdMemberRoleUsingPutParams; body: API.MemberBody; options?: { [key: string]: unknown }; }) { @@ -611,7 +611,7 @@ export async function v1ApiAppAppIdModelConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelConfigsUsingPutParams; + params: API.V1ApiAppAppIdModelConfigsUsingPutParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -632,7 +632,7 @@ export async function v1ApiAppAppIdModelConfigsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelConfigsUsingPostParams; + params: API.V1ApiAppAppIdModelConfigsUsingPostParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -653,7 +653,7 @@ export async function v1ApiAppAppIdModelPromptUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdModelPromptUsingPostParams; + params: API.V1ApiAppAppIdModelPromptUsingPostParams; body: API.AppModelConfigPromptPrefix; options?: { [key: string]: unknown }; }) { @@ -673,7 +673,7 @@ export async function v1ApiAppAppIdPluginUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdPluginUsingPutParams; + params: API.V1ApiAppAppIdPluginUsingPutParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -711,7 +711,7 @@ export async function v2ApiAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppAppIdDetailsUsingGetParams; + params: API.V2ApiAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -730,7 +730,7 @@ export async function v2ApiAppAppIdUpdateUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppAppIdUpdateUsingPostParams; + params: API.V2ApiAppAppIdUpdateUsingPostParams; body: API.UpdateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -750,7 +750,7 @@ export async function v2ApiAppListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppListUsingGetParams; + params: API.V2ApiAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v2/api/app/list', { @@ -768,7 +768,7 @@ export async function v2ApiAppShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiAppShareApiTokenUsingGetParams; + params: API.V2ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -794,7 +794,7 @@ export async function v1ApiAttentionAppListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionAppListUsingGetParams; + params: API.V1ApiAttentionAppListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/attention/app/list', { @@ -866,7 +866,7 @@ export async function v1ApiAttentionMessagesHistoryUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionMessagesHistoryUsingGetParams; + params: API.V1ApiAttentionMessagesHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -902,7 +902,7 @@ export async function v1ApiAttentionUserAllUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionUserAllUsingGetParams; + params: API.V1ApiAttentionUserAllUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -941,7 +941,7 @@ export async function v1ApiAttentionUserListUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAttentionUserListUsingPostParams; + params: API.V1ApiAttentionUserListUsingPostParams; options?: { [key: string]: unknown }; }) { return request( @@ -967,7 +967,7 @@ export async function authAuthorizeUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authAuthorizeUsingGetParams; + params: API.AuthAuthorizeUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/auth/authorize', { @@ -1091,7 +1091,7 @@ export async function v1ApiConversationsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsUsingGetParams; + params: API.V1ApiConversationsUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/conversations', { @@ -1109,7 +1109,7 @@ export async function v1ApiConversationsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsUsingDeleteParams; + params: API.V1ApiConversationsUsingDeleteParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/conversations', { @@ -1133,7 +1133,7 @@ export async function v1ApiFeedbacksMessageIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksMessageIdUsingPostParams; + params: API.V1ApiFeedbacksMessageIdUsingPostParams; body: API.FeedbacksReqBody; options?: { [key: string]: unknown }; }) { @@ -1165,7 +1165,7 @@ export async function v1ApiAppAppIdDatasetsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsUsingPostParams; + params: API.V1ApiAppAppIdDatasetsUsingPostParams; body: API.V1ApiAppAppIdDatasetsUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -1185,7 +1185,7 @@ export async function v1ApiAppAppIdDatasetsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsUsingDeleteParams; + params: API.V1ApiAppAppIdDatasetsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -1210,7 +1210,7 @@ export async function v1ApiAppAppIdDatasetsListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdDatasetsListUsingGetParams; + params: API.V1ApiAppAppIdDatasetsListUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -1238,7 +1238,7 @@ export async function v1ApiFeedbacksMessageIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksMessageIdUsingDeleteParams; + params: API.V1ApiFeedbacksMessageIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { message_id: param0, ...queryParams } = params; @@ -1267,7 +1267,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingDeleteParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingDeleteParams; body: API.GetAppKeyReq; options?: { [key: string]: unknown }; }) { @@ -1581,8 +1581,8 @@ export function displayAttentionUserResp(field: keyof API.AttentionUserResp) { }[field]; } -export function displayauthAuthorizeUsingGetParams( - field: keyof API.authAuthorizeUsingGetParams +export function displayAuthAuthorizeUsingGetParams( + field: keyof API.AuthAuthorizeUsingGetParams ) { return { redirect_uri: '业务回调地址', @@ -1590,8 +1590,8 @@ export function displayauthAuthorizeUsingGetParams( }[field]; } -export function displayauthExchangeUsingGetParams( - field: keyof API.authExchangeUsingGetParams +export function displayAuthExchangeUsingGetParams( + field: keyof API.AuthExchangeUsingGetParams ) { return { code: 'code', @@ -2252,8 +2252,8 @@ export function displayUserWithAppData(field: keyof API.UserWithAppData) { }[field]; } -export function displayv1ApiAppAppIdApiTokenUsingGetParams( - field: keyof API.v1ApiAppAppIdApiTokenUsingGetParams +export function displayV1ApiAppAppIdApiTokenUsingGetParams( + field: keyof API.V1ApiAppAppIdApiTokenUsingGetParams ) { return { appID: '应用id', @@ -2262,16 +2262,16 @@ export function displayv1ApiAppAppIdApiTokenUsingGetParams( }[field]; } -export function displayv1ApiAppAppIdApiTokenUsingPostParams( - field: keyof API.v1ApiAppAppIdApiTokenUsingPostParams +export function displayV1ApiAppAppIdApiTokenUsingPostParams( + field: keyof API.V1ApiAppAppIdApiTokenUsingPostParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdDatasetConfigsUsingDeleteParams( - field: keyof API.v1ApiAppAppIdDatasetConfigsUsingDeleteParams +export function displayV1ApiAppAppIdDatasetConfigsUsingDeleteParams( + field: keyof API.V1ApiAppAppIdDatasetConfigsUsingDeleteParams ) { return { appID: '应用id', @@ -2279,32 +2279,32 @@ export function displayv1ApiAppAppIdDatasetConfigsUsingDeleteParams( }[field]; } -export function displayv1ApiAppAppIdDatasetConfigsUsingGetParams( - field: keyof API.v1ApiAppAppIdDatasetConfigsUsingGetParams +export function displayV1ApiAppAppIdDatasetConfigsUsingGetParams( + field: keyof API.V1ApiAppAppIdDatasetConfigsUsingGetParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdDatasetConfigsUsingPostParams( - field: keyof API.v1ApiAppAppIdDatasetConfigsUsingPostParams +export function displayV1ApiAppAppIdDatasetConfigsUsingPostParams( + field: keyof API.V1ApiAppAppIdDatasetConfigsUsingPostParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdDatasetConfigsUsingPutParams( - field: keyof API.v1ApiAppAppIdDatasetConfigsUsingPutParams +export function displayV1ApiAppAppIdDatasetConfigsUsingPutParams( + field: keyof API.V1ApiAppAppIdDatasetConfigsUsingPutParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdDatasetsListUsingGetParams( - field: keyof API.v1ApiAppAppIdDatasetsListUsingGetParams +export function displayV1ApiAppAppIdDatasetsListUsingGetParams( + field: keyof API.V1ApiAppAppIdDatasetsListUsingGetParams ) { return { appID: '应用id', @@ -2313,8 +2313,8 @@ export function displayv1ApiAppAppIdDatasetsListUsingGetParams( }[field]; } -export function displayv1ApiAppAppIdDatasetsUsingDeleteParams( - field: keyof API.v1ApiAppAppIdDatasetsUsingDeleteParams +export function displayV1ApiAppAppIdDatasetsUsingDeleteParams( + field: keyof API.V1ApiAppAppIdDatasetsUsingDeleteParams ) { return { appID: '应用id', @@ -2322,24 +2322,24 @@ export function displayv1ApiAppAppIdDatasetsUsingDeleteParams( }[field]; } -export function displayv1ApiAppAppIdDatasetsUsingPostParams( - field: keyof API.v1ApiAppAppIdDatasetsUsingPostParams +export function displayV1ApiAppAppIdDatasetsUsingPostParams( + field: keyof API.V1ApiAppAppIdDatasetsUsingPostParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdDetailsUsingGetParams( - field: keyof API.v1ApiAppAppIdDetailsUsingGetParams +export function displayV1ApiAppAppIdDetailsUsingGetParams( + field: keyof API.V1ApiAppAppIdDetailsUsingGetParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdHourlyMessagesUsingGetParams( - field: keyof API.v1ApiAppAppIdHourlyMessagesUsingGetParams +export function displayV1ApiAppAppIdHourlyMessagesUsingGetParams( + field: keyof API.V1ApiAppAppIdHourlyMessagesUsingGetParams ) { return { appID: '应用id', @@ -2348,8 +2348,8 @@ export function displayv1ApiAppAppIdHourlyMessagesUsingGetParams( }[field]; } -export function displayv1ApiAppAppIdHourlyTokenUsingGetParams( - field: keyof API.v1ApiAppAppIdHourlyTokenUsingGetParams +export function displayV1ApiAppAppIdHourlyTokenUsingGetParams( + field: keyof API.V1ApiAppAppIdHourlyTokenUsingGetParams ) { return { appID: '应用id', @@ -2358,8 +2358,8 @@ export function displayv1ApiAppAppIdHourlyTokenUsingGetParams( }[field]; } -export function displayv1ApiAppAppIdLogsConversationIdMessagesUsingGetParams( - field: keyof API.v1ApiAppAppIdLogsConversationIdMessagesUsingGetParams +export function displayV1ApiAppAppIdLogsConversationIdMessagesUsingGetParams( + field: keyof API.V1ApiAppAppIdLogsConversationIdMessagesUsingGetParams ) { return { appID: '应用id', @@ -2367,8 +2367,8 @@ export function displayv1ApiAppAppIdLogsConversationIdMessagesUsingGetParams( }[field]; } -export function displayv1ApiAppAppIdLogsUsingGetParams( - field: keyof API.v1ApiAppAppIdLogsUsingGetParams +export function displayV1ApiAppAppIdLogsUsingGetParams( + field: keyof API.V1ApiAppAppIdLogsUsingGetParams ) { return { appID: '应用id', @@ -2382,24 +2382,24 @@ export function displayv1ApiAppAppIdLogsUsingGetParams( }[field]; } -export function displayv1ApiAppAppIdMemberRoleUsingPutParams( - field: keyof API.v1ApiAppAppIdMemberRoleUsingPutParams +export function displayV1ApiAppAppIdMemberRoleUsingPutParams( + field: keyof API.V1ApiAppAppIdMemberRoleUsingPutParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdMemberUsingDeleteParams( - field: keyof API.v1ApiAppAppIdMemberUsingDeleteParams +export function displayV1ApiAppAppIdMemberUsingDeleteParams( + field: keyof API.V1ApiAppAppIdMemberUsingDeleteParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdMemberUsingGetParams( - field: keyof API.v1ApiAppAppIdMemberUsingGetParams +export function displayV1ApiAppAppIdMemberUsingGetParams( + field: keyof API.V1ApiAppAppIdMemberUsingGetParams ) { return { appID: '应用id', @@ -2408,16 +2408,16 @@ export function displayv1ApiAppAppIdMemberUsingGetParams( }[field]; } -export function displayv1ApiAppAppIdMemberUsingPostParams( - field: keyof API.v1ApiAppAppIdMemberUsingPostParams +export function displayV1ApiAppAppIdMemberUsingPostParams( + field: keyof API.V1ApiAppAppIdMemberUsingPostParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdMessagesUsingGetParams( - field: keyof API.v1ApiAppAppIdMessagesUsingGetParams +export function displayV1ApiAppAppIdMessagesUsingGetParams( + field: keyof API.V1ApiAppAppIdMessagesUsingGetParams ) { return { appID: '应用id', @@ -2426,64 +2426,64 @@ export function displayv1ApiAppAppIdMessagesUsingGetParams( }[field]; } -export function displayv1ApiAppAppIdModelConfigsUsingPostParams( - field: keyof API.v1ApiAppAppIdModelConfigsUsingPostParams +export function displayV1ApiAppAppIdModelConfigsUsingPostParams( + field: keyof API.V1ApiAppAppIdModelConfigsUsingPostParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdModelConfigsUsingPutParams( - field: keyof API.v1ApiAppAppIdModelConfigsUsingPutParams +export function displayV1ApiAppAppIdModelConfigsUsingPutParams( + field: keyof API.V1ApiAppAppIdModelConfigsUsingPutParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdModelPromptUsingPostParams( - field: keyof API.v1ApiAppAppIdModelPromptUsingPostParams +export function displayV1ApiAppAppIdModelPromptUsingPostParams( + field: keyof API.V1ApiAppAppIdModelPromptUsingPostParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdOpenApiDeleteUsingDeleteParams( - field: keyof API.v1ApiAppAppIdOpenApiDeleteUsingDeleteParams +export function displayV1ApiAppAppIdOpenApiDeleteUsingDeleteParams( + field: keyof API.V1ApiAppAppIdOpenApiDeleteUsingDeleteParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdPluginUsingPutParams( - field: keyof API.v1ApiAppAppIdPluginUsingPutParams +export function displayV1ApiAppAppIdPluginUsingPutParams( + field: keyof API.V1ApiAppAppIdPluginUsingPutParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdRecommendedContextUsingGetParams( - field: keyof API.v1ApiAppAppIdRecommendedContextUsingGetParams +export function displayV1ApiAppAppIdRecommendedContextUsingGetParams( + field: keyof API.V1ApiAppAppIdRecommendedContextUsingGetParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdRecommendedContextUsingPostParams( - field: keyof API.v1ApiAppAppIdRecommendedContextUsingPostParams +export function displayV1ApiAppAppIdRecommendedContextUsingPostParams( + field: keyof API.V1ApiAppAppIdRecommendedContextUsingPostParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdShareUsingPutParams( - field: keyof API.v1ApiAppAppIdShareUsingPutParams +export function displayV1ApiAppAppIdShareUsingPutParams( + field: keyof API.V1ApiAppAppIdShareUsingPutParams ) { return { appID: '应用id', @@ -2491,8 +2491,8 @@ export function displayv1ApiAppAppIdShareUsingPutParams( }[field]; } -export function displayv1ApiAppAppIdTokenUsingGetParams( - field: keyof API.v1ApiAppAppIdTokenUsingGetParams +export function displayV1ApiAppAppIdTokenUsingGetParams( + field: keyof API.V1ApiAppAppIdTokenUsingGetParams ) { return { appID: '应用id', @@ -2501,32 +2501,32 @@ export function displayv1ApiAppAppIdTokenUsingGetParams( }[field]; } -export function displayv1ApiAppAppIdUpdateStatusUsingPutParams( - field: keyof API.v1ApiAppAppIdUpdateStatusUsingPutParams +export function displayV1ApiAppAppIdUpdateStatusUsingPutParams( + field: keyof API.V1ApiAppAppIdUpdateStatusUsingPutParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppAppIdUpdateUsingPutParams( - field: keyof API.v1ApiAppAppIdUpdateUsingPutParams +export function displayV1ApiAppAppIdUpdateUsingPutParams( + field: keyof API.V1ApiAppAppIdUpdateUsingPutParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiAppH5ShareApiTokenUsingGetParams( - field: keyof API.v1ApiAppH5ShareApiTokenUsingGetParams +export function displayV1ApiAppH5ShareApiTokenUsingGetParams( + field: keyof API.V1ApiAppH5ShareApiTokenUsingGetParams ) { return { randomPath: '分享的随机path', }[field]; } -export function displayv1ApiAppIdCostUsingPostParams( - field: keyof API.v1ApiAppIdCostUsingPostParams +export function displayV1ApiAppIdCostUsingPostParams( + field: keyof API.V1ApiAppIdCostUsingPostParams ) { return { appID: '应用id', @@ -2540,40 +2540,40 @@ export function displayv1ApiAppIdCostUsingPostParams( }[field]; } -export function displayv1ApiAppListPrivateUsingGetParams( - field: keyof API.v1ApiAppListPrivateUsingGetParams +export function displayV1ApiAppListPrivateUsingGetParams( + field: keyof API.V1ApiAppListPrivateUsingGetParams ) { return { onlyConversations: '是否只查看会话过的应用', }[field]; } -export function displayv1ApiAppListPublicUsingGetParams( - field: keyof API.v1ApiAppListPublicUsingGetParams +export function displayV1ApiAppListPublicUsingGetParams( + field: keyof API.V1ApiAppListPublicUsingGetParams ) { return { onlyConversations: '是否只查看会话过的应用', }[field]; } -export function displayv1ApiAppShareApiTokenUsingGetParams( - field: keyof API.v1ApiAppShareApiTokenUsingGetParams +export function displayV1ApiAppShareApiTokenUsingGetParams( + field: keyof API.V1ApiAppShareApiTokenUsingGetParams ) { return { randomPath: '分享的随机path', }[field]; } -export function displayv1ApiAttentionAppListUsingGetParams( - field: keyof API.v1ApiAttentionAppListUsingGetParams +export function displayV1ApiAttentionAppListUsingGetParams( + field: keyof API.V1ApiAttentionAppListUsingGetParams ) { return { iamID: 'IAM用户id', }[field]; } -export function displayv1ApiAttentionMessagesHistoryUsingGetParams( - field: keyof API.v1ApiAttentionMessagesHistoryUsingGetParams +export function displayV1ApiAttentionMessagesHistoryUsingGetParams( + field: keyof API.V1ApiAttentionMessagesHistoryUsingGetParams ) { return { iamID: 'IAM ID', @@ -2582,8 +2582,8 @@ export function displayv1ApiAttentionMessagesHistoryUsingGetParams( }[field]; } -export function displayv1ApiAttentionUserAllUsingGetParams( - field: keyof API.v1ApiAttentionUserAllUsingGetParams +export function displayV1ApiAttentionUserAllUsingGetParams( + field: keyof API.V1ApiAttentionUserAllUsingGetParams ) { return { iamID: '登陆用户IAMID', @@ -2597,8 +2597,8 @@ export function displayv1ApiAttentionUserAllUsingGetParams( }[field]; } -export function displayv1ApiAttentionUserListUsingPostParams( - field: keyof API.v1ApiAttentionUserListUsingPostParams +export function displayV1ApiAttentionUserListUsingPostParams( + field: keyof API.V1ApiAttentionUserListUsingPostParams ) { return { iamID: 'IAM ID', @@ -2607,8 +2607,8 @@ export function displayv1ApiAttentionUserListUsingPostParams( }[field]; } -export function displayv1ApiConversationsConversationIdHistoryUsingDeleteParams( - field: keyof API.v1ApiConversationsConversationIdHistoryUsingDeleteParams +export function displayV1ApiConversationsConversationIdHistoryUsingDeleteParams( + field: keyof API.V1ApiConversationsConversationIdHistoryUsingDeleteParams ) { return { conversation_id: '会话id', @@ -2616,32 +2616,32 @@ export function displayv1ApiConversationsConversationIdHistoryUsingDeleteParams( }[field]; } -export function displayv1ApiConversationsConversationIdHistoryUsingGetParams( - field: keyof API.v1ApiConversationsConversationIdHistoryUsingGetParams +export function displayV1ApiConversationsConversationIdHistoryUsingGetParams( + field: keyof API.V1ApiConversationsConversationIdHistoryUsingGetParams ) { return { conversation_id: '会话id', }[field]; } -export function displayv1ApiConversationsUsingDeleteParams( - field: keyof API.v1ApiConversationsUsingDeleteParams +export function displayV1ApiConversationsUsingDeleteParams( + field: keyof API.V1ApiConversationsUsingDeleteParams ) { return { conversation_id: '会话id', }[field]; } -export function displayv1ApiConversationsUsingGetParams( - field: keyof API.v1ApiConversationsUsingGetParams +export function displayV1ApiConversationsUsingGetParams( + field: keyof API.V1ApiConversationsUsingGetParams ) { return { user_id: '用户id,空值不返回', }[field]; } -export function displayv1ApiFeedbacksMessageIdUsingDeleteParams( - field: keyof API.v1ApiFeedbacksMessageIdUsingDeleteParams +export function displayV1ApiFeedbacksMessageIdUsingDeleteParams( + field: keyof API.V1ApiFeedbacksMessageIdUsingDeleteParams ) { return { message_id: '消息id', @@ -2649,16 +2649,16 @@ export function displayv1ApiFeedbacksMessageIdUsingDeleteParams( }[field]; } -export function displayv1ApiFeedbacksMessageIdUsingPostParams( - field: keyof API.v1ApiFeedbacksMessageIdUsingPostParams +export function displayV1ApiFeedbacksMessageIdUsingPostParams( + field: keyof API.V1ApiFeedbacksMessageIdUsingPostParams ) { return { message_id: '消息id', }[field]; } -export function displayv1ApiFeedbacksUsingGetParams( - field: keyof API.v1ApiFeedbacksUsingGetParams +export function displayV1ApiFeedbacksUsingGetParams( + field: keyof API.V1ApiFeedbacksUsingGetParams ) { return { conversation_ID: 'conversation_ID', @@ -2668,8 +2668,8 @@ export function displayv1ApiFeedbacksUsingGetParams( }[field]; } -export function displayv1ApiFileUsingPostParams( - field: keyof API.v1ApiFileUsingPostParams +export function displayV1ApiFileUsingPostParams( + field: keyof API.V1ApiFileUsingPostParams ) { return { conversation_id: '会话id', @@ -2677,16 +2677,16 @@ export function displayv1ApiFileUsingPostParams( }[field]; } -export function displayv1ApiIamAccountUsingGetParams( - field: keyof API.v1ApiIamAccountUsingGetParams +export function displayV1ApiIamAccountUsingGetParams( + field: keyof API.V1ApiIamAccountUsingGetParams ) { return { openId: 'openId', }[field]; } -export function displayv1ApiProviderListUsingGetParams( - field: keyof API.v1ApiProviderListUsingGetParams +export function displayV1ApiProviderListUsingGetParams( + field: keyof API.V1ApiProviderListUsingGetParams ) { return { size: 'size', @@ -2694,24 +2694,24 @@ export function displayv1ApiProviderListUsingGetParams( }[field]; } -export function displayv1ApiRobotWorkspaceIdAppkeyStateUsingPostParams( - field: keyof API.v1ApiRobotWorkspaceIdAppkeyStateUsingPostParams +export function displayV1ApiRobotWorkspaceIdAppkeyStateUsingPostParams( + field: keyof API.V1ApiRobotWorkspaceIdAppkeyStateUsingPostParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv1ApiRobotWorkspaceIdAppkeyUsingDeleteParams( - field: keyof API.v1ApiRobotWorkspaceIdAppkeyUsingDeleteParams +export function displayV1ApiRobotWorkspaceIdAppkeyUsingDeleteParams( + field: keyof API.V1ApiRobotWorkspaceIdAppkeyUsingDeleteParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv1ApiRobotWorkspaceIdAppkeyUsingGetParams( - field: keyof API.v1ApiRobotWorkspaceIdAppkeyUsingGetParams +export function displayV1ApiRobotWorkspaceIdAppkeyUsingGetParams( + field: keyof API.V1ApiRobotWorkspaceIdAppkeyUsingGetParams ) { return { workspaceID: '空间ID', @@ -2720,24 +2720,24 @@ export function displayv1ApiRobotWorkspaceIdAppkeyUsingGetParams( }[field]; } -export function displayv1ApiRobotWorkspaceIdAppkeyUsingPostParams( - field: keyof API.v1ApiRobotWorkspaceIdAppkeyUsingPostParams +export function displayV1ApiRobotWorkspaceIdAppkeyUsingPostParams( + field: keyof API.V1ApiRobotWorkspaceIdAppkeyUsingPostParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv1ApiUserInfoUsingGetParams( - field: keyof API.v1ApiUserInfoUsingGetParams +export function displayV1ApiUserInfoUsingGetParams( + field: keyof API.V1ApiUserInfoUsingGetParams ) { return { appID: '应用id', }[field]; } -export function displayv1ApiUserUsingGetParams( - field: keyof API.v1ApiUserUsingGetParams +export function displayV1ApiUserUsingGetParams( + field: keyof API.V1ApiUserUsingGetParams ) { return { offset: 'offset', @@ -2748,40 +2748,40 @@ export function displayv1ApiUserUsingGetParams( }[field]; } -export function displayv2ApiAppAppIdDetailsUsingGetParams( - field: keyof API.v2ApiAppAppIdDetailsUsingGetParams +export function displayV2ApiAppAppIdDetailsUsingGetParams( + field: keyof API.V2ApiAppAppIdDetailsUsingGetParams ) { return { appID: '应用id', }[field]; } -export function displayv2ApiAppAppIdUpdateUsingPostParams( - field: keyof API.v2ApiAppAppIdUpdateUsingPostParams +export function displayV2ApiAppAppIdUpdateUsingPostParams( + field: keyof API.V2ApiAppAppIdUpdateUsingPostParams ) { return { appID: '应用id', }[field]; } -export function displayv2ApiAppListUsingGetParams( - field: keyof API.v2ApiAppListUsingGetParams +export function displayV2ApiAppListUsingGetParams( + field: keyof API.V2ApiAppListUsingGetParams ) { return { onlyConversations: '是否只查看会话过的应用', }[field]; } -export function displayv2ApiAppShareApiTokenUsingGetParams( - field: keyof API.v2ApiAppShareApiTokenUsingGetParams +export function displayV2ApiAppShareApiTokenUsingGetParams( + field: keyof API.V2ApiAppShareApiTokenUsingGetParams ) { return { randomPath: '分享的随机path', }[field]; } -export function displayv2ApiChatMessagesMessagesCountUsingGetParams( - field: keyof API.v2ApiChatMessagesMessagesCountUsingGetParams +export function displayV2ApiChatMessagesMessagesCountUsingGetParams( + field: keyof API.V2ApiChatMessagesMessagesCountUsingGetParams ) { return { isPerPerson: '是否查询人均,默认false', @@ -2790,8 +2790,8 @@ export function displayv2ApiChatMessagesMessagesCountUsingGetParams( }[field]; } -export function displayv2ApiFileUsingPostParams( - field: keyof API.v2ApiFileUsingPostParams +export function displayV2ApiFileUsingPostParams( + field: keyof API.V2ApiFileUsingPostParams ) { return { conversation_id: '会话id', @@ -2799,24 +2799,24 @@ export function displayv2ApiFileUsingPostParams( }[field]; } -export function displayv2ApiWorkspacesDefaultUsingPostParams( - field: keyof API.v2ApiWorkspacesDefaultUsingPostParams +export function displayV2ApiWorkspacesDefaultUsingPostParams( + field: keyof API.V2ApiWorkspacesDefaultUsingPostParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams( - field: keyof API.v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams +export function displayV2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams( + field: keyof API.V2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams ) { return { messageId: '消息id', }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams ) { return { workspaceID: '空间ID', @@ -2824,8 +2824,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostPa }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams ) { return { appID: '应用id', @@ -2834,8 +2834,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeletePara }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams ) { return { workspaceID: '空间ID', @@ -2843,8 +2843,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams( }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams ) { return { workspaceID: '空间ID', @@ -2854,8 +2854,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetP }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams ) { return { workspaceID: '空间ID', @@ -2865,8 +2865,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetPara }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams ) { return { appID: '应用id', @@ -2881,8 +2881,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams( }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams ) { return { workspaceID: '空间ID', @@ -2892,8 +2892,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams( }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams ) { return { appID: '应用id', @@ -2901,8 +2901,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutPar }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams ) { return { appID: '应用id', @@ -2910,8 +2910,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams( }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams ) { return { appID: '应用id', @@ -2920,8 +2920,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams( }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams ) { return { workspaceID: '空间ID', @@ -2929,8 +2929,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutPar }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams +export function displayV2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams ) { return { workspaceID: '空间ID', @@ -2938,8 +2938,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams( }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams +export function displayV2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams ) { return { appID: '应用id', @@ -2947,8 +2947,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams( }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams +export function displayV2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams ) { return { appID: '应用id', @@ -2956,8 +2956,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams( }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams +export function displayV2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams ) { return { appID: '应用id', @@ -2965,8 +2965,8 @@ export function displayv2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams( }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppsUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppsUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdAppsUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppsUsingGetParams ) { return { workspaceID: '空间ID', @@ -2975,48 +2975,48 @@ export function displayv2ApiWorkspacesWorkspaceIdAppsUsingGetParams( }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdAppsUsingPostParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdAppsUsingPostParams +export function displayV2ApiWorkspacesWorkspaceIdAppsUsingPostParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdAppsUsingPostParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams +export function displayV2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdGroupsUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdGroupsUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdGroupsUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdGroupsUsingGetParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdGroupsUsingPostParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdGroupsUsingPostParams +export function displayV2ApiWorkspacesWorkspaceIdGroupsUsingPostParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdGroupsUsingPostParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams +export function displayV2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams ) { return { workspaceID: '空间ID', @@ -3024,8 +3024,8 @@ export function displayv2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDele }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams +export function displayV2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams ) { return { workspaceID: '空间ID', @@ -3033,32 +3033,32 @@ export function displayv2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPost }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdUsersUsingGetParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdUsersUsingGetParams +export function displayV2ApiWorkspacesWorkspaceIdUsersUsingGetParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdUsersUsingGetParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdUsersUsingPostParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdUsersUsingPostParams +export function displayV2ApiWorkspacesWorkspaceIdUsersUsingPostParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdUsersUsingPostParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams +export function displayV2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams ) { return { workspaceID: '空间ID', @@ -3066,16 +3066,16 @@ export function displayv2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams( }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdUsingDeleteParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdUsingDeleteParams +export function displayV2ApiWorkspacesWorkspaceIdUsingDeleteParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdUsingDeleteParams ) { return { workspaceID: '空间ID', }[field]; } -export function displayv2ApiWorkspacesWorkspaceIdUsingPostParams( - field: keyof API.v2ApiWorkspacesWorkspaceIdUsingPostParams +export function displayV2ApiWorkspacesWorkspaceIdUsingPostParams( + field: keyof API.V2ApiWorkspacesWorkspaceIdUsingPostParams ) { return { workspaceID: '空间ID', @@ -3171,7 +3171,7 @@ export async function authExchangeUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.authExchangeUsingGetParams; + params: API.AuthExchangeUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/auth/exchange', { @@ -3195,7 +3195,7 @@ export async function v1ApiFileUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFileUsingPostParams; + params: API.V1ApiFileUsingPostParams; body: API.V1ApiFileUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -3255,7 +3255,7 @@ export async function v2ApiFileUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiFileUsingPostParams; + params: API.V2ApiFileUsingPostParams; body: API.V2ApiFileUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -3301,7 +3301,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyUsingGetParams; + params: API.V1ApiRobotWorkspaceIdAppkeyUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -3326,7 +3326,7 @@ export async function v1ApiConversationsConversationIdHistoryUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsConversationIdHistoryUsingGetParams; + params: API.V1ApiConversationsConversationIdHistoryUsingGetParams; options?: { [key: string]: unknown }; }) { const { conversation_id: param0, ...queryParams } = params; @@ -3347,7 +3347,7 @@ export async function v1ApiConversationsConversationIdHistoryUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiConversationsConversationIdHistoryUsingDeleteParams; + params: API.V1ApiConversationsConversationIdHistoryUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { conversation_id: param0, ...queryParams } = params; @@ -3370,7 +3370,7 @@ export async function v2ApiChatMessagesMessagesCountUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiChatMessagesMessagesCountUsingGetParams; + params: API.V2ApiChatMessagesMessagesCountUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -3396,7 +3396,7 @@ export async function v1ApiIamAccountUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiIamAccountUsingGetParams; + params: API.V1ApiIamAccountUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/iamAccount', { @@ -3457,7 +3457,7 @@ export async function v1ApiFeedbacksUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiFeedbacksUsingGetParams; + params: API.V1ApiFeedbacksUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/feedbacks/', { @@ -3480,7 +3480,7 @@ export async function v1ApiProviderListUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiProviderListUsingGetParams; + params: API.V1ApiProviderListUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/provider/list', { @@ -3503,7 +3503,7 @@ export async function v1ApiAppAppIdRecommendedContextUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdRecommendedContextUsingGetParams; + params: API.V1ApiAppAppIdRecommendedContextUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, ...queryParams } = params; @@ -3525,7 +3525,7 @@ export async function v1ApiAppAppIdRecommendedContextUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppAppIdRecommendedContextUsingPostParams; + params: API.V1ApiAppAppIdRecommendedContextUsingPostParams; body: API.AppRecommendedContext; options?: { [key: string]: unknown }; }) { @@ -3570,7 +3570,7 @@ export async function v1ApiAppH5ShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppH5ShareApiTokenUsingGetParams; + params: API.V1ApiAppH5ShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -3591,7 +3591,7 @@ export async function v1ApiAppShareApiTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiAppShareApiTokenUsingGetParams; + params: API.V1ApiAppShareApiTokenUsingGetParams; options?: { [key: string]: unknown }; }) { return request( @@ -3850,14 +3850,14 @@ export type AttentionUserResp = { userName?: string; }; -export type authAuthorizeUsingGetParams = { +export type AuthAuthorizeUsingGetParams = { /** 业务回调地址 */ redirect_uri: string; /** 保持请求和回调的状态,授权成功后会回传该参数 */ state?: string; }; -export type authExchangeUsingGetParams = { +export type AuthExchangeUsingGetParams = { /** code */ code: string; /** 业务回调地址 */ @@ -4459,7 +4459,7 @@ export type UserWithAppData = { userName?: string; }; -export type v1ApiAppAppIdApiTokenUsingGetParams = { +export type V1ApiAppAppIdApiTokenUsingGetParams = { /** 应用id */ appID: string; /** 每页大小 */ @@ -4468,34 +4468,34 @@ export type v1ApiAppAppIdApiTokenUsingGetParams = { offset: number; }; -export type v1ApiAppAppIdApiTokenUsingPostParams = { +export type V1ApiAppAppIdApiTokenUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingDeleteParams = { +export type V1ApiAppAppIdDatasetConfigsUsingDeleteParams = { /** 应用id */ appID: string; /** 应用知识库配置id */ appDatasetConfigID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingGetParams = { +export type V1ApiAppAppIdDatasetConfigsUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingPostParams = { +export type V1ApiAppAppIdDatasetConfigsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetConfigsUsingPutParams = { +export type V1ApiAppAppIdDatasetConfigsUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDatasetsListUsingGetParams = { +export type V1ApiAppAppIdDatasetsListUsingGetParams = { /** 应用id */ appID: string; /** size */ @@ -4504,7 +4504,7 @@ export type v1ApiAppAppIdDatasetsListUsingGetParams = { offset?: number; }; -export type v1ApiAppAppIdDatasetsUsingDeleteParams = { +export type V1ApiAppAppIdDatasetsUsingDeleteParams = { /** 应用id */ appID: string; /** 数据集id */ @@ -4513,17 +4513,17 @@ export type v1ApiAppAppIdDatasetsUsingDeleteParams = { export type V1ApiAppAppIdDatasetsUsingPostBody = AppDatasets[]; -export type v1ApiAppAppIdDatasetsUsingPostParams = { +export type V1ApiAppAppIdDatasetsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdDetailsUsingGetParams = { +export type V1ApiAppAppIdDetailsUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdHourlyMessagesUsingGetParams = { +export type V1ApiAppAppIdHourlyMessagesUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4532,7 +4532,7 @@ export type v1ApiAppAppIdHourlyMessagesUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdHourlyTokenUsingGetParams = { +export type V1ApiAppAppIdHourlyTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4541,14 +4541,14 @@ export type v1ApiAppAppIdHourlyTokenUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdLogsConversationIdMessagesUsingGetParams = { +export type V1ApiAppAppIdLogsConversationIdMessagesUsingGetParams = { /** 应用id */ appID: string; /** 会话id */ conversationID: string; }; -export type v1ApiAppAppIdLogsUsingGetParams = { +export type V1ApiAppAppIdLogsUsingGetParams = { /** 应用id */ appID: string; /** 会话id */ @@ -4567,17 +4567,17 @@ export type v1ApiAppAppIdLogsUsingGetParams = { userID?: string; }; -export type v1ApiAppAppIdMemberRoleUsingPutParams = { +export type V1ApiAppAppIdMemberRoleUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMemberUsingDeleteParams = { +export type V1ApiAppAppIdMemberUsingDeleteParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMemberUsingGetParams = { +export type V1ApiAppAppIdMemberUsingGetParams = { /** 应用id */ appID: string; /** 每页大小 */ @@ -4586,12 +4586,12 @@ export type v1ApiAppAppIdMemberUsingGetParams = { offset: number; }; -export type v1ApiAppAppIdMemberUsingPostParams = { +export type V1ApiAppAppIdMemberUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdMessagesUsingGetParams = { +export type V1ApiAppAppIdMessagesUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4600,49 +4600,49 @@ export type v1ApiAppAppIdMessagesUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdModelConfigsUsingPostParams = { +export type V1ApiAppAppIdModelConfigsUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdModelConfigsUsingPutParams = { +export type V1ApiAppAppIdModelConfigsUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdModelPromptUsingPostParams = { +export type V1ApiAppAppIdModelPromptUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdOpenApiDeleteUsingDeleteParams = { +export type V1ApiAppAppIdOpenApiDeleteUsingDeleteParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdPluginUsingPutParams = { +export type V1ApiAppAppIdPluginUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdRecommendedContextUsingGetParams = { +export type V1ApiAppAppIdRecommendedContextUsingGetParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdRecommendedContextUsingPostParams = { +export type V1ApiAppAppIdRecommendedContextUsingPostParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdShareUsingPutParams = { +export type V1ApiAppAppIdShareUsingPutParams = { /** 应用id */ appID: string; /** 是否h5 */ isH5?: boolean; }; -export type v1ApiAppAppIdTokenUsingGetParams = { +export type V1ApiAppAppIdTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -4651,22 +4651,22 @@ export type v1ApiAppAppIdTokenUsingGetParams = { endTimestamp?: number; }; -export type v1ApiAppAppIdUpdateStatusUsingPutParams = { +export type V1ApiAppAppIdUpdateStatusUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppAppIdUpdateUsingPutParams = { +export type V1ApiAppAppIdUpdateUsingPutParams = { /** 应用id */ appID: string; }; -export type v1ApiAppH5ShareApiTokenUsingGetParams = { +export type V1ApiAppH5ShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v1ApiAppIdCostUsingPostParams = { +export type V1ApiAppIdCostUsingPostParams = { /** 应用id */ appID: string; /** 会话id */ @@ -4685,27 +4685,27 @@ export type v1ApiAppIdCostUsingPostParams = { userID?: string; }; -export type v1ApiAppListPrivateUsingGetParams = { +export type V1ApiAppListPrivateUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v1ApiAppListPublicUsingGetParams = { +export type V1ApiAppListPublicUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v1ApiAppShareApiTokenUsingGetParams = { +export type V1ApiAppShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v1ApiAttentionAppListUsingGetParams = { +export type V1ApiAttentionAppListUsingGetParams = { /** IAM用户id */ iamID: string; }; -export type v1ApiAttentionMessagesHistoryUsingGetParams = { +export type V1ApiAttentionMessagesHistoryUsingGetParams = { /** IAM ID */ iamID: string; /** 应用id */ @@ -4714,7 +4714,7 @@ export type v1ApiAttentionMessagesHistoryUsingGetParams = { conversationID: string; }; -export type v1ApiAttentionUserAllUsingGetParams = { +export type V1ApiAttentionUserAllUsingGetParams = { /** 登陆用户IAMID */ iamID?: string; /** 用户id */ @@ -4731,7 +4731,7 @@ export type v1ApiAttentionUserAllUsingGetParams = { userName?: string; }; -export type v1ApiAttentionUserListUsingPostParams = { +export type V1ApiAttentionUserListUsingPostParams = { /** IAM ID */ iamID: string; /** 默认10 */ @@ -4740,41 +4740,41 @@ export type v1ApiAttentionUserListUsingPostParams = { offset?: number; }; -export type v1ApiConversationsConversationIdHistoryUsingDeleteParams = { +export type V1ApiConversationsConversationIdHistoryUsingDeleteParams = { /** 会话id */ conversation_id: string; /** 聊天信息id */ message_id: string; }; -export type v1ApiConversationsConversationIdHistoryUsingGetParams = { +export type V1ApiConversationsConversationIdHistoryUsingGetParams = { /** 会话id */ conversation_id: string; }; -export type v1ApiConversationsUsingDeleteParams = { +export type V1ApiConversationsUsingDeleteParams = { /** 会话id */ conversation_id: string; }; -export type v1ApiConversationsUsingGetParams = { +export type V1ApiConversationsUsingGetParams = { /** 用户id,空值不返回 */ user_id?: string; }; -export type v1ApiFeedbacksMessageIdUsingDeleteParams = { +export type V1ApiFeedbacksMessageIdUsingDeleteParams = { /** 消息id */ message_id: string; /** 会话id */ conversation_id: string; }; -export type v1ApiFeedbacksMessageIdUsingPostParams = { +export type V1ApiFeedbacksMessageIdUsingPostParams = { /** 消息id */ message_id: string; }; -export type v1ApiFeedbacksUsingGetParams = { +export type V1ApiFeedbacksUsingGetParams = { conversation_ID?: string; message_ID?: string; /** 页数1开始 */ @@ -4788,36 +4788,36 @@ export type V1ApiFileUsingPostBody = { file: string; }; -export type v1ApiFileUsingPostParams = { +export type V1ApiFileUsingPostParams = { /** 会话id */ conversation_id?: string; /** user id */ user_id?: string; }; -export type v1ApiIamAccountUsingGetParams = { +export type V1ApiIamAccountUsingGetParams = { /** openId */ openId: string; }; -export type v1ApiProviderListUsingGetParams = { +export type V1ApiProviderListUsingGetParams = { /** size */ size?: number; /** offset */ offset?: number; }; -export type v1ApiRobotWorkspaceIdAppkeyStateUsingPostParams = { +export type V1ApiRobotWorkspaceIdAppkeyStateUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingDeleteParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingDeleteParams = { /** 空间ID */ workspaceID: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingGetParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingGetParams = { /** 空间ID */ workspaceID: string; appid: string; @@ -4825,7 +4825,7 @@ export type v1ApiRobotWorkspaceIdAppkeyUsingGetParams = { type: string; }; -export type v1ApiRobotWorkspaceIdAppkeyUsingPostParams = { +export type V1ApiRobotWorkspaceIdAppkeyUsingPostParams = { /** 空间ID */ workspaceID: string; }; @@ -4835,12 +4835,12 @@ export type V1ApiSpeechToTextUsingPostBody = { file: string; }; -export type v1ApiUserInfoUsingGetParams = { +export type V1ApiUserInfoUsingGetParams = { /** 应用id */ appID?: string; }; -export type v1ApiUserUsingGetParams = { +export type V1ApiUserUsingGetParams = { offset?: number; /** 电话号码 */ phone?: string; @@ -4851,27 +4851,27 @@ export type v1ApiUserUsingGetParams = { userName?: string; }; -export type v2ApiAppAppIdDetailsUsingGetParams = { +export type V2ApiAppAppIdDetailsUsingGetParams = { /** 应用id */ appID: string; }; -export type v2ApiAppAppIdUpdateUsingPostParams = { +export type V2ApiAppAppIdUpdateUsingPostParams = { /** 应用id */ appID: string; }; -export type v2ApiAppListUsingGetParams = { +export type V2ApiAppListUsingGetParams = { /** 是否只查看会话过的应用 */ onlyConversations?: boolean; }; -export type v2ApiAppShareApiTokenUsingGetParams = { +export type V2ApiAppShareApiTokenUsingGetParams = { /** 分享的随机path */ randomPath: string; }; -export type v2ApiChatMessagesMessagesCountUsingGetParams = { +export type V2ApiChatMessagesMessagesCountUsingGetParams = { /** 是否查询人均,默认false */ isPerPerson?: boolean; /** 开始时间,秒级时间戳 */ @@ -4885,19 +4885,19 @@ export type V2ApiFileUsingPostBody = { files: unknown[]; }; -export type v2ApiFileUsingPostParams = { +export type V2ApiFileUsingPostParams = { /** 会话id */ conversation_id?: string; /** user id */ user_id?: string; }; -export type v2ApiWorkspacesDefaultUsingPostParams = { +export type V2ApiWorkspacesDefaultUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { +export type V2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { /** 消息id */ messageId: string; }; @@ -4905,14 +4905,14 @@ export type v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams = { export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostBody = AppDatasets[]; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { /** 应用id */ appID: string; /** 空间ID */ @@ -4921,14 +4921,14 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams = { datasetID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -4939,7 +4939,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -4950,7 +4950,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { /** 应用id */ appID: string; /** 空间ID */ @@ -4971,7 +4971,7 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams = { userID?: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { /** 空间ID */ workspaceID: string; /** 应用id */ @@ -4982,21 +4982,21 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { /** 应用id */ appID: string; /** 开始时间,秒级时间戳 */ @@ -5005,42 +5005,42 @@ export type v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams = { endTimestamp?: number; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams = { /** 空间ID */ workspaceID: string; /** 应用id */ appID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams = { /** 应用id */ appID: string; /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { /** 空间ID */ workspaceID: string; /** 是否只查看会话过的应用 */ @@ -5049,32 +5049,32 @@ export type v2ApiWorkspacesWorkspaceIdAppsUsingGetParams = { appName?: string; }; -export type v2ApiWorkspacesWorkspaceIdAppsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdAppsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = +export type V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; @@ -5082,41 +5082,41 @@ export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams = workspaceGroupID: string; }; -export type v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams = { /** 空间ID */ workspaceID: string; /** 分组ID */ workspaceGroupID: string; }; -export type v2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsersUsingGetParams = { +export type V2ApiWorkspacesWorkspaceIdUsersUsingGetParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsersUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdUsersUsingPostParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; /** userID */ userID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsingDeleteParams = { +export type V2ApiWorkspacesWorkspaceIdUsingDeleteParams = { /** 空间ID */ workspaceID: string; }; -export type v2ApiWorkspacesWorkspaceIdUsingPostParams = { +export type V2ApiWorkspacesWorkspaceIdUsingPostParams = { /** 空间ID */ workspaceID: string; }; @@ -5216,7 +5216,7 @@ export async function v1ApiRobotWorkspaceIdAppkeyStateUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiRobotWorkspaceIdAppkeyStateUsingPostParams; + params: API.V1ApiRobotWorkspaceIdAppkeyStateUsingPostParams; body: API.UpdateAppKeyStateReq; options?: { [key: string]: unknown }; }) { @@ -5241,7 +5241,7 @@ export async function v1ApiUserUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserUsingGetParams; + params: API.V1ApiUserUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/user', { @@ -5262,7 +5262,7 @@ export async function v1ApiUserInfoUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v1ApiUserInfoUsingGetParams; + params: API.V1ApiUserInfoUsingGetParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v1/api/user/info', { @@ -5339,7 +5339,7 @@ export async function v2ApiWorkspacesDefaultUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesDefaultUsingPostParams; + params: API.V2ApiWorkspacesDefaultUsingPostParams; options?: { [key: string]: unknown }; }) { return request('/llmops/v2/api/workspaces-default', { @@ -5358,7 +5358,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdUsingPostParams; body: API.WorkspaceReq; options?: { [key: string]: unknown }; }) { @@ -5378,7 +5378,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5397,7 +5397,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostParams; body: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsJoinUsingPostBody; options?: { [key: string]: unknown }; }) { @@ -5420,7 +5420,7 @@ export async function v2ApiWorkspacesWorkspaceIdDatasetsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdDatasetsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5442,7 +5442,7 @@ export async function v2ApiWorkspacesWorkspaceIdDatasetsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdDatasetsUsingPostParams; body: API.AppDataset; options?: { [key: string]: unknown }; }) { @@ -5462,7 +5462,7 @@ export async function v2ApiWorkspacesWorkspaceIdPermissionsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdPermissionsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5483,7 +5483,7 @@ export async function v2ApiWorkspacesWorkspaceIdUserUserIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdUserUserIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, userID: param1, ...queryParams } = params; @@ -5504,7 +5504,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsersUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsersUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdUsersUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5526,7 +5526,7 @@ export async function v2ApiWorkspacesWorkspaceIdUsersUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdUsersUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdUsersUsingPostParams; body: API.WorkspaceUser; options?: { [key: string]: unknown }; }) { @@ -5567,7 +5567,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdUsingPostParams; body: API.UpdateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -5587,7 +5587,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -5608,7 +5608,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -5631,7 +5631,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdHourlyTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -5654,7 +5654,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdMessagesUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, appID: param1, ...queryParams } = params; @@ -5678,7 +5678,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdUpdateStatusUsingPutParams; body: API.UpdateAppStatusReq; options?: { [key: string]: unknown }; }) { @@ -5701,7 +5701,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5722,7 +5722,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsUsingPostParams; body: API.CreateAppReqV2; options?: { [key: string]: unknown }; }) { @@ -5742,7 +5742,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdDatasetsUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -5765,7 +5765,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdLogsUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -5789,7 +5789,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPut({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdModelConfigsUsingPutParams; body: API.AppModelConfigs; options?: { [key: string]: unknown }; }) { @@ -5812,7 +5812,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdPluginUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -5833,7 +5833,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdAppAppIdTokenUsingGetParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -5856,7 +5856,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDelete({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const { appID: param0, workspaceID: param1, ...queryParams } = params; @@ -5878,7 +5878,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdBaseUsingPostParams; body: API.UpdateAppReq; options?: { [key: string]: unknown }; }) { @@ -5902,7 +5902,7 @@ export async function v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdAppsAppIdGroupUsingPostParams; body: API.UpdateAppGroup; options?: { [key: string]: unknown }; }) { @@ -5925,7 +5925,7 @@ export async function v2ApiWorkspacesRecommendedMessageIdDetailsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; + params: API.V2ApiWorkspacesRecommendedMessageIdDetailsUsingGetParams; options?: { [key: string]: unknown }; }) { const { messageId: param0, ...queryParams } = params; @@ -5951,7 +5951,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsUsingGet({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsUsingGetParams; options?: { [key: string]: unknown }; }) { const { workspaceID: param0, ...queryParams } = params; @@ -5973,7 +5973,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsUsingPost({ options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsUsingPostParams; body: API.WorkspaceGroupReq; options?: { [key: string]: unknown }; }) { @@ -5997,7 +5997,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPost( options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingPostParams; body: API.WorkspaceGroupReq; options?: { [key: string]: unknown }; }) { @@ -6024,7 +6024,7 @@ export async function v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDelet options, }: { // 叠加生成的Param类型 (非body参数openapi默认没有生成对象) - params: API.v2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams; + params: API.V2ApiWorkspacesWorkspaceIdGroupsWorkspaceGroupIdUsingDeleteParams; options?: { [key: string]: unknown }; }) { const {