@openloaf-saas/sdk 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +325 -89
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -369,6 +369,56 @@ declare class SaaSContract {
|
|
|
369
369
|
};
|
|
370
370
|
}>;
|
|
371
371
|
};
|
|
372
|
+
/** AI tools endpoints. */
|
|
373
|
+
readonly aiTools: {
|
|
374
|
+
readonly analyzeSkills: Endpoint<{
|
|
375
|
+
skills: {
|
|
376
|
+
name: string;
|
|
377
|
+
description?: string | undefined;
|
|
378
|
+
}[];
|
|
379
|
+
}, {
|
|
380
|
+
success: true;
|
|
381
|
+
data: {
|
|
382
|
+
skills: {
|
|
383
|
+
name: string;
|
|
384
|
+
translatedName: string;
|
|
385
|
+
translatedDescription: string;
|
|
386
|
+
category: string;
|
|
387
|
+
icon: string;
|
|
388
|
+
}[];
|
|
389
|
+
};
|
|
390
|
+
} | {
|
|
391
|
+
success: false;
|
|
392
|
+
message: string;
|
|
393
|
+
}>;
|
|
394
|
+
readonly recommendActions: Endpoint<{
|
|
395
|
+
text: string;
|
|
396
|
+
scene: string;
|
|
397
|
+
}, {
|
|
398
|
+
success: true;
|
|
399
|
+
data: {
|
|
400
|
+
actions: {
|
|
401
|
+
label: string;
|
|
402
|
+
description: string;
|
|
403
|
+
action: string;
|
|
404
|
+
}[];
|
|
405
|
+
};
|
|
406
|
+
} | {
|
|
407
|
+
success: false;
|
|
408
|
+
message: string;
|
|
409
|
+
}>;
|
|
410
|
+
readonly summarize: Endpoint<{
|
|
411
|
+
text: string;
|
|
412
|
+
}, {
|
|
413
|
+
success: true;
|
|
414
|
+
data: {
|
|
415
|
+
summary: string;
|
|
416
|
+
};
|
|
417
|
+
} | {
|
|
418
|
+
success: false;
|
|
419
|
+
message: string;
|
|
420
|
+
}>;
|
|
421
|
+
};
|
|
372
422
|
/** Auxiliary inference endpoints. */
|
|
373
423
|
readonly auxiliary: {
|
|
374
424
|
readonly infer: Endpoint<{
|
|
@@ -407,7 +457,7 @@ declare class SaaSContract {
|
|
|
407
457
|
/** Feedback endpoints. */
|
|
408
458
|
readonly feedback: {
|
|
409
459
|
readonly submit: Endpoint<{
|
|
410
|
-
type: "ui" | "performance" | "bug" | "feature" | "other";
|
|
460
|
+
type: "chat" | "ui" | "performance" | "bug" | "feature" | "other";
|
|
411
461
|
content: string;
|
|
412
462
|
context: Record<string, unknown>;
|
|
413
463
|
source?: "tenas" | "openloaf" | "openloaf-saas" | undefined;
|
|
@@ -418,7 +468,7 @@ declare class SaaSContract {
|
|
|
418
468
|
readonly list: Endpoint<{
|
|
419
469
|
page?: number | undefined;
|
|
420
470
|
pageSize?: number | undefined;
|
|
421
|
-
type?: "ui" | "performance" | "bug" | "feature" | "other" | undefined;
|
|
471
|
+
type?: "chat" | "ui" | "performance" | "bug" | "feature" | "other" | undefined;
|
|
422
472
|
source?: "tenas" | "openloaf" | "openloaf-saas" | undefined;
|
|
423
473
|
saasStatus?: "unread" | "read" | "resolved" | "ignored" | undefined;
|
|
424
474
|
keyword?: string | undefined;
|
|
@@ -430,7 +480,7 @@ declare class SaaSContract {
|
|
|
430
480
|
items: {
|
|
431
481
|
id: string;
|
|
432
482
|
source: "tenas" | "openloaf" | "openloaf-saas";
|
|
433
|
-
type: "ui" | "performance" | "bug" | "feature" | "other";
|
|
483
|
+
type: "chat" | "ui" | "performance" | "bug" | "feature" | "other";
|
|
434
484
|
saasStatus: "unread" | "read" | "resolved" | "ignored";
|
|
435
485
|
content: string;
|
|
436
486
|
context: Record<string, unknown>;
|
|
@@ -449,7 +499,7 @@ declare class SaaSContract {
|
|
|
449
499
|
feedback: {
|
|
450
500
|
id: string;
|
|
451
501
|
source: "tenas" | "openloaf" | "openloaf-saas";
|
|
452
|
-
type: "ui" | "performance" | "bug" | "feature" | "other";
|
|
502
|
+
type: "chat" | "ui" | "performance" | "bug" | "feature" | "other";
|
|
453
503
|
saasStatus: "unread" | "read" | "resolved" | "ignored";
|
|
454
504
|
content: string;
|
|
455
505
|
context: Record<string, unknown>;
|
|
@@ -2297,87 +2347,263 @@ type AiModelCapabilityInputKey = (typeof AI_MODEL_CAPABILITY_INPUT_KEYS)[number]
|
|
|
2297
2347
|
declare const AI_MODEL_CAPABILITY_OUTPUT_KEYS: readonly ["supportsMulti", "supportsAudio"];
|
|
2298
2348
|
type AiModelCapabilityOutputKey = (typeof AI_MODEL_CAPABILITY_OUTPUT_KEYS)[number];
|
|
2299
2349
|
|
|
2300
|
-
declare const index$
|
|
2301
|
-
declare const index$
|
|
2302
|
-
declare const index$
|
|
2303
|
-
declare const index$
|
|
2304
|
-
type index$
|
|
2305
|
-
type index$
|
|
2306
|
-
type index$
|
|
2307
|
-
declare const index$
|
|
2308
|
-
type index$
|
|
2309
|
-
type index$
|
|
2310
|
-
type index$
|
|
2311
|
-
type index$
|
|
2312
|
-
type index$
|
|
2313
|
-
type index$
|
|
2314
|
-
type index$
|
|
2315
|
-
type index$
|
|
2316
|
-
type index$
|
|
2317
|
-
type index$
|
|
2318
|
-
type index$
|
|
2319
|
-
type index$
|
|
2320
|
-
type index$
|
|
2321
|
-
type index$
|
|
2322
|
-
type index$
|
|
2323
|
-
type index$
|
|
2324
|
-
type index$
|
|
2325
|
-
type index$
|
|
2326
|
-
type index$
|
|
2327
|
-
type index$
|
|
2328
|
-
type index$
|
|
2329
|
-
type index$
|
|
2330
|
-
type index$
|
|
2331
|
-
type index$
|
|
2332
|
-
declare const index$
|
|
2333
|
-
declare const index$
|
|
2334
|
-
declare const index$
|
|
2335
|
-
declare const index$
|
|
2336
|
-
declare const index$
|
|
2337
|
-
declare const index$
|
|
2338
|
-
declare const index$
|
|
2339
|
-
declare const index$
|
|
2340
|
-
declare const index$
|
|
2341
|
-
declare const index$
|
|
2342
|
-
declare const index$
|
|
2343
|
-
declare const index$
|
|
2344
|
-
declare const index$
|
|
2345
|
-
declare const index$
|
|
2346
|
-
declare const index$
|
|
2347
|
-
declare const index$
|
|
2348
|
-
declare const index$
|
|
2349
|
-
declare const index$
|
|
2350
|
-
declare const index$
|
|
2351
|
-
declare const index$
|
|
2352
|
-
declare const index$
|
|
2353
|
-
declare const index$
|
|
2354
|
-
declare const index$
|
|
2355
|
-
declare const index$
|
|
2356
|
-
declare const index$
|
|
2357
|
-
declare const index$
|
|
2358
|
-
declare const index$
|
|
2359
|
-
declare const index$
|
|
2360
|
-
declare const index$
|
|
2361
|
-
declare const index$
|
|
2362
|
-
declare const index$
|
|
2363
|
-
declare const index$
|
|
2364
|
-
declare const index$
|
|
2365
|
-
declare const index$
|
|
2366
|
-
declare const index$
|
|
2367
|
-
declare const index$
|
|
2368
|
-
declare const index$
|
|
2369
|
-
declare const index$
|
|
2370
|
-
declare const index$
|
|
2371
|
-
declare const index$
|
|
2372
|
-
declare const index$
|
|
2373
|
-
declare const index$
|
|
2374
|
-
declare const index$
|
|
2375
|
-
declare const index$
|
|
2376
|
-
declare const index$
|
|
2377
|
-
declare const index$
|
|
2378
|
-
declare const index$
|
|
2350
|
+
declare const index$5_AI_MODEL_CAPABILITY_INPUT_KEYS: typeof AI_MODEL_CAPABILITY_INPUT_KEYS;
|
|
2351
|
+
declare const index$5_AI_MODEL_CAPABILITY_OUTPUT_KEYS: typeof AI_MODEL_CAPABILITY_OUTPUT_KEYS;
|
|
2352
|
+
declare const index$5_AI_MODEL_TAGS: typeof AI_MODEL_TAGS;
|
|
2353
|
+
declare const index$5_AI_MODEL_TAG_LABELS: typeof AI_MODEL_TAG_LABELS;
|
|
2354
|
+
type index$5_AiChatModel = AiChatModel;
|
|
2355
|
+
type index$5_AiChatModelsResponse = AiChatModelsResponse;
|
|
2356
|
+
type index$5_AiClient = AiClient;
|
|
2357
|
+
declare const index$5_AiClient: typeof AiClient;
|
|
2358
|
+
type index$5_AiFileUploadResponse = AiFileUploadResponse;
|
|
2359
|
+
type index$5_AiImageInputs = AiImageInputs;
|
|
2360
|
+
type index$5_AiImageOutput = AiImageOutput;
|
|
2361
|
+
type index$5_AiImageRequest = AiImageRequest;
|
|
2362
|
+
type index$5_AiMediaInput = AiMediaInput;
|
|
2363
|
+
type index$5_AiModel = AiModel;
|
|
2364
|
+
type index$5_AiModelCapabilities = AiModelCapabilities;
|
|
2365
|
+
type index$5_AiModelCapabilitiesInput = AiModelCapabilitiesInput;
|
|
2366
|
+
type index$5_AiModelCapabilitiesOutput = AiModelCapabilitiesOutput;
|
|
2367
|
+
type index$5_AiModelCapabilityInputKey = AiModelCapabilityInputKey;
|
|
2368
|
+
type index$5_AiModelCapabilityOutputKey = AiModelCapabilityOutputKey;
|
|
2369
|
+
type index$5_AiModelTag = AiModelTag;
|
|
2370
|
+
type index$5_AiModelsResponse = AiModelsResponse;
|
|
2371
|
+
type index$5_AiModelsUpdatedAtData = AiModelsUpdatedAtData;
|
|
2372
|
+
type index$5_AiModelsUpdatedAtResponse = AiModelsUpdatedAtResponse;
|
|
2373
|
+
type index$5_AiProviderTemplate = AiProviderTemplate;
|
|
2374
|
+
type index$5_AiProviderTemplateModel = AiProviderTemplateModel;
|
|
2375
|
+
type index$5_AiProviderTemplatesResponse = AiProviderTemplatesResponse;
|
|
2376
|
+
type index$5_AiTaskCancelResponse = AiTaskCancelResponse;
|
|
2377
|
+
type index$5_AiTaskCreatedResponse = AiTaskCreatedResponse;
|
|
2378
|
+
type index$5_AiTaskResponse = AiTaskResponse;
|
|
2379
|
+
type index$5_AiVideoInputs = AiVideoInputs;
|
|
2380
|
+
type index$5_AiVideoOutput = AiVideoOutput;
|
|
2381
|
+
type index$5_AiVideoRequest = AiVideoRequest;
|
|
2382
|
+
declare const index$5_aiChatModelSchema: typeof aiChatModelSchema;
|
|
2383
|
+
declare const index$5_aiChatModelsPayloadSchema: typeof aiChatModelsPayloadSchema;
|
|
2384
|
+
declare const index$5_aiChatModelsResponseSchema: typeof aiChatModelsResponseSchema;
|
|
2385
|
+
declare const index$5_aiChatModelsSuccessSchema: typeof aiChatModelsSuccessSchema;
|
|
2386
|
+
declare const index$5_aiEndpoints: typeof aiEndpoints;
|
|
2387
|
+
declare const index$5_aiErrorResponseSchema: typeof aiErrorResponseSchema;
|
|
2388
|
+
declare const index$5_aiImageInputsSchema: typeof aiImageInputsSchema;
|
|
2389
|
+
declare const index$5_aiImageOutputSchema: typeof aiImageOutputSchema;
|
|
2390
|
+
declare const index$5_aiImageRequestSchema: typeof aiImageRequestSchema;
|
|
2391
|
+
declare const index$5_aiMediaInputSchema: typeof aiMediaInputSchema;
|
|
2392
|
+
declare const index$5_aiModelCapabilitiesInputSchema: typeof aiModelCapabilitiesInputSchema;
|
|
2393
|
+
declare const index$5_aiModelCapabilitiesOutputSchema: typeof aiModelCapabilitiesOutputSchema;
|
|
2394
|
+
declare const index$5_aiModelCapabilitiesSchema: typeof aiModelCapabilitiesSchema;
|
|
2395
|
+
declare const index$5_aiModelCapabilityCommonSchema: typeof aiModelCapabilityCommonSchema;
|
|
2396
|
+
declare const index$5_aiModelParameterFieldSchema: typeof aiModelParameterFieldSchema;
|
|
2397
|
+
declare const index$5_aiModelParamsSchema: typeof aiModelParamsSchema;
|
|
2398
|
+
declare const index$5_aiModelSchema: typeof aiModelSchema;
|
|
2399
|
+
declare const index$5_aiModelsPayloadSchema: typeof aiModelsPayloadSchema;
|
|
2400
|
+
declare const index$5_aiModelsRequestSchema: typeof aiModelsRequestSchema;
|
|
2401
|
+
declare const index$5_aiModelsResponseSchema: typeof aiModelsResponseSchema;
|
|
2402
|
+
declare const index$5_aiModelsSuccessSchema: typeof aiModelsSuccessSchema;
|
|
2403
|
+
declare const index$5_aiModelsUpdatedAtDataSchema: typeof aiModelsUpdatedAtDataSchema;
|
|
2404
|
+
declare const index$5_aiModelsUpdatedAtResponseSchema: typeof aiModelsUpdatedAtResponseSchema;
|
|
2405
|
+
declare const index$5_aiModelsUpdatedAtSuccessSchema: typeof aiModelsUpdatedAtSuccessSchema;
|
|
2406
|
+
declare const index$5_aiProviderTemplateModelSchema: typeof aiProviderTemplateModelSchema;
|
|
2407
|
+
declare const index$5_aiProviderTemplateSchema: typeof aiProviderTemplateSchema;
|
|
2408
|
+
declare const index$5_aiProviderTemplatesPayloadSchema: typeof aiProviderTemplatesPayloadSchema;
|
|
2409
|
+
declare const index$5_aiProviderTemplatesRequestSchema: typeof aiProviderTemplatesRequestSchema;
|
|
2410
|
+
declare const index$5_aiProviderTemplatesResponseSchema: typeof aiProviderTemplatesResponseSchema;
|
|
2411
|
+
declare const index$5_aiProviderTemplatesSuccessSchema: typeof aiProviderTemplatesSuccessSchema;
|
|
2412
|
+
declare const index$5_aiTaskCancelDataSchema: typeof aiTaskCancelDataSchema;
|
|
2413
|
+
declare const index$5_aiTaskCancelRequestSchema: typeof aiTaskCancelRequestSchema;
|
|
2414
|
+
declare const index$5_aiTaskCancelResponseSchema: typeof aiTaskCancelResponseSchema;
|
|
2415
|
+
declare const index$5_aiTaskCancelSuccessSchema: typeof aiTaskCancelSuccessSchema;
|
|
2416
|
+
declare const index$5_aiTaskCreatedDataSchema: typeof aiTaskCreatedDataSchema;
|
|
2417
|
+
declare const index$5_aiTaskCreatedResponseSchema: typeof aiTaskCreatedResponseSchema;
|
|
2418
|
+
declare const index$5_aiTaskCreatedSuccessSchema: typeof aiTaskCreatedSuccessSchema;
|
|
2419
|
+
declare const index$5_aiTaskDataSchema: typeof aiTaskDataSchema;
|
|
2420
|
+
declare const index$5_aiTaskErrorSchema: typeof aiTaskErrorSchema;
|
|
2421
|
+
declare const index$5_aiTaskRequestSchema: typeof aiTaskRequestSchema;
|
|
2422
|
+
declare const index$5_aiTaskResponseSchema: typeof aiTaskResponseSchema;
|
|
2423
|
+
declare const index$5_aiTaskResultTypeSchema: typeof aiTaskResultTypeSchema;
|
|
2424
|
+
declare const index$5_aiTaskStatusSchema: typeof aiTaskStatusSchema;
|
|
2425
|
+
declare const index$5_aiTaskSuccessSchema: typeof aiTaskSuccessSchema;
|
|
2426
|
+
declare const index$5_aiVideoInputsSchema: typeof aiVideoInputsSchema;
|
|
2427
|
+
declare const index$5_aiVideoOutputSchema: typeof aiVideoOutputSchema;
|
|
2428
|
+
declare const index$5_aiVideoRequestSchema: typeof aiVideoRequestSchema;
|
|
2429
|
+
declare namespace index$5 {
|
|
2430
|
+
export { index$5_AI_MODEL_CAPABILITY_INPUT_KEYS as AI_MODEL_CAPABILITY_INPUT_KEYS, index$5_AI_MODEL_CAPABILITY_OUTPUT_KEYS as AI_MODEL_CAPABILITY_OUTPUT_KEYS, index$5_AI_MODEL_TAGS as AI_MODEL_TAGS, index$5_AI_MODEL_TAG_LABELS as AI_MODEL_TAG_LABELS, type index$5_AiChatModel as AiChatModel, type index$5_AiChatModelsResponse as AiChatModelsResponse, index$5_AiClient as AiClient, type index$5_AiFileUploadResponse as AiFileUploadResponse, type index$5_AiImageInputs as AiImageInputs, type index$5_AiImageOutput as AiImageOutput, type index$5_AiImageRequest as AiImageRequest, type index$5_AiMediaInput as AiMediaInput, type index$5_AiModel as AiModel, type index$5_AiModelCapabilities as AiModelCapabilities, type index$5_AiModelCapabilitiesInput as AiModelCapabilitiesInput, type index$5_AiModelCapabilitiesOutput as AiModelCapabilitiesOutput, type index$5_AiModelCapabilityInputKey as AiModelCapabilityInputKey, type index$5_AiModelCapabilityOutputKey as AiModelCapabilityOutputKey, type index$5_AiModelTag as AiModelTag, type index$5_AiModelsResponse as AiModelsResponse, type index$5_AiModelsUpdatedAtData as AiModelsUpdatedAtData, type index$5_AiModelsUpdatedAtResponse as AiModelsUpdatedAtResponse, type index$5_AiProviderTemplate as AiProviderTemplate, type index$5_AiProviderTemplateModel as AiProviderTemplateModel, type index$5_AiProviderTemplatesResponse as AiProviderTemplatesResponse, type index$5_AiTaskCancelResponse as AiTaskCancelResponse, type index$5_AiTaskCreatedResponse as AiTaskCreatedResponse, type index$5_AiTaskResponse as AiTaskResponse, type index$5_AiVideoInputs as AiVideoInputs, type index$5_AiVideoOutput as AiVideoOutput, type index$5_AiVideoRequest as AiVideoRequest, index$5_aiChatModelSchema as aiChatModelSchema, index$5_aiChatModelsPayloadSchema as aiChatModelsPayloadSchema, index$5_aiChatModelsResponseSchema as aiChatModelsResponseSchema, index$5_aiChatModelsSuccessSchema as aiChatModelsSuccessSchema, index$5_aiEndpoints as aiEndpoints, index$5_aiErrorResponseSchema as aiErrorResponseSchema, index$5_aiImageInputsSchema as aiImageInputsSchema, index$5_aiImageOutputSchema as aiImageOutputSchema, index$5_aiImageRequestSchema as aiImageRequestSchema, index$5_aiMediaInputSchema as aiMediaInputSchema, index$5_aiModelCapabilitiesInputSchema as aiModelCapabilitiesInputSchema, index$5_aiModelCapabilitiesOutputSchema as aiModelCapabilitiesOutputSchema, index$5_aiModelCapabilitiesSchema as aiModelCapabilitiesSchema, index$5_aiModelCapabilityCommonSchema as aiModelCapabilityCommonSchema, index$5_aiModelParameterFieldSchema as aiModelParameterFieldSchema, index$5_aiModelParamsSchema as aiModelParamsSchema, index$5_aiModelSchema as aiModelSchema, index$5_aiModelsPayloadSchema as aiModelsPayloadSchema, index$5_aiModelsRequestSchema as aiModelsRequestSchema, index$5_aiModelsResponseSchema as aiModelsResponseSchema, index$5_aiModelsSuccessSchema as aiModelsSuccessSchema, index$5_aiModelsUpdatedAtDataSchema as aiModelsUpdatedAtDataSchema, index$5_aiModelsUpdatedAtResponseSchema as aiModelsUpdatedAtResponseSchema, index$5_aiModelsUpdatedAtSuccessSchema as aiModelsUpdatedAtSuccessSchema, index$5_aiProviderTemplateModelSchema as aiProviderTemplateModelSchema, index$5_aiProviderTemplateSchema as aiProviderTemplateSchema, index$5_aiProviderTemplatesPayloadSchema as aiProviderTemplatesPayloadSchema, index$5_aiProviderTemplatesRequestSchema as aiProviderTemplatesRequestSchema, index$5_aiProviderTemplatesResponseSchema as aiProviderTemplatesResponseSchema, index$5_aiProviderTemplatesSuccessSchema as aiProviderTemplatesSuccessSchema, index$5_aiTaskCancelDataSchema as aiTaskCancelDataSchema, index$5_aiTaskCancelRequestSchema as aiTaskCancelRequestSchema, index$5_aiTaskCancelResponseSchema as aiTaskCancelResponseSchema, index$5_aiTaskCancelSuccessSchema as aiTaskCancelSuccessSchema, index$5_aiTaskCreatedDataSchema as aiTaskCreatedDataSchema, index$5_aiTaskCreatedResponseSchema as aiTaskCreatedResponseSchema, index$5_aiTaskCreatedSuccessSchema as aiTaskCreatedSuccessSchema, index$5_aiTaskDataSchema as aiTaskDataSchema, index$5_aiTaskErrorSchema as aiTaskErrorSchema, index$5_aiTaskRequestSchema as aiTaskRequestSchema, index$5_aiTaskResponseSchema as aiTaskResponseSchema, index$5_aiTaskResultTypeSchema as aiTaskResultTypeSchema, index$5_aiTaskStatusSchema as aiTaskStatusSchema, index$5_aiTaskSuccessSchema as aiTaskSuccessSchema, index$5_aiVideoInputsSchema as aiVideoInputsSchema, index$5_aiVideoOutputSchema as aiVideoOutputSchema, index$5_aiVideoRequestSchema as aiVideoRequestSchema };
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
declare const aiToolsEndpoints: {
|
|
2434
|
+
readonly analyzeSkills: Endpoint<{
|
|
2435
|
+
skills: {
|
|
2436
|
+
name: string;
|
|
2437
|
+
description?: string | undefined;
|
|
2438
|
+
}[];
|
|
2439
|
+
}, {
|
|
2440
|
+
success: true;
|
|
2441
|
+
data: {
|
|
2442
|
+
skills: {
|
|
2443
|
+
name: string;
|
|
2444
|
+
translatedName: string;
|
|
2445
|
+
translatedDescription: string;
|
|
2446
|
+
category: string;
|
|
2447
|
+
icon: string;
|
|
2448
|
+
}[];
|
|
2449
|
+
};
|
|
2450
|
+
} | {
|
|
2451
|
+
success: false;
|
|
2452
|
+
message: string;
|
|
2453
|
+
}>;
|
|
2454
|
+
readonly recommendActions: Endpoint<{
|
|
2455
|
+
text: string;
|
|
2456
|
+
scene: string;
|
|
2457
|
+
}, {
|
|
2458
|
+
success: true;
|
|
2459
|
+
data: {
|
|
2460
|
+
actions: {
|
|
2461
|
+
label: string;
|
|
2462
|
+
description: string;
|
|
2463
|
+
action: string;
|
|
2464
|
+
}[];
|
|
2465
|
+
};
|
|
2466
|
+
} | {
|
|
2467
|
+
success: false;
|
|
2468
|
+
message: string;
|
|
2469
|
+
}>;
|
|
2470
|
+
readonly summarize: Endpoint<{
|
|
2471
|
+
text: string;
|
|
2472
|
+
}, {
|
|
2473
|
+
success: true;
|
|
2474
|
+
data: {
|
|
2475
|
+
summary: string;
|
|
2476
|
+
};
|
|
2477
|
+
} | {
|
|
2478
|
+
success: false;
|
|
2479
|
+
message: string;
|
|
2480
|
+
}>;
|
|
2481
|
+
};
|
|
2482
|
+
|
|
2483
|
+
declare const analyzeSkillsRequestSchema: z.ZodObject<{
|
|
2484
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
2485
|
+
name: z.ZodString;
|
|
2486
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2487
|
+
}, z.core.$strip>>;
|
|
2488
|
+
}, z.core.$strip>;
|
|
2489
|
+
declare const analyzeSkillsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2490
|
+
success: z.ZodLiteral<true>;
|
|
2491
|
+
data: z.ZodObject<{
|
|
2492
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
2493
|
+
name: z.ZodString;
|
|
2494
|
+
translatedName: z.ZodString;
|
|
2495
|
+
translatedDescription: z.ZodString;
|
|
2496
|
+
category: z.ZodString;
|
|
2497
|
+
icon: z.ZodString;
|
|
2498
|
+
}, z.core.$strip>>;
|
|
2499
|
+
}, z.core.$strip>;
|
|
2500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2501
|
+
success: z.ZodLiteral<false>;
|
|
2502
|
+
message: z.ZodString;
|
|
2503
|
+
}, z.core.$strip>]>;
|
|
2504
|
+
declare const recommendActionsRequestSchema: z.ZodObject<{
|
|
2505
|
+
text: z.ZodString;
|
|
2506
|
+
scene: z.ZodString;
|
|
2507
|
+
}, z.core.$strip>;
|
|
2508
|
+
declare const recommendActionsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2509
|
+
success: z.ZodLiteral<true>;
|
|
2510
|
+
data: z.ZodObject<{
|
|
2511
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
2512
|
+
label: z.ZodString;
|
|
2513
|
+
description: z.ZodString;
|
|
2514
|
+
action: z.ZodString;
|
|
2515
|
+
}, z.core.$strip>>;
|
|
2516
|
+
}, z.core.$strip>;
|
|
2517
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2518
|
+
success: z.ZodLiteral<false>;
|
|
2519
|
+
message: z.ZodString;
|
|
2520
|
+
}, z.core.$strip>]>;
|
|
2521
|
+
declare const summarizeRequestSchema: z.ZodObject<{
|
|
2522
|
+
text: z.ZodString;
|
|
2523
|
+
}, z.core.$strip>;
|
|
2524
|
+
declare const summarizeResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2525
|
+
success: z.ZodLiteral<true>;
|
|
2526
|
+
data: z.ZodObject<{
|
|
2527
|
+
summary: z.ZodString;
|
|
2528
|
+
}, z.core.$strip>;
|
|
2529
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2530
|
+
success: z.ZodLiteral<false>;
|
|
2531
|
+
message: z.ZodString;
|
|
2532
|
+
}, z.core.$strip>]>;
|
|
2533
|
+
type AnalyzeSkillsRequest = z.infer<typeof analyzeSkillsRequestSchema>;
|
|
2534
|
+
type AnalyzeSkillsResponse = z.infer<typeof analyzeSkillsResponseSchema>;
|
|
2535
|
+
type RecommendActionsRequest = z.infer<typeof recommendActionsRequestSchema>;
|
|
2536
|
+
type RecommendActionsResponse = z.infer<typeof recommendActionsResponseSchema>;
|
|
2537
|
+
type SummarizeRequest = z.infer<typeof summarizeRequestSchema>;
|
|
2538
|
+
type SummarizeResponse = z.infer<typeof summarizeResponseSchema>;
|
|
2539
|
+
|
|
2540
|
+
type AiToolsSdkHost = SdkHost<{
|
|
2541
|
+
aiTools: typeof aiToolsEndpoints;
|
|
2542
|
+
}>;
|
|
2543
|
+
declare class AiToolsClient {
|
|
2544
|
+
/** SDK host used for ai-tools requests. */
|
|
2545
|
+
private readonly sdk;
|
|
2546
|
+
/** Create AI tools client. */
|
|
2547
|
+
constructor(sdk: AiToolsSdkHost);
|
|
2548
|
+
/** Analyze a list of skills. */
|
|
2549
|
+
analyzeSkills(payload: AnalyzeSkillsRequest): Promise<{
|
|
2550
|
+
success: true;
|
|
2551
|
+
data: {
|
|
2552
|
+
skills: {
|
|
2553
|
+
name: string;
|
|
2554
|
+
translatedName: string;
|
|
2555
|
+
translatedDescription: string;
|
|
2556
|
+
category: string;
|
|
2557
|
+
icon: string;
|
|
2558
|
+
}[];
|
|
2559
|
+
};
|
|
2560
|
+
} | {
|
|
2561
|
+
success: false;
|
|
2562
|
+
message: string;
|
|
2563
|
+
}>;
|
|
2564
|
+
/** Recommend next actions based on text and scene. */
|
|
2565
|
+
recommendActions(payload: RecommendActionsRequest): Promise<{
|
|
2566
|
+
success: true;
|
|
2567
|
+
data: {
|
|
2568
|
+
actions: {
|
|
2569
|
+
label: string;
|
|
2570
|
+
description: string;
|
|
2571
|
+
action: string;
|
|
2572
|
+
}[];
|
|
2573
|
+
};
|
|
2574
|
+
} | {
|
|
2575
|
+
success: false;
|
|
2576
|
+
message: string;
|
|
2577
|
+
}>;
|
|
2578
|
+
/** Summarize text content. */
|
|
2579
|
+
summarize(payload: SummarizeRequest): Promise<{
|
|
2580
|
+
success: true;
|
|
2581
|
+
data: {
|
|
2582
|
+
summary: string;
|
|
2583
|
+
};
|
|
2584
|
+
} | {
|
|
2585
|
+
success: false;
|
|
2586
|
+
message: string;
|
|
2587
|
+
}>;
|
|
2588
|
+
}
|
|
2589
|
+
|
|
2590
|
+
type index$4_AiToolsClient = AiToolsClient;
|
|
2591
|
+
declare const index$4_AiToolsClient: typeof AiToolsClient;
|
|
2592
|
+
type index$4_AnalyzeSkillsRequest = AnalyzeSkillsRequest;
|
|
2593
|
+
type index$4_AnalyzeSkillsResponse = AnalyzeSkillsResponse;
|
|
2594
|
+
type index$4_RecommendActionsRequest = RecommendActionsRequest;
|
|
2595
|
+
type index$4_RecommendActionsResponse = RecommendActionsResponse;
|
|
2596
|
+
type index$4_SummarizeRequest = SummarizeRequest;
|
|
2597
|
+
type index$4_SummarizeResponse = SummarizeResponse;
|
|
2598
|
+
declare const index$4_aiToolsEndpoints: typeof aiToolsEndpoints;
|
|
2599
|
+
declare const index$4_analyzeSkillsRequestSchema: typeof analyzeSkillsRequestSchema;
|
|
2600
|
+
declare const index$4_analyzeSkillsResponseSchema: typeof analyzeSkillsResponseSchema;
|
|
2601
|
+
declare const index$4_recommendActionsRequestSchema: typeof recommendActionsRequestSchema;
|
|
2602
|
+
declare const index$4_recommendActionsResponseSchema: typeof recommendActionsResponseSchema;
|
|
2603
|
+
declare const index$4_summarizeRequestSchema: typeof summarizeRequestSchema;
|
|
2604
|
+
declare const index$4_summarizeResponseSchema: typeof summarizeResponseSchema;
|
|
2379
2605
|
declare namespace index$4 {
|
|
2380
|
-
export { index$
|
|
2606
|
+
export { index$4_AiToolsClient as AiToolsClient, type index$4_AnalyzeSkillsRequest as AnalyzeSkillsRequest, type index$4_AnalyzeSkillsResponse as AnalyzeSkillsResponse, type index$4_RecommendActionsRequest as RecommendActionsRequest, type index$4_RecommendActionsResponse as RecommendActionsResponse, type index$4_SummarizeRequest as SummarizeRequest, type index$4_SummarizeResponse as SummarizeResponse, index$4_aiToolsEndpoints as aiToolsEndpoints, index$4_analyzeSkillsRequestSchema as analyzeSkillsRequestSchema, index$4_analyzeSkillsResponseSchema as analyzeSkillsResponseSchema, index$4_recommendActionsRequestSchema as recommendActionsRequestSchema, index$4_recommendActionsResponseSchema as recommendActionsResponseSchema, index$4_summarizeRequestSchema as summarizeRequestSchema, index$4_summarizeResponseSchema as summarizeResponseSchema };
|
|
2381
2607
|
}
|
|
2382
2608
|
|
|
2383
2609
|
declare const authEndpoints: {
|
|
@@ -2668,7 +2894,7 @@ declare namespace index$2 {
|
|
|
2668
2894
|
declare const feedbackEndpoints: {
|
|
2669
2895
|
/** Submit feedback. */
|
|
2670
2896
|
readonly submit: Endpoint<{
|
|
2671
|
-
type: "ui" | "performance" | "bug" | "feature" | "other";
|
|
2897
|
+
type: "chat" | "ui" | "performance" | "bug" | "feature" | "other";
|
|
2672
2898
|
content: string;
|
|
2673
2899
|
context: Record<string, unknown>;
|
|
2674
2900
|
source?: "tenas" | "openloaf" | "openloaf-saas" | undefined;
|
|
@@ -2680,7 +2906,7 @@ declare const feedbackEndpoints: {
|
|
|
2680
2906
|
readonly list: Endpoint<{
|
|
2681
2907
|
page?: number | undefined;
|
|
2682
2908
|
pageSize?: number | undefined;
|
|
2683
|
-
type?: "ui" | "performance" | "bug" | "feature" | "other" | undefined;
|
|
2909
|
+
type?: "chat" | "ui" | "performance" | "bug" | "feature" | "other" | undefined;
|
|
2684
2910
|
source?: "tenas" | "openloaf" | "openloaf-saas" | undefined;
|
|
2685
2911
|
saasStatus?: "unread" | "read" | "resolved" | "ignored" | undefined;
|
|
2686
2912
|
keyword?: string | undefined;
|
|
@@ -2692,7 +2918,7 @@ declare const feedbackEndpoints: {
|
|
|
2692
2918
|
items: {
|
|
2693
2919
|
id: string;
|
|
2694
2920
|
source: "tenas" | "openloaf" | "openloaf-saas";
|
|
2695
|
-
type: "ui" | "performance" | "bug" | "feature" | "other";
|
|
2921
|
+
type: "chat" | "ui" | "performance" | "bug" | "feature" | "other";
|
|
2696
2922
|
saasStatus: "unread" | "read" | "resolved" | "ignored";
|
|
2697
2923
|
content: string;
|
|
2698
2924
|
context: Record<string, unknown>;
|
|
@@ -2712,7 +2938,7 @@ declare const feedbackEndpoints: {
|
|
|
2712
2938
|
feedback: {
|
|
2713
2939
|
id: string;
|
|
2714
2940
|
source: "tenas" | "openloaf" | "openloaf-saas";
|
|
2715
|
-
type: "ui" | "performance" | "bug" | "feature" | "other";
|
|
2941
|
+
type: "chat" | "ui" | "performance" | "bug" | "feature" | "other";
|
|
2716
2942
|
saasStatus: "unread" | "read" | "resolved" | "ignored";
|
|
2717
2943
|
content: string;
|
|
2718
2944
|
context: Record<string, unknown>;
|
|
@@ -2732,6 +2958,7 @@ declare const feedbackSourceSchema: z.ZodEnum<{
|
|
|
2732
2958
|
}>;
|
|
2733
2959
|
/** Feedback category schema. */
|
|
2734
2960
|
declare const feedbackTypeSchema: z.ZodEnum<{
|
|
2961
|
+
chat: "chat";
|
|
2735
2962
|
ui: "ui";
|
|
2736
2963
|
performance: "performance";
|
|
2737
2964
|
bug: "bug";
|
|
@@ -2753,6 +2980,7 @@ declare const feedbackSubmitRequestSchema: z.ZodObject<{
|
|
|
2753
2980
|
"openloaf-saas": "openloaf-saas";
|
|
2754
2981
|
}>>;
|
|
2755
2982
|
type: z.ZodEnum<{
|
|
2983
|
+
chat: "chat";
|
|
2756
2984
|
ui: "ui";
|
|
2757
2985
|
performance: "performance";
|
|
2758
2986
|
bug: "bug";
|
|
@@ -2776,6 +3004,7 @@ declare const feedbackListRequestSchema: z.ZodObject<{
|
|
|
2776
3004
|
page: z.ZodOptional<z.ZodNumber>;
|
|
2777
3005
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
2778
3006
|
type: z.ZodOptional<z.ZodEnum<{
|
|
3007
|
+
chat: "chat";
|
|
2779
3008
|
ui: "ui";
|
|
2780
3009
|
performance: "performance";
|
|
2781
3010
|
bug: "bug";
|
|
@@ -2806,6 +3035,7 @@ declare const feedbackItemSchema: z.ZodObject<{
|
|
|
2806
3035
|
"openloaf-saas": "openloaf-saas";
|
|
2807
3036
|
}>;
|
|
2808
3037
|
type: z.ZodEnum<{
|
|
3038
|
+
chat: "chat";
|
|
2809
3039
|
ui: "ui";
|
|
2810
3040
|
performance: "performance";
|
|
2811
3041
|
bug: "bug";
|
|
@@ -2835,6 +3065,7 @@ declare const feedbackListPayloadSchema: z.ZodObject<{
|
|
|
2835
3065
|
"openloaf-saas": "openloaf-saas";
|
|
2836
3066
|
}>;
|
|
2837
3067
|
type: z.ZodEnum<{
|
|
3068
|
+
chat: "chat";
|
|
2838
3069
|
ui: "ui";
|
|
2839
3070
|
performance: "performance";
|
|
2840
3071
|
bug: "bug";
|
|
@@ -2868,6 +3099,7 @@ declare const feedbackListResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2868
3099
|
"openloaf-saas": "openloaf-saas";
|
|
2869
3100
|
}>;
|
|
2870
3101
|
type: z.ZodEnum<{
|
|
3102
|
+
chat: "chat";
|
|
2871
3103
|
ui: "ui";
|
|
2872
3104
|
performance: "performance";
|
|
2873
3105
|
bug: "bug";
|
|
@@ -2905,6 +3137,7 @@ declare const feedbackDetailPayloadSchema: z.ZodObject<{
|
|
|
2905
3137
|
"openloaf-saas": "openloaf-saas";
|
|
2906
3138
|
}>;
|
|
2907
3139
|
type: z.ZodEnum<{
|
|
3140
|
+
chat: "chat";
|
|
2908
3141
|
ui: "ui";
|
|
2909
3142
|
performance: "performance";
|
|
2910
3143
|
bug: "bug";
|
|
@@ -2935,6 +3168,7 @@ declare const feedbackDetailResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2935
3168
|
"openloaf-saas": "openloaf-saas";
|
|
2936
3169
|
}>;
|
|
2937
3170
|
type: z.ZodEnum<{
|
|
3171
|
+
chat: "chat";
|
|
2938
3172
|
ui: "ui";
|
|
2939
3173
|
performance: "performance";
|
|
2940
3174
|
bug: "bug";
|
|
@@ -3152,6 +3386,8 @@ declare class SaaSClient extends BaseSaaSClient<SaaSContract> {
|
|
|
3152
3386
|
readonly auth: AuthClient;
|
|
3153
3387
|
/** AI-related APIs. */
|
|
3154
3388
|
readonly ai: AiClient;
|
|
3389
|
+
/** AI tools APIs (analyze, recommend, summarize). */
|
|
3390
|
+
readonly aiTools: AiToolsClient;
|
|
3155
3391
|
/** Auxiliary inference APIs. */
|
|
3156
3392
|
readonly auxiliary: AuxiliaryClient;
|
|
3157
3393
|
/** Feedback-related APIs. */
|
|
@@ -3203,4 +3439,4 @@ declare function createTrpcClient(options: TrpcClientOptions): _trpc_client.TRPC
|
|
|
3203
3439
|
transformer: false;
|
|
3204
3440
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<_trpc_server.TRPCCreateRouterOptions>>>;
|
|
3205
3441
|
|
|
3206
|
-
export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatModel, type AiChatModelsResponse, AiClient, type AiFileUploadResponse, type AiImageInputs, type AiImageOutput, type AiImageRequest, type AiMediaInput, type AiModel, type AiModelCapabilities, type AiModelCapabilitiesInput, type AiModelCapabilitiesOutput, type AiModelCapabilityInputKey, type AiModelCapabilityOutputKey, type AiModelTag, type AiModelsResponse, type AiModelsUpdatedAtData, type AiModelsUpdatedAtResponse, type AiProviderTemplate, type AiProviderTemplateModel, type AiProviderTemplatesResponse, type AiTaskCancelResponse, type AiTaskCreatedResponse, type AiTaskResponse, type AiVideoInputs, type AiVideoOutput, type AiVideoRequest, AuthClient, type AuthExchangeRequest, type AuthExchangeResponse, type AuthLogoutRequest, type AuthLogoutResponse, type AuthRefreshError, type AuthRefreshRequest, type AuthRefreshResponse, type AuthRefreshSuccess, AuxiliaryClient, type AuxiliaryInferRequest, type AuxiliaryInferResponse, type AuxiliaryQuota, type AuxiliaryQuotaResponse, Endpoint, type FeedbackAttachmentResponse, FeedbackClient, type FeedbackDetailPayload, type FeedbackDetailRequest, type FeedbackDetailResponse, type FeedbackListPayload, type FeedbackListRequest, type FeedbackListResponse, type FeedbackSaasStatus, type FeedbackSource, type FeedbackSubmitError, type FeedbackSubmitRequest, type FeedbackSubmitResponse, type FeedbackType, type HeaderInput, type HttpMethod, type ResponseType, SaaSClient, type SaaSClientOptions, SaaSContract, SaaSHttpError, SaaSNetworkError, SaaSSchemaError, type TrpcClientOptions, UserClient, type UserMembershipLevel, type UserSelf, type UserSelfRequest, type UserSelfResponse, aiChatModelSchema, aiChatModelsPayloadSchema, aiChatModelsResponseSchema, aiChatModelsSuccessSchema, aiEndpoints, aiErrorResponseSchema, aiImageInputsSchema, aiImageOutputSchema, aiImageRequestSchema, aiMediaInputSchema, aiModelCapabilitiesInputSchema, aiModelCapabilitiesOutputSchema, aiModelCapabilitiesSchema, aiModelCapabilityCommonSchema, aiModelParameterFieldSchema, aiModelParamsSchema, aiModelSchema, aiModelsPayloadSchema, aiModelsRequestSchema, aiModelsResponseSchema, aiModelsSuccessSchema, aiModelsUpdatedAtDataSchema, aiModelsUpdatedAtResponseSchema, aiModelsUpdatedAtSuccessSchema, index$
|
|
3442
|
+
export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatModel, type AiChatModelsResponse, AiClient, type AiFileUploadResponse, type AiImageInputs, type AiImageOutput, type AiImageRequest, type AiMediaInput, type AiModel, type AiModelCapabilities, type AiModelCapabilitiesInput, type AiModelCapabilitiesOutput, type AiModelCapabilityInputKey, type AiModelCapabilityOutputKey, type AiModelTag, type AiModelsResponse, type AiModelsUpdatedAtData, type AiModelsUpdatedAtResponse, type AiProviderTemplate, type AiProviderTemplateModel, type AiProviderTemplatesResponse, type AiTaskCancelResponse, type AiTaskCreatedResponse, type AiTaskResponse, AiToolsClient, type AiVideoInputs, type AiVideoOutput, type AiVideoRequest, type AnalyzeSkillsRequest, type AnalyzeSkillsResponse, AuthClient, type AuthExchangeRequest, type AuthExchangeResponse, type AuthLogoutRequest, type AuthLogoutResponse, type AuthRefreshError, type AuthRefreshRequest, type AuthRefreshResponse, type AuthRefreshSuccess, AuxiliaryClient, type AuxiliaryInferRequest, type AuxiliaryInferResponse, type AuxiliaryQuota, type AuxiliaryQuotaResponse, Endpoint, type FeedbackAttachmentResponse, FeedbackClient, type FeedbackDetailPayload, type FeedbackDetailRequest, type FeedbackDetailResponse, type FeedbackListPayload, type FeedbackListRequest, type FeedbackListResponse, type FeedbackSaasStatus, type FeedbackSource, type FeedbackSubmitError, type FeedbackSubmitRequest, type FeedbackSubmitResponse, type FeedbackType, type HeaderInput, type HttpMethod, type RecommendActionsRequest, type RecommendActionsResponse, type ResponseType, SaaSClient, type SaaSClientOptions, SaaSContract, SaaSHttpError, SaaSNetworkError, SaaSSchemaError, type SummarizeRequest, type SummarizeResponse, type TrpcClientOptions, UserClient, type UserMembershipLevel, type UserSelf, type UserSelfRequest, type UserSelfResponse, aiChatModelSchema, aiChatModelsPayloadSchema, aiChatModelsResponseSchema, aiChatModelsSuccessSchema, aiEndpoints, aiErrorResponseSchema, aiImageInputsSchema, aiImageOutputSchema, aiImageRequestSchema, aiMediaInputSchema, aiModelCapabilitiesInputSchema, aiModelCapabilitiesOutputSchema, aiModelCapabilitiesSchema, aiModelCapabilityCommonSchema, aiModelParameterFieldSchema, aiModelParamsSchema, aiModelSchema, aiModelsPayloadSchema, aiModelsRequestSchema, aiModelsResponseSchema, aiModelsSuccessSchema, aiModelsUpdatedAtDataSchema, aiModelsUpdatedAtResponseSchema, aiModelsUpdatedAtSuccessSchema, index$5 as aiModule, aiProviderTemplateModelSchema, aiProviderTemplateSchema, aiProviderTemplatesPayloadSchema, aiProviderTemplatesRequestSchema, aiProviderTemplatesResponseSchema, aiProviderTemplatesSuccessSchema, aiTaskCancelDataSchema, aiTaskCancelRequestSchema, aiTaskCancelResponseSchema, aiTaskCancelSuccessSchema, aiTaskCreatedDataSchema, aiTaskCreatedResponseSchema, aiTaskCreatedSuccessSchema, aiTaskDataSchema, aiTaskErrorSchema, aiTaskRequestSchema, aiTaskResponseSchema, aiTaskResultTypeSchema, aiTaskStatusSchema, aiTaskSuccessSchema, aiToolsEndpoints, index$4 as aiToolsModule, aiVideoInputsSchema, aiVideoOutputSchema, aiVideoRequestSchema, analyzeSkillsRequestSchema, analyzeSkillsResponseSchema, authEndpoints, authExchangeRequestSchema, authExchangeResponseSchema, authLogoutRequestSchema, authLogoutResponseSchema, index$3 as authModule, authRefreshErrorSchema, authRefreshRequestSchema, authRefreshResponseSchema, authRefreshSuccessSchema, authRefreshUserSchema, auxiliaryEndpoints, auxiliaryInferRequestSchema, auxiliaryInferResponseSchema, index$2 as auxiliaryModule, auxiliaryQuotaResponseSchema, contract, createTrpcClient, feedbackDetailPayloadSchema, feedbackDetailRequestSchema, feedbackDetailResponseSchema, feedbackEndpoints, feedbackItemSchema, feedbackListPayloadSchema, feedbackListRequestSchema, feedbackListResponseSchema, index$1 as feedbackModule, feedbackSaasStatusSchema, feedbackSourceSchema, feedbackSubmitErrorSchema, feedbackSubmitRequestSchema, feedbackSubmitResponseSchema, feedbackTypeSchema, mergeHeaders, normalizeHeaders, recommendActionsRequestSchema, recommendActionsResponseSchema, request, summarizeRequestSchema, summarizeResponseSchema, userEndpoints, userMembershipLevelSchema, index as userModule, userSelfRequestSchema, userSelfResponseSchema, userSelfSchema };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0xc0113b=_0x4aa9;(function(_0x114298,_0x17690f){var _0x585d43=_0x4aa9,_0x4e559b=_0x114298();while(!![]){try{var _0x2a1481=parseInt(_0x585d43(0x2a9))/(-0xd76+0xdc6+-0x4f)*(-parseInt(_0x585d43(0x24d))/(-0x140+-0x1dc4+0x1f06))+-parseInt(_0x585d43(0x3a2))/(0x2590+-0xb*-0x173+-0x357e)*(-parseInt(_0x585d43(0x340))/(0x4*0x151+0x1*0x18b9+-0x1df9))+parseInt(_0x585d43(0x1e8))/(0x1*-0xc1+0x13b7+-0x12f1)+-parseInt(_0x585d43(0x22f))/(0x1*0x1bd1+0x37c*-0x1+-0x184f*0x1)+-parseInt(_0x585d43(0x32e))/(0x1ef7+-0x5e2+-0x190e)+parseInt(_0x585d43(0x37d))/(0x16b5+0x257*-0xd+0x7be)+parseInt(_0x585d43(0x299))/(-0xfcb*-0x1+-0xb*0x25f+0xa53);if(_0x2a1481===_0x17690f)break;else _0x4e559b['push'](_0x4e559b['shift']());}catch(_0x5f41e5){_0x4e559b['push'](_0x4e559b['shift']());}}}(_0x3445,0x3fd*-0x89+0x2c2*-0xf5+0x673af*0x1));import{z}from'zod';import{createTRPCClient,httpBatchLink}from'@trpc/client';var __defProp=Object[_0xc0113b(0x2f2)+_0xc0113b(0x23e)+_0xc0113b(0x3a7)],__export=(_0x54bf68,_0x31e1ba)=>{for(var _0x2e4a62 in _0x31e1ba)__defProp(_0x54bf68,_0x2e4a62,{'get':_0x31e1ba[_0x2e4a62],'enumerable':!![]});},ai_exports={},_0x2af3f0={};_0x2af3f0[_0xc0113b(0x262)+_0xc0113b(0x280)+_0xc0113b(0x25e)+'LITY_'+_0xc0113b(0x37a)+'_KEYS']=()=>AI_MODEL_CAPABILITY_INPUT_KEYS,_0x2af3f0[_0xc0113b(0x262)+'DEL_C'+_0xc0113b(0x25e)+_0xc0113b(0x202)+_0xc0113b(0x359)+_0xc0113b(0x37e)+'S']=()=>AI_MODEL_CAPABILITY_OUTPUT_KEYS,_0x2af3f0[_0xc0113b(0x262)+_0xc0113b(0x2cd)+_0xc0113b(0x344)]=()=>AI_MODEL_TAGS,_0x2af3f0[_0xc0113b(0x262)+_0xc0113b(0x2cd)+_0xc0113b(0x367)+_0xc0113b(0x24c)]=()=>AI_MODEL_TAG_LABELS,_0x2af3f0[_0xc0113b(0x3a8)+_0xc0113b(0x1f1)]=()=>AiClient,_0x2af3f0['aiCha'+_0xc0113b(0x28f)+_0xc0113b(0x23a)+'ma']=()=>aiChatModelSchema,_0x2af3f0[_0xc0113b(0x376)+_0xc0113b(0x28f)+'lsPay'+_0xc0113b(0x3b0)+_0xc0113b(0x34c)]=()=>aiChatModelsPayloadSchema,_0x2af3f0[_0xc0113b(0x376)+_0xc0113b(0x28f)+_0xc0113b(0x32a)+_0xc0113b(0x385)+_0xc0113b(0x2e2)+'a']=()=>aiChatModelsResponseSchema,_0x2af3f0[_0xc0113b(0x376)+_0xc0113b(0x28f)+_0xc0113b(0x298)+_0xc0113b(0x335)+_0xc0113b(0x34c)]=()=>aiChatModelsSuccessSchema,_0x2af3f0[_0xc0113b(0x35b)+_0xc0113b(0x23d)+'s']=()=>aiEndpoints,_0x2af3f0[_0xc0113b(0x1fe)+_0xc0113b(0x343)+_0xc0113b(0x385)+_0xc0113b(0x2e2)+'a']=()=>aiErrorResponseSchema,_0x2af3f0[_0xc0113b(0x21d)+_0xc0113b(0x25c)+_0xc0113b(0x368)+_0xc0113b(0x249)]=()=>aiImageInputsSchema,_0x2af3f0[_0xc0113b(0x21d)+_0xc0113b(0x1ee)+_0xc0113b(0x256)+_0xc0113b(0x249)]=()=>aiImageOutputSchema,_0x2af3f0[_0xc0113b(0x21d)+_0xc0113b(0x287)+_0xc0113b(0x2b8)+_0xc0113b(0x34c)]=()=>aiImageRequestSchema,_0x2af3f0[_0xc0113b(0x2ee)+_0xc0113b(0x35e)+_0xc0113b(0x29c)+_0xc0113b(0x2c4)]=()=>aiMediaInputSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x36a)+'abili'+_0xc0113b(0x379)+_0xc0113b(0x387)+_0xc0113b(0x34c)]=()=>aiModelCapabilitiesInputSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x36a)+_0xc0113b(0x245)+_0xc0113b(0x341)+'utput'+'Schem'+'a']=()=>aiModelCapabilitiesOutputSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x36a)+_0xc0113b(0x245)+_0xc0113b(0x267)+_0xc0113b(0x34c)]=()=>aiModelCapabilitiesSchema,_0x2af3f0[_0xc0113b(0x26c)+'elCap'+_0xc0113b(0x245)+'tyCom'+_0xc0113b(0x355)+_0xc0113b(0x249)]=()=>aiModelCapabilityCommonSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x26d)+_0xc0113b(0x293)+_0xc0113b(0x22c)+_0xc0113b(0x241)+'ma']=()=>aiModelParameterFieldSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x26d)+_0xc0113b(0x28e)+_0xc0113b(0x249)]=()=>aiModelParamsSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x2fa)+_0xc0113b(0x2c4)]=()=>aiModelSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x38d)+'yload'+'Schem'+'a']=()=>aiModelsPayloadSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x38c)+'quest'+_0xc0113b(0x2e2)+'a']=()=>aiModelsRequestSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x38c)+_0xc0113b(0x297)+_0xc0113b(0x27e)+'ma']=()=>aiModelsResponseSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x2d2)+_0xc0113b(0x2be)+_0xc0113b(0x2e2)+'a']=()=>aiModelsSuccessSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x2a8)+_0xc0113b(0x2de)+_0xc0113b(0x3b8)+_0xc0113b(0x3a9)+'ma']=()=>aiModelsUpdatedAtDataSchema,_0x2af3f0[_0xc0113b(0x26c)+_0xc0113b(0x2a8)+_0xc0113b(0x2de)+_0xc0113b(0x234)+_0xc0113b(0x385)+_0xc0113b(0x2e2)+'a']=()=>aiModelsUpdatedAtResponseSchema,_0x2af3f0[_0xc0113b(0x26c)+'elsUp'+_0xc0113b(0x2de)+'AtSuc'+_0xc0113b(0x335)+_0xc0113b(0x34c)]=()=>aiModelsUpdatedAtSuccessSchema,_0x2af3f0[_0xc0113b(0x2ed)+_0xc0113b(0x270)+_0xc0113b(0x20e)+'ateMo'+_0xc0113b(0x1df)+_0xc0113b(0x249)]=()=>aiProviderTemplateModelSchema,_0x2af3f0[_0xc0113b(0x2ed)+_0xc0113b(0x270)+_0xc0113b(0x20e)+_0xc0113b(0x369)+'hema']=()=>aiProviderTemplateSchema,_0x2af3f0[_0xc0113b(0x2ed)+_0xc0113b(0x270)+_0xc0113b(0x20e)+_0xc0113b(0x207)+'ayloa'+_0xc0113b(0x241)+'ma']=()=>aiProviderTemplatesPayloadSchema,_0x2af3f0['aiPro'+_0xc0113b(0x270)+'Templ'+'atesR'+_0xc0113b(0x1e7)+'tSche'+'ma']=()=>aiProviderTemplatesRequestSchema,_0x2af3f0[_0xc0113b(0x2ed)+_0xc0113b(0x270)+_0xc0113b(0x20e)+_0xc0113b(0x2e1)+_0xc0113b(0x3a5)+'seSch'+_0xc0113b(0x2c4)]=()=>aiProviderTemplatesResponseSchema,_0x2af3f0['aiPro'+'vider'+'Templ'+_0xc0113b(0x1fc)+_0xc0113b(0x372)+_0xc0113b(0x323)+'ma']=()=>aiProviderTemplatesSuccessSchema,_0x2af3f0[_0xc0113b(0x3af)+_0xc0113b(0x2ca)+_0xc0113b(0x27a)+'aSche'+'ma']=()=>aiTaskCancelDataSchema,_0x2af3f0[_0xc0113b(0x3af)+'kCanc'+_0xc0113b(0x229)+'uestS'+_0xc0113b(0x34c)]=()=>aiTaskCancelRequestSchema,_0x2af3f0[_0xc0113b(0x3af)+_0xc0113b(0x2ca)+_0xc0113b(0x2a2)+_0xc0113b(0x385)+_0xc0113b(0x2e2)+'a']=()=>aiTaskCancelResponseSchema,_0x2af3f0[_0xc0113b(0x3af)+_0xc0113b(0x2ca)+_0xc0113b(0x31f)+_0xc0113b(0x335)+_0xc0113b(0x34c)]=()=>aiTaskCancelSuccessSchema,_0x2af3f0[_0xc0113b(0x3af)+_0xc0113b(0x334)+_0xc0113b(0x39d)+_0xc0113b(0x20b)+_0xc0113b(0x2c4)]=()=>aiTaskCreatedDataSchema,_0x2af3f0[_0xc0113b(0x3af)+_0xc0113b(0x334)+_0xc0113b(0x352)+'spons'+_0xc0113b(0x27e)+'ma']=()=>aiTaskCreatedResponseSchema,_0x2af3f0['aiTas'+_0xc0113b(0x334)+'tedSu'+'ccess'+'Schem'+'a']=()=>aiTaskCreatedSuccessSchema,_0x2af3f0[_0xc0113b(0x3af)+_0xc0113b(0x32f)+_0xc0113b(0x2e2)+'a']=()=>aiTaskDataSchema,_0x2af3f0[_0xc0113b(0x3af)+_0xc0113b(0x349)+'rSche'+'ma']=()=>aiTaskErrorSchema,_0x2af3f0[_0xc0113b(0x3af)+_0xc0113b(0x289)+_0xc0113b(0x217)+_0xc0113b(0x249)]=()=>aiTaskRequestSchema,_0x2af3f0['aiTas'+_0xc0113b(0x28b)+_0xc0113b(0x314)+_0xc0113b(0x34c)]=()=>aiTaskResponseSchema,_0x2af3f0[_0xc0113b(0x3af)+_0xc0113b(0x2f7)+_0xc0113b(0x33b)+_0xc0113b(0x27e)+'ma']=()=>aiTaskResultTypeSchema,_0x2af3f0[_0xc0113b(0x3af)+_0xc0113b(0x2e7)+_0xc0113b(0x290)+_0xc0113b(0x2c4)]=()=>aiTaskStatusSchema,_0x2af3f0[_0xc0113b(0x3af)+_0xc0113b(0x1e2)+_0xc0113b(0x2af)+_0xc0113b(0x249)]=()=>aiTaskSuccessSchema,_0x2af3f0[_0xc0113b(0x311)+_0xc0113b(0x31e)+_0xc0113b(0x368)+_0xc0113b(0x249)]=()=>aiVideoInputsSchema,_0x2af3f0[_0xc0113b(0x311)+_0xc0113b(0x218)+_0xc0113b(0x256)+_0xc0113b(0x249)]=()=>aiVideoOutputSchema,_0x2af3f0[_0xc0113b(0x311)+_0xc0113b(0x3aa)+_0xc0113b(0x2b8)+_0xc0113b(0x34c)]=()=>aiVideoRequestSchema,__export(ai_exports,_0x2af3f0);var AiClient=class{[_0xc0113b(0x2b5)];constructor(_0x12af80){var _0x4d7829=_0xc0113b;this[_0x4d7829(0x2b5)]=_0x12af80;}async['image'](_0xc44afe){var _0xe71eab=_0xc0113b;const _0x14ba10=await this[_0xe71eab(0x2b5)][_0xe71eab(0x383)+_0xe71eab(0x313)+_0xe71eab(0x22e)]();return this[_0xe71eab(0x2b5)][_0xe71eab(0x2aa)+'st'](this[_0xe71eab(0x2b5)]['contr'+_0xe71eab(0x232)]['ai']['image'],{'baseUrl':this[_0xe71eab(0x2b5)][_0xe71eab(0x3bb)+_0xe71eab(0x2c2)](),'headers':_0x14ba10,'body':_0xc44afe});}async[_0xc0113b(0x32b)](_0x43ad1d){var _0x444b02=_0xc0113b;const _0x457750=await this[_0x444b02(0x2b5)][_0x444b02(0x383)+_0x444b02(0x313)+_0x444b02(0x22e)]();return this[_0x444b02(0x2b5)][_0x444b02(0x2aa)+'st'](this[_0x444b02(0x2b5)][_0x444b02(0x370)+_0x444b02(0x232)]['ai'][_0x444b02(0x32b)],{'baseUrl':this['sdk'][_0x444b02(0x3bb)+_0x444b02(0x2c2)](),'headers':_0x457750,'body':_0x43ad1d});}async[_0xc0113b(0x23b)](_0x2622e1){var _0x443212=_0xc0113b;const _0x45aae0=await this[_0x443212(0x2b5)]['build'+_0x443212(0x313)+_0x443212(0x22e)]();return this['sdk'][_0x443212(0x2aa)+'st'](this[_0x443212(0x2b5)][_0x443212(0x370)+_0x443212(0x232)]['ai'][_0x443212(0x23b)](_0x2622e1),{'baseUrl':this[_0x443212(0x2b5)][_0x443212(0x3bb)+_0x443212(0x2c2)](),'headers':_0x45aae0,'body':void(-0x1248+-0x2*0xbaf+-0x14d3*-0x2)});}async[_0xc0113b(0x375)+_0xc0113b(0x350)](_0x3e2830){var _0x23a9b8=_0xc0113b;const _0x6e9e43=await this[_0x23a9b8(0x2b5)][_0x23a9b8(0x383)+_0x23a9b8(0x313)+_0x23a9b8(0x22e)]();return this[_0x23a9b8(0x2b5)][_0x23a9b8(0x2aa)+'st'](this[_0x23a9b8(0x2b5)][_0x23a9b8(0x370)+_0x23a9b8(0x232)]['ai'][_0x23a9b8(0x375)+'lTask'](_0x3e2830),{'baseUrl':this['sdk'][_0x23a9b8(0x3bb)+'seUrl'](),'headers':_0x6e9e43,'body':void(0x1*0x1f5d+-0x36f*-0x5+-0x611*0x8)});}async[_0xc0113b(0x2dd)+_0xc0113b(0x1ec)+'s'](){var _0x4e3096=_0xc0113b;const _0x13ad29=await this['sdk'][_0x4e3096(0x383)+_0x4e3096(0x313)+_0x4e3096(0x22e)]();return this[_0x4e3096(0x2b5)][_0x4e3096(0x2aa)+'st'](this[_0x4e3096(0x2b5)][_0x4e3096(0x370)+'act']['ai'][_0x4e3096(0x2dd)+_0x4e3096(0x1ec)+'s'],{'baseUrl':this[_0x4e3096(0x2b5)][_0x4e3096(0x3bb)+_0x4e3096(0x2c2)](),'headers':_0x13ad29,'body':void(-0x3*-0x829+0x183c+-0x3*0x103d)});}async[_0xc0113b(0x32b)+_0xc0113b(0x1ec)+'s'](){var _0x33e705=_0xc0113b;const _0x5349f9=await this[_0x33e705(0x2b5)][_0x33e705(0x383)+_0x33e705(0x313)+_0x33e705(0x22e)]();return this[_0x33e705(0x2b5)][_0x33e705(0x2aa)+'st'](this[_0x33e705(0x2b5)][_0x33e705(0x370)+_0x33e705(0x232)]['ai'][_0x33e705(0x32b)+_0x33e705(0x1ec)+'s'],{'baseUrl':this[_0x33e705(0x2b5)][_0x33e705(0x3bb)+'seUrl'](),'headers':_0x5349f9,'body':void(0xb24+0x23ba+-0x2ede)});}async[_0xc0113b(0x254)+_0xc0113b(0x3ad)](){var _0x2653f3=_0xc0113b;const _0x5395f8=await this[_0x2653f3(0x2b5)][_0x2653f3(0x383)+_0x2653f3(0x313)+_0x2653f3(0x22e)]();return this[_0x2653f3(0x2b5)]['reque'+'st'](this[_0x2653f3(0x2b5)][_0x2653f3(0x370)+_0x2653f3(0x232)]['ai'][_0x2653f3(0x254)+_0x2653f3(0x3ad)],{'baseUrl':this[_0x2653f3(0x2b5)][_0x2653f3(0x3bb)+_0x2653f3(0x2c2)](),'headers':_0x5395f8,'body':void(0x2492+-0x2*0x24b+-0x1ffc)});}async[_0xc0113b(0x2f9)+_0xc0113b(0x2f3)+_0xc0113b(0x240)](){var _0x2b5f29=_0xc0113b;return this[_0x2b5f29(0x2b5)][_0x2b5f29(0x2aa)+'st'](this[_0x2b5f29(0x2b5)][_0x2b5f29(0x370)+_0x2b5f29(0x232)]['ai'][_0x2b5f29(0x2f9)+_0x2b5f29(0x2f3)+_0x2b5f29(0x240)],{'baseUrl':this[_0x2b5f29(0x2b5)][_0x2b5f29(0x3bb)+_0x2b5f29(0x2c2)](),'headers':{},'body':void(0x1912+-0x13c6+-0x54c)});}async[_0xc0113b(0x278)+_0xc0113b(0x21e)](_0x5a44f0,_0x23f366){var _0xb41bee=_0xc0113b;const _0x41a132=new FormData();_0x41a132['appen'+'d'](_0xb41bee(0x212),_0x5a44f0,_0x23f366??(_0x5a44f0 instanceof File?_0x5a44f0[_0xb41bee(0x2c1)]:_0xb41bee(0x212)));const _0x2cae9a=await this[_0xb41bee(0x2b5)][_0xb41bee(0x383)+_0xb41bee(0x313)+_0xb41bee(0x22e)](),_0x3a5444=this[_0xb41bee(0x2b5)][_0xb41bee(0x3bb)+_0xb41bee(0x2c2)]()+(_0xb41bee(0x1f0)+_0xb41bee(0x1e5)+_0xb41bee(0x357)+_0xb41bee(0x395));var _0x24272e={};_0x24272e[_0xb41bee(0x39a)+'d']=_0xb41bee(0x34b),_0x24272e[_0xb41bee(0x319)+'rs']=_0x2cae9a,_0x24272e[_0xb41bee(0x228)]=_0x41a132;const _0x31a0f6=await fetch(_0x3a5444,_0x24272e);if(!_0x31a0f6['ok']){const _0x4b389d=await _0x31a0f6[_0xb41bee(0x2ab)]()['catch'](()=>({'message':_0xb41bee(0x269)+_0xb41bee(0x325)+_0xb41bee(0x2b9)}));throw new Error(_0x4b389d[_0xb41bee(0x1ed)+'ge']??_0xb41bee(0x269)+_0xb41bee(0x325)+_0xb41bee(0x2b9));}return _0x31a0f6[_0xb41bee(0x2ab)]();}async['provi'+_0xc0113b(0x261)+_0xc0113b(0x3ab)+'es'](){var _0x57b6c1=_0xc0113b;return this[_0x57b6c1(0x2b5)][_0x57b6c1(0x2aa)+'st'](this['sdk'][_0x57b6c1(0x370)+_0x57b6c1(0x232)]['ai'][_0x57b6c1(0x2bf)+_0x57b6c1(0x261)+'mplat'+'es'],{'baseUrl':this[_0x57b6c1(0x2b5)]['getBa'+_0x57b6c1(0x2c2)](),'headers':{},'body':void(-0x17*0xe3+0x19*-0xa5+0x2*0x1241)});}},AI_MODEL_TAGS=[_0xc0113b(0x2dd)+_0xc0113b(0x2fc)+_0xc0113b(0x2e8)+'n','image'+'_mult'+_0xc0113b(0x1da)+'ut',_0xc0113b(0x2dd)+'_inpu'+'t',_0xc0113b(0x2dd)+_0xc0113b(0x251)+_0xc0113b(0x2cf)+_0xc0113b(0x316)+'on',_0xc0113b(0x2dd)+_0xc0113b(0x3b1),_0xc0113b(0x32b)+_0xc0113b(0x2fc)+_0xc0113b(0x2e8)+'n','chat',_0xc0113b(0x239)+_0xc0113b(0x2c5),_0xc0113b(0x20f)+_0xc0113b(0x31b),_0xc0113b(0x2dd)+'_anal'+_0xc0113b(0x20d),'video'+_0xc0113b(0x2c6)+_0xc0113b(0x20d),_0xc0113b(0x35c)+_0xc0113b(0x2c6)+_0xc0113b(0x20d),_0xc0113b(0x3b5)],_0x26ed1a={};_0x26ed1a[_0xc0113b(0x2dd)+_0xc0113b(0x2fc)+'ratio'+'n']=_0xc0113b(0x31d),_0x26ed1a['image'+_0xc0113b(0x251)+_0xc0113b(0x1da)+'ut']=_0xc0113b(0x2ae),_0x26ed1a[_0xc0113b(0x2dd)+_0xc0113b(0x2b0)+'t']='图片输入',_0x26ed1a[_0xc0113b(0x2dd)+_0xc0113b(0x251)+_0xc0113b(0x2cf)+_0xc0113b(0x316)+'on']=_0xc0113b(0x2c3),_0x26ed1a['image'+_0xc0113b(0x3b1)]=_0xc0113b(0x22d),_0x26ed1a[_0xc0113b(0x32b)+_0xc0113b(0x2fc)+'ratio'+'n']='视频生成',_0x26ed1a[_0xc0113b(0x2b6)]='对话',_0x26ed1a['reaso'+'ning']='推理',_0x26ed1a['tool_'+'call']=_0xc0113b(0x30f),_0x26ed1a[_0xc0113b(0x2dd)+_0xc0113b(0x2c6)+_0xc0113b(0x20d)]=_0xc0113b(0x281),_0x26ed1a[_0xc0113b(0x32b)+'_anal'+'ysis']=_0xc0113b(0x304),_0x26ed1a['audio'+_0xc0113b(0x2c6)+_0xc0113b(0x20d)]=_0xc0113b(0x2bd),_0x26ed1a[_0xc0113b(0x3b5)]='代码';var AI_MODEL_TAG_LABELS=_0x26ed1a,AI_MODEL_CAPABILITY_INPUT_KEYS=[_0xc0113b(0x2c8)+_0xc0113b(0x1f5),_0xc0113b(0x252)+_0xc0113b(0x390)+'sk',_0xc0113b(0x252)+'rtsRe'+_0xc0113b(0x236)+_0xc0113b(0x27d)+'eo',_0xc0113b(0x252)+_0xc0113b(0x2b1)+'artEn'+'d'],AI_MODEL_CAPABILITY_OUTPUT_KEYS=[_0xc0113b(0x252)+_0xc0113b(0x292)+_0xc0113b(0x1ef),_0xc0113b(0x252)+_0xc0113b(0x22b)+_0xc0113b(0x381)],Endpoint=class{[_0xc0113b(0x39a)+'d'];[_0xc0113b(0x2f6)];[_0xc0113b(0x204)+'nseTy'+'pe'];[_0xc0113b(0x2aa)+'st'];[_0xc0113b(0x204)+_0xc0113b(0x268)];constructor(_0x343a51){var _0x1467b3=_0xc0113b;this[_0x1467b3(0x39a)+'d']=_0x343a51[_0x1467b3(0x39a)+'d'],this[_0x1467b3(0x2f6)]=_0x343a51[_0x1467b3(0x2f6)],this[_0x1467b3(0x2aa)+'st']=_0x343a51[_0x1467b3(0x2aa)+'stSch'+'ema'],this[_0x1467b3(0x204)+'nse']=_0x343a51[_0x1467b3(0x204)+_0x1467b3(0x209)+'hema'],this[_0x1467b3(0x204)+_0x1467b3(0x226)+'pe']=_0x343a51[_0x1467b3(0x204)+_0x1467b3(0x226)+'pe']??_0x1467b3(0x2ab);}['parse'+_0xc0113b(0x37f)+'st'](_0x2cddb8){var _0x348917=_0xc0113b;return this[_0x348917(0x2aa)+'st'][_0x348917(0x374)](_0x2cddb8);}['parse'+_0xc0113b(0x285)+_0xc0113b(0x268)](_0x770206){var _0xf8adf2=_0xc0113b;return this[_0xf8adf2(0x204)+_0xf8adf2(0x268)][_0xf8adf2(0x374)](_0x770206);}[_0xc0113b(0x396)+_0xc0113b(0x275)+_0xc0113b(0x1e7)+'t'](_0x2460fb){var _0x33eb8b=_0xc0113b;return this[_0x33eb8b(0x2aa)+'st'][_0x33eb8b(0x396)+'arse'](_0x2460fb);}[_0xc0113b(0x396)+'arseR'+_0xc0113b(0x3a5)+'se'](_0x3d2a46){var _0x506596=_0xc0113b;return this[_0x506596(0x204)+_0x506596(0x268)][_0x506596(0x396)+_0x506596(0x221)](_0x3d2a46);}},aiVoidRequestSchema=z[_0xc0113b(0x1f7)](),_0x4dcb5d={};_0x4dcb5d[_0xc0113b(0x1ed)+'ge']=_0xc0113b(0x2d1)+_0xc0113b(0x2cb)+'\x20or\x20b'+_0xc0113b(0x35f)+_0xc0113b(0x373)+_0xc0113b(0x39e)+'ed';var aiMediaInputSchema=z['objec'+'t']({'url':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x33c)]()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x1e9)+'L')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'base64':z[_0xc0113b(0x33e)+'g']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x296)+_0xc0113b(0x276)+'数据')['optio'+_0xc0113b(0x238)](),'mediaType':z['strin'+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x220))[_0xc0113b(0x328)+_0xc0113b(0x238)]()})[_0xc0113b(0x2ce)+'e'](_0x317147=>Boolean(_0x317147['url']||_0x317147[_0xc0113b(0x2ea)+'4']),_0x4dcb5d),aiImageInputsSchema=z[_0xc0113b(0x1e3)+'t']({'images':z['array'](aiMediaInputSchema)[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x258)+'表')[_0xc0113b(0x328)+'nal'](),'mask':aiMediaInputSchema[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x3be))[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiVideoInputsSchema=z[_0xc0113b(0x1e3)+'t']({'images':z[_0xc0113b(0x2e4)](aiMediaInputSchema)[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x258)+'表')['optio'+'nal'](),'startImage':aiMediaInputSchema['descr'+'ibe'](_0xc0113b(0x34d))[_0xc0113b(0x328)+'nal'](),'endImage':aiMediaInputSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)]('尾帧图片')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'referenceVideo':aiMediaInputSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x284))[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiImageAspectRatioSchema=z['enum']([_0xc0113b(0x338),_0xc0113b(0x248),_0xc0113b(0x2e0),_0xc0113b(0x1e1)])[_0xc0113b(0x380)+_0xc0113b(0x39f)]('图像宽高比'),aiImageQualitySchema=z[_0xc0113b(0x265)]([_0xc0113b(0x2fe)+_0xc0113b(0x260),'hd'])[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x342)),aiImageOutputSchema=z['objec'+'t']({'count':z['numbe'+'r']()['int']()['min'](0xab9+0x1dd8+-0x2890)[_0xc0113b(0x39c)](-0x1c5a+-0x1029+-0x4*-0xb22)[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x36d)+'量')['optio'+_0xc0113b(0x238)](),'aspectRatio':aiImageAspectRatioSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x358)+'高比')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'quality':aiImageQualitySchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x215)+'量')[_0xc0113b(0x328)+'nal']()}),aiVideoOutputSchema=z[_0xc0113b(0x1e3)+'t']({'aspectRatio':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x315)+'高比')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'duration':z[_0xc0113b(0x2a4)+'r']()['posit'+_0xc0113b(0x36c)]()[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x244)+'长(秒)')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'clarity':z['strin'+'g']()[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x27c))[_0xc0113b(0x328)+'nal'](),'withAudio':z['boole'+'an']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x205)+'频')[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiImageRequestSchema=z[_0xc0113b(0x1e3)+'t']({'modelId':z['strin'+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x2bc)),'prompt':z['strin'+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x364)),'negativePrompt':z[_0xc0113b(0x33e)+'g']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x34a))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'style':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)]('风格')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'inputs':aiImageInputsSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x384))['optio'+_0xc0113b(0x238)](),'output':aiImageOutputSchema['descr'+'ibe']('输出参数')[_0xc0113b(0x328)+'nal'](),'parameters':z[_0xc0113b(0x1f6)+'d'](z[_0xc0113b(0x33e)+'g'](),z[_0xc0113b(0x2d4)+'wn']())[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x393))[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiVideoRequestSchema=z['objec'+'t']({'modelId':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x2bc)),'prompt':z['strin'+'g']()['descr'+'ibe'](_0xc0113b(0x364)),'negativePrompt':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x34a))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'style':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)]('风格')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'inputs':aiVideoInputsSchema['descr'+_0xc0113b(0x39f)](_0xc0113b(0x384))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'output':aiVideoOutputSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)]('输出参数')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'parameters':z[_0xc0113b(0x1f6)+'d'](z[_0xc0113b(0x33e)+'g'](),z[_0xc0113b(0x2d4)+'wn']())['descr'+_0xc0113b(0x39f)]('额外参数')['optio'+_0xc0113b(0x238)]()}),aiTaskCreatedDataSchema=z[_0xc0113b(0x1e3)+'t']({'taskId':z['strin'+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x23c))}),aiErrorResponseSchema=z[_0xc0113b(0x1e3)+'t']({'success':z[_0xc0113b(0x351)+'al'](![])[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x329)),'code':z['strin'+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x2fd))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'message':z[_0xc0113b(0x33e)+'g']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x36b))}),aiTaskCreatedSuccessSchema=z['objec'+'t']({'success':z[_0xc0113b(0x351)+'al'](!![])['descr'+'ibe'](_0xc0113b(0x329)),'data':aiTaskCreatedDataSchema[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x361))}),aiTaskCreatedResponseSchema=z['union']([aiTaskCreatedSuccessSchema,aiErrorResponseSchema]),aiTaskStatusSchema=z[_0xc0113b(0x265)](['queue'+'d',_0xc0113b(0x3b9)+'ng',_0xc0113b(0x2a3)+_0xc0113b(0x246),_0xc0113b(0x2f5)+'d','cance'+_0xc0113b(0x2b9)])[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x2d6)+'举'),aiTaskResultTypeSchema=z[_0xc0113b(0x265)]([_0xc0113b(0x2dd),_0xc0113b(0x32b)])[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x35d)+'型'),aiTaskErrorSchema=z['objec'+'t']({'code':z[_0xc0113b(0x33e)+'g']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x2fd))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'message':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x36b))}),aiTaskDataSchema=z[_0xc0113b(0x1e3)+'t']({'status':aiTaskStatusSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x3ae)),'progress':z[_0xc0113b(0x2a4)+'r']()['min'](0x15dd+0x1010+0x13*-0x1ff)[_0xc0113b(0x39c)](-0x139*0x4+0xa13*-0x1+0xf5b)[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x32c))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'resultType':aiTaskResultTypeSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)]('结果类型')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'resultUrls':z[_0xc0113b(0x2e4)](z[_0xc0113b(0x33e)+'g']())[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x263)+'表')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'error':aiTaskErrorSchema[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x36b))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'creditsConsumed':z[_0xc0113b(0x2a4)+'r']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x224))[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiTaskSuccessSchema=z[_0xc0113b(0x1e3)+'t']({'success':z[_0xc0113b(0x351)+'al'](!![])[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x329)),'data':aiTaskDataSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x361))}),aiTaskResponseSchema=z[_0xc0113b(0x333)]([aiTaskSuccessSchema,aiErrorResponseSchema]),aiTaskCancelDataSchema=z[_0xc0113b(0x1e3)+'t']({'status':z[_0xc0113b(0x265)](['cance'+'led',_0xc0113b(0x27b)+_0xc0113b(0x2d0)])[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x391)+'态')}),aiTaskCancelSuccessSchema=z['objec'+'t']({'success':z[_0xc0113b(0x351)+'al'](!![])['descr'+_0xc0113b(0x39f)](_0xc0113b(0x329)),'data':aiTaskCancelDataSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x361))}),aiTaskCancelResponseSchema=z['union']([aiTaskCancelSuccessSchema,aiErrorResponseSchema]),aiModelCapabilitiesInputSchema=z[_0xc0113b(0x1e3)+'t']({'maxImages':z[_0xc0113b(0x2a4)+'r']()[_0xc0113b(0x213)]()['descr'+'ibe'](_0xc0113b(0x259)+_0xc0113b(0x306))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'supportsMask':z['boole'+'an']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x20a)+'罩')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'supportsReferenceVideo':z['boole'+'an']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x231)+'考视频')[_0xc0113b(0x328)+'nal'](),'supportsStartEnd':z[_0xc0113b(0x371)+'an']()[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x28a)+'尾帧')[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiModelCapabilitiesOutputSchema=z[_0xc0113b(0x1e3)+'t']({'supportsMulti':z['boole'+'an']()[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x2f8)+'输出')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'supportsAudio':z[_0xc0113b(0x371)+'an']()['descr'+'ibe'](_0xc0113b(0x264)+'频输出')[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiModelCapabilityCommonSchema=z[_0xc0113b(0x1e3)+'t']({'maxContextK':z[_0xc0113b(0x2a4)+'r']()['int']()[_0xc0113b(0x309)+_0xc0113b(0x31c)+'e']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x2ff)+_0xc0113b(0x28d))['optio'+_0xc0113b(0x238)](),'supportsStructuredOutput':z[_0xc0113b(0x371)+'an']()['descr'+_0xc0113b(0x39f)]('是否支持结'+_0xc0113b(0x2e5))['optio'+_0xc0113b(0x238)](),'supportsWebSearch':z['boole'+'an']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x29f)+_0xc0113b(0x25a))[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiModelParameterValueSchema=z[_0xc0113b(0x333)]([z['strin'+'g'](),z[_0xc0113b(0x2a4)+'r'](),z[_0xc0113b(0x371)+'an']()]),aiModelParameterFieldSchema=z['objec'+'t']({'key':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x318)+'y'),'title':z['strin'+'g']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x214)),'description':z['strin'+'g']()['descr'+_0xc0113b(0x39f)]('参数说明')[_0xc0113b(0x328)+'nal'](),'type':z[_0xc0113b(0x265)]([_0xc0113b(0x1f9)+'t','numbe'+'r',_0xc0113b(0x371)+'an',_0xc0113b(0x3c3)])['descr'+_0xc0113b(0x39f)](_0xc0113b(0x1ff)),'unit':z[_0xc0113b(0x33e)+'g']()['descr'+_0xc0113b(0x39f)]('单位')[_0xc0113b(0x328)+'nal'](),'values':z[_0xc0113b(0x2e4)](aiModelParameterValueSchema)[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x365))['optio'+_0xc0113b(0x238)](),'min':z[_0xc0113b(0x2a4)+'r']()[_0xc0113b(0x380)+'ibe']('最小值')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'max':z['numbe'+'r']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x271))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'step':z[_0xc0113b(0x2a4)+'r']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x3ac))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'default':aiModelParameterValueSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x389))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'request':z['boole'+'an']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x353))}),aiModelParamsSchema=z[_0xc0113b(0x1e3)+'t']({'features':z[_0xc0113b(0x2e4)](z[_0xc0113b(0x33e)+'g']())['descr'+_0xc0113b(0x39f)](_0xc0113b(0x30c))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'fields':z[_0xc0113b(0x2e4)](aiModelParameterFieldSchema)['descr'+_0xc0113b(0x39f)](_0xc0113b(0x392))[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiModelCapabilitiesSchema=z[_0xc0113b(0x1e3)+'t']({'common':aiModelCapabilityCommonSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)]('通用能力')['optio'+_0xc0113b(0x238)](),'params':aiModelParamsSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x307))[_0xc0113b(0x328)+'nal'](),'input':aiModelCapabilitiesInputSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x1dc))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'output':aiModelCapabilitiesOutputSchema['descr'+_0xc0113b(0x39f)](_0xc0113b(0x1f4))[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiModelSchema=z[_0xc0113b(0x1e3)+'t']({'id':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x2bc)),'name':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x222))[_0xc0113b(0x328)+_0xc0113b(0x238)](),'familyId':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x3ba)+'ID')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'providerId':z['strin'+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x206)+'D')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'tags':z[_0xc0113b(0x2e4)](z[_0xc0113b(0x33e)+'g']())[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x26e))['optio'+_0xc0113b(0x238)](),'capabilities':aiModelCapabilitiesSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x29d))[_0xc0113b(0x328)+_0xc0113b(0x238)]()})[_0xc0113b(0x273)+_0xc0113b(0x332)+'h'](),aiModelsPayloadSchema=z['objec'+'t']({'data':z[_0xc0113b(0x2e4)](aiModelSchema)[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x225)),'updatedAt':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x242))[_0xc0113b(0x328)+'nal']()}),aiModelsSuccessSchema=z[_0xc0113b(0x1e3)+'t']({'success':z[_0xc0113b(0x351)+'al'](!![])[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x329)),'data':aiModelsPayloadSchema['descr'+_0xc0113b(0x39f)](_0xc0113b(0x361))}),aiModelsResponseSchema=z[_0xc0113b(0x333)]([aiModelsSuccessSchema,aiErrorResponseSchema]),aiChatModelSchema=z[_0xc0113b(0x1e3)+'t']({'id':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x2bc)),'provider':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x282)),'displayName':z[_0xc0113b(0x33e)+'g']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x214)),'familyId':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x3ba)+'ID')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'tags':z[_0xc0113b(0x2e4)](z['strin'+'g']())[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x26e)),'capabilities':aiModelCapabilitiesSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x29d))['optio'+_0xc0113b(0x238)]()}),aiChatModelsPayloadSchema=z[_0xc0113b(0x1e3)+'t']({'data':z[_0xc0113b(0x2e4)](aiChatModelSchema)[_0xc0113b(0x380)+_0xc0113b(0x39f)]('模型列表'),'updatedAt':z['strin'+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)]('更新时间')[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiChatModelsSuccessSchema=z[_0xc0113b(0x1e3)+'t']({'success':z[_0xc0113b(0x351)+'al'](!![])[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x329)),'data':aiChatModelsPayloadSchema['descr'+_0xc0113b(0x39f)](_0xc0113b(0x361))}),aiChatModelsResponseSchema=z[_0xc0113b(0x333)]([aiChatModelsSuccessSchema,aiErrorResponseSchema]),aiModelsUpdatedAtDataSchema=z[_0xc0113b(0x1e3)+'t']({'chatUpdatedAt':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x253)+'后更新时间'),'imageUpdatedAt':z[_0xc0113b(0x33e)+'g']()['descr'+'ibe']('图片模型最'+'后更新时间'),'videoUpdatedAt':z[_0xc0113b(0x33e)+'g']()['descr'+'ibe'](_0xc0113b(0x29e)+_0xc0113b(0x3a6)),'latestUpdatedAt':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x1dd)+_0xc0113b(0x243)+'时间')}),aiModelsUpdatedAtSuccessSchema=z[_0xc0113b(0x1e3)+'t']({'success':z[_0xc0113b(0x351)+'al'](!![])[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x329)),'data':aiModelsUpdatedAtDataSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x361))}),aiModelsUpdatedAtResponseSchema=z[_0xc0113b(0x333)]([aiModelsUpdatedAtSuccessSchema,aiErrorResponseSchema]),aiModelsRequestSchema=aiVoidRequestSchema,aiTaskRequestSchema=aiVoidRequestSchema,aiTaskCancelRequestSchema=aiVoidRequestSchema,aiProviderTemplateModelSchema=z[_0xc0113b(0x1e3)+'t']({'id':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)]('模型\x20ID'),'providerId':z[_0xc0113b(0x33e)+'g']()['descr'+'ibe'](_0xc0113b(0x206)+'D'),'displayName':z[_0xc0113b(0x33e)+'g']()['nulli'+'sh']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x214)),'description':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x3b2)+'sh']()[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x356)),'familyId':z['strin'+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)]('模型家族\x20'+'ID')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'tags':z[_0xc0113b(0x2e4)](z['strin'+'g']())[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x26e)),'capabilities':aiModelCapabilitiesSchema[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x29d))[_0xc0113b(0x328)+'nal']()}),aiProviderTemplateSchema=z[_0xc0113b(0x1e3)+'t']({'id':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x206)+'D'),'label':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x362)),'adapter':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x295)+_0xc0113b(0x397)+'标识'),'apiUrl':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x274)+'址')[_0xc0113b(0x328)+_0xc0113b(0x238)](),'authType':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x380)+_0xc0113b(0x39f)]('认证方式')['optio'+_0xc0113b(0x238)](),'websiteUrl':z[_0xc0113b(0x33e)+'g']()['nulli'+'sh']()[_0xc0113b(0x380)+'ibe'](_0xc0113b(0x235)),'docUrl':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x3b2)+'sh']()['descr'+_0xc0113b(0x39f)](_0xc0113b(0x331)),'models':z['array'](aiProviderTemplateModelSchema)['descr'+_0xc0113b(0x39f)](_0xc0113b(0x225))}),aiProviderTemplatesPayloadSchema=z[_0xc0113b(0x1e3)+'t']({'providers':z[_0xc0113b(0x2e4)](aiProviderTemplateSchema)[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x3c0)),'updatedAt':z[_0xc0113b(0x33e)+'g']()['descr'+_0xc0113b(0x39f)]('更新时间')[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),aiProviderTemplatesSuccessSchema=z[_0xc0113b(0x1e3)+'t']({'success':z[_0xc0113b(0x351)+'al'](!![])[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x329)),'data':aiProviderTemplatesPayloadSchema[_0xc0113b(0x380)+_0xc0113b(0x39f)](_0xc0113b(0x361))}),aiProviderTemplatesResponseSchema=z[_0xc0113b(0x333)]([aiProviderTemplatesSuccessSchema,aiErrorResponseSchema]),aiProviderTemplatesRequestSchema=z[_0xc0113b(0x1f7)](),_0x53c7c8={};_0x53c7c8[_0xc0113b(0x39a)+'d']=_0xc0113b(0x34b),_0x53c7c8[_0xc0113b(0x2f6)]=_0xc0113b(0x1f0)+'ai/im'+_0xc0113b(0x348),_0x53c7c8['reque'+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=aiImageRequestSchema,_0x53c7c8[_0xc0113b(0x204)+_0xc0113b(0x209)+_0xc0113b(0x249)]=aiTaskCreatedResponseSchema;var _0x1a5621={};function _0x3445(){var _0x4913f6=['5PYa5AsN5yc8','DhjPBq','CgfZC3q','qvbjiowCSa','yxjZzvi','C2u2nca','B2fMlxm','DxbSB2e','ihjLCxu','zwXeyxq','ChjVy2u','5RIf5PMW5BQM','y2vwAwq','zvnJAgu','igzHAwW','revmx0m','5zU+54Mh55cg6kEJ','5l6B5BQu5zwg','zhbVAw4','5y+c6icd6kEg6Akr','uMvZCg8','Aw5MAw4','z2vszxe','AxnZDwu','A1jLCxu','5PIV5zcM5PsV5OYb6AAw','A1jLC3a','y2f0y2G','6zw/5BQMkeSP','yw1Zu2m','De1Vzgu','Dxnty2G','BNnLihm','CNrZtxu','yw1LDgu','CxvVDge','quKGu0q','5AQs5l2tiejH','C3bVBNm','BhntDwm','mtG4mZyXowrut1vtra','AwfYEuu','DhrWrxi','Dxrty2G','5QIH5z6l6io95yQB','6kEg6Akr5QIH5z6l5PYa','5PIV5zcM5PsV5OYb6igu','yxbWBgK','u2fHu0G','zwXszxm','C3vJy2u','BNvTyMu','CxvLC3q','ywnRu28','zw1Izxi','zwXZvxa','nJeWnZf2r1PUrvy','CMvXDwu','ANnVBG','C3vIBwK','z2vszxm','5AsA5zU+6l6t5ywL','zxnZu2m','x2LUChu','CNrZu3q','r0vu','zxjYB3i','yNvN','C2rR','y2HHDa','zw1HAwW','DwvZDfm','BgvK','z2v0qwm','yY9Mzwu','5QIH5z6lieLe','6z+Z6Akr55cg6kEJ','y2nLC3m','ChjVDMK','zMv0y2G','BMfTzq','C2vvCMW','5AsA5zU+55sF5OIq','zw1H','BMLUzW','x2fUywW','DgfPBfi','Bwf4sw0','yxr0ywm','A0nHBMm','CIb1CMW','CgvYzM8','revmx1q','CMvMAw4','Av9Nzw4','C3nPBMC','rwL0Agu','zwXZu3u','z2v0uxu','Dw5RBM8','zcbku08','5lU75yQH54Q25Ocb5P6A','yxv0AeW','B3rH','zxzLBfm','DMfSAwq','BNrZ','DfnJAgu','Aw1Hz2u','zgf0zwq','zwzYzxm','otOXnG','yxrLC1i','u2nOzw0','yxrLzc0','yxjYyxK','5P6e5yYw6l6t5yE6','CLnJAgu','A1n0yxq','CMf0Aw8','C2vSzG','yMfZzty','BMrWB2K','zMvLzgi','ywLqCM8','ywLnzwq','AwXLza','y2f0Aw8','ywnRlW','zgvMAw4','C1vWzge','CY91Cgq','zMfPBgu','Cgf0Aa','A1jLC3u','5PIV5zcM5PsV5OYb5AsA','Bw9KzwW','zwXty2G','zxHJAge','x2DLBMu','6zsz6k+V56cb','C3rHBMq','5PYa5AsN5lIk5lIl5PAh','l2nHBMm','C2SV','CM9Y','Cgf5Bg8','6kEg6Akr55cg6kEJ','y2HTzw4','54Mh5PwW6yEp','5y+c5PwW5A6A5lMj','yxv0Ac8','BM9UBMu','qxv4AwW','AwvUDa','5y+c5PwW54M55OcN','BNqTDhK','rxjYB3i','5BEL5yw36lcd55sO','Dg9mB3C','ywLwAwq','DMLW','qxv0AeG','B25Zzvm','55sF5OIq6kEg6Akr5A69','zxjHDgK','DgfPBfa','5y+c5PwWigTL','AgvHzgu','zgv0ywK','y2fSBa','z2f0Axy','5PAh55sF5zU+','zw9jBNa','zwXtDwm','AwfYEum','CgXVywq','ywKVDge','C1nJAgu','zef0Dge','zcbMywK','u2fHu04','zgf0Aw8','B3b0Aw8','5PIV5zcM5OIq5yQF','Bhnszxm','DMLKzw8','5lU75yQH6l+B5BQM','q29Kzq','mtuXnJm3nvnlCwLVta','A0rHDge','ywnRl2W','5PAh5QgJ5zYW5z2a','AhjVDwC','Dw5PB24','A0nYzwe','y2vZC1m','CMSGCMu','yxrPB24','mtOX','AwfYEuK','zgf0zxq','BhruExa','DxjS','CMvMCMu','C3rYAw4','Aw5N','mti5mKL3v3b5rq','DgLLC08','5zU+5yop6lsO6yEp','B3jszxm','quDt','C1rLEhq','zMvHDhu','AxnbCNi','ywDL','A0vYCM8','5y+n5zcr5O+q56s66k+n','ue9tva','y2HLBwe','6AAw5BIN5zU+54Mh','ywnR','qMvHCMu','BfrHC2S','BgL0zxi','DgvKuMu','5PIV5zcM5B+f5AgR','AwfYEve','Bw9Uu2m','5QIH5z6l5O+p6l+W','BguVDxa','55sF5OIq5zU+54Mh5A69','t1vuufu','yMfZzvu','ywLfBMq','yxvKAw8','5lU75yQH57Ut5P6C57g7','AwfjBNa','yxnLnJq','BgLLBNq','6l+u5zUE5PwW5O2U','5l6B5BQu5zwg5zcn56EW','DxnLCG','5O+q56s66k+n','5y+V6ycj5yc8','Aw5Mzxi','quDFtee','DxrZu2m','yxrLu2m','zwXdyxa','6zsz6k+V5l+H5OgV','AxzL','55sF5OIq5zU+54Mh5PwW','B2fM','yxv4AwW','y29UDhi','yM9VBgu','DwnJzxm','igLZihi','CgfYC2u','y2fUy2u','ywLdAge','w3nKA10','B3bLBMW','DgLLC0K','su5qvvq','ywfZ','qxv0Aem','mte1otG4ogrJCM1Xyq','vf9lrvK','uMvXDwu','zgvZy3i','zgLV','zw50CMK','yNvPBgq','6l6t5ywL5y+c5PwW','Cg9UC2u','ywnRl3u','BNb1Dfm','ywnRrgu','6BUy6k6K5yc8','AwfYEq','DxnLCLm','zwXZuMu','zwXZuge','zNvUy3q','rMvLzgi','CNrZtwe','5y+w5RAi57Ut5P6C54Q2','5y+c5PwW5A2x5Q61','6AkD5Asw5y+c5PwW','C2vty2G','Bg9Hza','C2fMzva','sYdPGilPHy3LMAG','yM1PDfi','yxv0Aeu','Bwv0Ag8','zw1ty2G','Bwf4','DgvKrge','zxf1Axi','AwjL','yxv0Aa','y2HHDc8','mZKWExzRzunN','C3qGC2m','C3zPCa','zxnWB24','5zco5PU05PAW5PE26zE0','zxj0Eq','qwLdBgK','yvnJAgu','zw9szxe','BxbSyxq','5Q2L6l+B5yc8','B2rLBhm','5lU75yQH54Q25Ocb','ywLuyxm','Bg9Hzfm','x2vKAxq','BNvSBgK','yxv0Afi','Bg9NB3u','y29Kzq','y29UDgu','Aw1L','qxreyxq','CNvUBMK','5QIH5z6l5A625PEpia','z2v0qMe','qxv0Ag8','BwLU','6ygU572P5zU+','zxn0igu','5l6B5BQu5zwg5yIx6kgO','Aw9U','ihzHBgK','Dgv4Da','ywnRq2W','C2HPCeW','DhvZu2m','Av9PBNa','AwfYEs8','6l6t5ywL6io95yQB','5lIj57g75QIH5z6l5lIT','AevYCM8','zgvSu2m','yY9HAs8','ndOZ','A1n1y2m','B2jQzwm','zwXMuMu','ywKVzMK','C3rHDhu','zxf1zxm','mti0mJbbywXuteC','5AQs5l2tifvs','BMzLCLi','zxjdyxm','tw9KzwW','BwvZC2e','z2vpDxq','BhrP','l2fWAs8','zw50','BMDL','zwXMu2m','6l6t5yE66io95yQB','ywDLCW','CMvJB3i','DM9Pza','AfjLC3a','C2vSzwm','DMvKAw8','Bg9NAw4','yxrLC1m','C2HuB2S','ywLfCNi','5y+c5PwW57g75z6l','zgvYCW','l21Vzgu','teLuwv8','BNnLigK','CMvZCg8','5PIV5zcM5yYf5zcR6z+Z','5l6B5BQu5zwgieK','yxrLC1a','ywnRtgK','BNnLu2m','5PIV5zcM5PsV5OYb6ygU','Dgfty2G','DgvUyxm','ExnPCW','vgvTCgW','Dg9VBf8','AgvTysa','yM1PDeu','zMLSzq','Aw50','5Bgv56s65zcn56EW','55sF5OIq5zU+54Mh6lsO','ywnRu3u','zxn0u2m','zw9pDxq','EgnOyw4','CNjVCLm','BgLZDa','Dw5Yzwe','ywLjBwe','zezPBgu','ywnRu2e','5AQs5l2t57g75z6l','yxjZzq','5QIH5z6l5zcn56EW','ywnRsxq','5RAi6icx56EV5yIg','5QIH5z6l5yIx6kgO','BNnLvhK','B2TLBG','yM9KEq','zwXszxe','DxnLCI8','CNrZqxu','CKzPzwW','5zU+54Mh57Yw6l6r','zwfKzxi','nJy0mJzbuKD4D04','CMvZB2W','5PIV5zcM5PsV5OYb5y+c','ywn0','ChvIBgK','qxrszxm','5A6y572r5zYW5z2a','zMvYzw4','C3rty2G','BMfS','CMvHC28','BfnJAgu','DgfZAW','5lU75yQHieLe','Cg9PBNq','zvbYB3a','Ag1LBNq','DgvKqxq','zfnJAgu','5PU05PAW5PE26zE0','55Qe5PYa5PAW5PU05PAW','55sF5OIq6kEg6Akr5PE2','ywjPBgK','zwrLza','zM9Yrwe','mty6oq','AgvTyq','B3rOzxi','CM1HBMm','qKvmuW','mLPsqwLuCW','Dg9tDhi','z2LMEq','AfjLCxu','x211Bhq','C3vWCg8','6igk5AsP5QIH5z6l5PYa','y2HHDe0','y2vZC1q','Chv0u2m','AfvZzxi','6l6t5ywL5zU+54Mh5yIx','5PYa5AsN6l6t5ywL5zU+','572r5PcC57sI','tMv0D28','z2vjBNa','ywnRrw4','qvbbqKK','CYbUB3q','yxjK','zgvYvgu','quLFtu8','57Ut5P6C5zYW5z2a5yIx','5PIV5zcM5PsV5OYb6z+Z','zw51Bq','BIbMywK','DgLLC1m','BNnL','vxbSB2e','C3rqyxK','C3rYDwm','ywLnB2q','zwXqyxi','5QIH5z6l5Qch562+','C3qGzMe','DMLKzxi'];_0x3445=function(){return _0x4913f6;};return _0x3445();}_0x1a5621[_0xc0113b(0x39a)+'d']='POST',_0x1a5621[_0xc0113b(0x2f6)]='/api/'+'ai/ve'+_0xc0113b(0x381),_0x1a5621[_0xc0113b(0x2aa)+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=aiVideoRequestSchema,_0x1a5621['respo'+_0xc0113b(0x209)+_0xc0113b(0x249)]=aiTaskCreatedResponseSchema;var _0x16ed16={};_0x16ed16[_0xc0113b(0x39a)+'d']=_0xc0113b(0x2b2),_0x16ed16[_0xc0113b(0x2f6)]=_0xc0113b(0x1f0)+_0xc0113b(0x233)+'c/ai/'+_0xc0113b(0x2dd)+_0xc0113b(0x201)+'ls',_0x16ed16[_0xc0113b(0x2aa)+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=aiModelsRequestSchema,_0x16ed16['respo'+'nseSc'+_0xc0113b(0x249)]=aiModelsResponseSchema;var _0x263127={};_0x263127[_0xc0113b(0x39a)+'d']='GET',_0x263127[_0xc0113b(0x2f6)]=_0xc0113b(0x1f0)+'publi'+'c/ai/'+_0xc0113b(0x1fa)+'/mode'+'ls',_0x263127[_0xc0113b(0x2aa)+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=aiModelsRequestSchema,_0x263127[_0xc0113b(0x204)+_0xc0113b(0x209)+_0xc0113b(0x249)]=aiModelsResponseSchema;var _0x485347={};_0x485347[_0xc0113b(0x39a)+'d']=_0xc0113b(0x2b2),_0x485347[_0xc0113b(0x2f6)]=_0xc0113b(0x1f0)+_0xc0113b(0x233)+_0xc0113b(0x1e0)+_0xc0113b(0x3a1)+_0xc0113b(0x2f9)+'s',_0x485347[_0xc0113b(0x2aa)+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=aiModelsRequestSchema,_0x485347[_0xc0113b(0x204)+_0xc0113b(0x209)+_0xc0113b(0x249)]=aiChatModelsResponseSchema;function _0x4aa9(_0x23d790,_0x28ddd9){_0x23d790=_0x23d790-(0xe75*-0x1+-0xa3*0x25+0x219*0x13);var _0x4a3a9a=_0x3445();var _0x5bf51b=_0x4a3a9a[_0x23d790];if(_0x4aa9['fNjwdz']===undefined){var _0x347965=function(_0x2dfd05){var _0x28cc94='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xf3194f='',_0x1846a1='';for(var _0x53d44b=0x22b3+0x2104+-0x43b7,_0x1ce10d,_0x5b447d,_0x521f8a=-0x1b32+-0x17c*-0x4+0x6*0x38b;_0x5b447d=_0x2dfd05['charAt'](_0x521f8a++);~_0x5b447d&&(_0x1ce10d=_0x53d44b%(-0x24*-0xb+-0x19*-0xb+0x1d*-0x17)?_0x1ce10d*(0x1a69+-0x1*0xa93+0x532*-0x3)+_0x5b447d:_0x5b447d,_0x53d44b++%(-0x2383+-0x1*0x6ab+0x2a32))?_0xf3194f+=String['fromCharCode'](0x103a+-0x42*0x3d+0x7f&_0x1ce10d>>(-(-0x70*0x3b+-0xb5d+-0x13*-0x1f5)*_0x53d44b&0x13*0x76+0xd49+0x3*-0x757)):0x1dd8+-0xa3c+-0x139c){_0x5b447d=_0x28cc94['indexOf'](_0x5b447d);}for(var _0x1d6dd3=-0x1029+-0x2*0xf48+0x1b*0x1bb,_0x5d2b6e=_0xf3194f['length'];_0x1d6dd3<_0x5d2b6e;_0x1d6dd3++){_0x1846a1+='%'+('00'+_0xf3194f['charCodeAt'](_0x1d6dd3)['toString'](0x43*-0x6b+-0x2154+0x3d65))['slice'](-(0x27a*0x1+-0x1408+-0x10*-0x119));}return decodeURIComponent(_0x1846a1);};_0x4aa9['laoHui']=_0x347965,_0x4aa9['umETQc']={},_0x4aa9['fNjwdz']=!![];}var _0x881632=_0x4a3a9a[-0xa25*0x2+-0x7c8+0x1c12],_0x593627=_0x23d790+_0x881632,_0x3417dc=_0x4aa9['umETQc'][_0x593627];return!_0x3417dc?(_0x5bf51b=_0x4aa9['laoHui'](_0x5bf51b),_0x4aa9['umETQc'][_0x593627]=_0x5bf51b):_0x5bf51b=_0x3417dc,_0x5bf51b;}var _0x45511f={};_0x45511f[_0xc0113b(0x39a)+'d']=_0xc0113b(0x2b2),_0x45511f[_0xc0113b(0x2f6)]='/api/'+_0xc0113b(0x233)+_0xc0113b(0x1e0)+_0xc0113b(0x2f9)+_0xc0113b(0x2f4)+_0xc0113b(0x2e3)+'at',_0x45511f[_0xc0113b(0x2aa)+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=aiModelsRequestSchema,_0x45511f[_0xc0113b(0x204)+_0xc0113b(0x209)+_0xc0113b(0x249)]=aiModelsUpdatedAtResponseSchema;var _0x2ba9b8={};_0x2ba9b8['metho'+'d']=_0xc0113b(0x2b2),_0x2ba9b8[_0xc0113b(0x2f6)]=_0xc0113b(0x1f0)+'publi'+_0xc0113b(0x1e0)+_0xc0113b(0x2bf)+_0xc0113b(0x200),_0x2ba9b8[_0xc0113b(0x2aa)+_0xc0113b(0x237)+'ema']=aiProviderTemplatesRequestSchema,_0x2ba9b8[_0xc0113b(0x204)+'nseSc'+_0xc0113b(0x249)]=aiProviderTemplatesResponseSchema;var aiEndpoints={'image':new Endpoint(_0x53c7c8),'video':new Endpoint(_0x1a5621),'task':_0x4a0fa8=>new Endpoint({'method':_0xc0113b(0x2b2),'path':_0xc0113b(0x1f0)+_0xc0113b(0x322)+_0xc0113b(0x301)+_0x4a0fa8,'requestSchema':aiTaskRequestSchema,'responseSchema':aiTaskResponseSchema}),'cancelTask':_0xba2b25=>new Endpoint({'method':_0xc0113b(0x34b),'path':'/api/'+_0xc0113b(0x322)+'sk/'+_0xba2b25+(_0xc0113b(0x300)+'el'),'requestSchema':aiTaskCancelRequestSchema,'responseSchema':aiTaskCancelResponseSchema}),'imageModels':new Endpoint(_0x16ed16),'videoModels':new Endpoint(_0x263127),'chatModels':new Endpoint(_0x485347),'modelsUpdatedAt':new Endpoint(_0x45511f),'providerTemplates':new Endpoint(_0x2ba9b8)},auth_exports={},_0x1b699b={};_0x1b699b[_0xc0113b(0x37c)+_0xc0113b(0x360)]=()=>AuthClient,_0x1b699b['authE'+_0xc0113b(0x2eb)+_0xc0113b(0x2db)]=()=>authEndpoints,_0x1b699b[_0xc0113b(0x399)+_0xc0113b(0x219)+_0xc0113b(0x287)+_0xc0113b(0x2b8)+'chema']=()=>authExchangeRequestSchema,_0x1b699b[_0xc0113b(0x399)+_0xc0113b(0x219)+_0xc0113b(0x2ad)+_0xc0113b(0x385)+_0xc0113b(0x2e2)+'a']=()=>authExchangeResponseSchema,_0x1b699b[_0xc0113b(0x2d7)+'ogout'+_0xc0113b(0x37f)+'stSch'+_0xc0113b(0x2c4)]=()=>authLogoutRequestSchema,_0x1b699b[_0xc0113b(0x2d7)+'ogout'+_0xc0113b(0x285)+_0xc0113b(0x209)+_0xc0113b(0x249)]=()=>authLogoutResponseSchema,_0x1b699b['authR'+_0xc0113b(0x2df)+_0xc0113b(0x1de)+_0xc0113b(0x2e6)+'ma']=()=>authRefreshErrorSchema,_0x1b699b[_0xc0113b(0x3b3)+'efres'+_0xc0113b(0x250)+'estSc'+'hema']=()=>authRefreshRequestSchema,_0x1b699b[_0xc0113b(0x3b3)+_0xc0113b(0x2df)+_0xc0113b(0x1f8)+_0xc0113b(0x314)+_0xc0113b(0x34c)]=()=>authRefreshResponseSchema,_0x1b699b[_0xc0113b(0x3b3)+_0xc0113b(0x2df)+'hSucc'+_0xc0113b(0x2af)+_0xc0113b(0x249)]=()=>authRefreshSuccessSchema,_0x1b699b[_0xc0113b(0x3b3)+_0xc0113b(0x2df)+_0xc0113b(0x257)+_0xc0113b(0x2e2)+'a']=()=>authRefreshUserSchema,__export(auth_exports,_0x1b699b);var AuthClient=class{[_0xc0113b(0x2b5)];constructor(_0x4c5200){this['sdk']=_0x4c5200;}async[_0xc0113b(0x2fb)+'nge'](_0x5ec876){var _0x140f83=_0xc0113b,_0x2b4a07={};return _0x2b4a07[_0x140f83(0x1fb)+_0x140f83(0x32d)]=_0x5ec876,this[_0x140f83(0x2b5)][_0x140f83(0x2aa)+'st'](this['sdk'][_0x140f83(0x370)+_0x140f83(0x232)][_0x140f83(0x3a0)]['excha'+_0x140f83(0x1f2)],{'baseUrl':this['sdk']['getBa'+_0x140f83(0x2c2)](),'body':_0x2b4a07});}async[_0xc0113b(0x33d)+'sh'](_0x33a93f){var _0x30b840=_0xc0113b,_0x42e8ad={};return _0x42e8ad[_0x30b840(0x33d)+_0x30b840(0x1fd)+'en']=_0x33a93f,this[_0x30b840(0x2b5)][_0x30b840(0x2aa)+'st'](this[_0x30b840(0x2b5)]['contr'+'act'][_0x30b840(0x3a0)][_0x30b840(0x33d)+'sh'],{'baseUrl':this[_0x30b840(0x2b5)][_0x30b840(0x3bb)+_0x30b840(0x2c2)](),'body':_0x42e8ad});}async[_0xc0113b(0x3b4)+'t'](_0x3375ae){var _0x2fd875=_0xc0113b,_0x5e52b6={};return _0x5e52b6[_0x2fd875(0x33d)+_0x2fd875(0x1fd)+'en']=_0x3375ae,this[_0x2fd875(0x2b5)][_0x2fd875(0x2aa)+'st'](this[_0x2fd875(0x2b5)][_0x2fd875(0x370)+_0x2fd875(0x232)][_0x2fd875(0x3a0)][_0x2fd875(0x3b4)+'t'],{'baseUrl':this[_0x2fd875(0x2b5)][_0x2fd875(0x3bb)+_0x2fd875(0x2c2)](),'body':_0x5e52b6});}},authRefreshRequestSchema=z[_0xc0113b(0x1e3)+'t']({'refreshToken':z[_0xc0113b(0x33e)+'g']()['min'](0x2445+0x1*0x3ec+-0x2830)}),authExchangeRequestSchema=z[_0xc0113b(0x1e3)+'t']({'loginCode':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x3bd)](-0x5a5+-0x20*0xd5+0x1cb*0x12)}),authRefreshUserSchema=z[_0xc0113b(0x1e3)+'t']({'name':z['strin'+'g']()['optio'+_0xc0113b(0x238)](),'email':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x328)+_0xc0113b(0x238)](),'avatarUrl':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x328)+'nal']()}),authRefreshSuccessSchema=z[_0xc0113b(0x1e3)+'t']({'accessToken':z[_0xc0113b(0x33e)+'g'](),'refreshToken':z['strin'+'g'](),'user':authRefreshUserSchema}),authRefreshErrorSchema=z[_0xc0113b(0x1e3)+'t']({'message':z[_0xc0113b(0x33e)+'g']()}),authExchangeResponseSchema=authRefreshSuccessSchema,authLogoutRequestSchema=z[_0xc0113b(0x1e3)+'t']({'refreshToken':z['strin'+'g']()[_0xc0113b(0x3bd)](-0xef6+0x2544+-0x207*0xb)}),authLogoutResponseSchema=z[_0xc0113b(0x1e3)+'t']({'success':z['boole'+'an']()}),authRefreshResponseSchema=z[_0xc0113b(0x333)]([authRefreshSuccessSchema,authRefreshErrorSchema]),_0x336783={};_0x336783[_0xc0113b(0x39a)+'d']=_0xc0113b(0x34b),_0x336783[_0xc0113b(0x2f6)]='/api/'+'auth/'+_0xc0113b(0x2fb)+_0xc0113b(0x1f2),_0x336783[_0xc0113b(0x2aa)+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=authExchangeRequestSchema,_0x336783[_0xc0113b(0x204)+_0xc0113b(0x209)+_0xc0113b(0x249)]=authExchangeResponseSchema;var _0x4d1614={};_0x4d1614[_0xc0113b(0x39a)+'d']=_0xc0113b(0x34b),_0x4d1614[_0xc0113b(0x2f6)]=_0xc0113b(0x1f0)+_0xc0113b(0x308)+_0xc0113b(0x33d)+'sh',_0x4d1614[_0xc0113b(0x2aa)+'stSch'+'ema']=authRefreshRequestSchema,_0x4d1614[_0xc0113b(0x204)+_0xc0113b(0x209)+_0xc0113b(0x249)]=authRefreshResponseSchema;var _0x5d4cca={};_0x5d4cca[_0xc0113b(0x39a)+'d']=_0xc0113b(0x34b),_0x5d4cca[_0xc0113b(0x2f6)]='/api/'+_0xc0113b(0x308)+_0xc0113b(0x3b4)+'t',_0x5d4cca[_0xc0113b(0x2aa)+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=authLogoutRequestSchema,_0x5d4cca[_0xc0113b(0x204)+_0xc0113b(0x209)+_0xc0113b(0x249)]=authLogoutResponseSchema;var authEndpoints={'exchange':new Endpoint(_0x336783),'refresh':new Endpoint(_0x4d1614),'logout':new Endpoint(_0x5d4cca)},auxiliary_exports={},_0x220e2c={};_0x220e2c[_0xc0113b(0x30a)+_0xc0113b(0x320)+_0xc0113b(0x360)]=()=>AuxiliaryClient,_0x220e2c[_0xc0113b(0x36f)+_0xc0113b(0x29a)+_0xc0113b(0x2eb)+_0xc0113b(0x2db)]=()=>auxiliaryEndpoints,_0x220e2c[_0xc0113b(0x36f)+'iaryI'+_0xc0113b(0x1ea)+_0xc0113b(0x1e7)+_0xc0113b(0x2dc)+'ma']=()=>auxiliaryInferRequestSchema,_0x220e2c['auxil'+_0xc0113b(0x339)+_0xc0113b(0x1ea)+_0xc0113b(0x3a5)+_0xc0113b(0x394)+_0xc0113b(0x2c4)]=()=>auxiliaryInferResponseSchema,_0x220e2c[_0xc0113b(0x36f)+_0xc0113b(0x354)+'uotaR'+'espon'+_0xc0113b(0x394)+'ema']=()=>auxiliaryQuotaResponseSchema,__export(auxiliary_exports,_0x220e2c);var AuxiliaryClient=class{[_0xc0113b(0x2b5)];constructor(_0x3c8c32){var _0x1063f0=_0xc0113b;this[_0x1063f0(0x2b5)]=_0x3c8c32;}async[_0xc0113b(0x366)](_0x3efa41){var _0x3eb0e9=_0xc0113b;const _0x155773=await this[_0x3eb0e9(0x2b5)][_0x3eb0e9(0x383)+_0x3eb0e9(0x313)+_0x3eb0e9(0x22e)]();return this[_0x3eb0e9(0x2b5)][_0x3eb0e9(0x2aa)+'st'](this[_0x3eb0e9(0x2b5)][_0x3eb0e9(0x370)+_0x3eb0e9(0x232)]['auxil'+_0x3eb0e9(0x38a)][_0x3eb0e9(0x366)],{'baseUrl':this[_0x3eb0e9(0x2b5)][_0x3eb0e9(0x3bb)+'seUrl'](),'headers':_0x155773,'body':_0x3efa41});}async[_0xc0113b(0x2d3)+_0xc0113b(0x2d8)](){var _0x9e7418=_0xc0113b;const _0x3f070c=await this[_0x9e7418(0x2b5)][_0x9e7418(0x383)+_0x9e7418(0x313)+'eader']();return this[_0x9e7418(0x2b5)][_0x9e7418(0x2aa)+'st'](this[_0x9e7418(0x2b5)][_0x9e7418(0x370)+'act'][_0x9e7418(0x36f)+'iary'][_0x9e7418(0x2d3)+_0x9e7418(0x2d8)],{'baseUrl':this['sdk'][_0x9e7418(0x3bb)+_0x9e7418(0x2c2)](),'headers':_0x3f070c,'body':{}});}},auxiliaryInferRequestSchema=z[_0xc0113b(0x1e3)+'t']({'capabilityKey':z[_0xc0113b(0x33e)+'g'](),'systemPrompt':z[_0xc0113b(0x33e)+'g'](),'context':z[_0xc0113b(0x33e)+'g']()['max'](-0xe*0x143+-0xdfc1+-0x17*-0x12fd),'outputMode':z[_0xc0113b(0x265)]([_0xc0113b(0x26b)+'tured',_0xc0113b(0x3c3)]),'schema':z[_0xc0113b(0x1f6)+'d'](z['strin'+'g'](),z[_0xc0113b(0x2d4)+'wn']())[_0xc0113b(0x328)+_0xc0113b(0x238)]()}),quotaSchema=z[_0xc0113b(0x1e3)+'t']({'used':z[_0xc0113b(0x2a4)+'r'](),'limit':z[_0xc0113b(0x2a4)+'r'](),'remaining':z['numbe'+'r'](),'resetsAt':z[_0xc0113b(0x33e)+'g']()}),usageSchema=z['objec'+'t']({'inputTokens':z[_0xc0113b(0x2a4)+'r'](),'outputTokens':z[_0xc0113b(0x2a4)+'r']()}),auxiliaryInferResponseSchema=z[_0xc0113b(0x333)]([z['objec'+'t']({'ok':z[_0xc0113b(0x351)+'al'](!![]),'result':z[_0xc0113b(0x2d4)+'wn'](),'usage':usageSchema,'quota':quotaSchema}),z[_0xc0113b(0x1e3)+'t']({'ok':z['liter'+'al'](![]),'message':z[_0xc0113b(0x33e)+'g'](),'code':z['strin'+'g']()['optio'+'nal']()})]),_0x1c77df={};_0x1c77df[_0xc0113b(0x294)]=quotaSchema;var auxiliaryQuotaResponseSchema=z[_0xc0113b(0x1e3)+'t'](_0x1c77df),_0x38818e={};_0x38818e['metho'+'d']='POST',_0x38818e[_0xc0113b(0x2f6)]='/api/'+_0xc0113b(0x36f)+'iary/'+_0xc0113b(0x366),_0x38818e[_0xc0113b(0x2aa)+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=auxiliaryInferRequestSchema,_0x38818e['respo'+'nseSc'+_0xc0113b(0x249)]=auxiliaryInferResponseSchema;var auxiliaryEndpoints={'infer':new Endpoint(_0x38818e),'getQuota':new Endpoint({'method':'POST','path':_0xc0113b(0x1f0)+_0xc0113b(0x36f)+_0xc0113b(0x1db)+_0xc0113b(0x294),'requestSchema':z['objec'+'t']({}),'responseSchema':auxiliaryQuotaResponseSchema})},feedback_exports={},_0xa0ec5e={};_0xa0ec5e[_0xc0113b(0x38f)+_0xc0113b(0x1d7)+_0xc0113b(0x30b)]=()=>FeedbackClient,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x388)+_0xc0113b(0x317)+'ayloa'+_0xc0113b(0x241)+'ma']=()=>feedbackDetailPayloadSchema,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x388)+_0xc0113b(0x2c7)+_0xc0113b(0x1e7)+'tSche'+'ma']=()=>feedbackDetailRequestSchema,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x388)+_0xc0113b(0x2c7)+_0xc0113b(0x3a5)+'seSch'+_0xc0113b(0x2c4)]=()=>feedbackDetailResponseSchema,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x25d)+_0xc0113b(0x283)+'ts']=()=>feedbackEndpoints,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x223)+_0xc0113b(0x39b)+'ema']=()=>feedbackItemSchema,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x208)+_0xc0113b(0x26a)+'loadS'+_0xc0113b(0x34c)]=()=>feedbackListPayloadSchema,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x208)+'stReq'+_0xc0113b(0x2b8)+'chema']=()=>feedbackListRequestSchema,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x208)+'stRes'+_0xc0113b(0x385)+_0xc0113b(0x2e2)+'a']=()=>feedbackListResponseSchema,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x21f)+'asSta'+_0xc0113b(0x1d9)+'hema']=()=>feedbackSaasStatusSchema,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x2a6)+'urceS'+'chema']=()=>feedbackSourceSchema,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x216)+_0xc0113b(0x211)+_0xc0113b(0x21a)+_0xc0113b(0x34c)]=()=>feedbackSubmitErrorSchema,_0xa0ec5e['feedb'+'ackSu'+_0xc0113b(0x398)+_0xc0113b(0x1e7)+_0xc0113b(0x2dc)+'ma']=()=>feedbackSubmitRequestSchema,_0xa0ec5e[_0xc0113b(0x2ec)+_0xc0113b(0x216)+_0xc0113b(0x398)+_0xc0113b(0x3a5)+_0xc0113b(0x394)+_0xc0113b(0x2c4)]=()=>feedbackSubmitResponseSchema,_0xa0ec5e['feedb'+'ackTy'+'peSch'+_0xc0113b(0x2c4)]=()=>feedbackTypeSchema,__export(feedback_exports,_0xa0ec5e);var FeedbackClient=class{[_0xc0113b(0x2b5)];constructor(_0x83f9aa){var _0x2305a6=_0xc0113b;this[_0x2305a6(0x2b5)]=_0x83f9aa;}async[_0xc0113b(0x2ac)+'t'](_0x4d126b){var _0x434f92=_0xc0113b;const _0x3fe28c=await this[_0x434f92(0x2b5)][_0x434f92(0x383)+_0x434f92(0x313)+_0x434f92(0x22e)]();return this[_0x434f92(0x2b5)]['reque'+'st'](this[_0x434f92(0x2b5)][_0x434f92(0x370)+_0x434f92(0x232)][_0x434f92(0x2ec)+'ack'][_0x434f92(0x2ac)+'t'],{'baseUrl':this[_0x434f92(0x2b5)][_0x434f92(0x3bb)+'seUrl'](),'headers':_0x3fe28c,'body':_0x4d126b});}async[_0xc0113b(0x278)+_0xc0113b(0x324)+_0xc0113b(0x305)+'t'](_0xe1dfd4,_0x2dd21c){var _0x4f5bf7=_0xc0113b;const _0x2b6be7=new FormData();_0x2b6be7['appen'+'d'](_0x4f5bf7(0x212),_0xe1dfd4,_0x2dd21c??(_0xe1dfd4 instanceof File?_0xe1dfd4[_0x4f5bf7(0x2c1)]:_0x4f5bf7(0x2c9)+_0x4f5bf7(0x23f)));const _0x24e190=await this[_0x4f5bf7(0x2b5)][_0x4f5bf7(0x383)+_0x4f5bf7(0x313)+_0x4f5bf7(0x22e)](),_0x305049=this[_0x4f5bf7(0x2b5)][_0x4f5bf7(0x3bb)+_0x4f5bf7(0x2c2)]()+('/api/'+_0x4f5bf7(0x2ec)+_0x4f5bf7(0x386)+_0x4f5bf7(0x321));var _0x1579c8={};_0x1579c8[_0x4f5bf7(0x39a)+'d']=_0x4f5bf7(0x34b),_0x1579c8[_0x4f5bf7(0x319)+'rs']=_0x24e190,_0x1579c8[_0x4f5bf7(0x228)]=_0x2b6be7;const _0x481928=await fetch(_0x305049,_0x1579c8);if(!_0x481928['ok']){const _0x4b0041=await _0x481928['json']()[_0x4f5bf7(0x28c)](()=>({'message':_0x4f5bf7(0x269)+_0x4f5bf7(0x325)+_0x4f5bf7(0x2b9)}));throw new Error(_0x4b0041[_0x4f5bf7(0x1ed)+'ge']??_0x4f5bf7(0x269)+_0x4f5bf7(0x325)+_0x4f5bf7(0x2b9));}return _0x481928[_0x4f5bf7(0x2ab)]();}async[_0xc0113b(0x21b)](_0xfd9639){var _0x23eac8=_0xc0113b;const _0xa15f52=await this[_0x23eac8(0x2b5)][_0x23eac8(0x383)+'AuthH'+_0x23eac8(0x22e)]();return this[_0x23eac8(0x2b5)][_0x23eac8(0x2aa)+'st'](this['sdk']['contr'+_0x23eac8(0x232)]['feedb'+_0x23eac8(0x34e)][_0x23eac8(0x21b)],{'baseUrl':this[_0x23eac8(0x2b5)]['getBa'+_0x23eac8(0x2c2)](),'headers':_0xa15f52,'body':_0xfd9639??{}});}async[_0xc0113b(0x31a)+'l'](_0x7d0a70){var _0xd57eb1=_0xc0113b;const _0x17053e=await this[_0xd57eb1(0x2b5)][_0xd57eb1(0x383)+_0xd57eb1(0x313)+_0xd57eb1(0x22e)]();return this[_0xd57eb1(0x2b5)]['reque'+'st'](this[_0xd57eb1(0x2b5)][_0xd57eb1(0x370)+'act'][_0xd57eb1(0x2ec)+_0xd57eb1(0x34e)][_0xd57eb1(0x31a)+'l'](_0x7d0a70),{'baseUrl':this[_0xd57eb1(0x2b5)][_0xd57eb1(0x3bb)+_0xd57eb1(0x2c2)](),'headers':_0x17053e,'body':void(-0x463*-0x7+-0x17e5+-0x2*0x368)});}},feedbackSourceSchema=z[_0xc0113b(0x265)]([_0xc0113b(0x20c),_0xc0113b(0x378)+_0xc0113b(0x36e),_0xc0113b(0x378)+_0xc0113b(0x277)+_0xc0113b(0x37b)]),feedbackTypeSchema=z[_0xc0113b(0x265)](['ui',_0xc0113b(0x2cc)+_0xc0113b(0x24b)+'e',_0xc0113b(0x2b4),_0xc0113b(0x346)+'re',_0xc0113b(0x24a)]),feedbackSaasStatusSchema=z[_0xc0113b(0x265)]([_0xc0113b(0x21c)+'d','read',_0xc0113b(0x230)+'ved','ignor'+'ed']),feedbackSubmitRequestSchema=z[_0xc0113b(0x1e3)+'t']({'source':feedbackSourceSchema[_0xc0113b(0x328)+_0xc0113b(0x238)](),'type':feedbackTypeSchema,'content':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x272)]()['min'](-0x1813*-0x1+-0xc33*0x3+0xc87*0x1),'context':z['recor'+'d'](z[_0xc0113b(0x33e)+'g'](),z[_0xc0113b(0x2d4)+'wn']()),'email':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x272)]()[_0xc0113b(0x2b7)]()['optio'+_0xc0113b(0x238)]()}),feedbackSubmitErrorSchema=z[_0xc0113b(0x1e3)+'t']({'message':z['strin'+'g']()}),feedbackSubmitResponseSchema=z[_0xc0113b(0x333)]([z[_0xc0113b(0x1f7)](),feedbackSubmitErrorSchema]),feedbackListRequestSchema=z[_0xc0113b(0x1e3)+'t']({'page':z[_0xc0113b(0x2a4)+'r']()[_0xc0113b(0x213)]()[_0xc0113b(0x3bd)](0xe3*0x24+-0x130a+-0xce1)[_0xc0113b(0x328)+_0xc0113b(0x238)](),'pageSize':z[_0xc0113b(0x2a4)+'r']()['int']()[_0xc0113b(0x3bd)](0x31*-0x92+-0xbc7+0x46a*0x9)[_0xc0113b(0x39c)](-0x2*0xfd1+0x1*0xe2d+-0x5f3*-0x3)['optio'+_0xc0113b(0x238)](),'type':feedbackTypeSchema[_0xc0113b(0x328)+_0xc0113b(0x238)](),'source':feedbackSourceSchema[_0xc0113b(0x328)+_0xc0113b(0x238)](),'saasStatus':feedbackSaasStatusSchema[_0xc0113b(0x328)+_0xc0113b(0x238)](),'keyword':z['strin'+'g']()[_0xc0113b(0x272)]()['min'](0x8cd*-0x3+-0xdd1*-0x1+0xc97)[_0xc0113b(0x328)+_0xc0113b(0x238)](),'startAt':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x33a)+'ime']()[_0xc0113b(0x328)+'nal'](),'endAt':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x33a)+_0xc0113b(0x3b7)]()['optio'+_0xc0113b(0x238)]()}),feedbackItemSchema=z['objec'+'t']({'id':z['strin'+'g'](),'source':feedbackSourceSchema,'type':feedbackTypeSchema,'saasStatus':feedbackSaasStatusSchema,'response':z[_0xc0113b(0x33e)+'g']()['optio'+_0xc0113b(0x238)](),'userId':z['strin'+'g']()[_0xc0113b(0x328)+_0xc0113b(0x238)](),'email':z[_0xc0113b(0x33e)+'g']()['optio'+_0xc0113b(0x238)](),'content':z['strin'+'g'](),'context':z[_0xc0113b(0x1f6)+'d'](z[_0xc0113b(0x33e)+'g'](),z['unkno'+'wn']()),'createdAt':z['strin'+'g']()}),feedbackListPayloadSchema=z[_0xc0113b(0x1e3)+'t']({'items':z[_0xc0113b(0x2e4)](feedbackItemSchema),'page':z[_0xc0113b(0x2a4)+'r']()[_0xc0113b(0x213)](),'pageSize':z[_0xc0113b(0x2a4)+'r']()[_0xc0113b(0x213)](),'total':z['numbe'+'r']()[_0xc0113b(0x213)]()}),feedbackListResponseSchema=z[_0xc0113b(0x333)]([feedbackListPayloadSchema,feedbackSubmitErrorSchema]),feedbackDetailRequestSchema=z[_0xc0113b(0x1f7)](),_0xefe328={};_0xefe328[_0xc0113b(0x2ec)+_0xc0113b(0x34e)]=feedbackItemSchema;var feedbackDetailPayloadSchema=z[_0xc0113b(0x1e3)+'t'](_0xefe328),feedbackDetailResponseSchema=z[_0xc0113b(0x333)]([feedbackDetailPayloadSchema,feedbackSubmitErrorSchema]),_0x4b0d56={};_0x4b0d56['metho'+'d']=_0xc0113b(0x34b),_0x4b0d56[_0xc0113b(0x2f6)]=_0xc0113b(0x1f0)+_0xc0113b(0x233)+_0xc0113b(0x2bb)+'dback',_0x4b0d56[_0xc0113b(0x2aa)+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=feedbackSubmitRequestSchema,_0x4b0d56[_0xc0113b(0x204)+_0xc0113b(0x209)+_0xc0113b(0x249)]=feedbackSubmitResponseSchema;var _0x1937d0={};_0x1937d0[_0xc0113b(0x39a)+'d']=_0xc0113b(0x34b),_0x1937d0['path']='/api/'+_0xc0113b(0x2ec)+_0xc0113b(0x330)+'ist',_0x1937d0[_0xc0113b(0x2aa)+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=feedbackListRequestSchema,_0x1937d0[_0xc0113b(0x204)+_0xc0113b(0x209)+_0xc0113b(0x249)]=feedbackListResponseSchema;var feedbackEndpoints={'submit':new Endpoint(_0x4b0d56),'list':new Endpoint(_0x1937d0),'detail':_0x1cd57d=>new Endpoint({'method':_0xc0113b(0x2b2),'path':'/api/'+_0xc0113b(0x2ec)+_0xc0113b(0x2f1)+_0x1cd57d,'requestSchema':feedbackDetailRequestSchema,'responseSchema':feedbackDetailResponseSchema})},user_exports={},_0x398a3b={};_0x398a3b['UserC'+'lient']=()=>UserClient,_0x398a3b['userE'+_0xc0113b(0x2eb)+_0xc0113b(0x2db)]=()=>userEndpoints,_0x398a3b['userM'+_0xc0113b(0x2a7)+_0xc0113b(0x1d8)+_0xc0113b(0x2d9)+_0xc0113b(0x34c)]=()=>userMembershipLevelSchema,_0x398a3b[_0xc0113b(0x38b)+'elfRe'+_0xc0113b(0x2a5)+'Schem'+'a']=()=>userSelfRequestSchema,_0x398a3b[_0xc0113b(0x38b)+_0xc0113b(0x1e4)+_0xc0113b(0x297)+'eSche'+'ma']=()=>userSelfResponseSchema,_0x398a3b[_0xc0113b(0x38b)+_0xc0113b(0x1f3)+_0xc0113b(0x249)]=()=>userSelfSchema,__export(user_exports,_0x398a3b);var UserClient=class{['sdk'];constructor(_0x3fabf1){var _0xe52de0=_0xc0113b;this[_0xe52de0(0x2b5)]=_0x3fabf1;}async[_0xc0113b(0x2e9)](){var _0x55ddc6=_0xc0113b;const _0x3ff32b=await this[_0x55ddc6(0x2b5)][_0x55ddc6(0x383)+_0x55ddc6(0x313)+_0x55ddc6(0x22e)]();return this[_0x55ddc6(0x2b5)]['reque'+'st'](this[_0x55ddc6(0x2b5)][_0x55ddc6(0x370)+_0x55ddc6(0x232)]['user'][_0x55ddc6(0x2e9)],{'baseUrl':this[_0x55ddc6(0x2b5)]['getBa'+'seUrl'](),'headers':_0x3ff32b,'body':void(0x25a*-0x1+-0x2*-0x1de+0xb1*-0x2)});}},userMembershipLevelSchema=z['enum'](['free',_0xc0113b(0x312),_0xc0113b(0x3a4),_0xc0113b(0x286)+'ity']),userSelfSchema=z[_0xc0113b(0x1e3)+'t']({'id':z['strin'+'g'](),'email':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x328)+_0xc0113b(0x238)](),'name':z['strin'+'g']()[_0xc0113b(0x328)+_0xc0113b(0x238)](),'avatarUrl':z[_0xc0113b(0x33e)+'g']()[_0xc0113b(0x328)+_0xc0113b(0x238)](),'provider':z[_0xc0113b(0x33e)+'g'](),'membershipLevel':userMembershipLevelSchema,'creditsBalance':z[_0xc0113b(0x2a4)+'r'](),'createdAt':z['strin'+'g'](),'updatedAt':z[_0xc0113b(0x33e)+'g']()}),userSelfRequestSchema=z[_0xc0113b(0x1f7)](),_0x18c113={};_0x18c113[_0xc0113b(0x363)]=userSelfSchema;var userSelfResponseSchema=z[_0xc0113b(0x1e3)+'t'](_0x18c113),_0x627910={};_0x627910[_0xc0113b(0x39a)+'d']='GET',_0x627910[_0xc0113b(0x2f6)]=_0xc0113b(0x1f0)+_0xc0113b(0x22a)+_0xc0113b(0x2e9),_0x627910[_0xc0113b(0x2aa)+_0xc0113b(0x237)+_0xc0113b(0x2c4)]=userSelfRequestSchema,_0x627910[_0xc0113b(0x204)+_0xc0113b(0x209)+'hema']=userSelfResponseSchema;var userEndpoints={'self':new Endpoint(_0x627910)},SaaSContract=class{[_0xc0113b(0x3a0)]=authEndpoints;['ai']=aiEndpoints;[_0xc0113b(0x36f)+_0xc0113b(0x38a)]=auxiliaryEndpoints;[_0xc0113b(0x2ec)+'ack']=feedbackEndpoints;[_0xc0113b(0x363)]=userEndpoints;},contract=new SaaSContract();function setHeader(_0x4b47fc,_0x2897be,_0x2e50a1){var _0xb4d2b8=_0xc0113b;_0x4b47fc[_0x2897be[_0xb4d2b8(0x310)+_0xb4d2b8(0x1eb)+'e']()]=_0x2e50a1;}function normalizeHeaders(_0x442ab8){var _0x1da9cc=_0xc0113b;const _0x6a215={};if(!_0x442ab8)return _0x6a215;if(Array[_0x1da9cc(0x347)+'ay'](_0x442ab8)){for(const [_0x110e71,_0x332cdb]of _0x442ab8){setHeader(_0x6a215,_0x110e71,_0x332cdb);}return _0x6a215;}if(typeof _0x442ab8['forEa'+'ch']===_0x1da9cc(0x38e)+'ion')return _0x442ab8[_0x1da9cc(0x247)+'ch']((_0x194228,_0x4f8108)=>{setHeader(_0x6a215,_0x4f8108,_0x194228);}),_0x6a215;for(const [_0x52d628,_0x4bb5ab]of Object[_0x1da9cc(0x382)+'es'](_0x442ab8)){typeof _0x4bb5ab==='strin'+'g'&&setHeader(_0x6a215,_0x52d628,_0x4bb5ab);}return _0x6a215;}function mergeHeaders(..._0xc0eefc){var _0x28ef2e=_0xc0113b;const _0x36dd31={};for(const _0x43b3be of _0xc0eefc){const _0x189da8=normalizeHeaders(_0x43b3be);for(const [_0x3959fe,_0x47328b]of Object[_0x28ef2e(0x382)+'es'](_0x189da8)){_0x36dd31[_0x3959fe]=_0x47328b;}}return _0x36dd31;}var SaaSHttpError=class extends Error{[_0xc0113b(0x1e6)+'s'];[_0xc0113b(0x1e6)+_0xc0113b(0x345)];[_0xc0113b(0x303)+'ad'];constructor(_0x21089e,_0x554d7f){var _0x39088=_0xc0113b;super(_0x21089e),this[_0x39088(0x2c1)]=_0x39088(0x2a1)+_0x39088(0x29b)+_0x39088(0x302),this['statu'+'s']=_0x554d7f['statu'+'s'],this[_0x39088(0x1e6)+_0x39088(0x345)]=_0x554d7f['statu'+_0x39088(0x345)],this[_0x39088(0x303)+'ad']=_0x554d7f[_0x39088(0x303)+'ad'];}},SaaSSchemaError=class extends Error{[_0xc0113b(0x288)+'s'];constructor(_0x5562cc,_0x28db84){var _0x1b15a0=_0xc0113b;super(_0x5562cc),this[_0x1b15a0(0x2c1)]='SaaSS'+'chema'+_0x1b15a0(0x30e),this[_0x1b15a0(0x288)+'s']=_0x28db84;}},SaaSNetworkError=class extends Error{['cause'];constructor(_0x452863,_0x3effd0){var _0x2874d8=_0xc0113b;super(_0x452863),this['name']=_0x2874d8(0x326)+'etwor'+_0x2874d8(0x349)+'r',this['cause']=_0x3effd0;}};function logSdkError(_0x2ec434){var _0x4520c4=_0xc0113b;try{console[_0x4520c4(0x2b3)](_0x4520c4(0x377)+_0x4520c4(0x279)+_0x4520c4(0x3bf)+'rror',_0x2ec434);}catch{}}async function request(_0x51c52d,_0x458ac6,_0x44ecbd){var _0x133844=_0xc0113b;const _0x5d4464=new URL(_0x458ac6['path'],_0x44ecbd[_0x133844(0x35a)+'rl']);let _0x5cef7d;try{_0x5cef7d=_0x458ac6[_0x133844(0x374)+_0x133844(0x37f)+'st'](_0x44ecbd['body']);}catch(_0x49b814){const _0x14b614=_0x49b814&&typeof _0x49b814===_0x133844(0x1e3)+'t'?_0x49b814[_0x133844(0x288)+'s']:void(0x320*0x1+-0x1244+-0x72*-0x22);logSdkError({'message':_0x133844(0x37f)+'st\x20sc'+_0x133844(0x210)+_0x133844(0x2da)+_0x133844(0x337)+_0x133844(0x27f)+'ed','url':_0x5d4464['toStr'+'ing'](),'method':_0x458ac6['metho'+'d'],'payload':_0x44ecbd[_0x133844(0x228)],'error':_0x49b814});throw new SaaSSchemaError(_0x133844(0x37f)+_0x133844(0x3a3)+_0x133844(0x210)+_0x133844(0x2da)+_0x133844(0x337)+_0x133844(0x27f)+'ed',_0x14b614);}const _0x1566f8=mergeHeaders(_0x44ecbd[_0x133844(0x319)+'rs']);var _0x343522={};_0x343522[_0x133844(0x39a)+'d']=_0x458ac6[_0x133844(0x39a)+'d'],_0x343522[_0x133844(0x319)+'rs']=_0x1566f8;const _0x55f4eb=_0x343522;_0x5cef7d!==void(-0x1593+0x313*-0x3+0x1ecc)&&(!_0x1566f8['conte'+_0x133844(0x30d)+'pe']&&(_0x1566f8[_0x133844(0x3b6)+'nt-ty'+'pe']=_0x133844(0x2a0)+_0x133844(0x2f0)+'n/jso'+'n'),_0x55f4eb[_0x133844(0x228)]=JSON[_0x133844(0x33e)+_0x133844(0x24f)](_0x5cef7d));let _0x3babc4;try{_0x3babc4=await _0x51c52d(_0x5d4464[_0x133844(0x24e)+_0x133844(0x33f)](),_0x55f4eb);}catch(_0x51acf1){logSdkError({'message':_0x133844(0x25b)+_0x133844(0x336)+_0x133844(0x2a5)+'\x20fail'+'ed','url':_0x5d4464[_0x133844(0x24e)+_0x133844(0x33f)](),'method':_0x458ac6[_0x133844(0x39a)+'d'],'error':_0x51acf1});throw new SaaSNetworkError(_0x133844(0x25b)+_0x133844(0x336)+'quest'+'\x20fail'+'ed',_0x51acf1);}const _0x54b0ce=await _0x3babc4[_0x133844(0x3c3)]();let _0x34ac41;if(_0x458ac6['respo'+_0x133844(0x226)+'pe']===_0x133844(0x3c3))_0x34ac41=_0x54b0ce;else{if(_0x54b0ce)try{_0x34ac41=JSON[_0x133844(0x374)](_0x54b0ce);}catch{logSdkError({'message':_0x133844(0x285)+'nse\x20i'+_0x133844(0x25f)+_0x133844(0x3c2)+_0x133844(0x2d5)+'N','url':_0x5d4464[_0x133844(0x24e)+'ing'](),'method':_0x458ac6[_0x133844(0x39a)+'d'],'status':_0x3babc4[_0x133844(0x1e6)+'s'],'statusText':_0x3babc4[_0x133844(0x1e6)+_0x133844(0x345)],'payload':_0x54b0ce});var _0x505a39={};_0x505a39[_0x133844(0x1e6)+'s']=_0x3babc4['statu'+'s'],_0x505a39[_0x133844(0x1e6)+_0x133844(0x345)]=_0x3babc4['statu'+_0x133844(0x345)],_0x505a39['paylo'+'ad']=_0x54b0ce;throw new SaaSHttpError(_0x133844(0x285)+_0x133844(0x203)+'s\x20not'+_0x133844(0x3c2)+'d\x20JSO'+'N',_0x505a39);}}let _0x37470a;try{_0x37470a=_0x458ac6[_0x133844(0x374)+'Respo'+_0x133844(0x268)](_0x34ac41);}catch(_0x52e9e5){const _0x13258b=_0x52e9e5&&typeof _0x52e9e5===_0x133844(0x1e3)+'t'?_0x52e9e5[_0x133844(0x288)+'s']:void(-0xedb*-0x1+0x1*-0x159b+0x6c0);logSdkError({'message':'Respo'+_0x133844(0x291)+'chema'+_0x133844(0x3c2)+_0x133844(0x327)+_0x133844(0x266)+'led','url':_0x5d4464['toStr'+_0x133844(0x33f)](),'method':_0x458ac6['metho'+'d'],'status':_0x3babc4[_0x133844(0x1e6)+'s'],'statusText':_0x3babc4[_0x133844(0x1e6)+_0x133844(0x345)],'payload':_0x34ac41,'error':_0x52e9e5});throw new SaaSSchemaError(_0x133844(0x285)+_0x133844(0x291)+_0x133844(0x34c)+'\x20vali'+_0x133844(0x327)+_0x133844(0x266)+_0x133844(0x2b9),_0x13258b);}if(!_0x3babc4['ok']){logSdkError({'message':_0x133844(0x37f)+_0x133844(0x26f)+_0x133844(0x2ef),'url':_0x5d4464[_0x133844(0x24e)+_0x133844(0x33f)](),'method':_0x458ac6[_0x133844(0x39a)+'d'],'status':_0x3babc4[_0x133844(0x1e6)+'s'],'statusText':_0x3babc4[_0x133844(0x1e6)+_0x133844(0x345)],'payload':_0x37470a});var _0x23891d={};_0x23891d[_0x133844(0x1e6)+'s']=_0x3babc4[_0x133844(0x1e6)+'s'],_0x23891d[_0x133844(0x1e6)+_0x133844(0x345)]=_0x3babc4['statu'+_0x133844(0x345)],_0x23891d[_0x133844(0x303)+'ad']=_0x37470a;throw new SaaSHttpError(_0x133844(0x37f)+_0x133844(0x26f)+_0x133844(0x2ef),_0x23891d);}return _0x37470a;}var BaseSaaSClient=class{[_0xc0113b(0x370)+_0xc0113b(0x232)];[_0xc0113b(0x35a)+'rl'];['getAc'+'cessT'+_0xc0113b(0x227)];['fetch'+'er'];[_0xc0113b(0x319)+'rs'];constructor(_0x1f5a1f){var _0x2799bf=_0xc0113b;this[_0x2799bf(0x35a)+'rl']=_0x1f5a1f[_0x2799bf(0x35a)+'rl'],this[_0x2799bf(0x2ba)+_0x2799bf(0x255)+_0x2799bf(0x227)]=_0x1f5a1f[_0x2799bf(0x2ba)+'cessT'+_0x2799bf(0x227)],this[_0x2799bf(0x2c0)+'er']=_0x1f5a1f[_0x2799bf(0x2c0)+'er']??fetch,this[_0x2799bf(0x319)+'rs']=_0x1f5a1f[_0x2799bf(0x319)+'rs'],this[_0x2799bf(0x370)+_0x2799bf(0x232)]=_0x1f5a1f[_0x2799bf(0x370)+_0x2799bf(0x232)];}async[_0xc0113b(0x2aa)+'st'](_0x1c7ad9,_0x43f609){var _0x8252da=_0xc0113b;const _0x3e30f3=mergeHeaders(this[_0x8252da(0x319)+'rs'],_0x43f609[_0x8252da(0x319)+'rs']);return request(this[_0x8252da(0x2c0)+'er'],_0x1c7ad9,{'baseUrl':_0x43f609[_0x8252da(0x35a)+'rl']??this[_0x8252da(0x35a)+'rl'],'headers':_0x3e30f3,'body':_0x43f609['body']});}async[_0xc0113b(0x383)+_0xc0113b(0x313)+_0xc0113b(0x22e)](){var _0x18e916=_0xc0113b;if(!this[_0x18e916(0x2ba)+_0x18e916(0x255)+_0x18e916(0x227)])return{};const _0x216417=await this[_0x18e916(0x2ba)+_0x18e916(0x255)+_0x18e916(0x227)]();if(!_0x216417)return{};var _0x23d466={};return _0x23d466[_0x18e916(0x3bc)+'rizat'+_0x18e916(0x3c1)]=_0x18e916(0x34f)+'r\x20'+_0x216417,_0x23d466;}[_0xc0113b(0x3bb)+_0xc0113b(0x2c2)](){return this['baseU'+'rl'];}},SaaSClient=class extends BaseSaaSClient{[_0xc0113b(0x3a0)];['ai'];[_0xc0113b(0x36f)+'iary'];[_0xc0113b(0x2ec)+_0xc0113b(0x34e)];[_0xc0113b(0x363)];constructor(_0x39890f){var _0x8297dd=_0xc0113b,_0x53bb8b={..._0x39890f};_0x53bb8b['contr'+_0x8297dd(0x232)]=_0x39890f['contr'+_0x8297dd(0x232)]??contract,super(_0x53bb8b),this['auth']=new AuthClient(this),this['ai']=new AiClient(this),this[_0x8297dd(0x36f)+_0x8297dd(0x38a)]=new AuxiliaryClient(this),this[_0x8297dd(0x2ec)+_0x8297dd(0x34e)]=new FeedbackClient(this),this[_0x8297dd(0x363)]=new UserClient(this);}};function createTrpcClient(_0x4ba219){var _0x52e8d8=_0xc0113b;return createTRPCClient({'links':[httpBatchLink({'url':new URL('/trpc',_0x4ba219[_0x52e8d8(0x35a)+'rl'])[_0x52e8d8(0x24e)+_0x52e8d8(0x33f)](),'headers':async()=>{var _0x39f0b9=_0x52e8d8;const _0x4e2763=_0x4ba219[_0x39f0b9(0x2ba)+_0x39f0b9(0x255)+_0x39f0b9(0x227)]?await _0x4ba219[_0x39f0b9(0x2ba)+'cessT'+_0x39f0b9(0x227)]():'',_0x48d456=_0x4e2763?{'Authorization':_0x39f0b9(0x34f)+'r\x20'+_0x4e2763}:{};return mergeHeaders(_0x4ba219[_0x39f0b9(0x319)+'rs'],_0x48d456);}})]});}export{AI_MODEL_CAPABILITY_INPUT_KEYS,AI_MODEL_CAPABILITY_OUTPUT_KEYS,AI_MODEL_TAGS,AI_MODEL_TAG_LABELS,AiClient,AuthClient,AuxiliaryClient,Endpoint,FeedbackClient,SaaSClient,SaaSHttpError,SaaSNetworkError,SaaSSchemaError,UserClient,aiChatModelSchema,aiChatModelsPayloadSchema,aiChatModelsResponseSchema,aiChatModelsSuccessSchema,aiEndpoints,aiErrorResponseSchema,aiImageInputsSchema,aiImageOutputSchema,aiImageRequestSchema,aiMediaInputSchema,aiModelCapabilitiesInputSchema,aiModelCapabilitiesOutputSchema,aiModelCapabilitiesSchema,aiModelCapabilityCommonSchema,aiModelParameterFieldSchema,aiModelParamsSchema,aiModelSchema,aiModelsPayloadSchema,aiModelsRequestSchema,aiModelsResponseSchema,aiModelsSuccessSchema,aiModelsUpdatedAtDataSchema,aiModelsUpdatedAtResponseSchema,aiModelsUpdatedAtSuccessSchema,ai_exports as aiModule,aiProviderTemplateModelSchema,aiProviderTemplateSchema,aiProviderTemplatesPayloadSchema,aiProviderTemplatesRequestSchema,aiProviderTemplatesResponseSchema,aiProviderTemplatesSuccessSchema,aiTaskCancelDataSchema,aiTaskCancelRequestSchema,aiTaskCancelResponseSchema,aiTaskCancelSuccessSchema,aiTaskCreatedDataSchema,aiTaskCreatedResponseSchema,aiTaskCreatedSuccessSchema,aiTaskDataSchema,aiTaskErrorSchema,aiTaskRequestSchema,aiTaskResponseSchema,aiTaskResultTypeSchema,aiTaskStatusSchema,aiTaskSuccessSchema,aiVideoInputsSchema,aiVideoOutputSchema,aiVideoRequestSchema,authEndpoints,authExchangeRequestSchema,authExchangeResponseSchema,authLogoutRequestSchema,authLogoutResponseSchema,auth_exports as authModule,authRefreshErrorSchema,authRefreshRequestSchema,authRefreshResponseSchema,authRefreshSuccessSchema,authRefreshUserSchema,auxiliaryEndpoints,auxiliaryInferRequestSchema,auxiliaryInferResponseSchema,auxiliary_exports as auxiliaryModule,auxiliaryQuotaResponseSchema,contract,createTrpcClient,feedbackDetailPayloadSchema,feedbackDetailRequestSchema,feedbackDetailResponseSchema,feedbackEndpoints,feedbackItemSchema,feedbackListPayloadSchema,feedbackListRequestSchema,feedbackListResponseSchema,feedback_exports as feedbackModule,feedbackSaasStatusSchema,feedbackSourceSchema,feedbackSubmitErrorSchema,feedbackSubmitRequestSchema,feedbackSubmitResponseSchema,feedbackTypeSchema,mergeHeaders,normalizeHeaders,request,userEndpoints,userMembershipLevelSchema,user_exports as userModule,userSelfRequestSchema,userSelfResponseSchema,userSelfSchema};
|
|
1
|
+
var _0x422a90=_0x6ada;(function(_0x3dec72,_0x3024af){var _0x3dff4e=_0x6ada,_0x641daa=_0x3dec72();while(!![]){try{var _0x50e37a=-parseInt(_0x3dff4e(0x237))/(-0x1af+0x37d*0x5+0x25*-0x6d)+-parseInt(_0x3dff4e(0x1b8))/(-0x1d01+-0x150f+-0x3da*-0xd)*(-parseInt(_0x3dff4e(0x1d0))/(-0xaa6+0xca3*-0x2+-0x1*-0x23ef))+-parseInt(_0x3dff4e(0x33e))/(-0x1*-0x143e+0x1fd7+-0x115b*0x3)+-parseInt(_0x3dff4e(0x2a3))/(-0x980+0x1994+-0x100f)*(-parseInt(_0x3dff4e(0x1b9))/(0x6a6+-0x79*-0x29+-0x1a01))+-parseInt(_0x3dff4e(0x1eb))/(0x22c1*-0x1+-0x1715+0x39dd*0x1)+parseInt(_0x3dff4e(0x253))/(0x1a46+0xe3e+-0x287c)*(-parseInt(_0x3dff4e(0x2bd))/(0xc53+-0x26fd+0x1ab3))+parseInt(_0x3dff4e(0x348))/(-0x93f+0xfd*-0x1f+0x7fc*0x5);if(_0x50e37a===_0x3024af)break;else _0x641daa['push'](_0x641daa['shift']());}catch(_0x4a109d){_0x641daa['push'](_0x641daa['shift']());}}}(_0x2b34,0x2f26b+-0x1cecb+-0xb*-0xf55));import{z}from'zod';import{createTRPCClient,httpBatchLink}from'@trpc/client';var __defProp=Object['defin'+_0x422a90(0x1f1)+_0x422a90(0x1ee)],__export=(_0x3fd230,_0x14e24c)=>{for(var _0x2e34e7 in _0x14e24c)__defProp(_0x3fd230,_0x2e34e7,{'get':_0x14e24c[_0x2e34e7],'enumerable':!![]});},ai_exports={},_0x185339={};_0x185339[_0x422a90(0x3ad)+'DEL_C'+_0x422a90(0x2b7)+_0x422a90(0x35a)+_0x422a90(0x2fb)+_0x422a90(0x27f)]=()=>AI_MODEL_CAPABILITY_INPUT_KEYS,_0x185339[_0x422a90(0x3ad)+'DEL_C'+_0x422a90(0x2b7)+_0x422a90(0x35a)+_0x422a90(0x334)+'T_KEY'+'S']=()=>AI_MODEL_CAPABILITY_OUTPUT_KEYS,_0x185339[_0x422a90(0x3ad)+'DEL_T'+'AGS']=()=>AI_MODEL_TAGS,_0x185339[_0x422a90(0x3ad)+_0x422a90(0x260)+_0x422a90(0x315)+_0x422a90(0x302)]=()=>AI_MODEL_TAG_LABELS,_0x185339[_0x422a90(0x254)+_0x422a90(0x2b6)]=()=>AiClient,_0x185339[_0x422a90(0x38a)+_0x422a90(0x246)+_0x422a90(0x2ac)+'ma']=()=>aiChatModelSchema,_0x185339[_0x422a90(0x38a)+'tMode'+_0x422a90(0x304)+'loadS'+_0x422a90(0x2a6)]=()=>aiChatModelsPayloadSchema,_0x185339[_0x422a90(0x38a)+_0x422a90(0x246)+'lsRes'+_0x422a90(0x247)+'Schem'+'a']=()=>aiChatModelsResponseSchema,_0x185339[_0x422a90(0x38a)+_0x422a90(0x246)+'lsSuc'+_0x422a90(0x2cd)+_0x422a90(0x2a6)]=()=>aiChatModelsSuccessSchema,_0x185339[_0x422a90(0x27b)+_0x422a90(0x333)+'s']=()=>aiEndpoints,_0x185339['aiErr'+_0x422a90(0x1f5)+_0x422a90(0x247)+'Schem'+'a']=()=>aiErrorResponseSchema,_0x185339['aiIma'+_0x422a90(0x36a)+_0x422a90(0x330)+_0x422a90(0x306)]=()=>aiImageInputsSchema,_0x185339['aiIma'+'geOut'+_0x422a90(0x23b)+_0x422a90(0x306)]=()=>aiImageOutputSchema,_0x185339[_0x422a90(0x251)+_0x422a90(0x2d2)+_0x422a90(0x274)+_0x422a90(0x2a6)]=()=>aiImageRequestSchema,_0x185339[_0x422a90(0x329)+_0x422a90(0x303)+_0x422a90(0x20c)+_0x422a90(0x25a)]=()=>aiMediaInputSchema,_0x185339[_0x422a90(0x216)+_0x422a90(0x233)+_0x422a90(0x1f9)+_0x422a90(0x270)+_0x422a90(0x287)+_0x422a90(0x2a6)]=()=>aiModelCapabilitiesInputSchema,_0x185339[_0x422a90(0x216)+_0x422a90(0x233)+_0x422a90(0x1f9)+_0x422a90(0x2ab)+_0x422a90(0x397)+_0x422a90(0x23f)+'a']=()=>aiModelCapabilitiesOutputSchema,_0x185339['aiMod'+_0x422a90(0x233)+_0x422a90(0x1f9)+_0x422a90(0x37a)+_0x422a90(0x2a6)]=()=>aiModelCapabilitiesSchema,_0x185339[_0x422a90(0x216)+_0x422a90(0x233)+_0x422a90(0x1f9)+_0x422a90(0x1ce)+_0x422a90(0x375)+_0x422a90(0x306)]=()=>aiModelCapabilityCommonSchema,_0x185339['aiMod'+_0x422a90(0x388)+_0x422a90(0x364)+_0x422a90(0x359)+_0x422a90(0x394)+'ma']=()=>aiModelParameterFieldSchema,_0x185339[_0x422a90(0x216)+_0x422a90(0x388)+_0x422a90(0x24f)+'hema']=()=>aiModelParamsSchema,_0x185339['aiMod'+_0x422a90(0x310)+'ema']=()=>aiModelSchema,_0x185339[_0x422a90(0x216)+'elsPa'+_0x422a90(0x21d)+'Schem'+'a']=()=>aiModelsPayloadSchema,_0x185339[_0x422a90(0x216)+_0x422a90(0x27c)+_0x422a90(0x338)+_0x422a90(0x23f)+'a']=()=>aiModelsRequestSchema,_0x185339[_0x422a90(0x216)+_0x422a90(0x27c)+'spons'+_0x422a90(0x3a8)+'ma']=()=>aiModelsResponseSchema,_0x185339[_0x422a90(0x216)+_0x422a90(0x26d)+_0x422a90(0x31a)+_0x422a90(0x23f)+'a']=()=>aiModelsSuccessSchema,_0x185339[_0x422a90(0x216)+_0x422a90(0x2e0)+_0x422a90(0x201)+_0x422a90(0x1b4)+'aSche'+'ma']=()=>aiModelsUpdatedAtDataSchema,_0x185339[_0x422a90(0x216)+_0x422a90(0x2e0)+_0x422a90(0x201)+_0x422a90(0x23e)+'ponse'+_0x422a90(0x23f)+'a']=()=>aiModelsUpdatedAtResponseSchema,_0x185339[_0x422a90(0x216)+_0x422a90(0x2e0)+'dated'+_0x422a90(0x261)+_0x422a90(0x2cd)+_0x422a90(0x2a6)]=()=>aiModelsUpdatedAtSuccessSchema,_0x185339[_0x422a90(0x39c)+_0x422a90(0x1be)+_0x422a90(0x2e7)+_0x422a90(0x371)+_0x422a90(0x211)+'hema']=()=>aiProviderTemplateModelSchema,_0x185339[_0x422a90(0x39c)+_0x422a90(0x1be)+_0x422a90(0x2e7)+_0x422a90(0x20e)+_0x422a90(0x306)]=()=>aiProviderTemplateSchema,_0x185339[_0x422a90(0x39c)+_0x422a90(0x1be)+_0x422a90(0x2e7)+_0x422a90(0x1d3)+_0x422a90(0x214)+_0x422a90(0x394)+'ma']=()=>aiProviderTemplatesPayloadSchema,_0x185339['aiPro'+_0x422a90(0x1be)+_0x422a90(0x2e7)+_0x422a90(0x21a)+_0x422a90(0x238)+_0x422a90(0x2be)+'ma']=()=>aiProviderTemplatesRequestSchema,_0x185339[_0x422a90(0x39c)+_0x422a90(0x1be)+'Templ'+_0x422a90(0x21a)+_0x422a90(0x3a7)+'seSch'+_0x422a90(0x25a)]=()=>aiProviderTemplatesResponseSchema,_0x185339['aiPro'+_0x422a90(0x1be)+'Templ'+_0x422a90(0x31d)+'ucces'+_0x422a90(0x2b8)+'ma']=()=>aiProviderTemplatesSuccessSchema,_0x185339[_0x422a90(0x210)+'kCanc'+_0x422a90(0x1ca)+_0x422a90(0x37e)+'ma']=()=>aiTaskCancelDataSchema,_0x185339[_0x422a90(0x210)+'kCanc'+_0x422a90(0x25e)+_0x422a90(0x274)+_0x422a90(0x2a6)]=()=>aiTaskCancelRequestSchema,_0x185339[_0x422a90(0x210)+'kCanc'+_0x422a90(0x266)+_0x422a90(0x247)+_0x422a90(0x23f)+'a']=()=>aiTaskCancelResponseSchema,_0x185339[_0x422a90(0x210)+_0x422a90(0x2df)+_0x422a90(0x34f)+_0x422a90(0x2cd)+_0x422a90(0x2a6)]=()=>aiTaskCancelSuccessSchema,_0x185339['aiTas'+'kCrea'+'tedDa'+_0x422a90(0x22c)+_0x422a90(0x25a)]=()=>aiTaskCreatedDataSchema,_0x185339[_0x422a90(0x210)+'kCrea'+'tedRe'+_0x422a90(0x226)+_0x422a90(0x3a8)+'ma']=()=>aiTaskCreatedResponseSchema,_0x185339['aiTas'+_0x422a90(0x3b7)+_0x422a90(0x342)+_0x422a90(0x31a)+_0x422a90(0x23f)+'a']=()=>aiTaskCreatedSuccessSchema,_0x185339[_0x422a90(0x210)+'kData'+_0x422a90(0x23f)+'a']=()=>aiTaskDataSchema,_0x185339['aiTas'+_0x422a90(0x311)+_0x422a90(0x1c6)+'ma']=()=>aiTaskErrorSchema,_0x185339[_0x422a90(0x210)+'kRequ'+_0x422a90(0x204)+_0x422a90(0x306)]=()=>aiTaskRequestSchema,_0x185339[_0x422a90(0x210)+_0x422a90(0x1ae)+_0x422a90(0x36f)+_0x422a90(0x2a6)]=()=>aiTaskResponseSchema,_0x185339[_0x422a90(0x210)+'kResu'+_0x422a90(0x1e3)+_0x422a90(0x3a8)+'ma']=()=>aiTaskResultTypeSchema,_0x185339['aiTas'+_0x422a90(0x3bb)+'usSch'+_0x422a90(0x25a)]=()=>aiTaskStatusSchema,_0x185339['aiTas'+_0x422a90(0x370)+_0x422a90(0x215)+_0x422a90(0x306)]=()=>aiTaskSuccessSchema,_0x185339[_0x422a90(0x354)+'eoInp'+_0x422a90(0x330)+_0x422a90(0x306)]=()=>aiVideoInputsSchema,_0x185339[_0x422a90(0x354)+'eoOut'+_0x422a90(0x23b)+_0x422a90(0x306)]=()=>aiVideoOutputSchema,_0x185339[_0x422a90(0x354)+_0x422a90(0x395)+_0x422a90(0x274)+'chema']=()=>aiVideoRequestSchema,__export(ai_exports,_0x185339);var AiClient=class{['sdk'];constructor(_0x2380c9){var _0x143864=_0x422a90;this[_0x143864(0x1e5)]=_0x2380c9;}async[_0x422a90(0x27d)](_0x3d4c54){var _0x2fe784=_0x422a90;const _0xb89030=await this[_0x2fe784(0x1e5)][_0x2fe784(0x2ba)+_0x2fe784(0x33f)+_0x2fe784(0x29b)]();return this[_0x2fe784(0x1e5)][_0x2fe784(0x326)+'st'](this[_0x2fe784(0x1e5)][_0x2fe784(0x355)+_0x2fe784(0x367)]['ai'][_0x2fe784(0x27d)],{'baseUrl':this[_0x2fe784(0x1e5)]['getBa'+_0x2fe784(0x2f7)](),'headers':_0xb89030,'body':_0x3d4c54});}async[_0x422a90(0x268)](_0xa3d86e){var _0x174c49=_0x422a90;const _0x39d5b6=await this[_0x174c49(0x1e5)]['build'+_0x174c49(0x33f)+_0x174c49(0x29b)]();return this[_0x174c49(0x1e5)][_0x174c49(0x326)+'st'](this[_0x174c49(0x1e5)][_0x174c49(0x355)+_0x174c49(0x367)]['ai'][_0x174c49(0x268)],{'baseUrl':this['sdk'][_0x174c49(0x234)+_0x174c49(0x2f7)](),'headers':_0x39d5b6,'body':_0xa3d86e});}async['task'](_0x161677){var _0x14caaa=_0x422a90;const _0x32f9ab=await this[_0x14caaa(0x1e5)][_0x14caaa(0x2ba)+_0x14caaa(0x33f)+'eader']();return this[_0x14caaa(0x1e5)][_0x14caaa(0x326)+'st'](this[_0x14caaa(0x1e5)][_0x14caaa(0x355)+_0x14caaa(0x367)]['ai'][_0x14caaa(0x390)](_0x161677),{'baseUrl':this[_0x14caaa(0x1e5)]['getBa'+_0x14caaa(0x2f7)](),'headers':_0x32f9ab,'body':void(0x1*-0x1125+-0xdf3*-0x1+0x199*0x2)});}async[_0x422a90(0x314)+_0x422a90(0x1aa)](_0x57d3a4){var _0x41acde=_0x422a90;const _0x314017=await this[_0x41acde(0x1e5)]['build'+'AuthH'+_0x41acde(0x29b)]();return this['sdk'][_0x41acde(0x326)+'st'](this['sdk']['contr'+_0x41acde(0x367)]['ai'][_0x41acde(0x314)+_0x41acde(0x1aa)](_0x57d3a4),{'baseUrl':this[_0x41acde(0x1e5)][_0x41acde(0x234)+_0x41acde(0x2f7)](),'headers':_0x314017,'body':void(0x16*0x1ab+0x1400+-0x1c59*0x2)});}async[_0x422a90(0x27d)+_0x422a90(0x2a8)+'s'](){var _0xc4ce42=_0x422a90;const _0x52ad02=await this[_0xc4ce42(0x1e5)][_0xc4ce42(0x2ba)+'AuthH'+'eader']();return this[_0xc4ce42(0x1e5)][_0xc4ce42(0x326)+'st'](this[_0xc4ce42(0x1e5)][_0xc4ce42(0x355)+_0xc4ce42(0x367)]['ai'][_0xc4ce42(0x27d)+_0xc4ce42(0x2a8)+'s'],{'baseUrl':this['sdk']['getBa'+_0xc4ce42(0x2f7)](),'headers':_0x52ad02,'body':void(0x1cc9+-0x1*-0x1643+0x1b*-0x1e4)});}async[_0x422a90(0x268)+_0x422a90(0x2a8)+'s'](){var _0x4d0ae3=_0x422a90;const _0x1eb9ff=await this[_0x4d0ae3(0x1e5)]['build'+'AuthH'+_0x4d0ae3(0x29b)]();return this[_0x4d0ae3(0x1e5)][_0x4d0ae3(0x326)+'st'](this[_0x4d0ae3(0x1e5)][_0x4d0ae3(0x355)+_0x4d0ae3(0x367)]['ai']['video'+_0x4d0ae3(0x2a8)+'s'],{'baseUrl':this[_0x4d0ae3(0x1e5)][_0x4d0ae3(0x234)+_0x4d0ae3(0x2f7)](),'headers':_0x1eb9ff,'body':void(0x15f4+0x57*0xd+-0x1a5f)});}async[_0x422a90(0x37c)+_0x422a90(0x294)](){var _0x50960b=_0x422a90;const _0x35a726=await this[_0x50960b(0x1e5)][_0x50960b(0x2ba)+'AuthH'+_0x50960b(0x29b)]();return this[_0x50960b(0x1e5)][_0x50960b(0x326)+'st'](this[_0x50960b(0x1e5)][_0x50960b(0x355)+_0x50960b(0x367)]['ai']['chatM'+_0x50960b(0x294)],{'baseUrl':this['sdk']['getBa'+_0x50960b(0x2f7)](),'headers':_0x35a726,'body':void(0x1b*0xb1+-0x85f+0x2*-0x526)});}async[_0x422a90(0x22a)+_0x422a90(0x3ae)+'tedAt'](){var _0x3c2a05=_0x422a90;return this[_0x3c2a05(0x1e5)][_0x3c2a05(0x326)+'st'](this[_0x3c2a05(0x1e5)][_0x3c2a05(0x355)+_0x3c2a05(0x367)]['ai'][_0x3c2a05(0x22a)+_0x3c2a05(0x3ae)+_0x3c2a05(0x2f4)],{'baseUrl':this[_0x3c2a05(0x1e5)][_0x3c2a05(0x234)+_0x3c2a05(0x2f7)](),'headers':{},'body':void(-0x1bbb+0x11f5*-0x1+0x2db0)});}async['uploa'+_0x422a90(0x1ef)](_0x1e2a81,_0x57d744){var _0xe04455=_0x422a90;const _0x4c4de9=new FormData();_0x4c4de9[_0xe04455(0x2bc)+'d'](_0xe04455(0x249),_0x1e2a81,_0x57d744??(_0x1e2a81 instanceof File?_0x1e2a81[_0xe04455(0x35e)]:_0xe04455(0x249)));const _0x534e14=await this['sdk'][_0xe04455(0x2ba)+_0xe04455(0x33f)+_0xe04455(0x29b)](),_0x155d1d=this['sdk'][_0xe04455(0x234)+_0xe04455(0x2f7)]()+(_0xe04455(0x1d2)+_0xe04455(0x276)+'le/up'+_0xe04455(0x374));var _0x22e957={};_0x22e957['metho'+'d']='POST',_0x22e957['heade'+'rs']=_0x534e14,_0x22e957[_0xe04455(0x2f6)]=_0x4c4de9;const _0x38a31b=await fetch(_0x155d1d,_0x22e957);if(!_0x38a31b['ok']){const _0x7398ec=await _0x38a31b[_0xe04455(0x203)]()[_0xe04455(0x3a0)](()=>({'message':_0xe04455(0x21b)+_0xe04455(0x39a)+_0xe04455(0x255)}));throw new Error(_0x7398ec[_0xe04455(0x228)+'ge']??_0xe04455(0x21b)+_0xe04455(0x39a)+'led');}return _0x38a31b[_0xe04455(0x203)]();}async[_0x422a90(0x30b)+'derTe'+_0x422a90(0x1db)+'es'](){var _0x3e52e8=_0x422a90;return this[_0x3e52e8(0x1e5)][_0x3e52e8(0x326)+'st'](this[_0x3e52e8(0x1e5)][_0x3e52e8(0x355)+'act']['ai'][_0x3e52e8(0x30b)+_0x3e52e8(0x209)+_0x3e52e8(0x1db)+'es'],{'baseUrl':this[_0x3e52e8(0x1e5)][_0x3e52e8(0x234)+_0x3e52e8(0x2f7)](),'headers':{},'body':void(-0x1b*0x105+-0x1d*-0x10f+-0x32c)});}},AI_MODEL_TAGS=[_0x422a90(0x27d)+'_gene'+'ratio'+'n',_0x422a90(0x27d)+_0x422a90(0x1de)+_0x422a90(0x386)+'ut',_0x422a90(0x27d)+'_inpu'+'t','image'+_0x422a90(0x1de)+'i_gen'+_0x422a90(0x1fd)+'on',_0x422a90(0x27d)+_0x422a90(0x323),_0x422a90(0x268)+'_gene'+'ratio'+'n',_0x422a90(0x1c4),'reaso'+_0x422a90(0x328),_0x422a90(0x22f)+'call','image'+_0x422a90(0x1b1)+_0x422a90(0x3b0),'video'+_0x422a90(0x1b1)+_0x422a90(0x3b0),_0x422a90(0x2c7)+_0x422a90(0x1b1)+_0x422a90(0x3b0),_0x422a90(0x365)],_0x3e92df={};_0x3e92df[_0x422a90(0x27d)+'_gene'+_0x422a90(0x1d4)+'n']=_0x422a90(0x3af),_0x3e92df[_0x422a90(0x27d)+_0x422a90(0x1de)+_0x422a90(0x386)+'ut']=_0x422a90(0x220),_0x3e92df[_0x422a90(0x27d)+_0x422a90(0x396)+'t']=_0x422a90(0x1d9),_0x3e92df['image'+'_mult'+'i_gen'+_0x422a90(0x1fd)+'on']='多图生成',_0x3e92df[_0x422a90(0x27d)+_0x422a90(0x323)]=_0x422a90(0x36d),_0x3e92df[_0x422a90(0x268)+_0x422a90(0x3a6)+_0x422a90(0x1d4)+'n']=_0x422a90(0x262),_0x3e92df[_0x422a90(0x1c4)]='对话',_0x3e92df[_0x422a90(0x230)+_0x422a90(0x328)]='推理',_0x3e92df[_0x422a90(0x22f)+_0x422a90(0x20a)]=_0x422a90(0x243),_0x3e92df[_0x422a90(0x27d)+_0x422a90(0x1b1)+_0x422a90(0x3b0)]=_0x422a90(0x379),_0x3e92df['video'+_0x422a90(0x1b1)+_0x422a90(0x3b0)]=_0x422a90(0x28e),_0x3e92df[_0x422a90(0x2c7)+'_anal'+_0x422a90(0x3b0)]='音频理解',_0x3e92df[_0x422a90(0x365)]='代码';var AI_MODEL_TAG_LABELS=_0x3e92df,AI_MODEL_CAPABILITY_INPUT_KEYS=[_0x422a90(0x2cf)+_0x422a90(0x2bf),_0x422a90(0x24a)+'rtsMa'+'sk',_0x422a90(0x24a)+'rtsRe'+_0x422a90(0x398)+_0x422a90(0x20d)+'eo',_0x422a90(0x24a)+_0x422a90(0x30a)+_0x422a90(0x2a7)+'d'],AI_MODEL_CAPABILITY_OUTPUT_KEYS=[_0x422a90(0x24a)+_0x422a90(0x30d)+_0x422a90(0x350),_0x422a90(0x24a)+_0x422a90(0x331)+'dio'],Endpoint=class{['metho'+'d'];[_0x422a90(0x289)];[_0x422a90(0x2e2)+_0x422a90(0x1d5)+'pe'];[_0x422a90(0x326)+'st'];[_0x422a90(0x2e2)+_0x422a90(0x337)];constructor(_0x30b923){var _0x14b2a5=_0x422a90;this[_0x14b2a5(0x297)+'d']=_0x30b923[_0x14b2a5(0x297)+'d'],this[_0x14b2a5(0x289)]=_0x30b923[_0x14b2a5(0x289)],this[_0x14b2a5(0x326)+'st']=_0x30b923[_0x14b2a5(0x326)+_0x14b2a5(0x231)+_0x14b2a5(0x25a)],this[_0x14b2a5(0x2e2)+_0x14b2a5(0x337)]=_0x30b923[_0x14b2a5(0x2e2)+_0x14b2a5(0x2c3)+'hema'],this[_0x14b2a5(0x2e2)+_0x14b2a5(0x1d5)+'pe']=_0x30b923[_0x14b2a5(0x2e2)+_0x14b2a5(0x1d5)+'pe']??_0x14b2a5(0x203);}[_0x422a90(0x34e)+_0x422a90(0x381)+'st'](_0x2dc7d6){var _0x5af7e8=_0x422a90;return this[_0x5af7e8(0x326)+'st'][_0x5af7e8(0x34e)](_0x2dc7d6);}[_0x422a90(0x34e)+_0x422a90(0x357)+_0x422a90(0x337)](_0x431329){var _0x359200=_0x422a90;return this[_0x359200(0x2e2)+_0x359200(0x337)][_0x359200(0x34e)](_0x431329);}[_0x422a90(0x264)+_0x422a90(0x25d)+_0x422a90(0x238)+'t'](_0x3e98d5){var _0x49162c=_0x422a90;return this[_0x49162c(0x326)+'st'][_0x49162c(0x264)+_0x49162c(0x309)](_0x3e98d5);}['safeP'+_0x422a90(0x25d)+_0x422a90(0x3a7)+'se'](_0x43c97b){var _0x46021d=_0x422a90;return this[_0x46021d(0x2e2)+_0x46021d(0x337)]['safeP'+_0x46021d(0x309)](_0x43c97b);}},aiVoidRequestSchema=z['void'](),_0x2a3023={};_0x2a3023['messa'+'ge']=_0x422a90(0x34c)+_0x422a90(0x200)+_0x422a90(0x26b)+_0x422a90(0x282)+_0x422a90(0x2bb)+_0x422a90(0x257)+'ed';var aiMediaInputSchema=z[_0x422a90(0x324)+'t']({'url':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x2b9)]()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x37d)+'L')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'base64':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x300)+_0x422a90(0x2d7)+'数据')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'mediaType':z['strin'+'g']()['descr'+_0x422a90(0x299)](_0x422a90(0x1f0))[_0x422a90(0x202)+_0x422a90(0x3a9)]()})[_0x422a90(0x353)+'e'](_0x414bd0=>Boolean(_0x414bd0[_0x422a90(0x2b9)]||_0x414bd0[_0x422a90(0x293)+'4']),_0x2a3023),aiImageInputsSchema=z[_0x422a90(0x324)+'t']({'images':z[_0x422a90(0x3b8)](aiMediaInputSchema)[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x25c)+'表')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'mask':aiMediaInputSchema[_0x422a90(0x35b)+_0x422a90(0x299)]('遮罩图')[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiVideoInputsSchema=z[_0x422a90(0x324)+'t']({'images':z[_0x422a90(0x3b8)](aiMediaInputSchema)[_0x422a90(0x35b)+_0x422a90(0x299)]('输入图片列'+'表')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'startImage':aiMediaInputSchema[_0x422a90(0x35b)+_0x422a90(0x299)]('首帧图片')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'endImage':aiMediaInputSchema[_0x422a90(0x35b)+'ibe'](_0x422a90(0x285))['optio'+'nal'](),'referenceVideo':aiMediaInputSchema['descr'+_0x422a90(0x299)](_0x422a90(0x30e))[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiImageAspectRatioSchema=z[_0x422a90(0x3a1)]([_0x422a90(0x3b2),_0x422a90(0x1b0),_0x422a90(0x35f),_0x422a90(0x2b5)])[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x29d)),aiImageQualitySchema=z[_0x422a90(0x3a1)]([_0x422a90(0x2ee)+_0x422a90(0x26e),'hd'])['descr'+_0x422a90(0x299)](_0x422a90(0x295)),aiImageOutputSchema=z[_0x422a90(0x324)+'t']({'count':z['numbe'+'r']()[_0x422a90(0x2ae)]()['min'](-0x1*0x1fe5+0xca*-0x1+0x20b0)[_0x422a90(0x3a4)](-0x8d9+-0x1*0xaa+0x988)[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x1c2)+'量')[_0x422a90(0x202)+'nal'](),'aspectRatio':aiImageAspectRatioSchema['descr'+_0x422a90(0x299)](_0x422a90(0x23d)+'高比')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'quality':aiImageQualitySchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x2e5)+'量')[_0x422a90(0x202)+'nal']()}),aiVideoOutputSchema=z['objec'+'t']({'aspectRatio':z['strin'+'g']()['descr'+'ibe'](_0x422a90(0x399)+'高比')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'duration':z[_0x422a90(0x320)+'r']()[_0x422a90(0x26c)+_0x422a90(0x1ab)]()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x383)+_0x422a90(0x265))['optio'+_0x422a90(0x3a9)](),'clarity':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x38c))['optio'+_0x422a90(0x3a9)](),'withAudio':z[_0x422a90(0x2d4)+'an']()[_0x422a90(0x35b)+_0x422a90(0x299)]('是否包含音'+'频')[_0x422a90(0x202)+'nal']()}),aiImageRequestSchema=z[_0x422a90(0x324)+'t']({'modelId':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)]('模型\x20ID'),'prompt':z['strin'+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x256)),'negativePrompt':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x267))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'style':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)]('风格')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'inputs':aiImageInputsSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x28f))[_0x422a90(0x202)+'nal'](),'output':aiImageOutputSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x322))[_0x422a90(0x202)+'nal'](),'parameters':z[_0x422a90(0x32d)+'d'](z[_0x422a90(0x1e9)+'g'](),z['unkno'+'wn']())[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x3b4))[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiVideoRequestSchema=z[_0x422a90(0x324)+'t']({'modelId':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x22e)),'prompt':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x256)),'negativePrompt':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x267))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'style':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+'ibe']('风格')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'inputs':aiVideoInputsSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x28f))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'output':aiVideoOutputSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x322))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'parameters':z[_0x422a90(0x32d)+'d'](z[_0x422a90(0x1e9)+'g'](),z[_0x422a90(0x1b5)+'wn']())[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x3b4))[_0x422a90(0x202)+'nal']()}),aiTaskCreatedDataSchema=z[_0x422a90(0x324)+'t']({'taskId':z['strin'+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)]('任务\x20ID')}),aiErrorResponseSchema=z[_0x422a90(0x324)+'t']({'success':z[_0x422a90(0x271)+'al'](![])[_0x422a90(0x35b)+_0x422a90(0x299)]('是否成功'),'code':z['strin'+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)]('错误码')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'message':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+'ibe'](_0x422a90(0x1b2))}),aiTaskCreatedSuccessSchema=z[_0x422a90(0x324)+'t']({'success':z[_0x422a90(0x271)+'al'](!![])[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x2dd)),'data':aiTaskCreatedDataSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x347))}),aiTaskCreatedResponseSchema=z['union']([aiTaskCreatedSuccessSchema,aiErrorResponseSchema]),aiTaskStatusSchema=z[_0x422a90(0x3a1)]([_0x422a90(0x351)+'d',_0x422a90(0x373)+'ng',_0x422a90(0x1ec)+_0x422a90(0x321),_0x422a90(0x31f)+'d',_0x422a90(0x314)+'led'])['descr'+_0x422a90(0x299)](_0x422a90(0x30c)+'举'),aiTaskResultTypeSchema=z['enum']([_0x422a90(0x27d),_0x422a90(0x268)])[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x32a)+'型'),aiTaskErrorSchema=z[_0x422a90(0x324)+'t']({'code':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x28b))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'message':z[_0x422a90(0x1e9)+'g']()['descr'+_0x422a90(0x299)](_0x422a90(0x1b2))}),aiTaskDataSchema=z[_0x422a90(0x324)+'t']({'status':aiTaskStatusSchema[_0x422a90(0x35b)+'ibe'](_0x422a90(0x38b)),'progress':z[_0x422a90(0x320)+'r']()[_0x422a90(0x317)](0x1c3a+0x12f*0x10+-0x1795*0x2)[_0x422a90(0x3a4)](-0x2*-0xa+-0x201*0x2+0x452)[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x281))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'resultType':aiTaskResultTypeSchema[_0x422a90(0x35b)+'ibe']('结果类型')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'resultUrls':z['array'](z[_0x422a90(0x1e9)+'g']())[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x35d)+'表')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'error':aiTaskErrorSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x1b2))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'creditsConsumed':z[_0x422a90(0x320)+'r']()[_0x422a90(0x35b)+'ibe']('消耗积分')[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiTaskSuccessSchema=z[_0x422a90(0x324)+'t']({'success':z['liter'+'al'](!![])[_0x422a90(0x35b)+_0x422a90(0x299)]('是否成功'),'data':aiTaskDataSchema[_0x422a90(0x35b)+'ibe'](_0x422a90(0x347))}),aiTaskResponseSchema=z[_0x422a90(0x2ea)]([aiTaskSuccessSchema,aiErrorResponseSchema]),aiTaskCancelDataSchema=z[_0x422a90(0x324)+'t']({'status':z[_0x422a90(0x3a1)]([_0x422a90(0x314)+_0x422a90(0x255),_0x422a90(0x2a5)+_0x422a90(0x1dd)])[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x275)+'态')}),aiTaskCancelSuccessSchema=z['objec'+'t']({'success':z[_0x422a90(0x271)+'al'](!![])['descr'+'ibe'](_0x422a90(0x2dd)),'data':aiTaskCancelDataSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x347))}),aiTaskCancelResponseSchema=z[_0x422a90(0x2ea)]([aiTaskCancelSuccessSchema,aiErrorResponseSchema]),aiModelCapabilitiesInputSchema=z[_0x422a90(0x324)+'t']({'maxImages':z[_0x422a90(0x320)+'r']()[_0x422a90(0x2ae)]()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x2c9)+_0x422a90(0x213))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'supportsMask':z[_0x422a90(0x2d4)+'an']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x1b3)+'罩')[_0x422a90(0x202)+'nal'](),'supportsReferenceVideo':z[_0x422a90(0x2d4)+'an']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x1c8)+_0x422a90(0x366))['optio'+'nal'](),'supportsStartEnd':z[_0x422a90(0x2d4)+'an']()['descr'+'ibe']('是否支持首'+'尾帧')[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiModelCapabilitiesOutputSchema=z[_0x422a90(0x324)+'t']({'supportsMulti':z[_0x422a90(0x2d4)+'an']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x3b9)+'输出')[_0x422a90(0x202)+'nal'](),'supportsAudio':z['boole'+'an']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x23a)+'频输出')[_0x422a90(0x202)+'nal']()}),aiModelCapabilityCommonSchema=z[_0x422a90(0x324)+'t']({'maxContextK':z[_0x422a90(0x320)+'r']()['int']()[_0x422a90(0x20f)+_0x422a90(0x29c)+'e']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x278)+_0x422a90(0x32c))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'supportsStructuredOutput':z[_0x422a90(0x2d4)+'an']()[_0x422a90(0x35b)+'ibe'](_0x422a90(0x341)+_0x422a90(0x305))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'supportsWebSearch':z[_0x422a90(0x2d4)+'an']()['descr'+_0x422a90(0x299)](_0x422a90(0x1e2)+_0x422a90(0x3ba))[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiModelParameterValueSchema=z[_0x422a90(0x2ea)]([z[_0x422a90(0x1e9)+'g'](),z[_0x422a90(0x320)+'r'](),z['boole'+'an']()]),aiModelParameterFieldSchema=z[_0x422a90(0x324)+'t']({'key':z[_0x422a90(0x1e9)+'g']()['descr'+_0x422a90(0x299)](_0x422a90(0x1e4)+'y'),'title':z['strin'+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)]('展示名称'),'description':z[_0x422a90(0x1e9)+'g']()['descr'+_0x422a90(0x299)]('参数说明')[_0x422a90(0x202)+'nal'](),'type':z[_0x422a90(0x3a1)]([_0x422a90(0x2b2)+'t',_0x422a90(0x320)+'r',_0x422a90(0x2d4)+'an',_0x422a90(0x319)])[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x239)),'unit':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+'ibe']('单位')['optio'+_0x422a90(0x3a9)](),'values':z[_0x422a90(0x3b8)](aiModelParameterValueSchema)[_0x422a90(0x35b)+'ibe']('可选值')['optio'+_0x422a90(0x3a9)](),'min':z[_0x422a90(0x320)+'r']()[_0x422a90(0x35b)+'ibe']('最小值')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'max':z[_0x422a90(0x320)+'r']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x1fa))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'step':z[_0x422a90(0x320)+'r']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x26f))['optio'+_0x422a90(0x3a9)](),'default':aiModelParameterValueSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x34a))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'request':z[_0x422a90(0x2d4)+'an']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x236))}),aiModelParamsSchema=z[_0x422a90(0x324)+'t']({'features':z[_0x422a90(0x3b8)](z['strin'+'g']())['descr'+_0x422a90(0x299)](_0x422a90(0x38d))[_0x422a90(0x202)+'nal'](),'fields':z[_0x422a90(0x3b8)](aiModelParameterFieldSchema)['descr'+_0x422a90(0x299)](_0x422a90(0x2fe))[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiModelCapabilitiesSchema=z['objec'+'t']({'common':aiModelCapabilityCommonSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x2dc))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'params':aiModelParamsSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x391))['optio'+_0x422a90(0x3a9)](),'input':aiModelCapabilitiesInputSchema[_0x422a90(0x35b)+'ibe'](_0x422a90(0x263))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'output':aiModelCapabilitiesOutputSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x37b))[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiModelSchema=z[_0x422a90(0x324)+'t']({'id':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x22e)),'name':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x296))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'familyId':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)]('模型家族\x20'+'ID')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'providerId':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+'ibe'](_0x422a90(0x31c)+'D')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'tags':z[_0x422a90(0x3b8)](z[_0x422a90(0x1e9)+'g']())['descr'+_0x422a90(0x299)](_0x422a90(0x312))[_0x422a90(0x202)+'nal'](),'capabilities':aiModelCapabilitiesSchema['descr'+'ibe'](_0x422a90(0x2a0))[_0x422a90(0x202)+_0x422a90(0x3a9)]()})[_0x422a90(0x1b6)+'hroug'+'h'](),aiModelsPayloadSchema=z[_0x422a90(0x324)+'t']({'data':z[_0x422a90(0x3b8)](aiModelSchema)[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x24d)),'updatedAt':z[_0x422a90(0x1e9)+'g']()['descr'+'ibe'](_0x422a90(0x28d))[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiModelsSuccessSchema=z[_0x422a90(0x324)+'t']({'success':z['liter'+'al'](!![])[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x2dd)),'data':aiModelsPayloadSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x347))}),aiModelsResponseSchema=z['union']([aiModelsSuccessSchema,aiErrorResponseSchema]),aiChatModelSchema=z[_0x422a90(0x324)+'t']({'id':z['strin'+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x22e)),'provider':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)]('供应商'),'displayName':z['strin'+'g']()['descr'+_0x422a90(0x299)](_0x422a90(0x2f5)),'familyId':z['strin'+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x2b4)+'ID')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'tags':z[_0x422a90(0x3b8)](z[_0x422a90(0x1e9)+'g']())[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x312)),'capabilities':aiModelCapabilitiesSchema[_0x422a90(0x35b)+'ibe'](_0x422a90(0x2a0))[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiChatModelsPayloadSchema=z[_0x422a90(0x324)+'t']({'data':z[_0x422a90(0x3b8)](aiChatModelSchema)[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x24d)),'updatedAt':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x28d))['optio'+_0x422a90(0x3a9)]()}),aiChatModelsSuccessSchema=z['objec'+'t']({'success':z[_0x422a90(0x271)+'al'](!![])[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x2dd)),'data':aiChatModelsPayloadSchema[_0x422a90(0x35b)+'ibe'](_0x422a90(0x347))}),aiChatModelsResponseSchema=z[_0x422a90(0x2ea)]([aiChatModelsSuccessSchema,aiErrorResponseSchema]),aiModelsUpdatedAtDataSchema=z['objec'+'t']({'chatUpdatedAt':z[_0x422a90(0x1e9)+'g']()['descr'+_0x422a90(0x299)](_0x422a90(0x3b5)+_0x422a90(0x2ca)),'imageUpdatedAt':z[_0x422a90(0x1e9)+'g']()['descr'+'ibe'](_0x422a90(0x39b)+_0x422a90(0x2ca)),'videoUpdatedAt':z['strin'+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)]('视频模型最'+'后更新时间'),'latestUpdatedAt':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+'ibe'](_0x422a90(0x2e3)+_0x422a90(0x363)+'时间')}),aiModelsUpdatedAtSuccessSchema=z['objec'+'t']({'success':z[_0x422a90(0x271)+'al'](!![])[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x2dd)),'data':aiModelsUpdatedAtDataSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x347))}),aiModelsUpdatedAtResponseSchema=z[_0x422a90(0x2ea)]([aiModelsUpdatedAtSuccessSchema,aiErrorResponseSchema]),aiModelsRequestSchema=aiVoidRequestSchema,aiTaskRequestSchema=aiVoidRequestSchema,aiTaskCancelRequestSchema=aiVoidRequestSchema,aiProviderTemplateModelSchema=z[_0x422a90(0x324)+'t']({'id':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x22e)),'providerId':z['strin'+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x31c)+'D'),'displayName':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x2da)+'sh']()['descr'+_0x422a90(0x299)]('展示名称'),'description':z['strin'+'g']()[_0x422a90(0x2da)+'sh']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x1af)),'familyId':z[_0x422a90(0x1e9)+'g']()['descr'+_0x422a90(0x299)]('模型家族\x20'+'ID')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'tags':z[_0x422a90(0x3b8)](z[_0x422a90(0x1e9)+'g']())[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x312)),'capabilities':aiModelCapabilitiesSchema[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x2a0))[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiProviderTemplateSchema=z[_0x422a90(0x324)+'t']({'id':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x31c)+'D'),'label':z['strin'+'g']()[_0x422a90(0x35b)+'ibe'](_0x422a90(0x384)),'adapter':z[_0x422a90(0x1e9)+'g']()['descr'+_0x422a90(0x299)]('AI\x20SD'+_0x422a90(0x288)+'标识'),'apiUrl':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x316)+'址')[_0x422a90(0x202)+_0x422a90(0x3a9)](),'authType':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x21e))[_0x422a90(0x202)+_0x422a90(0x3a9)](),'websiteUrl':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x2da)+'sh']()['descr'+'ibe'](_0x422a90(0x2fd)),'docUrl':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x2da)+'sh']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x28a)),'models':z['array'](aiProviderTemplateModelSchema)['descr'+_0x422a90(0x299)](_0x422a90(0x24d))}),aiProviderTemplatesPayloadSchema=z[_0x422a90(0x324)+'t']({'providers':z[_0x422a90(0x3b8)](aiProviderTemplateSchema)[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x292)),'updatedAt':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)]('更新时间')[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),aiProviderTemplatesSuccessSchema=z[_0x422a90(0x324)+'t']({'success':z['liter'+'al'](!![])[_0x422a90(0x35b)+_0x422a90(0x299)]('是否成功'),'data':aiProviderTemplatesPayloadSchema[_0x422a90(0x35b)+'ibe']('返回数据')}),aiProviderTemplatesResponseSchema=z['union']([aiProviderTemplatesSuccessSchema,aiErrorResponseSchema]),aiProviderTemplatesRequestSchema=z[_0x422a90(0x32f)](),_0x34d3fb={};_0x34d3fb[_0x422a90(0x297)+'d']=_0x422a90(0x344),_0x34d3fb['path']=_0x422a90(0x1d2)+_0x422a90(0x3a5)+_0x422a90(0x385),_0x34d3fb[_0x422a90(0x326)+_0x422a90(0x231)+_0x422a90(0x25a)]=aiImageRequestSchema,_0x34d3fb[_0x422a90(0x2e2)+_0x422a90(0x2c3)+_0x422a90(0x306)]=aiTaskCreatedResponseSchema;var _0x50c019={};_0x50c019['metho'+'d']=_0x422a90(0x344),_0x50c019[_0x422a90(0x289)]=_0x422a90(0x1d2)+'ai/ve'+_0x422a90(0x2c6),_0x50c019[_0x422a90(0x326)+_0x422a90(0x231)+_0x422a90(0x25a)]=aiVideoRequestSchema,_0x50c019[_0x422a90(0x2e2)+_0x422a90(0x2c3)+_0x422a90(0x306)]=aiTaskCreatedResponseSchema;var _0x567b1d={};_0x567b1d['metho'+'d']=_0x422a90(0x1cf),_0x567b1d[_0x422a90(0x289)]=_0x422a90(0x1d2)+_0x422a90(0x3a2)+_0x422a90(0x208)+'image'+_0x422a90(0x2fc)+'ls',_0x567b1d['reque'+_0x422a90(0x231)+'ema']=aiModelsRequestSchema,_0x567b1d[_0x422a90(0x2e2)+_0x422a90(0x2c3)+_0x422a90(0x306)]=aiModelsResponseSchema;var _0x505f0e={};_0x505f0e[_0x422a90(0x297)+'d']=_0x422a90(0x1cf),_0x505f0e[_0x422a90(0x289)]=_0x422a90(0x1d2)+_0x422a90(0x3a2)+_0x422a90(0x208)+_0x422a90(0x1fb)+'/mode'+'ls',_0x505f0e['reque'+_0x422a90(0x231)+_0x422a90(0x25a)]=aiModelsRequestSchema,_0x505f0e[_0x422a90(0x2e2)+_0x422a90(0x2c3)+_0x422a90(0x306)]=aiModelsResponseSchema;var _0x530936={};_0x530936[_0x422a90(0x297)+'d']=_0x422a90(0x1cf),_0x530936[_0x422a90(0x289)]=_0x422a90(0x1d2)+'publi'+_0x422a90(0x208)+_0x422a90(0x24c)+'model'+'s',_0x530936[_0x422a90(0x326)+_0x422a90(0x231)+_0x422a90(0x25a)]=aiModelsRequestSchema,_0x530936[_0x422a90(0x2e2)+_0x422a90(0x2c3)+_0x422a90(0x306)]=aiChatModelsResponseSchema;var _0x3943ef={};_0x3943ef[_0x422a90(0x297)+'d']='GET',_0x3943ef[_0x422a90(0x289)]=_0x422a90(0x1d2)+_0x422a90(0x3a2)+'c/ai/'+_0x422a90(0x22a)+_0x422a90(0x1bc)+_0x422a90(0x241)+'at',_0x3943ef['reque'+_0x422a90(0x231)+_0x422a90(0x25a)]=aiModelsRequestSchema,_0x3943ef[_0x422a90(0x2e2)+_0x422a90(0x2c3)+'hema']=aiModelsUpdatedAtResponseSchema;function _0x6ada(_0x567b1d,_0x505f0e){_0x567b1d=_0x567b1d-(-0x523+-0x1e39+0x2506);var _0x530936=_0x2b34();var _0x3943ef=_0x530936[_0x567b1d];if(_0x6ada['XiJhAV']===undefined){var _0x3581f6=function(_0x220019){var _0x154d44='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x22e08e='',_0x32e9f0='';for(var _0x29bc58=0x2d*-0x29+0x2186+-0x1a51,_0x2f216c,_0x3f011e,_0xff553e=0x1*-0x1125+-0xdf3*-0x1+0x199*0x2;_0x3f011e=_0x220019['charAt'](_0xff553e++);~_0x3f011e&&(_0x2f216c=_0x29bc58%(0x16*0x1ab+0x1400+-0x38ae*0x1)?_0x2f216c*(0x1cc9+-0x1*-0x1643+0x2*-0x1966)+_0x3f011e:_0x3f011e,_0x29bc58++%(0x15f4+0x57*0xd+-0x1a5b))?_0x22e08e+=String['fromCharCode'](0x1b*0xb1+-0x85f+0x1*-0x94d&_0x2f216c>>(-(-0x1bbb+0x11f5*-0x1+0x2db2)*_0x29bc58&0x20*0xda+-0x1b87+-0x7*-0xb)):-0x477+0xc32+-0x7bb){_0x3f011e=_0x154d44['indexOf'](_0x3f011e);}for(var _0xae9f12=0x246f*0x1+-0x15d+-0x2312,_0xbb8733=_0x22e08e['length'];_0xae9f12<_0xbb8733;_0xae9f12++){_0x32e9f0+='%'+('00'+_0x22e08e['charCodeAt'](_0xae9f12)['toString'](-0x1*0xaa+-0x124+0x2*0xef))['slice'](-(0x1*-0x194c+0x2661+-0x1*0xd13));}return decodeURIComponent(_0x32e9f0);};_0x6ada['kqWiTg']=_0x3581f6,_0x6ada['hrFGpl']={},_0x6ada['XiJhAV']=!![];}var _0x13e68c=_0x530936[-0x6ed*-0x2+-0x9b2+0x85*-0x8],_0x4de8a7=_0x567b1d+_0x13e68c,_0x17755b=_0x6ada['hrFGpl'][_0x4de8a7];return!_0x17755b?(_0x3943ef=_0x6ada['kqWiTg'](_0x3943ef),_0x6ada['hrFGpl'][_0x4de8a7]=_0x3943ef):_0x3943ef=_0x17755b,_0x3943ef;}var _0x3581f6={};_0x3581f6[_0x422a90(0x297)+'d']='GET',_0x3581f6[_0x422a90(0x289)]=_0x422a90(0x1d2)+'publi'+_0x422a90(0x208)+'provi'+_0x422a90(0x1ac),_0x3581f6[_0x422a90(0x326)+_0x422a90(0x231)+_0x422a90(0x25a)]=aiProviderTemplatesRequestSchema,_0x3581f6[_0x422a90(0x2e2)+_0x422a90(0x2c3)+'hema']=aiProviderTemplatesResponseSchema;var aiEndpoints={'image':new Endpoint(_0x34d3fb),'video':new Endpoint(_0x50c019),'task':_0x457866=>new Endpoint({'method':_0x422a90(0x1cf),'path':_0x422a90(0x1d2)+'ai/ta'+_0x422a90(0x2c2)+_0x457866,'requestSchema':aiTaskRequestSchema,'responseSchema':aiTaskResponseSchema}),'cancelTask':_0x1826c5=>new Endpoint({'method':_0x422a90(0x344),'path':_0x422a90(0x1d2)+_0x422a90(0x298)+_0x422a90(0x2c2)+_0x1826c5+(_0x422a90(0x225)+'el'),'requestSchema':aiTaskCancelRequestSchema,'responseSchema':aiTaskCancelResponseSchema}),'imageModels':new Endpoint(_0x567b1d),'videoModels':new Endpoint(_0x505f0e),'chatModels':new Endpoint(_0x530936),'modelsUpdatedAt':new Endpoint(_0x3943ef),'providerTemplates':new Endpoint(_0x3581f6)},ai_tools_exports={},_0x13e68c={};_0x13e68c[_0x422a90(0x380)+_0x422a90(0x2e6)+_0x422a90(0x2b6)]=()=>AiToolsClient,_0x13e68c[_0x422a90(0x33b)+_0x422a90(0x361)+_0x422a90(0x333)+'s']=()=>aiToolsEndpoints,_0x13e68c[_0x422a90(0x245)+_0x422a90(0x1b7)+_0x422a90(0x24b)+_0x422a90(0x338)+'Schem'+'a']=()=>analyzeSkillsRequestSchema,_0x13e68c[_0x422a90(0x245)+_0x422a90(0x1b7)+_0x422a90(0x24b)+'spons'+_0x422a90(0x3a8)+'ma']=()=>analyzeSkillsResponseSchema,_0x13e68c[_0x422a90(0x244)+'mendA'+_0x422a90(0x362)+_0x422a90(0x31e)+_0x422a90(0x204)+_0x422a90(0x306)]=()=>recommendActionsRequestSchema,_0x13e68c[_0x422a90(0x244)+_0x422a90(0x1bf)+_0x422a90(0x362)+_0x422a90(0x2f2)+_0x422a90(0x36f)+'chema']=()=>recommendActionsResponseSchema,_0x13e68c[_0x422a90(0x207)+_0x422a90(0x3b6)+'eques'+_0x422a90(0x2be)+'ma']=()=>summarizeRequestSchema,_0x13e68c['summa'+_0x422a90(0x3b6)+_0x422a90(0x3a7)+_0x422a90(0x1bd)+_0x422a90(0x25a)]=()=>summarizeResponseSchema,__export(ai_tools_exports,_0x13e68c);var AiToolsClient=class{[_0x422a90(0x1e5)];constructor(_0x400f4d){this['sdk']=_0x400f4d;}async[_0x422a90(0x245)+_0x422a90(0x1b7)+_0x422a90(0x327)](_0x157a19){var _0x5f2b95=_0x422a90;const _0x55e3e6=await this[_0x5f2b95(0x1e5)][_0x5f2b95(0x2ba)+_0x5f2b95(0x33f)+_0x5f2b95(0x29b)]();return this[_0x5f2b95(0x1e5)]['reque'+'st'](this[_0x5f2b95(0x1e5)][_0x5f2b95(0x355)+_0x5f2b95(0x367)][_0x5f2b95(0x33b)+'ls']['analy'+'zeSki'+_0x5f2b95(0x327)],{'baseUrl':this[_0x5f2b95(0x1e5)][_0x5f2b95(0x234)+_0x5f2b95(0x2f7)](),'headers':_0x55e3e6,'body':_0x157a19});}async[_0x422a90(0x244)+_0x422a90(0x1bf)+_0x422a90(0x362)+'s'](_0x17425b){var _0x5ed22b=_0x422a90;const _0x414143=await this[_0x5ed22b(0x1e5)][_0x5ed22b(0x2ba)+_0x5ed22b(0x33f)+_0x5ed22b(0x29b)]();return this[_0x5ed22b(0x1e5)][_0x5ed22b(0x326)+'st'](this[_0x5ed22b(0x1e5)][_0x5ed22b(0x355)+_0x5ed22b(0x367)][_0x5ed22b(0x33b)+'ls'][_0x5ed22b(0x244)+_0x5ed22b(0x1bf)+_0x5ed22b(0x362)+'s'],{'baseUrl':this[_0x5ed22b(0x1e5)][_0x5ed22b(0x234)+_0x5ed22b(0x2f7)](),'headers':_0x414143,'body':_0x17425b});}async[_0x422a90(0x207)+_0x422a90(0x3aa)](_0x4b2fb4){var _0x178395=_0x422a90;const _0x203948=await this[_0x178395(0x1e5)][_0x178395(0x2ba)+_0x178395(0x33f)+_0x178395(0x29b)]();return this[_0x178395(0x1e5)][_0x178395(0x326)+'st'](this['sdk'][_0x178395(0x355)+_0x178395(0x367)][_0x178395(0x33b)+'ls'][_0x178395(0x207)+_0x178395(0x3aa)],{'baseUrl':this[_0x178395(0x1e5)][_0x178395(0x234)+_0x178395(0x2f7)](),'headers':_0x203948,'body':_0x4b2fb4});}},skillInputSchema=z[_0x422a90(0x324)+'t']({'name':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+'ibe'](_0x422a90(0x24e)),'description':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)]('技能描述')[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),analyzeSkillsRequestSchema=z[_0x422a90(0x324)+'t']({'skills':z[_0x422a90(0x3b8)](skillInputSchema)[_0x422a90(0x317)](0x18c3+-0x13da+-0x4e8)['max'](0x2a5+-0x4e1*0x1+0x26e)[_0x422a90(0x35b)+_0x422a90(0x299)]('待分析的技'+_0x422a90(0x35c))}),analyzedSkillSchema=z[_0x422a90(0x324)+'t']({'name':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x39f)+'称'),'translatedName':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x269)+'称'),'translatedDescription':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+'ibe'](_0x422a90(0x1f7)+'述'),'category':z[_0x422a90(0x1e9)+'g']()['descr'+_0x422a90(0x299)](_0x422a90(0x2ce)),'icon':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x29e)+_0x422a90(0x2f9)+'称')}),analyzeSkillsDataSchema=z[_0x422a90(0x324)+'t']({'skills':z['array'](analyzedSkillSchema)[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x2fa))}),analyzeSkillsResponseSchema=z[_0x422a90(0x2ea)]([z['objec'+'t']({'success':z[_0x422a90(0x271)+'al'](!![]),'data':analyzeSkillsDataSchema}),z[_0x422a90(0x324)+'t']({'success':z[_0x422a90(0x271)+'al'](![]),'message':z[_0x422a90(0x1e9)+'g']()})]),recommendActionsRequestSchema=z['objec'+'t']({'text':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x3a4)](0xa4*-0x2e+0x22b9+0xe47)[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x250)),'scene':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)]('使用场景')}),recommendedActionSchema=z['objec'+'t']({'label':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+'ibe']('行为标签'),'description':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x2d8)),'action':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x346))}),recommendActionsDataSchema=z[_0x422a90(0x324)+'t']({'actions':z[_0x422a90(0x3b8)](recommendedActionSchema)[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x212)+'表')}),recommendActionsResponseSchema=z[_0x422a90(0x2ea)]([z[_0x422a90(0x324)+'t']({'success':z['liter'+'al'](!![]),'data':recommendActionsDataSchema}),z[_0x422a90(0x324)+'t']({'success':z[_0x422a90(0x271)+'al'](![]),'message':z[_0x422a90(0x1e9)+'g']()})]),summarizeRequestSchema=z[_0x422a90(0x324)+'t']({'text':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x3a4)](-0x58a6+-0x8293*0x1+0x12959)[_0x422a90(0x35b)+_0x422a90(0x299)]('待总结文本')}),summarizeDataSchema=z[_0x422a90(0x324)+'t']({'summary':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x35b)+_0x422a90(0x299)](_0x422a90(0x3ab))}),summarizeResponseSchema=z[_0x422a90(0x2ea)]([z[_0x422a90(0x324)+'t']({'success':z['liter'+'al'](!![]),'data':summarizeDataSchema}),z[_0x422a90(0x324)+'t']({'success':z[_0x422a90(0x271)+'al'](![]),'message':z[_0x422a90(0x1e9)+'g']()})]),_0x30396b={};_0x30396b[_0x422a90(0x297)+'d']=_0x422a90(0x344),_0x30396b[_0x422a90(0x289)]=_0x422a90(0x1d2)+_0x422a90(0x38f)+_0x422a90(0x1ff)+'nalyz'+'e-ski'+_0x422a90(0x327),_0x30396b[_0x422a90(0x326)+_0x422a90(0x231)+_0x422a90(0x25a)]=analyzeSkillsRequestSchema,_0x30396b[_0x422a90(0x2e2)+_0x422a90(0x2c3)+'hema']=analyzeSkillsResponseSchema;var _0xa91947={};_0xa91947['metho'+'d']=_0x422a90(0x344),_0xa91947[_0x422a90(0x289)]=_0x422a90(0x1d2)+_0x422a90(0x38f)+_0x422a90(0x36c)+_0x422a90(0x36b)+_0x422a90(0x1cc)+_0x422a90(0x362)+'s',_0xa91947[_0x422a90(0x326)+_0x422a90(0x231)+_0x422a90(0x25a)]=recommendActionsRequestSchema,_0xa91947[_0x422a90(0x2e2)+_0x422a90(0x2c3)+_0x422a90(0x306)]=recommendActionsResponseSchema;var _0x24b849={};_0x24b849[_0x422a90(0x297)+'d']='POST',_0x24b849[_0x422a90(0x289)]='/api/'+_0x422a90(0x38f)+'ols/s'+_0x422a90(0x33d)+_0x422a90(0x22b),_0x24b849[_0x422a90(0x326)+_0x422a90(0x231)+_0x422a90(0x25a)]=summarizeRequestSchema,_0x24b849[_0x422a90(0x2e2)+_0x422a90(0x2c3)+_0x422a90(0x306)]=summarizeResponseSchema;var aiToolsEndpoints={'analyzeSkills':new Endpoint(_0x30396b),'recommendActions':new Endpoint(_0xa91947),'summarize':new Endpoint(_0x24b849)},auth_exports={},_0x3c220d={};_0x3c220d[_0x422a90(0x2f1)+_0x422a90(0x37f)]=()=>AuthClient,_0x3c220d[_0x422a90(0x332)+_0x422a90(0x23c)+'nts']=()=>authEndpoints,_0x3c220d[_0x422a90(0x332)+_0x422a90(0x34b)+_0x422a90(0x2d2)+'uestS'+_0x422a90(0x2a6)]=()=>authExchangeRequestSchema,_0x3c220d[_0x422a90(0x332)+_0x422a90(0x34b)+_0x422a90(0x1bb)+_0x422a90(0x247)+_0x422a90(0x23f)+'a']=()=>authExchangeResponseSchema,_0x3c220d['authL'+'ogout'+'Reque'+_0x422a90(0x231)+'ema']=()=>authLogoutRequestSchema,_0x3c220d[_0x422a90(0x25f)+_0x422a90(0x1e1)+'Respo'+'nseSc'+_0x422a90(0x306)]=()=>authLogoutResponseSchema,_0x3c220d['authR'+'efres'+_0x422a90(0x242)+_0x422a90(0x1c6)+'ma']=()=>authRefreshErrorSchema,_0x3c220d[_0x422a90(0x240)+_0x422a90(0x286)+_0x422a90(0x32b)+_0x422a90(0x204)+_0x422a90(0x306)]=()=>authRefreshRequestSchema,_0x3c220d[_0x422a90(0x240)+'efres'+'hResp'+_0x422a90(0x36f)+_0x422a90(0x2a6)]=()=>authRefreshResponseSchema,_0x3c220d[_0x422a90(0x240)+'efres'+_0x422a90(0x2f0)+_0x422a90(0x215)+'hema']=()=>authRefreshSuccessSchema,_0x3c220d['authR'+_0x422a90(0x286)+'hUser'+_0x422a90(0x23f)+'a']=()=>authRefreshUserSchema,__export(auth_exports,_0x3c220d);var AuthClient=class{[_0x422a90(0x1e5)];constructor(_0xa3b7){var _0x3564de=_0x422a90;this[_0x3564de(0x1e5)]=_0xa3b7;}async[_0x422a90(0x221)+_0x422a90(0x318)](_0x4f2c0b){var _0x5ca2dd=_0x422a90,_0x3b7134={};return _0x3b7134[_0x5ca2dd(0x335)+_0x5ca2dd(0x229)]=_0x4f2c0b,this[_0x5ca2dd(0x1e5)][_0x5ca2dd(0x326)+'st'](this['sdk'][_0x5ca2dd(0x355)+_0x5ca2dd(0x367)][_0x5ca2dd(0x2b1)][_0x5ca2dd(0x221)+_0x5ca2dd(0x318)],{'baseUrl':this[_0x5ca2dd(0x1e5)][_0x5ca2dd(0x234)+_0x5ca2dd(0x2f7)](),'body':_0x3b7134});}async[_0x422a90(0x26a)+'sh'](_0x3ea99d){var _0x59b0d6=_0x422a90,_0x47e50b={};return _0x47e50b[_0x59b0d6(0x26a)+_0x59b0d6(0x2a9)+'en']=_0x3ea99d,this['sdk'][_0x59b0d6(0x326)+'st'](this[_0x59b0d6(0x1e5)][_0x59b0d6(0x355)+_0x59b0d6(0x367)][_0x59b0d6(0x2b1)]['refre'+'sh'],{'baseUrl':this[_0x59b0d6(0x1e5)]['getBa'+_0x59b0d6(0x2f7)](),'body':_0x47e50b});}async[_0x422a90(0x352)+'t'](_0x1ce756){var _0x1ed430=_0x422a90,_0x4001bf={};return _0x4001bf[_0x1ed430(0x26a)+_0x1ed430(0x2a9)+'en']=_0x1ce756,this[_0x1ed430(0x1e5)][_0x1ed430(0x326)+'st'](this[_0x1ed430(0x1e5)]['contr'+_0x1ed430(0x367)][_0x1ed430(0x2b1)][_0x1ed430(0x352)+'t'],{'baseUrl':this[_0x1ed430(0x1e5)][_0x1ed430(0x234)+'seUrl'](),'body':_0x4001bf});}},authRefreshRequestSchema=z[_0x422a90(0x324)+'t']({'refreshToken':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x317)](0x1d1*0x13+0x107a+-0x32fc)}),authExchangeRequestSchema=z[_0x422a90(0x324)+'t']({'loginCode':z['strin'+'g']()[_0x422a90(0x317)](-0x8ec+-0x43*-0x29+0x16*-0x15)}),authRefreshUserSchema=z[_0x422a90(0x324)+'t']({'name':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x202)+_0x422a90(0x3a9)](),'email':z['strin'+'g']()['optio'+_0x422a90(0x3a9)](),'avatarUrl':z['strin'+'g']()[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),authRefreshSuccessSchema=z[_0x422a90(0x324)+'t']({'accessToken':z[_0x422a90(0x1e9)+'g'](),'refreshToken':z[_0x422a90(0x1e9)+'g'](),'user':authRefreshUserSchema}),authRefreshErrorSchema=z['objec'+'t']({'message':z[_0x422a90(0x1e9)+'g']()}),authExchangeResponseSchema=authRefreshSuccessSchema,authLogoutRequestSchema=z[_0x422a90(0x324)+'t']({'refreshToken':z['strin'+'g']()[_0x422a90(0x317)](-0x1b01+-0x269a+-0x11*-0x3dc)}),authLogoutResponseSchema=z[_0x422a90(0x324)+'t']({'success':z['boole'+'an']()}),authRefreshResponseSchema=z[_0x422a90(0x2ea)]([authRefreshSuccessSchema,authRefreshErrorSchema]),_0x1c0875={};_0x1c0875[_0x422a90(0x297)+'d']=_0x422a90(0x344),_0x1c0875[_0x422a90(0x289)]=_0x422a90(0x1d2)+_0x422a90(0x2b0)+_0x422a90(0x221)+_0x422a90(0x318),_0x1c0875[_0x422a90(0x326)+_0x422a90(0x231)+_0x422a90(0x25a)]=authExchangeRequestSchema,_0x1c0875[_0x422a90(0x2e2)+_0x422a90(0x2c3)+'hema']=authExchangeResponseSchema;var _0x2604a1={};_0x2604a1[_0x422a90(0x297)+'d']=_0x422a90(0x344),_0x2604a1[_0x422a90(0x289)]=_0x422a90(0x1d2)+_0x422a90(0x2b0)+_0x422a90(0x26a)+'sh',_0x2604a1[_0x422a90(0x326)+'stSch'+_0x422a90(0x25a)]=authRefreshRequestSchema,_0x2604a1[_0x422a90(0x2e2)+_0x422a90(0x2c3)+_0x422a90(0x306)]=authRefreshResponseSchema;var _0x47e41b={};_0x47e41b[_0x422a90(0x297)+'d']=_0x422a90(0x344),_0x47e41b['path']=_0x422a90(0x1d2)+_0x422a90(0x2b0)+_0x422a90(0x352)+'t',_0x47e41b[_0x422a90(0x326)+'stSch'+_0x422a90(0x25a)]=authLogoutRequestSchema,_0x47e41b[_0x422a90(0x2e2)+_0x422a90(0x2c3)+_0x422a90(0x306)]=authLogoutResponseSchema;var authEndpoints={'exchange':new Endpoint(_0x1c0875),'refresh':new Endpoint(_0x2604a1),'logout':new Endpoint(_0x47e41b)},auxiliary_exports={},_0x3ccf24={};_0x3ccf24[_0x422a90(0x21c)+_0x422a90(0x1fe)+_0x422a90(0x37f)]=()=>AuxiliaryClient,_0x3ccf24[_0x422a90(0x2ec)+'iaryE'+'ndpoi'+'nts']=()=>auxiliaryEndpoints,_0x3ccf24[_0x422a90(0x2ec)+_0x422a90(0x1f8)+_0x422a90(0x2eb)+_0x422a90(0x238)+_0x422a90(0x2be)+'ma']=()=>auxiliaryInferRequestSchema,_0x3ccf24[_0x422a90(0x2ec)+_0x422a90(0x1f8)+_0x422a90(0x2eb)+_0x422a90(0x3a7)+_0x422a90(0x1bd)+_0x422a90(0x25a)]=()=>auxiliaryInferResponseSchema,_0x3ccf24[_0x422a90(0x2ec)+_0x422a90(0x307)+'uotaR'+_0x422a90(0x3a7)+_0x422a90(0x1bd)+'ema']=()=>auxiliaryQuotaResponseSchema,__export(auxiliary_exports,_0x3ccf24);var AuxiliaryClient=class{[_0x422a90(0x1e5)];constructor(_0x2256d6){this['sdk']=_0x2256d6;}async[_0x422a90(0x1e7)](_0x10ff23){var _0x544f0d=_0x422a90;const _0x531561=await this[_0x544f0d(0x1e5)]['build'+_0x544f0d(0x33f)+_0x544f0d(0x29b)]();return this[_0x544f0d(0x1e5)][_0x544f0d(0x326)+'st'](this['sdk'][_0x544f0d(0x355)+_0x544f0d(0x367)]['auxil'+_0x544f0d(0x2d3)][_0x544f0d(0x1e7)],{'baseUrl':this[_0x544f0d(0x1e5)][_0x544f0d(0x234)+_0x544f0d(0x2f7)](),'headers':_0x531561,'body':_0x10ff23});}async['getQu'+_0x422a90(0x1ea)](){var _0x4ed2ce=_0x422a90;const _0x1805d3=await this[_0x4ed2ce(0x1e5)][_0x4ed2ce(0x2ba)+_0x4ed2ce(0x33f)+'eader']();return this[_0x4ed2ce(0x1e5)][_0x4ed2ce(0x326)+'st'](this[_0x4ed2ce(0x1e5)]['contr'+_0x4ed2ce(0x367)][_0x4ed2ce(0x2ec)+_0x4ed2ce(0x2d3)]['getQu'+_0x4ed2ce(0x1ea)],{'baseUrl':this[_0x4ed2ce(0x1e5)][_0x4ed2ce(0x234)+_0x4ed2ce(0x2f7)](),'headers':_0x1805d3,'body':{}});}},auxiliaryInferRequestSchema=z[_0x422a90(0x324)+'t']({'capabilityKey':z[_0x422a90(0x1e9)+'g'](),'systemPrompt':z[_0x422a90(0x1e9)+'g'](),'context':z[_0x422a90(0x1e9)+'g']()['max'](-0x9dc9+-0x15227+0x2b340),'outputMode':z[_0x422a90(0x3a1)]([_0x422a90(0x39d)+_0x422a90(0x3b1),_0x422a90(0x319)]),'schema':z[_0x422a90(0x32d)+'d'](z[_0x422a90(0x1e9)+'g'](),z[_0x422a90(0x1b5)+'wn']())[_0x422a90(0x202)+'nal']()}),quotaSchema=z['objec'+'t']({'used':z[_0x422a90(0x320)+'r'](),'limit':z[_0x422a90(0x320)+'r'](),'remaining':z['numbe'+'r'](),'resetsAt':z[_0x422a90(0x1e9)+'g']()}),usageSchema=z[_0x422a90(0x324)+'t']({'inputTokens':z[_0x422a90(0x320)+'r'](),'outputTokens':z['numbe'+'r']()}),auxiliaryInferResponseSchema=z[_0x422a90(0x2ea)]([z[_0x422a90(0x324)+'t']({'ok':z[_0x422a90(0x271)+'al'](!![]),'result':z[_0x422a90(0x1b5)+'wn'](),'usage':usageSchema,'quota':quotaSchema}),z[_0x422a90(0x324)+'t']({'ok':z['liter'+'al'](![]),'message':z[_0x422a90(0x1e9)+'g'](),'code':z[_0x422a90(0x1e9)+'g']()['optio'+_0x422a90(0x3a9)]()})]),_0x207589={};_0x207589['quota']=quotaSchema;var auxiliaryQuotaResponseSchema=z[_0x422a90(0x324)+'t'](_0x207589),_0x5de2a6={};_0x5de2a6[_0x422a90(0x297)+'d']=_0x422a90(0x344),_0x5de2a6[_0x422a90(0x289)]=_0x422a90(0x1d2)+'auxil'+_0x422a90(0x1c0)+_0x422a90(0x1e7),_0x5de2a6[_0x422a90(0x326)+'stSch'+_0x422a90(0x25a)]=auxiliaryInferRequestSchema,_0x5de2a6[_0x422a90(0x2e2)+_0x422a90(0x2c3)+'hema']=auxiliaryInferResponseSchema;var auxiliaryEndpoints={'infer':new Endpoint(_0x5de2a6),'getQuota':new Endpoint({'method':'POST','path':_0x422a90(0x1d2)+_0x422a90(0x2ec)+_0x422a90(0x1c0)+_0x422a90(0x2a4),'requestSchema':z[_0x422a90(0x324)+'t']({}),'responseSchema':auxiliaryQuotaResponseSchema})},feedback_exports={},_0xb136d={};_0xb136d[_0x422a90(0x252)+_0x422a90(0x280)+_0x422a90(0x227)]=()=>FeedbackClient,_0xb136d['feedb'+_0x422a90(0x356)+_0x422a90(0x1ba)+_0x422a90(0x214)+_0x422a90(0x394)+'ma']=()=>feedbackDetailPayloadSchema,_0xb136d[_0x422a90(0x29f)+_0x422a90(0x356)+_0x422a90(0x224)+_0x422a90(0x238)+_0x422a90(0x2be)+'ma']=()=>feedbackDetailRequestSchema,_0xb136d[_0x422a90(0x29f)+_0x422a90(0x356)+_0x422a90(0x224)+_0x422a90(0x3a7)+_0x422a90(0x1bd)+_0x422a90(0x25a)]=()=>feedbackDetailResponseSchema,_0xb136d[_0x422a90(0x29f)+_0x422a90(0x223)+_0x422a90(0x2af)+'ts']=()=>feedbackEndpoints,_0xb136d[_0x422a90(0x29f)+'ackIt'+_0x422a90(0x1f6)+_0x422a90(0x25a)]=()=>feedbackItemSchema,_0xb136d['feedb'+_0x422a90(0x248)+_0x422a90(0x360)+'loadS'+_0x422a90(0x2a6)]=()=>feedbackListPayloadSchema,_0xb136d[_0x422a90(0x29f)+_0x422a90(0x248)+_0x422a90(0x358)+'uestS'+_0x422a90(0x2a6)]=()=>feedbackListRequestSchema,_0xb136d[_0x422a90(0x29f)+'ackLi'+_0x422a90(0x382)+_0x422a90(0x247)+_0x422a90(0x23f)+'a']=()=>feedbackListResponseSchema,_0xb136d['feedb'+_0x422a90(0x2d6)+_0x422a90(0x3a3)+_0x422a90(0x345)+_0x422a90(0x306)]=()=>feedbackSaasStatusSchema,_0xb136d[_0x422a90(0x29f)+_0x422a90(0x259)+_0x422a90(0x28c)+_0x422a90(0x2a6)]=()=>feedbackSourceSchema,_0xb136d['feedb'+_0x422a90(0x205)+_0x422a90(0x1ad)+_0x422a90(0x376)+_0x422a90(0x2a6)]=()=>feedbackSubmitErrorSchema,_0xb136d[_0x422a90(0x29f)+_0x422a90(0x205)+_0x422a90(0x38e)+_0x422a90(0x238)+_0x422a90(0x2be)+'ma']=()=>feedbackSubmitRequestSchema,_0xb136d[_0x422a90(0x29f)+_0x422a90(0x205)+_0x422a90(0x38e)+'espon'+_0x422a90(0x1bd)+_0x422a90(0x25a)]=()=>feedbackSubmitResponseSchema,_0xb136d[_0x422a90(0x29f)+_0x422a90(0x2db)+_0x422a90(0x2f3)+_0x422a90(0x25a)]=()=>feedbackTypeSchema,__export(feedback_exports,_0xb136d);var FeedbackClient=class{[_0x422a90(0x1e5)];constructor(_0x240918){var _0x152610=_0x422a90;this[_0x152610(0x1e5)]=_0x240918;}async[_0x422a90(0x218)+'t'](_0x59c03b){var _0x24d2b2=_0x422a90;const _0x460608=await this[_0x24d2b2(0x1e5)][_0x24d2b2(0x2ba)+_0x24d2b2(0x33f)+_0x24d2b2(0x29b)]();return this[_0x24d2b2(0x1e5)]['reque'+'st'](this[_0x24d2b2(0x1e5)][_0x24d2b2(0x355)+'act']['feedb'+'ack']['submi'+'t'],{'baseUrl':this['sdk'][_0x24d2b2(0x234)+_0x24d2b2(0x2f7)](),'headers':_0x460608,'body':_0x59c03b});}async['uploa'+_0x422a90(0x283)+_0x422a90(0x290)+'t'](_0x2f651b,_0xe63ddb){var _0x394fcc=_0x422a90;const _0x3a6e68=new FormData();_0x3a6e68[_0x394fcc(0x2bc)+'d'](_0x394fcc(0x249),_0x2f651b,_0xe63ddb??(_0x2f651b instanceof File?_0x2f651b[_0x394fcc(0x35e)]:'attac'+_0x394fcc(0x1c7)));const _0x136e78=await this[_0x394fcc(0x1e5)]['build'+_0x394fcc(0x33f)+'eader'](),_0x4d8508=this[_0x394fcc(0x1e5)][_0x394fcc(0x234)+'seUrl']()+('/api/'+'feedb'+_0x394fcc(0x2e4)+_0x394fcc(0x340));var _0x20191f={};_0x20191f[_0x394fcc(0x297)+'d']=_0x394fcc(0x344),_0x20191f[_0x394fcc(0x222)+'rs']=_0x136e78,_0x20191f['body']=_0x3a6e68;const _0x5a6336=await fetch(_0x4d8508,_0x20191f);if(!_0x5a6336['ok']){const _0x1ab053=await _0x5a6336[_0x394fcc(0x203)]()[_0x394fcc(0x3a0)](()=>({'message':_0x394fcc(0x21b)+_0x394fcc(0x39a)+_0x394fcc(0x255)}));throw new Error(_0x1ab053[_0x394fcc(0x228)+'ge']??_0x394fcc(0x21b)+_0x394fcc(0x39a)+_0x394fcc(0x255));}return _0x5a6336[_0x394fcc(0x203)]();}async[_0x422a90(0x336)](_0x574a7d){var _0x34c442=_0x422a90;const _0x2c0df3=await this[_0x34c442(0x1e5)][_0x34c442(0x2ba)+_0x34c442(0x33f)+'eader']();return this[_0x34c442(0x1e5)][_0x34c442(0x326)+'st'](this['sdk'][_0x34c442(0x355)+'act']['feedb'+_0x34c442(0x2aa)][_0x34c442(0x336)],{'baseUrl':this[_0x34c442(0x1e5)][_0x34c442(0x234)+_0x34c442(0x2f7)](),'headers':_0x2c0df3,'body':_0x574a7d??{}});}async[_0x422a90(0x2c4)+'l'](_0x22e6cb){var _0x156e5b=_0x422a90;const _0x13d68f=await this['sdk'][_0x156e5b(0x2ba)+_0x156e5b(0x33f)+_0x156e5b(0x29b)]();return this[_0x156e5b(0x1e5)][_0x156e5b(0x326)+'st'](this[_0x156e5b(0x1e5)][_0x156e5b(0x355)+_0x156e5b(0x367)]['feedb'+_0x156e5b(0x2aa)][_0x156e5b(0x2c4)+'l'](_0x22e6cb),{'baseUrl':this[_0x156e5b(0x1e5)][_0x156e5b(0x234)+_0x156e5b(0x2f7)](),'headers':_0x13d68f,'body':void(0x13*-0x13e+-0x16f*0x13+0x13*0x2ad)});}},feedbackSourceSchema=z[_0x422a90(0x3a1)]([_0x422a90(0x2f8),'openl'+_0x422a90(0x2ad),_0x422a90(0x2c0)+_0x422a90(0x2cc)+_0x422a90(0x369)]),feedbackTypeSchema=z[_0x422a90(0x3a1)](['ui',_0x422a90(0x1cb)+_0x422a90(0x393)+'e',_0x422a90(0x33a),'featu'+'re',_0x422a90(0x1c4),_0x422a90(0x2de)]),feedbackSaasStatusSchema=z[_0x422a90(0x3a1)](['unrea'+'d',_0x422a90(0x2cb),_0x422a90(0x2d5)+_0x422a90(0x32e),_0x422a90(0x21f)+'ed']),feedbackSubmitRequestSchema=z[_0x422a90(0x324)+'t']({'source':feedbackSourceSchema[_0x422a90(0x202)+_0x422a90(0x3a9)](),'type':feedbackTypeSchema,'content':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x3bc)]()[_0x422a90(0x317)](-0x2567+-0x4a7*-0x3+0x1773),'context':z['recor'+'d'](z[_0x422a90(0x1e9)+'g'](),z['unkno'+'wn']()),'email':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x3bc)]()['email']()[_0x422a90(0x202)+'nal']()}),feedbackSubmitErrorSchema=z[_0x422a90(0x324)+'t']({'message':z['strin'+'g']()}),feedbackSubmitResponseSchema=z['union']([z[_0x422a90(0x32f)](),feedbackSubmitErrorSchema]),feedbackListRequestSchema=z[_0x422a90(0x324)+'t']({'page':z[_0x422a90(0x320)+'r']()[_0x422a90(0x2ae)]()[_0x422a90(0x317)](-0x24cf+-0x2129+0x45f9)[_0x422a90(0x202)+'nal'](),'pageSize':z[_0x422a90(0x320)+'r']()[_0x422a90(0x2ae)]()[_0x422a90(0x317)](-0x2247+0x1e66+0x3e2)[_0x422a90(0x3a4)](0x1*-0x1439+0xe89+0x614)[_0x422a90(0x202)+'nal'](),'type':feedbackTypeSchema[_0x422a90(0x202)+'nal'](),'source':feedbackSourceSchema[_0x422a90(0x202)+'nal'](),'saasStatus':feedbackSaasStatusSchema[_0x422a90(0x202)+_0x422a90(0x3a9)](),'keyword':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x3bc)]()[_0x422a90(0x317)](0x1ee3+0x198e*0x1+-0x2*0x1c38)[_0x422a90(0x202)+'nal'](),'startAt':z['strin'+'g']()['datet'+_0x422a90(0x2d0)]()[_0x422a90(0x202)+_0x422a90(0x3a9)](),'endAt':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x22d)+_0x422a90(0x2d0)]()[_0x422a90(0x202)+_0x422a90(0x3a9)]()}),feedbackItemSchema=z[_0x422a90(0x324)+'t']({'id':z[_0x422a90(0x1e9)+'g'](),'source':feedbackSourceSchema,'type':feedbackTypeSchema,'saasStatus':feedbackSaasStatusSchema,'response':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x202)+_0x422a90(0x3a9)](),'userId':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x202)+_0x422a90(0x3a9)](),'email':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x202)+_0x422a90(0x3a9)](),'content':z[_0x422a90(0x1e9)+'g'](),'context':z[_0x422a90(0x32d)+'d'](z[_0x422a90(0x1e9)+'g'](),z[_0x422a90(0x1b5)+'wn']()),'createdAt':z[_0x422a90(0x1e9)+'g']()}),feedbackListPayloadSchema=z[_0x422a90(0x324)+'t']({'items':z['array'](feedbackItemSchema),'page':z[_0x422a90(0x320)+'r']()['int'](),'pageSize':z['numbe'+'r']()[_0x422a90(0x2ae)](),'total':z['numbe'+'r']()[_0x422a90(0x2ae)]()}),feedbackListResponseSchema=z[_0x422a90(0x2ea)]([feedbackListPayloadSchema,feedbackSubmitErrorSchema]),feedbackDetailRequestSchema=z['void'](),_0x957194={};_0x957194[_0x422a90(0x29f)+_0x422a90(0x2aa)]=feedbackItemSchema;var feedbackDetailPayloadSchema=z[_0x422a90(0x324)+'t'](_0x957194),feedbackDetailResponseSchema=z[_0x422a90(0x2ea)]([feedbackDetailPayloadSchema,feedbackSubmitErrorSchema]),_0x4a1835={};_0x4a1835[_0x422a90(0x297)+'d']='POST',_0x4a1835[_0x422a90(0x289)]=_0x422a90(0x1d2)+_0x422a90(0x3a2)+_0x422a90(0x1d6)+_0x422a90(0x1f4),_0x4a1835[_0x422a90(0x326)+'stSch'+'ema']=feedbackSubmitRequestSchema,_0x4a1835[_0x422a90(0x2e2)+_0x422a90(0x2c3)+_0x422a90(0x306)]=feedbackSubmitResponseSchema;var _0x245eb9={};_0x245eb9[_0x422a90(0x297)+'d']=_0x422a90(0x344),_0x245eb9[_0x422a90(0x289)]=_0x422a90(0x1d2)+_0x422a90(0x29f)+_0x422a90(0x291)+_0x422a90(0x2d1),_0x245eb9[_0x422a90(0x326)+_0x422a90(0x231)+_0x422a90(0x25a)]=feedbackListRequestSchema,_0x245eb9[_0x422a90(0x2e2)+_0x422a90(0x2c3)+_0x422a90(0x306)]=feedbackListResponseSchema;var feedbackEndpoints={'submit':new Endpoint(_0x4a1835),'list':new Endpoint(_0x245eb9),'detail':_0xfd7056=>new Endpoint({'method':_0x422a90(0x1cf),'path':_0x422a90(0x1d2)+_0x422a90(0x29f)+_0x422a90(0x1e8)+_0xfd7056,'requestSchema':feedbackDetailRequestSchema,'responseSchema':feedbackDetailResponseSchema})},user_exports={},_0x4151e6={};_0x4151e6[_0x422a90(0x325)+_0x422a90(0x37f)]=()=>UserClient,_0x4151e6[_0x422a90(0x25b)+_0x422a90(0x23c)+_0x422a90(0x2c5)]=()=>userEndpoints,_0x4151e6[_0x422a90(0x1c9)+'ember'+_0x422a90(0x2d9)+_0x422a90(0x1c5)+'chema']=()=>userMembershipLevelSchema,_0x4151e6['userS'+'elfRe'+_0x422a90(0x338)+_0x422a90(0x23f)+'a']=()=>userSelfRequestSchema,_0x4151e6['userS'+_0x422a90(0x30f)+_0x422a90(0x226)+_0x422a90(0x3a8)+'ma']=()=>userSelfResponseSchema,_0x4151e6['userS'+_0x422a90(0x2ef)+_0x422a90(0x306)]=()=>userSelfSchema,__export(user_exports,_0x4151e6);var UserClient=class{['sdk'];constructor(_0x442992){var _0x36cef7=_0x422a90;this[_0x36cef7(0x1e5)]=_0x442992;}async[_0x422a90(0x1c3)](){var _0x10a79a=_0x422a90;const _0x495f6f=await this[_0x10a79a(0x1e5)][_0x10a79a(0x2ba)+_0x10a79a(0x33f)+_0x10a79a(0x29b)]();return this[_0x10a79a(0x1e5)][_0x10a79a(0x326)+'st'](this[_0x10a79a(0x1e5)][_0x10a79a(0x355)+_0x10a79a(0x367)]['user']['self'],{'baseUrl':this[_0x10a79a(0x1e5)][_0x10a79a(0x234)+'seUrl'](),'headers':_0x495f6f,'body':void(-0x2ab+0x252+0x1*0x59)});}},userMembershipLevelSchema=z[_0x422a90(0x3a1)]([_0x422a90(0x36e),_0x422a90(0x2ed),_0x422a90(0x1e0),_0x422a90(0x34d)+_0x422a90(0x1dc)]),userSelfSchema=z[_0x422a90(0x324)+'t']({'id':z['strin'+'g'](),'email':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x202)+_0x422a90(0x3a9)](),'name':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x202)+_0x422a90(0x3a9)](),'avatarUrl':z[_0x422a90(0x1e9)+'g']()[_0x422a90(0x202)+_0x422a90(0x3a9)](),'provider':z['strin'+'g'](),'membershipLevel':userMembershipLevelSchema,'creditsBalance':z[_0x422a90(0x320)+'r'](),'createdAt':z[_0x422a90(0x1e9)+'g'](),'updatedAt':z[_0x422a90(0x1e9)+'g']()}),userSelfRequestSchema=z['void'](),_0x38caa1={};_0x38caa1[_0x422a90(0x392)]=userSelfSchema;var userSelfResponseSchema=z['objec'+'t'](_0x38caa1),_0x1b5287={};_0x1b5287[_0x422a90(0x297)+'d']=_0x422a90(0x1cf),_0x1b5287['path']=_0x422a90(0x1d2)+_0x422a90(0x1da)+_0x422a90(0x1c3),_0x1b5287['reque'+_0x422a90(0x231)+'ema']=userSelfRequestSchema,_0x1b5287['respo'+'nseSc'+_0x422a90(0x306)]=userSelfResponseSchema;var userEndpoints={'self':new Endpoint(_0x1b5287)},SaaSContract=class{[_0x422a90(0x2b1)]=authEndpoints;['ai']=aiEndpoints;[_0x422a90(0x33b)+'ls']=aiToolsEndpoints;['auxil'+_0x422a90(0x2d3)]=auxiliaryEndpoints;[_0x422a90(0x29f)+_0x422a90(0x2aa)]=feedbackEndpoints;['user']=userEndpoints;},contract=new SaaSContract();function setHeader(_0x435d6b,_0x40c49d,_0x132479){var _0x1b9ad8=_0x422a90;_0x435d6b[_0x40c49d[_0x1b9ad8(0x39e)+'erCas'+'e']()]=_0x132479;}function normalizeHeaders(_0xbbe4ab){var _0x3c107c=_0x422a90;const _0x1bb65b={};if(!_0xbbe4ab)return _0x1bb65b;if(Array[_0x3c107c(0x308)+'ay'](_0xbbe4ab)){for(const [_0x32ce51,_0x283109]of _0xbbe4ab){setHeader(_0x1bb65b,_0x32ce51,_0x283109);}return _0x1bb65b;}if(typeof _0xbbe4ab[_0x3c107c(0x217)+'ch']==='funct'+'ion')return _0xbbe4ab[_0x3c107c(0x217)+'ch']((_0x34ed90,_0x251571)=>{setHeader(_0x1bb65b,_0x251571,_0x34ed90);}),_0x1bb65b;for(const [_0x16f6c4,_0x47a44b]of Object[_0x3c107c(0x2c1)+'es'](_0xbbe4ab)){typeof _0x47a44b==='strin'+'g'&&setHeader(_0x1bb65b,_0x16f6c4,_0x47a44b);}return _0x1bb65b;}function mergeHeaders(..._0x3de455){const _0x5f31d5={};for(const _0x332ef9 of _0x3de455){const _0x31be28=normalizeHeaders(_0x332ef9);for(const [_0x2667ac,_0x20d987]of Object['entri'+'es'](_0x31be28)){_0x5f31d5[_0x2667ac]=_0x20d987;}}return _0x5f31d5;}var SaaSHttpError=class extends Error{['statu'+'s'];[_0x422a90(0x2c8)+_0x422a90(0x31b)];[_0x422a90(0x1ed)+'ad'];constructor(_0x12dfba,_0x3e2332){var _0x157b91=_0x422a90;super(_0x12dfba),this[_0x157b91(0x35e)]=_0x157b91(0x20b)+_0x157b91(0x368)+_0x157b91(0x1f2),this[_0x157b91(0x2c8)+'s']=_0x3e2332[_0x157b91(0x2c8)+'s'],this[_0x157b91(0x2c8)+'sText']=_0x3e2332['statu'+'sText'],this[_0x157b91(0x1ed)+'ad']=_0x3e2332[_0x157b91(0x1ed)+'ad'];}},SaaSSchemaError=class extends Error{[_0x422a90(0x206)+'s'];constructor(_0x5812cb,_0x5e3550){var _0x13f6fc=_0x422a90;super(_0x5812cb),this[_0x13f6fc(0x35e)]='SaaSS'+_0x13f6fc(0x2a6)+_0x13f6fc(0x2e1),this[_0x13f6fc(0x206)+'s']=_0x5e3550;}},SaaSNetworkError=class extends Error{['cause'];constructor(_0x153e53,_0x59e358){var _0x212003=_0x422a90;super(_0x153e53),this[_0x212003(0x35e)]=_0x212003(0x3ac)+_0x212003(0x2a2)+'kErro'+'r',this[_0x212003(0x29a)]=_0x59e358;}};function logSdkError(_0x368ef2){var _0x41d47c=_0x422a90;try{console[_0x41d47c(0x1df)](_0x41d47c(0x1d1)+_0x41d47c(0x2e9)+_0x41d47c(0x235)+'rror',_0x368ef2);}catch{}}async function request(_0x89989c,_0x323c83,_0x135c62){var _0x9eced0=_0x422a90;const _0x5057da=new URL(_0x323c83[_0x9eced0(0x289)],_0x135c62[_0x9eced0(0x1f3)+'rl']);let _0x1ef3a8;try{_0x1ef3a8=_0x323c83[_0x9eced0(0x34e)+_0x9eced0(0x381)+'st'](_0x135c62[_0x9eced0(0x2f6)]);}catch(_0x3bc28f){const _0x200810=_0x3bc28f&&typeof _0x3bc28f==='objec'+'t'?_0x3bc28f[_0x9eced0(0x206)+'s']:void(0x2468+0x15a+-0x25c2);logSdkError({'message':_0x9eced0(0x381)+_0x9eced0(0x2b3)+_0x9eced0(0x1cd)+_0x9eced0(0x232)+_0x9eced0(0x27a)+_0x9eced0(0x378)+'ed','url':_0x5057da[_0x9eced0(0x343)+_0x9eced0(0x301)](),'method':_0x323c83[_0x9eced0(0x297)+'d'],'payload':_0x135c62[_0x9eced0(0x2f6)],'error':_0x3bc28f});throw new SaaSSchemaError(_0x9eced0(0x381)+_0x9eced0(0x2b3)+'hema\x20'+'valid'+_0x9eced0(0x27a)+'\x20fail'+'ed',_0x200810);}const _0x4ba1f2=mergeHeaders(_0x135c62[_0x9eced0(0x222)+'rs']);var _0x3f1844={};_0x3f1844[_0x9eced0(0x297)+'d']=_0x323c83['metho'+'d'],_0x3f1844[_0x9eced0(0x222)+'rs']=_0x4ba1f2;const _0x44af25=_0x3f1844;_0x1ef3a8!==void(0x66b*-0x3+0x1560+-0x3*0xb5)&&(!_0x4ba1f2['conte'+_0x9eced0(0x1c1)+'pe']&&(_0x4ba1f2[_0x9eced0(0x339)+_0x9eced0(0x1c1)+'pe']=_0x9eced0(0x2ff)+_0x9eced0(0x372)+_0x9eced0(0x219)+'n'),_0x44af25[_0x9eced0(0x2f6)]=JSON[_0x9eced0(0x1e9)+_0x9eced0(0x279)](_0x1ef3a8));let _0x1c4f23;try{_0x1c4f23=await _0x89989c(_0x5057da[_0x9eced0(0x343)+_0x9eced0(0x301)](),_0x44af25);}catch(_0x40f2af){logSdkError({'message':_0x9eced0(0x277)+'rk\x20re'+_0x9eced0(0x338)+_0x9eced0(0x378)+'ed','url':_0x5057da[_0x9eced0(0x343)+'ing'](),'method':_0x323c83[_0x9eced0(0x297)+'d'],'error':_0x40f2af});throw new SaaSNetworkError('Netwo'+_0x9eced0(0x313)+_0x9eced0(0x338)+_0x9eced0(0x378)+'ed',_0x40f2af);}const _0x29efe6=await _0x1c4f23['text']();let _0x59b54d;if(_0x323c83[_0x9eced0(0x2e2)+_0x9eced0(0x1d5)+'pe']===_0x9eced0(0x319))_0x59b54d=_0x29efe6;else{if(_0x29efe6)try{_0x59b54d=JSON[_0x9eced0(0x34e)](_0x29efe6);}catch{logSdkError({'message':_0x9eced0(0x357)+_0x9eced0(0x273)+_0x9eced0(0x33c)+_0x9eced0(0x3b3)+'d\x20JSO'+'N','url':_0x5057da[_0x9eced0(0x343)+_0x9eced0(0x301)](),'method':_0x323c83[_0x9eced0(0x297)+'d'],'status':_0x1c4f23[_0x9eced0(0x2c8)+'s'],'statusText':_0x1c4f23[_0x9eced0(0x2c8)+'sText'],'payload':_0x29efe6});var _0xfd2345={};_0xfd2345[_0x9eced0(0x2c8)+'s']=_0x1c4f23['statu'+'s'],_0xfd2345[_0x9eced0(0x2c8)+_0x9eced0(0x31b)]=_0x1c4f23[_0x9eced0(0x2c8)+_0x9eced0(0x31b)],_0xfd2345[_0x9eced0(0x1ed)+'ad']=_0x29efe6;throw new SaaSHttpError(_0x9eced0(0x357)+_0x9eced0(0x273)+_0x9eced0(0x33c)+'\x20vali'+_0x9eced0(0x2a1)+'N',_0xfd2345);}}let _0x49ce36;try{_0x49ce36=_0x323c83['parse'+_0x9eced0(0x357)+_0x9eced0(0x337)](_0x59b54d);}catch(_0x2c1c98){const _0x2074e0=_0x2c1c98&&typeof _0x2c1c98===_0x9eced0(0x324)+'t'?_0x2c1c98[_0x9eced0(0x206)+'s']:void(0x213b+0x46*0x7+-0x2325);logSdkError({'message':_0x9eced0(0x357)+'nse\x20s'+'chema'+_0x9eced0(0x3b3)+'datio'+_0x9eced0(0x258)+_0x9eced0(0x255),'url':_0x5057da[_0x9eced0(0x343)+_0x9eced0(0x301)](),'method':_0x323c83[_0x9eced0(0x297)+'d'],'status':_0x1c4f23[_0x9eced0(0x2c8)+'s'],'statusText':_0x1c4f23[_0x9eced0(0x2c8)+_0x9eced0(0x31b)],'payload':_0x59b54d,'error':_0x2c1c98});throw new SaaSSchemaError('Respo'+_0x9eced0(0x27e)+'chema'+_0x9eced0(0x3b3)+'datio'+_0x9eced0(0x258)+_0x9eced0(0x255),_0x2074e0);}if(!_0x1c4f23['ok']){logSdkError({'message':_0x9eced0(0x381)+_0x9eced0(0x377)+'iled','url':_0x5057da[_0x9eced0(0x343)+_0x9eced0(0x301)](),'method':_0x323c83[_0x9eced0(0x297)+'d'],'status':_0x1c4f23[_0x9eced0(0x2c8)+'s'],'statusText':_0x1c4f23[_0x9eced0(0x2c8)+_0x9eced0(0x31b)],'payload':_0x49ce36});var _0x2c23c9={};_0x2c23c9[_0x9eced0(0x2c8)+'s']=_0x1c4f23['statu'+'s'],_0x2c23c9[_0x9eced0(0x2c8)+'sText']=_0x1c4f23[_0x9eced0(0x2c8)+_0x9eced0(0x31b)],_0x2c23c9['paylo'+'ad']=_0x49ce36;throw new SaaSHttpError(_0x9eced0(0x381)+'st\x20fa'+_0x9eced0(0x1d8),_0x2c23c9);}return _0x49ce36;}function _0x2b34(){var _0x4ce402=['u2fHu0G','Dxrty2G','y2vwAwq','yxrLu2m','BM9UBMu','ywLuyxm','zgvSu2m','5O6O6i2q6kgm5lI65yIx','54Mh5PwW6yEp','yxLSB2e','zxnZu2m','ywLnB2q','zM9Yrwe','C3vIBwK','BI9QC28','yxrLC1i','vxbSB2e','qxv4AwW','EwXVywq','6k6K6k+b5PA55BYp','AwDUB3i','5AsA5zU+6l6t5ywL','zxHJAge','AgvHzgu','ywnRrw4','DgfPBfi','l2nHBMm','C3bVBNm','AwvUDa','BwvZC2e','q29Kzq','Bw9KzwW','AxPL','Dgfty2G','zgf0zxq','5QIH5z6lieLe','Dg9VBf8','CMvHC28','C3rty2G','DMfSAwq','zwXdyxa','z2v0qMe','zxn0igu','5PIV5zcM5B+f5AgR','ndeWndnZs1nKzgy','zxf1zxm','5y+c5PwW57g75z6l','5PIV5zcM5PsV5OYb6z+Z','Chv0u2m','BMrWB2K','55sF5OIq5zU+54Mh5A69','qxrszxm','u2nOzw0','yxv0Afi','yxrLzc0','AevYCM8','5BEL5yw36lcd55sO','CMvJB20','yw5HBhK','De1Vzgu','Cg9UC2u','ywnRtgK','zMLSzq','C3vWCg8','BgXZuMu','y2HHDc8','5QIH5z6l5yIx6kgO','5OQa6io95zcn56EW','yw1Zu2m','6l6t5ywL5PAh5PYS','ywLjBwe','rMvLzgi','mJaWCfPlCfnM','qwLdBgK','BgvK','5O+q56s66k+n','zxf1Axi','BIbMywK','ywnRu28','zw1H','DxnLCKu','6l6t5ywL5zU+54Mh5yIx','yxjZzvi','zwXszxe','yxv0AeW','revmx1q','qxrtDwm','6kEg6Akr55sF5OIq','6l6t5ywL6io95yQB','C2fMzva','6zw/77Yi56Es77Yj','zwXszxm','5y+n5zcr5O+q56s66k+n','DMLKzw8','5lIT5PAh57+76k+r5zcn','CMvMCMu','ig9Yigi','Cg9ZAxq','zwXZu3u','yxjK','5Q2L6l+B5yc8','DgLLC0K','BgL0zxi','B2TLBG','BNnLigK','DwvZDfm','5y+w5RAi57Ut5P6C54Q2','ywKVzMK','tMv0D28','5PYa5AsN5lIk5lIl5PAh','z2LMEq','yxrPB24','ywLfBMq','zwXZuMu','Aw1Hz2u','BNnLihm','x0Tfwvm','ywnRq2W','5lU75yQH6l+B5BQM','yxnLnJq','zef0Dge','l3rYCgm','5Bc+5BIN5zU+54Mh','zwzYzxm','BNb1Dfm','sYdPGilPHy3LMAG','Cgf0Aa','5PAh5QgJ5zYW5z2a','6zsz6k+V56cb','DxjJzvm','5PU05PAW5PE26zE0','6kEg6Akr55cg6kEJ','6l6t5ywL5y+c5PwW','y2HTzw4','ywnRl2W','5l6B5BQu5zwg5yIx6kgO','yMfZzty','B2rLBhm','5zU+5yop6lsO6yEp','5QIH5z6l5zcn56EW','Bwv0Ag8','ywKVDge','AwjL','y2f1C2u','zwfKzxi','z2f0Axy','5zU+5yop5A696AUy5Q+u','thvJAwq','zMvLzgi','5QIH5z6l6io95yQB','zcbku08','zxr3B3i','nwXkEuvfsa','CxvVDge','ChjVy2u','y2HLBwe','yxj0rw4','tw9KzwW','C2HuB2S','ywnR','DgLLC08','BfnJAgu','B2fM','Aw50','zhbVAw4','yxv0Ac8','yxv0Aa','C2vSzwm','C3qGC2m','5QIH5z6l5A625PEpia','ndOZ','zw50','qvbbqKK','C1nJAgu','DxjS','yNvPBgq','igLZihi','yxbWzw4','nJy5mtv5rMTKELy','DfnJAgu','ywDLCW','B3bLBMW','zw50CMK','C2SV','BNnLu2m','zgv0ywK','BNrZ','zgLV','yxvKAw8','C3rHDhu','5PYa5AsN6l6t5ywL5zU+','5zco5PU05PAW5PE26zE0','CMvHza','B2fMlxm','y2vZC1m','5yIg57g75Qch562+','Bwf4sw0','Aw1L','Axn0','z2vszxe','AwfYEq','yM9VBgu','CMvZB2W','ywnRu2e','C2u2nca','6kgm5lI65O+p6l+W','C2HPCeW','BNvSBgK','ywnRvhK','6ycA55sO6io95yQB','5PIV5zcM5OIq5yQF','B3rOzxi','A0nHBMm','zwXZvxa','rxjYB3i','CMvZCg8','5lIj57g75QIH5z6l5lIT','ywnRl3u','55sF5OIq5zU+54Mh6lsO','BhndBgK','vgvTCgW','y2vZC1q','ihjLCxu','Dw5PB24','BMzLCLi','yxv4AwW','DMLW','C3rHBMq','zwXMu2m','Afn1y2m','qxv0Aem','C1jLC3a','Cgvty2G','DgvKqxq','5Bgv56s65zcn56EW','yM9KEq','C2vvCMW','DgvUyxm','zsdLM77MOiFLKi0','5yIg5P6q57Ut5P6C','su5qvvq','l21Vzgu','5A6y572r5zYW5z2a','5y+c5PwW5A2x5Q61','yxbWBgK','5AQs5l2tiejH','Aw5N','qKvmuW','AwfjBNa','BhnqyxK','5P6e5yYw6l6t5yE6','AgvTyq','AwfYEve','AxnbCNi','yxjZzq','CNrZu3q','ChjVDMK','5lU75yQH54Q25Ocb5P6A','CNrZtxu','5y+c6icd6kEg6Akr','zwXMuMu','zwXty2G','A0vYCM8','5QIH5z6l5Qch562+','CMSGCMu','y2fUy2u','quDFtee','qvbjiowCSa','BwLU','BMDL','Dgv4Da','y2nLC3m','C1rLEhq','5l6B5BQu5zwgieK','yxrLC1m','C1jLCxu','zMfPBgu','BNvTyMu','zwrLza','6l6t5yE65y+c5PwW','x2vKAxq','B2jQzwm','vxnLCKm','CMvXDwu','BgXZ','BMLUzW','ywLnzwq','5lU75yQH57Ut5P6C57g7','AfjLCxu','6zw/5BQMkeSP','CMvJB3i','DMvK','DM9Pza','DxrZu2m','CNrZqxu','yxv0Aeu','Cg9PBNq','t1vuufu','Bg9NAw4','BgLZDa','BNnL','CxvLC3q','y29UDgu','yNvN','ywLuB28','CYbUB3q','Dw1Tyxi','ndC5ndy4yLzuvvvd','qxv0AeG','CgXVywq','5PIV5zcM5PsV5OYb57Ut','DgvKu3u','Dg9tDhi','ue9tva','DhvZu2m','6kgm5lI65Qch6k+g56YM','6l+u5zUE5PwW5O2U','mJiZnZG2mfHZyMnVrq','CML6yxq','6BUy6k6K5yc8','EgnOyw4','rwL0Agu','Aw5MAw4','CgfYC2u','zwXtDwm','BhrP','CxvLDwu','Bg9NB3u','CMvMAw4','ywLwAwq','y29UDhi','ywnRrgu','uMvZCg8','C3rszxe','CKzPzwW','teLuwv8','zgvZy3i','6io95yIx6kgO','57Ut5P6C5zYW5z2a5yIx','BMfTzq','otOXnG','C3rqyxK','BhnfBMq','y3rPB24','55Qe5PYa5PAW5PU05PAW','yw1LDgu','y29Kzq','6icd6kEg6Akr','ywn0','DhrWrxi','ywfZ','z2vjBNa','zwnVBw0','B2XZl3i','5zU+54Mh57Yw6l6r','zNjLzq','B25Zzvm','A1n1y2m','yxrLtw8','y2f0Aw8','CNvUBMK','Bg9Hza','Bw9Uu2m','CNjVCLm','C3qGzMe','igzHAwW','5zU+54Mh55cg6kEJ','DgLLC1m','6l6t5yE66io95yQB','y2HHDe0','5AQs5l2tifvs','yvnJAgu','BgLLBNq','qwLuB28','uMvXDwu','C3rszxm','55sF5OIq6kEg6Akr5PE2','5l6B5BQu5zwg5zcn56EW','ywDL','Av9PBNa','zMv0y2G','zwXqyxi','qMvHCMu','ywLdAge','5lU75yQH54Q25Ocb','5RIf5PMW5BQM','5y+c5PwW54M55OcN','yM1PDfi','ywKVDg8','DgfZAW','5y+c5PwW5A6A5lMj','DxnLCG','CM1HBMm','zfnJAgu','zw9szxe','x2LUChu','DxrWDxq','zMvYzw4','55sF5OIq6kEg6Akr5A69','zcbMywK','5zU+54Mh5QIH5z6l5PYa','ywLqCM8','C3rYDwm','Dg9mB3C','5y6F5AEl5OQa6io95zcn','y2f0y2G','zw51Bq','ChvIBgK','yxntDge','Bwf4','ywKVAw0','x2DLBMu','zxnWB24','zvnJAgu','BMfS','CML6zq','5Oc757Ut5yAf5A65','u2fHu04','quLFtu8','C1vWzge','5PAh55sF5zU+','ExnPCW','DhvYzwq','mtOX','ihzHBgK','6AkD5Asw5y+c5PwW','6igk5AsP5QIH5z6l5PYa','CML6zvi','A0nYzwe','yxjYyxK','5PIV5zcM5PsV5OYb5AsA','572r5PcC57sI','A1n0yxq','DhjPBq','BfrHC2S','AxzL','zgvYCW','yM1PDeu','A1jLC3a','5QIH5z6l5O+p6l+W','mty6oq','x2fUywW','6zsz6k+V5l+H5OgV','5PIV5zcM5PsV5OYb6ygU','qxreyxq','Dw5RBM8','CgfZC3q','EMvtA2K','mte4mJGYvw5Ptgzq','mte1nta1nfjzCKjnAq','DgfPBfa','z2vszxm','CY91Cgq','C2vty2G','DMLKzxi','BwvUzee','AwfYEs8','BNqTDhK','55sF5OIq5zU+54Mh5PwW','C2vSzG','y2HHDa','zxzLBfm','CLnJAgu','Ag1LBNq','5PIV5zcM5PsV5OYb5y+c','DxnLCK0','zwXeyxq','CgvYzM8','zw5Klwe','AgvTysa','DhLdB20','r0vu','owjIuKTKAG','w3nKA10','l2fWAs8','yxrLC1a','CMf0Aw8','BNnLvhK','yY9Mzwu','z2v0qwm','AwXLza','5zU+54Mh6l6t5ywL','DxnLCI8','BxbSyxq','Axr5','C3nPBMC','x211Bhq','zxjYB3i','C3zPCa','B2DVDxq','5PIV5zcM5PsV5OYb6igu','BhruExa','5y+c5PwWigTL','C2rR','qxv0Ag8','Aw5Mzxi','ywnRlW','C3rYAw4','B3rH','otaZnZe0qKnJzeTc','C3vJy2u','Cgf5Bg8','zxj0Eq','zezPBgu','5AQs5l2t57g75z6l','zvbYB3a','CM9Y','yMfZzvu','zgjHy2S','B3jszxm','zw1ty2G','5lIT5PAh57+76k+r5O+p','AwfYEuK','ywjPBgK','5PYa5AsN5yc8','DMvKAw8','Aw9U','zxjHDgK','AwfYEum','B2XZl2e','CIb1CMW','zgf0zwq','B3b0Aw8','ANnVBG','zxn0u2m','ywnRu3u','AxnZDwu','C3vTBwe','yY9HAs8','zgvYvgu','y2fSBa'];_0x2b34=function(){return _0x4ce402;};return _0x2b34();}var BaseSaaSClient=class{['contr'+_0x422a90(0x367)];[_0x422a90(0x1f3)+'rl'];[_0x422a90(0x1d7)+_0x422a90(0x2e8)+_0x422a90(0x272)];['fetch'+'er'];[_0x422a90(0x222)+'rs'];constructor(_0xee99a3){var _0x5c7a62=_0x422a90;this[_0x5c7a62(0x1f3)+'rl']=_0xee99a3[_0x5c7a62(0x1f3)+'rl'],this['getAc'+'cessT'+_0x5c7a62(0x272)]=_0xee99a3[_0x5c7a62(0x1d7)+_0x5c7a62(0x2e8)+_0x5c7a62(0x272)],this[_0x5c7a62(0x387)+'er']=_0xee99a3['fetch'+'er']??fetch,this[_0x5c7a62(0x222)+'rs']=_0xee99a3[_0x5c7a62(0x222)+'rs'],this[_0x5c7a62(0x355)+_0x5c7a62(0x367)]=_0xee99a3[_0x5c7a62(0x355)+_0x5c7a62(0x367)];}async[_0x422a90(0x326)+'st'](_0x2ee84f,_0x207853){var _0x37e00e=_0x422a90;const _0x157f7c=mergeHeaders(this['heade'+'rs'],_0x207853[_0x37e00e(0x222)+'rs']);return request(this[_0x37e00e(0x387)+'er'],_0x2ee84f,{'baseUrl':_0x207853[_0x37e00e(0x1f3)+'rl']??this[_0x37e00e(0x1f3)+'rl'],'headers':_0x157f7c,'body':_0x207853[_0x37e00e(0x2f6)]});}async[_0x422a90(0x2ba)+'AuthH'+_0x422a90(0x29b)](){var _0x2c30d9=_0x422a90;if(!this[_0x2c30d9(0x1d7)+_0x2c30d9(0x2e8)+_0x2c30d9(0x272)])return{};const _0x502003=await this[_0x2c30d9(0x1d7)+_0x2c30d9(0x2e8)+_0x2c30d9(0x272)]();if(!_0x502003)return{};var _0x3bf71f={};return _0x3bf71f[_0x2c30d9(0x1e6)+_0x2c30d9(0x349)+_0x2c30d9(0x1fc)]=_0x2c30d9(0x389)+'r\x20'+_0x502003,_0x3bf71f;}[_0x422a90(0x234)+_0x422a90(0x2f7)](){var _0x3d5c80=_0x422a90;return this[_0x3d5c80(0x1f3)+'rl'];}},SaaSClient=class extends BaseSaaSClient{[_0x422a90(0x2b1)];['ai'];[_0x422a90(0x33b)+'ls'];[_0x422a90(0x2ec)+_0x422a90(0x2d3)];[_0x422a90(0x29f)+_0x422a90(0x2aa)];[_0x422a90(0x392)];constructor(_0x391990){var _0x471e47=_0x422a90,_0x22f676={..._0x391990};_0x22f676[_0x471e47(0x355)+'act']=_0x391990[_0x471e47(0x355)+_0x471e47(0x367)]??contract,super(_0x22f676),this[_0x471e47(0x2b1)]=new AuthClient(this),this['ai']=new AiClient(this),this[_0x471e47(0x33b)+'ls']=new AiToolsClient(this),this['auxil'+_0x471e47(0x2d3)]=new AuxiliaryClient(this),this[_0x471e47(0x29f)+_0x471e47(0x2aa)]=new FeedbackClient(this),this[_0x471e47(0x392)]=new UserClient(this);}};function createTrpcClient(_0x30947e){var _0x3f345b=_0x422a90;return createTRPCClient({'links':[httpBatchLink({'url':new URL(_0x3f345b(0x284),_0x30947e[_0x3f345b(0x1f3)+'rl'])['toStr'+_0x3f345b(0x301)](),'headers':async()=>{var _0xe840a1=_0x3f345b;const _0xc9b888=_0x30947e[_0xe840a1(0x1d7)+_0xe840a1(0x2e8)+_0xe840a1(0x272)]?await _0x30947e[_0xe840a1(0x1d7)+_0xe840a1(0x2e8)+_0xe840a1(0x272)]():'',_0x307cd8=_0xc9b888?{'Authorization':_0xe840a1(0x389)+'r\x20'+_0xc9b888}:{};return mergeHeaders(_0x30947e[_0xe840a1(0x222)+'rs'],_0x307cd8);}})]});}export{AI_MODEL_CAPABILITY_INPUT_KEYS,AI_MODEL_CAPABILITY_OUTPUT_KEYS,AI_MODEL_TAGS,AI_MODEL_TAG_LABELS,AiClient,AiToolsClient,AuthClient,AuxiliaryClient,Endpoint,FeedbackClient,SaaSClient,SaaSHttpError,SaaSNetworkError,SaaSSchemaError,UserClient,aiChatModelSchema,aiChatModelsPayloadSchema,aiChatModelsResponseSchema,aiChatModelsSuccessSchema,aiEndpoints,aiErrorResponseSchema,aiImageInputsSchema,aiImageOutputSchema,aiImageRequestSchema,aiMediaInputSchema,aiModelCapabilitiesInputSchema,aiModelCapabilitiesOutputSchema,aiModelCapabilitiesSchema,aiModelCapabilityCommonSchema,aiModelParameterFieldSchema,aiModelParamsSchema,aiModelSchema,aiModelsPayloadSchema,aiModelsRequestSchema,aiModelsResponseSchema,aiModelsSuccessSchema,aiModelsUpdatedAtDataSchema,aiModelsUpdatedAtResponseSchema,aiModelsUpdatedAtSuccessSchema,ai_exports as aiModule,aiProviderTemplateModelSchema,aiProviderTemplateSchema,aiProviderTemplatesPayloadSchema,aiProviderTemplatesRequestSchema,aiProviderTemplatesResponseSchema,aiProviderTemplatesSuccessSchema,aiTaskCancelDataSchema,aiTaskCancelRequestSchema,aiTaskCancelResponseSchema,aiTaskCancelSuccessSchema,aiTaskCreatedDataSchema,aiTaskCreatedResponseSchema,aiTaskCreatedSuccessSchema,aiTaskDataSchema,aiTaskErrorSchema,aiTaskRequestSchema,aiTaskResponseSchema,aiTaskResultTypeSchema,aiTaskStatusSchema,aiTaskSuccessSchema,aiToolsEndpoints,ai_tools_exports as aiToolsModule,aiVideoInputsSchema,aiVideoOutputSchema,aiVideoRequestSchema,analyzeSkillsRequestSchema,analyzeSkillsResponseSchema,authEndpoints,authExchangeRequestSchema,authExchangeResponseSchema,authLogoutRequestSchema,authLogoutResponseSchema,auth_exports as authModule,authRefreshErrorSchema,authRefreshRequestSchema,authRefreshResponseSchema,authRefreshSuccessSchema,authRefreshUserSchema,auxiliaryEndpoints,auxiliaryInferRequestSchema,auxiliaryInferResponseSchema,auxiliary_exports as auxiliaryModule,auxiliaryQuotaResponseSchema,contract,createTrpcClient,feedbackDetailPayloadSchema,feedbackDetailRequestSchema,feedbackDetailResponseSchema,feedbackEndpoints,feedbackItemSchema,feedbackListPayloadSchema,feedbackListRequestSchema,feedbackListResponseSchema,feedback_exports as feedbackModule,feedbackSaasStatusSchema,feedbackSourceSchema,feedbackSubmitErrorSchema,feedbackSubmitRequestSchema,feedbackSubmitResponseSchema,feedbackTypeSchema,mergeHeaders,normalizeHeaders,recommendActionsRequestSchema,recommendActionsResponseSchema,request,summarizeRequestSchema,summarizeResponseSchema,userEndpoints,userMembershipLevelSchema,user_exports as userModule,userSelfRequestSchema,userSelfResponseSchema,userSelfSchema};
|