@openloaf-saas/sdk 0.1.3 → 0.1.4

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 CHANGED
@@ -410,7 +410,7 @@ declare class SaaSContract {
410
410
  type: "ui" | "performance" | "bug" | "feature" | "other";
411
411
  content: string;
412
412
  context: Record<string, unknown>;
413
- source?: "tenas" | "openloaf-saas" | undefined;
413
+ source?: "tenas" | "openloaf" | "openloaf-saas" | undefined;
414
414
  email?: string | undefined;
415
415
  }, void | {
416
416
  message: string;
@@ -419,7 +419,7 @@ declare class SaaSContract {
419
419
  page?: number | undefined;
420
420
  pageSize?: number | undefined;
421
421
  type?: "ui" | "performance" | "bug" | "feature" | "other" | undefined;
422
- source?: "tenas" | "openloaf-saas" | undefined;
422
+ source?: "tenas" | "openloaf" | "openloaf-saas" | undefined;
423
423
  saasStatus?: "unread" | "read" | "resolved" | "ignored" | undefined;
424
424
  keyword?: string | undefined;
425
425
  startAt?: string | undefined;
@@ -429,7 +429,7 @@ declare class SaaSContract {
429
429
  } | {
430
430
  items: {
431
431
  id: string;
432
- source: "tenas" | "openloaf-saas";
432
+ source: "tenas" | "openloaf" | "openloaf-saas";
433
433
  type: "ui" | "performance" | "bug" | "feature" | "other";
434
434
  saasStatus: "unread" | "read" | "resolved" | "ignored";
435
435
  content: string;
@@ -448,7 +448,7 @@ declare class SaaSContract {
448
448
  } | {
449
449
  feedback: {
450
450
  id: string;
451
- source: "tenas" | "openloaf-saas";
451
+ source: "tenas" | "openloaf" | "openloaf-saas";
452
452
  type: "ui" | "performance" | "bug" | "feature" | "other";
453
453
  saasStatus: "unread" | "read" | "resolved" | "ignored";
454
454
  content: string;
@@ -2363,140 +2363,6 @@ declare namespace index$4 {
2363
2363
  export { index$4_AI_MODEL_CAPABILITY_INPUT_KEYS as AI_MODEL_CAPABILITY_INPUT_KEYS, index$4_AI_MODEL_CAPABILITY_OUTPUT_KEYS as AI_MODEL_CAPABILITY_OUTPUT_KEYS, index$4_AI_MODEL_TAGS as AI_MODEL_TAGS, index$4_AI_MODEL_TAG_LABELS as AI_MODEL_TAG_LABELS, type index$4_AiChatModel as AiChatModel, type index$4_AiChatModelsResponse as AiChatModelsResponse, index$4_AiClient as AiClient, type index$4_AiImageInputs as AiImageInputs, type index$4_AiImageOutput as AiImageOutput, type index$4_AiImageRequest as AiImageRequest, type index$4_AiMediaInput as AiMediaInput, type index$4_AiModel as AiModel, type index$4_AiModelCapabilities as AiModelCapabilities, type index$4_AiModelCapabilitiesInput as AiModelCapabilitiesInput, type index$4_AiModelCapabilitiesOutput as AiModelCapabilitiesOutput, type index$4_AiModelCapabilityInputKey as AiModelCapabilityInputKey, type index$4_AiModelCapabilityOutputKey as AiModelCapabilityOutputKey, type index$4_AiModelTag as AiModelTag, type index$4_AiModelsResponse as AiModelsResponse, type index$4_AiModelsUpdatedAtData as AiModelsUpdatedAtData, type index$4_AiModelsUpdatedAtResponse as AiModelsUpdatedAtResponse, type index$4_AiProviderTemplate as AiProviderTemplate, type index$4_AiProviderTemplateModel as AiProviderTemplateModel, type index$4_AiProviderTemplatesResponse as AiProviderTemplatesResponse, type index$4_AiTaskCancelResponse as AiTaskCancelResponse, type index$4_AiTaskCreatedResponse as AiTaskCreatedResponse, type index$4_AiTaskResponse as AiTaskResponse, type index$4_AiVideoInputs as AiVideoInputs, type index$4_AiVideoOutput as AiVideoOutput, type index$4_AiVideoRequest as AiVideoRequest, index$4_aiChatModelSchema as aiChatModelSchema, index$4_aiChatModelsPayloadSchema as aiChatModelsPayloadSchema, index$4_aiChatModelsResponseSchema as aiChatModelsResponseSchema, index$4_aiChatModelsSuccessSchema as aiChatModelsSuccessSchema, index$4_aiEndpoints as aiEndpoints, index$4_aiErrorResponseSchema as aiErrorResponseSchema, index$4_aiImageInputsSchema as aiImageInputsSchema, index$4_aiImageOutputSchema as aiImageOutputSchema, index$4_aiImageRequestSchema as aiImageRequestSchema, index$4_aiMediaInputSchema as aiMediaInputSchema, index$4_aiModelCapabilitiesInputSchema as aiModelCapabilitiesInputSchema, index$4_aiModelCapabilitiesOutputSchema as aiModelCapabilitiesOutputSchema, index$4_aiModelCapabilitiesSchema as aiModelCapabilitiesSchema, index$4_aiModelCapabilityCommonSchema as aiModelCapabilityCommonSchema, index$4_aiModelParameterFieldSchema as aiModelParameterFieldSchema, index$4_aiModelParamsSchema as aiModelParamsSchema, index$4_aiModelSchema as aiModelSchema, index$4_aiModelsPayloadSchema as aiModelsPayloadSchema, index$4_aiModelsRequestSchema as aiModelsRequestSchema, index$4_aiModelsResponseSchema as aiModelsResponseSchema, index$4_aiModelsSuccessSchema as aiModelsSuccessSchema, index$4_aiModelsUpdatedAtDataSchema as aiModelsUpdatedAtDataSchema, index$4_aiModelsUpdatedAtResponseSchema as aiModelsUpdatedAtResponseSchema, index$4_aiModelsUpdatedAtSuccessSchema as aiModelsUpdatedAtSuccessSchema, index$4_aiProviderTemplateModelSchema as aiProviderTemplateModelSchema, index$4_aiProviderTemplateSchema as aiProviderTemplateSchema, index$4_aiProviderTemplatesPayloadSchema as aiProviderTemplatesPayloadSchema, index$4_aiProviderTemplatesRequestSchema as aiProviderTemplatesRequestSchema, index$4_aiProviderTemplatesResponseSchema as aiProviderTemplatesResponseSchema, index$4_aiProviderTemplatesSuccessSchema as aiProviderTemplatesSuccessSchema, index$4_aiTaskCancelDataSchema as aiTaskCancelDataSchema, index$4_aiTaskCancelRequestSchema as aiTaskCancelRequestSchema, index$4_aiTaskCancelResponseSchema as aiTaskCancelResponseSchema, index$4_aiTaskCancelSuccessSchema as aiTaskCancelSuccessSchema, index$4_aiTaskCreatedDataSchema as aiTaskCreatedDataSchema, index$4_aiTaskCreatedResponseSchema as aiTaskCreatedResponseSchema, index$4_aiTaskCreatedSuccessSchema as aiTaskCreatedSuccessSchema, index$4_aiTaskDataSchema as aiTaskDataSchema, index$4_aiTaskErrorSchema as aiTaskErrorSchema, index$4_aiTaskRequestSchema as aiTaskRequestSchema, index$4_aiTaskResponseSchema as aiTaskResponseSchema, index$4_aiTaskResultTypeSchema as aiTaskResultTypeSchema, index$4_aiTaskStatusSchema as aiTaskStatusSchema, index$4_aiTaskSuccessSchema as aiTaskSuccessSchema, index$4_aiVideoInputsSchema as aiVideoInputsSchema, index$4_aiVideoOutputSchema as aiVideoOutputSchema, index$4_aiVideoRequestSchema as aiVideoRequestSchema };
2364
2364
  }
2365
2365
 
2366
- declare const auxiliaryEndpoints: {
2367
- readonly infer: Endpoint<{
2368
- capabilityKey: string;
2369
- systemPrompt: string;
2370
- context: string;
2371
- outputMode: "text" | "structured";
2372
- schema?: Record<string, unknown> | undefined;
2373
- }, {
2374
- ok: true;
2375
- result: unknown;
2376
- usage: {
2377
- inputTokens: number;
2378
- outputTokens: number;
2379
- };
2380
- quota: {
2381
- used: number;
2382
- limit: number;
2383
- remaining: number;
2384
- resetsAt: string;
2385
- };
2386
- } | {
2387
- ok: false;
2388
- message: string;
2389
- code?: string | undefined;
2390
- }>;
2391
- readonly getQuota: Endpoint<Record<string, never>, {
2392
- quota: {
2393
- used: number;
2394
- limit: number;
2395
- remaining: number;
2396
- resetsAt: string;
2397
- };
2398
- }>;
2399
- };
2400
-
2401
- declare const auxiliaryInferRequestSchema: z.ZodObject<{
2402
- capabilityKey: z.ZodString;
2403
- systemPrompt: z.ZodString;
2404
- context: z.ZodString;
2405
- outputMode: z.ZodEnum<{
2406
- text: "text";
2407
- structured: "structured";
2408
- }>;
2409
- schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2410
- }, z.core.$strip>;
2411
- declare const quotaSchema: z.ZodObject<{
2412
- used: z.ZodNumber;
2413
- limit: z.ZodNumber;
2414
- remaining: z.ZodNumber;
2415
- resetsAt: z.ZodString;
2416
- }, z.core.$strip>;
2417
- declare const auxiliaryInferResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
2418
- ok: z.ZodLiteral<true>;
2419
- result: z.ZodUnknown;
2420
- usage: z.ZodObject<{
2421
- inputTokens: z.ZodNumber;
2422
- outputTokens: z.ZodNumber;
2423
- }, z.core.$strip>;
2424
- quota: z.ZodObject<{
2425
- used: z.ZodNumber;
2426
- limit: z.ZodNumber;
2427
- remaining: z.ZodNumber;
2428
- resetsAt: z.ZodString;
2429
- }, z.core.$strip>;
2430
- }, z.core.$strip>, z.ZodObject<{
2431
- ok: z.ZodLiteral<false>;
2432
- message: z.ZodString;
2433
- code: z.ZodOptional<z.ZodString>;
2434
- }, z.core.$strip>]>;
2435
- declare const auxiliaryQuotaResponseSchema: z.ZodObject<{
2436
- quota: z.ZodObject<{
2437
- used: z.ZodNumber;
2438
- limit: z.ZodNumber;
2439
- remaining: z.ZodNumber;
2440
- resetsAt: z.ZodString;
2441
- }, z.core.$strip>;
2442
- }, z.core.$strip>;
2443
- type AuxiliaryInferRequest = z.infer<typeof auxiliaryInferRequestSchema>;
2444
- type AuxiliaryInferResponse = z.infer<typeof auxiliaryInferResponseSchema>;
2445
- type AuxiliaryQuotaResponse = z.infer<typeof auxiliaryQuotaResponseSchema>;
2446
- type AuxiliaryQuota = z.infer<typeof quotaSchema>;
2447
-
2448
- type AuxiliarySdkHost = SdkHost<{
2449
- auxiliary: typeof auxiliaryEndpoints;
2450
- }>;
2451
- declare class AuxiliaryClient {
2452
- /** SDK host used for auxiliary requests. */
2453
- private readonly sdk;
2454
- /** Create auxiliary client. */
2455
- constructor(sdk: AuxiliarySdkHost);
2456
- /** Run auxiliary inference. */
2457
- infer(payload: AuxiliaryInferRequest): Promise<{
2458
- ok: true;
2459
- result: unknown;
2460
- usage: {
2461
- inputTokens: number;
2462
- outputTokens: number;
2463
- };
2464
- quota: {
2465
- used: number;
2466
- limit: number;
2467
- remaining: number;
2468
- resetsAt: string;
2469
- };
2470
- } | {
2471
- ok: false;
2472
- message: string;
2473
- code?: string | undefined;
2474
- }>;
2475
- /** Get current daily quota. */
2476
- getQuota(): Promise<{
2477
- quota: {
2478
- used: number;
2479
- limit: number;
2480
- remaining: number;
2481
- resetsAt: string;
2482
- };
2483
- }>;
2484
- }
2485
-
2486
- type index$3_AuxiliaryClient = AuxiliaryClient;
2487
- declare const index$3_AuxiliaryClient: typeof AuxiliaryClient;
2488
- type index$3_AuxiliaryInferRequest = AuxiliaryInferRequest;
2489
- type index$3_AuxiliaryInferResponse = AuxiliaryInferResponse;
2490
- type index$3_AuxiliaryQuota = AuxiliaryQuota;
2491
- type index$3_AuxiliaryQuotaResponse = AuxiliaryQuotaResponse;
2492
- declare const index$3_auxiliaryEndpoints: typeof auxiliaryEndpoints;
2493
- declare const index$3_auxiliaryInferRequestSchema: typeof auxiliaryInferRequestSchema;
2494
- declare const index$3_auxiliaryInferResponseSchema: typeof auxiliaryInferResponseSchema;
2495
- declare const index$3_auxiliaryQuotaResponseSchema: typeof auxiliaryQuotaResponseSchema;
2496
- declare namespace index$3 {
2497
- export { index$3_AuxiliaryClient as AuxiliaryClient, type index$3_AuxiliaryInferRequest as AuxiliaryInferRequest, type index$3_AuxiliaryInferResponse as AuxiliaryInferResponse, type index$3_AuxiliaryQuota as AuxiliaryQuota, type index$3_AuxiliaryQuotaResponse as AuxiliaryQuotaResponse, index$3_auxiliaryEndpoints as auxiliaryEndpoints, index$3_auxiliaryInferRequestSchema as auxiliaryInferRequestSchema, index$3_auxiliaryInferResponseSchema as auxiliaryInferResponseSchema, index$3_auxiliaryQuotaResponseSchema as auxiliaryQuotaResponseSchema };
2498
- }
2499
-
2500
2366
  declare const authEndpoints: {
2501
2367
  readonly exchange: Endpoint<{
2502
2368
  loginCode: string;
@@ -2623,28 +2489,162 @@ type AuthExchangeResponse = z.infer<typeof authExchangeResponseSchema>;
2623
2489
  type AuthLogoutRequest = z.infer<typeof authLogoutRequestSchema>;
2624
2490
  type AuthLogoutResponse = z.infer<typeof authLogoutResponseSchema>;
2625
2491
 
2626
- type index$2_AuthClient = AuthClient;
2627
- declare const index$2_AuthClient: typeof AuthClient;
2628
- type index$2_AuthExchangeRequest = AuthExchangeRequest;
2629
- type index$2_AuthExchangeResponse = AuthExchangeResponse;
2630
- type index$2_AuthLogoutRequest = AuthLogoutRequest;
2631
- type index$2_AuthLogoutResponse = AuthLogoutResponse;
2632
- type index$2_AuthRefreshError = AuthRefreshError;
2633
- type index$2_AuthRefreshRequest = AuthRefreshRequest;
2634
- type index$2_AuthRefreshResponse = AuthRefreshResponse;
2635
- type index$2_AuthRefreshSuccess = AuthRefreshSuccess;
2636
- declare const index$2_authEndpoints: typeof authEndpoints;
2637
- declare const index$2_authExchangeRequestSchema: typeof authExchangeRequestSchema;
2638
- declare const index$2_authExchangeResponseSchema: typeof authExchangeResponseSchema;
2639
- declare const index$2_authLogoutRequestSchema: typeof authLogoutRequestSchema;
2640
- declare const index$2_authLogoutResponseSchema: typeof authLogoutResponseSchema;
2641
- declare const index$2_authRefreshErrorSchema: typeof authRefreshErrorSchema;
2642
- declare const index$2_authRefreshRequestSchema: typeof authRefreshRequestSchema;
2643
- declare const index$2_authRefreshResponseSchema: typeof authRefreshResponseSchema;
2644
- declare const index$2_authRefreshSuccessSchema: typeof authRefreshSuccessSchema;
2645
- declare const index$2_authRefreshUserSchema: typeof authRefreshUserSchema;
2492
+ type index$3_AuthClient = AuthClient;
2493
+ declare const index$3_AuthClient: typeof AuthClient;
2494
+ type index$3_AuthExchangeRequest = AuthExchangeRequest;
2495
+ type index$3_AuthExchangeResponse = AuthExchangeResponse;
2496
+ type index$3_AuthLogoutRequest = AuthLogoutRequest;
2497
+ type index$3_AuthLogoutResponse = AuthLogoutResponse;
2498
+ type index$3_AuthRefreshError = AuthRefreshError;
2499
+ type index$3_AuthRefreshRequest = AuthRefreshRequest;
2500
+ type index$3_AuthRefreshResponse = AuthRefreshResponse;
2501
+ type index$3_AuthRefreshSuccess = AuthRefreshSuccess;
2502
+ declare const index$3_authEndpoints: typeof authEndpoints;
2503
+ declare const index$3_authExchangeRequestSchema: typeof authExchangeRequestSchema;
2504
+ declare const index$3_authExchangeResponseSchema: typeof authExchangeResponseSchema;
2505
+ declare const index$3_authLogoutRequestSchema: typeof authLogoutRequestSchema;
2506
+ declare const index$3_authLogoutResponseSchema: typeof authLogoutResponseSchema;
2507
+ declare const index$3_authRefreshErrorSchema: typeof authRefreshErrorSchema;
2508
+ declare const index$3_authRefreshRequestSchema: typeof authRefreshRequestSchema;
2509
+ declare const index$3_authRefreshResponseSchema: typeof authRefreshResponseSchema;
2510
+ declare const index$3_authRefreshSuccessSchema: typeof authRefreshSuccessSchema;
2511
+ declare const index$3_authRefreshUserSchema: typeof authRefreshUserSchema;
2512
+ declare namespace index$3 {
2513
+ export { index$3_AuthClient as AuthClient, type index$3_AuthExchangeRequest as AuthExchangeRequest, type index$3_AuthExchangeResponse as AuthExchangeResponse, type index$3_AuthLogoutRequest as AuthLogoutRequest, type index$3_AuthLogoutResponse as AuthLogoutResponse, type index$3_AuthRefreshError as AuthRefreshError, type index$3_AuthRefreshRequest as AuthRefreshRequest, type index$3_AuthRefreshResponse as AuthRefreshResponse, type index$3_AuthRefreshSuccess as AuthRefreshSuccess, index$3_authEndpoints as authEndpoints, index$3_authExchangeRequestSchema as authExchangeRequestSchema, index$3_authExchangeResponseSchema as authExchangeResponseSchema, index$3_authLogoutRequestSchema as authLogoutRequestSchema, index$3_authLogoutResponseSchema as authLogoutResponseSchema, index$3_authRefreshErrorSchema as authRefreshErrorSchema, index$3_authRefreshRequestSchema as authRefreshRequestSchema, index$3_authRefreshResponseSchema as authRefreshResponseSchema, index$3_authRefreshSuccessSchema as authRefreshSuccessSchema, index$3_authRefreshUserSchema as authRefreshUserSchema };
2514
+ }
2515
+
2516
+ declare const auxiliaryEndpoints: {
2517
+ readonly infer: Endpoint<{
2518
+ capabilityKey: string;
2519
+ systemPrompt: string;
2520
+ context: string;
2521
+ outputMode: "text" | "structured";
2522
+ schema?: Record<string, unknown> | undefined;
2523
+ }, {
2524
+ ok: true;
2525
+ result: unknown;
2526
+ usage: {
2527
+ inputTokens: number;
2528
+ outputTokens: number;
2529
+ };
2530
+ quota: {
2531
+ used: number;
2532
+ limit: number;
2533
+ remaining: number;
2534
+ resetsAt: string;
2535
+ };
2536
+ } | {
2537
+ ok: false;
2538
+ message: string;
2539
+ code?: string | undefined;
2540
+ }>;
2541
+ readonly getQuota: Endpoint<Record<string, never>, {
2542
+ quota: {
2543
+ used: number;
2544
+ limit: number;
2545
+ remaining: number;
2546
+ resetsAt: string;
2547
+ };
2548
+ }>;
2549
+ };
2550
+
2551
+ declare const auxiliaryInferRequestSchema: z.ZodObject<{
2552
+ capabilityKey: z.ZodString;
2553
+ systemPrompt: z.ZodString;
2554
+ context: z.ZodString;
2555
+ outputMode: z.ZodEnum<{
2556
+ text: "text";
2557
+ structured: "structured";
2558
+ }>;
2559
+ schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2560
+ }, z.core.$strip>;
2561
+ declare const quotaSchema: z.ZodObject<{
2562
+ used: z.ZodNumber;
2563
+ limit: z.ZodNumber;
2564
+ remaining: z.ZodNumber;
2565
+ resetsAt: z.ZodString;
2566
+ }, z.core.$strip>;
2567
+ declare const auxiliaryInferResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
2568
+ ok: z.ZodLiteral<true>;
2569
+ result: z.ZodUnknown;
2570
+ usage: z.ZodObject<{
2571
+ inputTokens: z.ZodNumber;
2572
+ outputTokens: z.ZodNumber;
2573
+ }, z.core.$strip>;
2574
+ quota: z.ZodObject<{
2575
+ used: z.ZodNumber;
2576
+ limit: z.ZodNumber;
2577
+ remaining: z.ZodNumber;
2578
+ resetsAt: z.ZodString;
2579
+ }, z.core.$strip>;
2580
+ }, z.core.$strip>, z.ZodObject<{
2581
+ ok: z.ZodLiteral<false>;
2582
+ message: z.ZodString;
2583
+ code: z.ZodOptional<z.ZodString>;
2584
+ }, z.core.$strip>]>;
2585
+ declare const auxiliaryQuotaResponseSchema: z.ZodObject<{
2586
+ quota: z.ZodObject<{
2587
+ used: z.ZodNumber;
2588
+ limit: z.ZodNumber;
2589
+ remaining: z.ZodNumber;
2590
+ resetsAt: z.ZodString;
2591
+ }, z.core.$strip>;
2592
+ }, z.core.$strip>;
2593
+ type AuxiliaryInferRequest = z.infer<typeof auxiliaryInferRequestSchema>;
2594
+ type AuxiliaryInferResponse = z.infer<typeof auxiliaryInferResponseSchema>;
2595
+ type AuxiliaryQuotaResponse = z.infer<typeof auxiliaryQuotaResponseSchema>;
2596
+ type AuxiliaryQuota = z.infer<typeof quotaSchema>;
2597
+
2598
+ type AuxiliarySdkHost = SdkHost<{
2599
+ auxiliary: typeof auxiliaryEndpoints;
2600
+ }>;
2601
+ declare class AuxiliaryClient {
2602
+ /** SDK host used for auxiliary requests. */
2603
+ private readonly sdk;
2604
+ /** Create auxiliary client. */
2605
+ constructor(sdk: AuxiliarySdkHost);
2606
+ /** Run auxiliary inference. */
2607
+ infer(payload: AuxiliaryInferRequest): Promise<{
2608
+ ok: true;
2609
+ result: unknown;
2610
+ usage: {
2611
+ inputTokens: number;
2612
+ outputTokens: number;
2613
+ };
2614
+ quota: {
2615
+ used: number;
2616
+ limit: number;
2617
+ remaining: number;
2618
+ resetsAt: string;
2619
+ };
2620
+ } | {
2621
+ ok: false;
2622
+ message: string;
2623
+ code?: string | undefined;
2624
+ }>;
2625
+ /** Get current daily quota. */
2626
+ getQuota(): Promise<{
2627
+ quota: {
2628
+ used: number;
2629
+ limit: number;
2630
+ remaining: number;
2631
+ resetsAt: string;
2632
+ };
2633
+ }>;
2634
+ }
2635
+
2636
+ type index$2_AuxiliaryClient = AuxiliaryClient;
2637
+ declare const index$2_AuxiliaryClient: typeof AuxiliaryClient;
2638
+ type index$2_AuxiliaryInferRequest = AuxiliaryInferRequest;
2639
+ type index$2_AuxiliaryInferResponse = AuxiliaryInferResponse;
2640
+ type index$2_AuxiliaryQuota = AuxiliaryQuota;
2641
+ type index$2_AuxiliaryQuotaResponse = AuxiliaryQuotaResponse;
2642
+ declare const index$2_auxiliaryEndpoints: typeof auxiliaryEndpoints;
2643
+ declare const index$2_auxiliaryInferRequestSchema: typeof auxiliaryInferRequestSchema;
2644
+ declare const index$2_auxiliaryInferResponseSchema: typeof auxiliaryInferResponseSchema;
2645
+ declare const index$2_auxiliaryQuotaResponseSchema: typeof auxiliaryQuotaResponseSchema;
2646
2646
  declare namespace index$2 {
2647
- export { index$2_AuthClient as AuthClient, type index$2_AuthExchangeRequest as AuthExchangeRequest, type index$2_AuthExchangeResponse as AuthExchangeResponse, type index$2_AuthLogoutRequest as AuthLogoutRequest, type index$2_AuthLogoutResponse as AuthLogoutResponse, type index$2_AuthRefreshError as AuthRefreshError, type index$2_AuthRefreshRequest as AuthRefreshRequest, type index$2_AuthRefreshResponse as AuthRefreshResponse, type index$2_AuthRefreshSuccess as AuthRefreshSuccess, index$2_authEndpoints as authEndpoints, index$2_authExchangeRequestSchema as authExchangeRequestSchema, index$2_authExchangeResponseSchema as authExchangeResponseSchema, index$2_authLogoutRequestSchema as authLogoutRequestSchema, index$2_authLogoutResponseSchema as authLogoutResponseSchema, index$2_authRefreshErrorSchema as authRefreshErrorSchema, index$2_authRefreshRequestSchema as authRefreshRequestSchema, index$2_authRefreshResponseSchema as authRefreshResponseSchema, index$2_authRefreshSuccessSchema as authRefreshSuccessSchema, index$2_authRefreshUserSchema as authRefreshUserSchema };
2647
+ export { index$2_AuxiliaryClient as AuxiliaryClient, type index$2_AuxiliaryInferRequest as AuxiliaryInferRequest, type index$2_AuxiliaryInferResponse as AuxiliaryInferResponse, type index$2_AuxiliaryQuota as AuxiliaryQuota, type index$2_AuxiliaryQuotaResponse as AuxiliaryQuotaResponse, index$2_auxiliaryEndpoints as auxiliaryEndpoints, index$2_auxiliaryInferRequestSchema as auxiliaryInferRequestSchema, index$2_auxiliaryInferResponseSchema as auxiliaryInferResponseSchema, index$2_auxiliaryQuotaResponseSchema as auxiliaryQuotaResponseSchema };
2648
2648
  }
2649
2649
 
2650
2650
  /** Feedback API endpoints. */
@@ -2654,7 +2654,7 @@ declare const feedbackEndpoints: {
2654
2654
  type: "ui" | "performance" | "bug" | "feature" | "other";
2655
2655
  content: string;
2656
2656
  context: Record<string, unknown>;
2657
- source?: "tenas" | "openloaf-saas" | undefined;
2657
+ source?: "tenas" | "openloaf" | "openloaf-saas" | undefined;
2658
2658
  email?: string | undefined;
2659
2659
  }, void | {
2660
2660
  message: string;
@@ -2664,7 +2664,7 @@ declare const feedbackEndpoints: {
2664
2664
  page?: number | undefined;
2665
2665
  pageSize?: number | undefined;
2666
2666
  type?: "ui" | "performance" | "bug" | "feature" | "other" | undefined;
2667
- source?: "tenas" | "openloaf-saas" | undefined;
2667
+ source?: "tenas" | "openloaf" | "openloaf-saas" | undefined;
2668
2668
  saasStatus?: "unread" | "read" | "resolved" | "ignored" | undefined;
2669
2669
  keyword?: string | undefined;
2670
2670
  startAt?: string | undefined;
@@ -2674,7 +2674,7 @@ declare const feedbackEndpoints: {
2674
2674
  } | {
2675
2675
  items: {
2676
2676
  id: string;
2677
- source: "tenas" | "openloaf-saas";
2677
+ source: "tenas" | "openloaf" | "openloaf-saas";
2678
2678
  type: "ui" | "performance" | "bug" | "feature" | "other";
2679
2679
  saasStatus: "unread" | "read" | "resolved" | "ignored";
2680
2680
  content: string;
@@ -2694,7 +2694,7 @@ declare const feedbackEndpoints: {
2694
2694
  } | {
2695
2695
  feedback: {
2696
2696
  id: string;
2697
- source: "tenas" | "openloaf-saas";
2697
+ source: "tenas" | "openloaf" | "openloaf-saas";
2698
2698
  type: "ui" | "performance" | "bug" | "feature" | "other";
2699
2699
  saasStatus: "unread" | "read" | "resolved" | "ignored";
2700
2700
  content: string;
@@ -2710,6 +2710,7 @@ declare const feedbackEndpoints: {
2710
2710
  /** Feedback source schema. */
2711
2711
  declare const feedbackSourceSchema: z.ZodEnum<{
2712
2712
  tenas: "tenas";
2713
+ openloaf: "openloaf";
2713
2714
  "openloaf-saas": "openloaf-saas";
2714
2715
  }>;
2715
2716
  /** Feedback category schema. */
@@ -2731,6 +2732,7 @@ declare const feedbackSaasStatusSchema: z.ZodEnum<{
2731
2732
  declare const feedbackSubmitRequestSchema: z.ZodObject<{
2732
2733
  source: z.ZodOptional<z.ZodEnum<{
2733
2734
  tenas: "tenas";
2735
+ openloaf: "openloaf";
2734
2736
  "openloaf-saas": "openloaf-saas";
2735
2737
  }>>;
2736
2738
  type: z.ZodEnum<{
@@ -2765,6 +2767,7 @@ declare const feedbackListRequestSchema: z.ZodObject<{
2765
2767
  }>>;
2766
2768
  source: z.ZodOptional<z.ZodEnum<{
2767
2769
  tenas: "tenas";
2770
+ openloaf: "openloaf";
2768
2771
  "openloaf-saas": "openloaf-saas";
2769
2772
  }>>;
2770
2773
  saasStatus: z.ZodOptional<z.ZodEnum<{
@@ -2782,6 +2785,7 @@ declare const feedbackItemSchema: z.ZodObject<{
2782
2785
  id: z.ZodString;
2783
2786
  source: z.ZodEnum<{
2784
2787
  tenas: "tenas";
2788
+ openloaf: "openloaf";
2785
2789
  "openloaf-saas": "openloaf-saas";
2786
2790
  }>;
2787
2791
  type: z.ZodEnum<{
@@ -2810,6 +2814,7 @@ declare const feedbackListPayloadSchema: z.ZodObject<{
2810
2814
  id: z.ZodString;
2811
2815
  source: z.ZodEnum<{
2812
2816
  tenas: "tenas";
2817
+ openloaf: "openloaf";
2813
2818
  "openloaf-saas": "openloaf-saas";
2814
2819
  }>;
2815
2820
  type: z.ZodEnum<{
@@ -2842,6 +2847,7 @@ declare const feedbackListResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
2842
2847
  id: z.ZodString;
2843
2848
  source: z.ZodEnum<{
2844
2849
  tenas: "tenas";
2850
+ openloaf: "openloaf";
2845
2851
  "openloaf-saas": "openloaf-saas";
2846
2852
  }>;
2847
2853
  type: z.ZodEnum<{
@@ -2878,6 +2884,7 @@ declare const feedbackDetailPayloadSchema: z.ZodObject<{
2878
2884
  id: z.ZodString;
2879
2885
  source: z.ZodEnum<{
2880
2886
  tenas: "tenas";
2887
+ openloaf: "openloaf";
2881
2888
  "openloaf-saas": "openloaf-saas";
2882
2889
  }>;
2883
2890
  type: z.ZodEnum<{
@@ -2907,6 +2914,7 @@ declare const feedbackDetailResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
2907
2914
  id: z.ZodString;
2908
2915
  source: z.ZodEnum<{
2909
2916
  tenas: "tenas";
2917
+ openloaf: "openloaf";
2910
2918
  "openloaf-saas": "openloaf-saas";
2911
2919
  }>;
2912
2920
  type: z.ZodEnum<{
@@ -3165,4 +3173,4 @@ declare function createTrpcClient(options: TrpcClientOptions): _trpc_client.TRPC
3165
3173
  transformer: false;
3166
3174
  }, _trpc_server.TRPCDecorateCreateRouterOptions<_trpc_server.TRPCCreateRouterOptions>>>;
3167
3175
 
3168
- export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatModel, type AiChatModelsResponse, AiClient, 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, 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$4 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, index$2 as authModule, authRefreshErrorSchema, authRefreshRequestSchema, authRefreshResponseSchema, authRefreshSuccessSchema, authRefreshUserSchema, auxiliaryEndpoints, auxiliaryInferRequestSchema, auxiliaryInferResponseSchema, index$3 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, request, userEndpoints, userMembershipLevelSchema, index as userModule, userSelfRequestSchema, userSelfResponseSchema, userSelfSchema };
3176
+ export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatModel, type AiChatModelsResponse, AiClient, 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, 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$4 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, 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, request, userEndpoints, userMembershipLevelSchema, index as userModule, userSelfRequestSchema, userSelfResponseSchema, userSelfSchema };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var _0x50f445=_0x4deb;(function(_0x3404fc,_0x10ee66){var _0x1091a8=_0x4deb,_0x5b23a9=_0x3404fc();while(!![]){try{var _0x4a827d=-parseInt(_0x1091a8(0x147))/(-0x6d3*-0x5+0x30c+0x2*-0x1295)*(parseInt(_0x1091a8(0x142))/(-0x1*-0x12cd+-0xd*-0x18e+-0x7cd*0x5))+parseInt(_0x1091a8(0x28d))/(0x2e3*0xa+0x17d3+-0x34ae)*(-parseInt(_0x1091a8(0x291))/(0x12e2*0x2+0x2*-0xdab+0x3e*-0x2b))+-parseInt(_0x1091a8(0x121))/(0xceb+-0x7*-0x23b+0x32b*-0x9)*(parseInt(_0x1091a8(0xe8))/(-0xb12+0x616+0x502))+parseInt(_0x1091a8(0xea))/(0x6*-0xb2+-0x128b*-0x1+-0xe58)*(parseInt(_0x1091a8(0x18e))/(-0x9b9+-0x2182*-0x1+-0x17c1))+parseInt(_0x1091a8(0x24c))/(-0x102f+0x190*-0x2+0x1358)*(parseInt(_0x1091a8(0x213))/(0x1*-0x733+-0x1*0x222a+0x1*0x2967))+parseInt(_0x1091a8(0x11b))/(-0x182b+-0x239f*-0x1+-0xb69*0x1)+parseInt(_0x1091a8(0x188))/(-0x2d*0xd3+0x3*-0x347+0x5df*0x8);if(_0x4a827d===_0x10ee66)break;else _0x5b23a9['push'](_0x5b23a9['shift']());}catch(_0x3deb56){_0x5b23a9['push'](_0x5b23a9['shift']());}}}(_0x9d1c,0x63d3b+0xb1*0xb4b+-0x7cb13));import{z}from'zod';import{createTRPCClient,httpBatchLink}from'@trpc/client';var __defProp=Object[_0x50f445(0x1f6)+'eProp'+_0x50f445(0x21b)],__export=(_0x1a9a1c,_0x5b268a)=>{for(var _0x26cd51 in _0x5b268a)__defProp(_0x1a9a1c,_0x26cd51,{'get':_0x5b268a[_0x26cd51],'enumerable':!![]});},ai_exports={},_0x2fe1f7={};_0x2fe1f7[_0x50f445(0x256)+_0x50f445(0x21a)+'APABI'+_0x50f445(0x1a4)+_0x50f445(0x246)+'_KEYS']=()=>AI_MODEL_CAPABILITY_INPUT_KEYS,_0x2fe1f7[_0x50f445(0x256)+'DEL_C'+_0x50f445(0x237)+_0x50f445(0x1a4)+'OUTPU'+_0x50f445(0x1e0)+'S']=()=>AI_MODEL_CAPABILITY_OUTPUT_KEYS,_0x2fe1f7[_0x50f445(0x256)+_0x50f445(0x10a)+_0x50f445(0x235)]=()=>AI_MODEL_TAGS,_0x2fe1f7[_0x50f445(0x256)+_0x50f445(0x10a)+_0x50f445(0x1e6)+_0x50f445(0x1c3)]=()=>AI_MODEL_TAG_LABELS,_0x2fe1f7[_0x50f445(0xf0)+_0x50f445(0xf3)]=()=>AiClient,_0x2fe1f7[_0x50f445(0x270)+_0x50f445(0x107)+_0x50f445(0x16a)+'ma']=()=>aiChatModelSchema,_0x2fe1f7[_0x50f445(0x270)+_0x50f445(0x107)+_0x50f445(0x1ad)+_0x50f445(0x169)+_0x50f445(0x101)]=()=>aiChatModelsPayloadSchema,_0x2fe1f7[_0x50f445(0x270)+_0x50f445(0x107)+_0x50f445(0x1de)+_0x50f445(0x20e)+_0x50f445(0x137)+'a']=()=>aiChatModelsResponseSchema,_0x2fe1f7[_0x50f445(0x270)+_0x50f445(0x107)+_0x50f445(0x170)+_0x50f445(0x183)+_0x50f445(0x101)]=()=>aiChatModelsSuccessSchema,_0x2fe1f7[_0x50f445(0x1a8)+_0x50f445(0x293)+'s']=()=>aiEndpoints,_0x2fe1f7['aiErr'+_0x50f445(0x1b7)+'ponse'+_0x50f445(0x137)+'a']=()=>aiErrorResponseSchema,_0x2fe1f7[_0x50f445(0x1d3)+_0x50f445(0x13f)+_0x50f445(0xfa)+_0x50f445(0x1ac)]=()=>aiImageInputsSchema,_0x2fe1f7[_0x50f445(0x1d3)+'geOut'+_0x50f445(0x182)+_0x50f445(0x1ac)]=()=>aiImageOutputSchema,_0x2fe1f7[_0x50f445(0x1d3)+_0x50f445(0xed)+_0x50f445(0x1cf)+'chema']=()=>aiImageRequestSchema,_0x2fe1f7[_0x50f445(0x116)+'iaInp'+_0x50f445(0x29d)+_0x50f445(0x119)]=()=>aiMediaInputSchema,_0x2fe1f7[_0x50f445(0xd3)+_0x50f445(0xd4)+_0x50f445(0x106)+_0x50f445(0x1f9)+_0x50f445(0x163)+'chema']=()=>aiModelCapabilitiesInputSchema,_0x2fe1f7['aiMod'+'elCap'+'abili'+_0x50f445(0x199)+'utput'+_0x50f445(0x137)+'a']=()=>aiModelCapabilitiesOutputSchema,_0x2fe1f7[_0x50f445(0xd3)+_0x50f445(0xd4)+_0x50f445(0x106)+_0x50f445(0xff)+_0x50f445(0x101)]=()=>aiModelCapabilitiesSchema,_0x2fe1f7[_0x50f445(0xd3)+_0x50f445(0xd4)+'abili'+_0x50f445(0xd5)+_0x50f445(0x202)+_0x50f445(0x1ac)]=()=>aiModelCapabilityCommonSchema,_0x2fe1f7[_0x50f445(0xd3)+_0x50f445(0x24e)+_0x50f445(0x19e)+'rFiel'+'dSche'+'ma']=()=>aiModelParameterFieldSchema,_0x2fe1f7['aiMod'+_0x50f445(0x24e)+_0x50f445(0x28f)+'hema']=()=>aiModelParamsSchema,_0x2fe1f7[_0x50f445(0xd3)+_0x50f445(0x25b)+_0x50f445(0x119)]=()=>aiModelSchema,_0x2fe1f7[_0x50f445(0xd3)+_0x50f445(0x10e)+_0x50f445(0x230)+_0x50f445(0x137)+'a']=()=>aiModelsPayloadSchema,_0x2fe1f7[_0x50f445(0xd3)+_0x50f445(0x29e)+_0x50f445(0xe2)+_0x50f445(0x137)+'a']=()=>aiModelsRequestSchema,_0x2fe1f7['aiMod'+_0x50f445(0x29e)+_0x50f445(0x280)+_0x50f445(0x28b)+'ma']=()=>aiModelsResponseSchema,_0x2fe1f7['aiMod'+_0x50f445(0x128)+_0x50f445(0x27c)+'Schem'+'a']=()=>aiModelsSuccessSchema,_0x2fe1f7[_0x50f445(0xd3)+_0x50f445(0x114)+_0x50f445(0x23d)+'AtDat'+_0x50f445(0x104)+'ma']=()=>aiModelsUpdatedAtDataSchema,_0x2fe1f7[_0x50f445(0xd3)+_0x50f445(0x114)+_0x50f445(0x23d)+'AtRes'+_0x50f445(0x20e)+_0x50f445(0x137)+'a']=()=>aiModelsUpdatedAtResponseSchema,_0x2fe1f7[_0x50f445(0xd3)+'elsUp'+_0x50f445(0x23d)+_0x50f445(0x217)+_0x50f445(0x183)+_0x50f445(0x101)]=()=>aiModelsUpdatedAtSuccessSchema,_0x2fe1f7[_0x50f445(0x1a3)+_0x50f445(0x208)+'Templ'+'ateMo'+'delSc'+_0x50f445(0x1ac)]=()=>aiProviderTemplateModelSchema,_0x2fe1f7[_0x50f445(0x1a3)+_0x50f445(0x208)+_0x50f445(0x135)+'ateSc'+'hema']=()=>aiProviderTemplateSchema,_0x2fe1f7[_0x50f445(0x1a3)+_0x50f445(0x208)+_0x50f445(0x135)+_0x50f445(0x1e1)+_0x50f445(0x165)+_0x50f445(0x266)+'ma']=()=>aiProviderTemplatesPayloadSchema,_0x2fe1f7[_0x50f445(0x1a3)+_0x50f445(0x208)+_0x50f445(0x135)+_0x50f445(0x1be)+_0x50f445(0x15e)+_0x50f445(0x126)+'ma']=()=>aiProviderTemplatesRequestSchema,_0x2fe1f7[_0x50f445(0x1a3)+_0x50f445(0x208)+_0x50f445(0x135)+_0x50f445(0x1be)+_0x50f445(0x238)+_0x50f445(0x2a3)+'ema']=()=>aiProviderTemplatesResponseSchema,_0x2fe1f7[_0x50f445(0x1a3)+_0x50f445(0x208)+_0x50f445(0x135)+_0x50f445(0x1d6)+_0x50f445(0x205)+'sSche'+'ma']=()=>aiProviderTemplatesSuccessSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x14d)+_0x50f445(0x13a)+_0x50f445(0x104)+'ma']=()=>aiTaskCancelDataSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x14d)+'elReq'+_0x50f445(0x1cf)+_0x50f445(0x101)]=()=>aiTaskCancelRequestSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x14d)+_0x50f445(0x278)+'ponse'+'Schem'+'a']=()=>aiTaskCancelResponseSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x14d)+_0x50f445(0x1d1)+_0x50f445(0x183)+_0x50f445(0x101)]=()=>aiTaskCancelSuccessSchema,_0x2fe1f7['aiTas'+_0x50f445(0x16f)+_0x50f445(0x186)+_0x50f445(0x155)+_0x50f445(0x119)]=()=>aiTaskCreatedDataSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x16f)+_0x50f445(0x1bf)+_0x50f445(0x280)+_0x50f445(0x28b)+'ma']=()=>aiTaskCreatedResponseSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x16f)+_0x50f445(0x24f)+'ccess'+'Schem'+'a']=()=>aiTaskCreatedSuccessSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x1ab)+_0x50f445(0x137)+'a']=()=>aiTaskDataSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x219)+'rSche'+'ma']=()=>aiTaskErrorSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x1ae)+_0x50f445(0x15a)+_0x50f445(0x1ac)]=()=>aiTaskRequestSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x29a)+'onseS'+_0x50f445(0x101)]=()=>aiTaskResponseSchema,_0x2fe1f7[_0x50f445(0x2a0)+'kResu'+'ltTyp'+_0x50f445(0x28b)+'ma']=()=>aiTaskResultTypeSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x11c)+_0x50f445(0x24b)+_0x50f445(0x119)]=()=>aiTaskStatusSchema,_0x2fe1f7[_0x50f445(0x2a0)+_0x50f445(0x12c)+'essSc'+_0x50f445(0x1ac)]=()=>aiTaskSuccessSchema,_0x2fe1f7[_0x50f445(0x22f)+_0x50f445(0xdb)+_0x50f445(0xfa)+_0x50f445(0x1ac)]=()=>aiVideoInputsSchema,_0x2fe1f7[_0x50f445(0x22f)+_0x50f445(0x236)+_0x50f445(0x182)+_0x50f445(0x1ac)]=()=>aiVideoOutputSchema,_0x2fe1f7[_0x50f445(0x22f)+'eoReq'+_0x50f445(0x1cf)+'chema']=()=>aiVideoRequestSchema,__export(ai_exports,_0x2fe1f7);var AiClient=class{[_0x50f445(0x1e2)];constructor(_0xe45ed1){var _0x59cc92=_0x50f445;this[_0x59cc92(0x1e2)]=_0xe45ed1;}async[_0x50f445(0x1a5)](_0x1a824f){var _0x366c19=_0x50f445;const _0x412705=await this[_0x366c19(0x1e2)][_0x366c19(0x156)+_0x366c19(0x1c6)+_0x366c19(0x1fc)]();return this[_0x366c19(0x1e2)][_0x366c19(0x19c)+'st'](this['sdk'][_0x366c19(0x29f)+_0x366c19(0x299)]['ai'][_0x366c19(0x1a5)],{'baseUrl':this[_0x366c19(0x1e2)][_0x366c19(0x209)+_0x366c19(0x201)](),'headers':_0x412705,'body':_0x1a824f});}async[_0x50f445(0x159)](_0x53db42){var _0x361d70=_0x50f445;const _0x2d9595=await this[_0x361d70(0x1e2)][_0x361d70(0x156)+_0x361d70(0x1c6)+_0x361d70(0x1fc)]();return this[_0x361d70(0x1e2)][_0x361d70(0x19c)+'st'](this[_0x361d70(0x1e2)][_0x361d70(0x29f)+_0x361d70(0x299)]['ai'][_0x361d70(0x159)],{'baseUrl':this[_0x361d70(0x1e2)][_0x361d70(0x209)+_0x361d70(0x201)](),'headers':_0x2d9595,'body':_0x53db42});}async[_0x50f445(0xd1)](_0x50c105){var _0x110e12=_0x50f445;const _0x49476b=await this[_0x110e12(0x1e2)]['build'+_0x110e12(0x1c6)+'eader']();return this[_0x110e12(0x1e2)][_0x110e12(0x19c)+'st'](this[_0x110e12(0x1e2)][_0x110e12(0x29f)+_0x110e12(0x299)]['ai'][_0x110e12(0xd1)](_0x50c105),{'baseUrl':this[_0x110e12(0x1e2)][_0x110e12(0x209)+_0x110e12(0x201)](),'headers':_0x49476b,'body':void(0x11*0x89+-0x1835+-0x78e*-0x2)});}async['cance'+'lTask'](_0x100895){var _0x5a6e9f=_0x50f445;const _0xd99877=await this['sdk'][_0x5a6e9f(0x156)+_0x5a6e9f(0x1c6)+_0x5a6e9f(0x1fc)]();return this[_0x5a6e9f(0x1e2)][_0x5a6e9f(0x19c)+'st'](this[_0x5a6e9f(0x1e2)]['contr'+_0x5a6e9f(0x299)]['ai'][_0x5a6e9f(0x1b0)+_0x5a6e9f(0x168)](_0x100895),{'baseUrl':this[_0x5a6e9f(0x1e2)][_0x5a6e9f(0x209)+_0x5a6e9f(0x201)](),'headers':_0xd99877,'body':void(0x3d*-0x35+0x58d+0x714)});}async[_0x50f445(0x1a5)+'Model'+'s'](){var _0x5b1d01=_0x50f445;const _0x184376=await this[_0x5b1d01(0x1e2)][_0x5b1d01(0x156)+'AuthH'+_0x5b1d01(0x1fc)]();return this[_0x5b1d01(0x1e2)]['reque'+'st'](this[_0x5b1d01(0x1e2)]['contr'+_0x5b1d01(0x299)]['ai'][_0x5b1d01(0x1a5)+_0x5b1d01(0x284)+'s'],{'baseUrl':this[_0x5b1d01(0x1e2)][_0x5b1d01(0x209)+'seUrl'](),'headers':_0x184376,'body':void(-0x2*-0xc41+0xf3a+-0x27bc)});}async[_0x50f445(0x159)+_0x50f445(0x284)+'s'](){var _0x3123c7=_0x50f445;const _0x44a708=await this[_0x3123c7(0x1e2)][_0x3123c7(0x156)+_0x3123c7(0x1c6)+_0x3123c7(0x1fc)]();return this[_0x3123c7(0x1e2)][_0x3123c7(0x19c)+'st'](this[_0x3123c7(0x1e2)][_0x3123c7(0x29f)+'act']['ai'][_0x3123c7(0x159)+_0x3123c7(0x284)+'s'],{'baseUrl':this[_0x3123c7(0x1e2)][_0x3123c7(0x209)+_0x3123c7(0x201)](),'headers':_0x44a708,'body':void(-0x2e*0x3b+0x2*-0x724+-0xd*-0x1ea)});}async[_0x50f445(0x1d8)+_0x50f445(0x173)](){var _0x147b2e=_0x50f445;const _0x346787=await this[_0x147b2e(0x1e2)]['build'+_0x147b2e(0x1c6)+_0x147b2e(0x1fc)]();return this[_0x147b2e(0x1e2)][_0x147b2e(0x19c)+'st'](this[_0x147b2e(0x1e2)][_0x147b2e(0x29f)+_0x147b2e(0x299)]['ai'][_0x147b2e(0x1d8)+_0x147b2e(0x173)],{'baseUrl':this[_0x147b2e(0x1e2)]['getBa'+'seUrl'](),'headers':_0x346787,'body':void(0x1f85+0x1e58+-0x3ddd)});}async[_0x50f445(0x172)+_0x50f445(0x254)+_0x50f445(0x1df)](){var _0x48fa55=_0x50f445;return this[_0x48fa55(0x1e2)][_0x48fa55(0x19c)+'st'](this['sdk'][_0x48fa55(0x29f)+'act']['ai'][_0x48fa55(0x172)+'sUpda'+_0x48fa55(0x1df)],{'baseUrl':this['sdk']['getBa'+_0x48fa55(0x201)](),'headers':{},'body':void(0x5ed+-0x80a+0x21d)});}async[_0x50f445(0x162)+_0x50f445(0x152)+_0x50f445(0x228)+'es'](){var _0x28e25f=_0x50f445;return this[_0x28e25f(0x1e2)][_0x28e25f(0x19c)+'st'](this[_0x28e25f(0x1e2)]['contr'+'act']['ai'][_0x28e25f(0x162)+_0x28e25f(0x152)+_0x28e25f(0x228)+'es'],{'baseUrl':this[_0x28e25f(0x1e2)][_0x28e25f(0x209)+_0x28e25f(0x201)](),'headers':{},'body':void(-0x54*0x6+-0xe7d+0x1075)});}},AI_MODEL_TAGS=['image'+'_gene'+_0x50f445(0x148)+'n','image'+_0x50f445(0x1c7)+_0x50f445(0x223)+'ut',_0x50f445(0x1a5)+'_inpu'+'t','image'+_0x50f445(0x1c7)+_0x50f445(0xf7)+_0x50f445(0x115)+'on',_0x50f445(0x1a5)+_0x50f445(0x1c5),_0x50f445(0x159)+_0x50f445(0x157)+_0x50f445(0x148)+'n','chat',_0x50f445(0x1e3)+_0x50f445(0x139),_0x50f445(0x1a2)+_0x50f445(0x25d),_0x50f445(0x1a5)+'_anal'+_0x50f445(0x22a),_0x50f445(0x159)+'_anal'+_0x50f445(0x22a),_0x50f445(0x220)+_0x50f445(0x1d0)+_0x50f445(0x22a),_0x50f445(0x1fe)],_0x2665b8={};_0x2665b8['image'+_0x50f445(0x157)+_0x50f445(0x148)+'n']=_0x50f445(0xd0),_0x2665b8[_0x50f445(0x1a5)+_0x50f445(0x1c7)+_0x50f445(0x223)+'ut']=_0x50f445(0x178),_0x2665b8[_0x50f445(0x1a5)+_0x50f445(0x15b)+'t']=_0x50f445(0x124),_0x2665b8[_0x50f445(0x1a5)+_0x50f445(0x1c7)+'i_gen'+'erati'+'on']='多图生成',_0x2665b8['image'+_0x50f445(0x1c5)]=_0x50f445(0xf4),_0x2665b8[_0x50f445(0x159)+_0x50f445(0x157)+'ratio'+'n']=_0x50f445(0x1e9),_0x2665b8[_0x50f445(0x231)]='对话',_0x2665b8[_0x50f445(0x1e3)+_0x50f445(0x139)]='推理',_0x2665b8[_0x50f445(0x1a2)+_0x50f445(0x25d)]=_0x50f445(0x1a7),_0x2665b8[_0x50f445(0x1a5)+_0x50f445(0x1d0)+_0x50f445(0x22a)]=_0x50f445(0x100),_0x2665b8[_0x50f445(0x159)+_0x50f445(0x1d0)+_0x50f445(0x22a)]=_0x50f445(0x282),_0x2665b8['audio'+_0x50f445(0x1d0)+'ysis']='音频理解',_0x2665b8[_0x50f445(0x1fe)]='代码';var AI_MODEL_TAG_LABELS=_0x2665b8,AI_MODEL_CAPABILITY_INPUT_KEYS=[_0x50f445(0x25e)+_0x50f445(0x22e),_0x50f445(0xfd)+_0x50f445(0x2a2)+'sk',_0x50f445(0xfd)+'rtsRe'+'feren'+_0x50f445(0x23a)+'eo',_0x50f445(0xfd)+'rtsSt'+_0x50f445(0x179)+'d'],AI_MODEL_CAPABILITY_OUTPUT_KEYS=[_0x50f445(0xfd)+_0x50f445(0x1b1)+'lti',_0x50f445(0xfd)+'rtsAu'+_0x50f445(0x120)],Endpoint=class{[_0x50f445(0x26d)+'d'];['path'];[_0x50f445(0x249)+_0x50f445(0x248)+'pe'];['reque'+'st'];[_0x50f445(0x249)+_0x50f445(0xd2)];constructor(_0x566c99){var _0xadaa26=_0x50f445;this[_0xadaa26(0x26d)+'d']=_0x566c99[_0xadaa26(0x26d)+'d'],this[_0xadaa26(0x1ce)]=_0x566c99['path'],this[_0xadaa26(0x19c)+'st']=_0x566c99[_0xadaa26(0x19c)+_0xadaa26(0x167)+_0xadaa26(0x119)],this[_0xadaa26(0x249)+_0xadaa26(0xd2)]=_0x566c99[_0xadaa26(0x249)+_0xadaa26(0x17a)+_0xadaa26(0x1ac)],this['respo'+_0xadaa26(0x248)+'pe']=_0x566c99[_0xadaa26(0x249)+_0xadaa26(0x248)+'pe']??_0xadaa26(0x130);}[_0x50f445(0x185)+_0x50f445(0x1c8)+'st'](_0x2ea9df){var _0x3b2478=_0x50f445;return this[_0x3b2478(0x19c)+'st']['parse'](_0x2ea9df);}['parse'+_0x50f445(0x21c)+'nse'](_0x28cd89){var _0x39323f=_0x50f445;return this[_0x39323f(0x249)+_0x39323f(0xd2)][_0x39323f(0x185)](_0x28cd89);}[_0x50f445(0x10c)+_0x50f445(0x28c)+_0x50f445(0x15e)+'t'](_0x4940af){var _0x5aa3ca=_0x50f445;return this['reque'+'st'][_0x5aa3ca(0x10c)+_0x5aa3ca(0x295)](_0x4940af);}[_0x50f445(0x10c)+_0x50f445(0x28c)+_0x50f445(0x238)+'se'](_0x509fd9){var _0x35052e=_0x50f445;return this[_0x35052e(0x249)+_0x35052e(0xd2)][_0x35052e(0x10c)+'arse'](_0x509fd9);}},aiVoidRequestSchema=z[_0x50f445(0x17e)](),_0x600ceb={};_0x600ceb[_0x50f445(0x206)+'ge']=_0x50f445(0x1b8)+_0x50f445(0x16d)+_0x50f445(0x252)+'ase64'+_0x50f445(0x297)+_0x50f445(0x11a)+'ed';var aiMediaInputSchema=z[_0x50f445(0x1a1)+'t']({'url':z[_0x50f445(0xec)+'g']()[_0x50f445(0x1f1)]()[_0x50f445(0x14c)+'ibe'](_0x50f445(0x15f)+'L')[_0x50f445(0x10f)+'nal'](),'base64':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x294)+_0x50f445(0x11e)+'数据')[_0x50f445(0x10f)+'nal'](),'mediaType':z[_0x50f445(0xec)+'g']()['descr'+'ibe'](_0x50f445(0x204))[_0x50f445(0x10f)+'nal']()})['refin'+'e'](_0x30192a=>Boolean(_0x30192a[_0x50f445(0x1f1)]||_0x30192a[_0x50f445(0x1cc)+'4']),_0x600ceb),aiImageInputsSchema=z[_0x50f445(0x1a1)+'t']({'images':z[_0x50f445(0x1e8)](aiMediaInputSchema)[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x111)+'表')[_0x50f445(0x10f)+_0x50f445(0x23b)](),'mask':aiMediaInputSchema['descr'+_0x50f445(0x27a)](_0x50f445(0x11f))['optio'+_0x50f445(0x23b)]()}),aiVideoInputsSchema=z[_0x50f445(0x1a1)+'t']({'images':z[_0x50f445(0x1e8)](aiMediaInputSchema)['descr'+'ibe']('输入图片列'+'表')[_0x50f445(0x10f)+'nal'](),'startImage':aiMediaInputSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x16e))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'endImage':aiMediaInputSchema[_0x50f445(0x14c)+'ibe'](_0x50f445(0x1aa))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'referenceVideo':aiMediaInputSchema['descr'+_0x50f445(0x27a)](_0x50f445(0xeb))[_0x50f445(0x10f)+'nal']()}),aiImageAspectRatioSchema=z[_0x50f445(0x19d)](['1:1',_0x50f445(0x241),'9:16','4:3'])[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1f2)),aiImageQualitySchema=z[_0x50f445(0x19d)](['stand'+_0x50f445(0x12f),'hd'])[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x27d)),aiImageOutputSchema=z[_0x50f445(0x1a1)+'t']({'count':z['numbe'+'r']()[_0x50f445(0x198)]()[_0x50f445(0x244)](-0x1739+0x16f*0x17+-0x9bf)[_0x50f445(0x12e)](0x25e9+0x14e9+-0x3acd)[_0x50f445(0x14c)+'ibe'](_0x50f445(0x1c4)+'量')[_0x50f445(0x10f)+_0x50f445(0x23b)](),'aspectRatio':aiImageAspectRatioSchema[_0x50f445(0x14c)+'ibe'](_0x50f445(0x229)+'高比')[_0x50f445(0x10f)+_0x50f445(0x23b)](),'quality':aiImageQualitySchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x233)+'量')[_0x50f445(0x10f)+'nal']()}),aiVideoOutputSchema=z['objec'+'t']({'aspectRatio':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+'ibe'](_0x50f445(0x25c)+'高比')[_0x50f445(0x10f)+'nal'](),'duration':z[_0x50f445(0x196)+'r']()[_0x50f445(0x1f8)+_0x50f445(0x180)]()[_0x50f445(0x14c)+_0x50f445(0x27a)]('生成视频时'+_0x50f445(0x290))['optio'+_0x50f445(0x23b)](),'clarity':z['strin'+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x222))[_0x50f445(0x10f)+'nal'](),'withAudio':z['boole'+'an']()[_0x50f445(0x14c)+'ibe'](_0x50f445(0x18f)+'频')[_0x50f445(0x10f)+_0x50f445(0x23b)]()}),aiImageRequestSchema=z[_0x50f445(0x1a1)+'t']({'modelId':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x161)),'prompt':z[_0x50f445(0xec)+'g']()['descr'+'ibe']('提示词'),'negativePrompt':z['strin'+'g']()[_0x50f445(0x14c)+'ibe']('反向提示词')[_0x50f445(0x10f)+_0x50f445(0x23b)](),'style':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)]('风格')['optio'+_0x50f445(0x23b)](),'inputs':aiImageInputsSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0xde))['optio'+_0x50f445(0x23b)](),'output':aiImageOutputSchema[_0x50f445(0x14c)+'ibe'](_0x50f445(0x1ed))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'parameters':z[_0x50f445(0x103)+'d'](z[_0x50f445(0xec)+'g'](),z['unkno'+'wn']())[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x153))[_0x50f445(0x10f)+'nal']()}),aiVideoRequestSchema=z['objec'+'t']({'modelId':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x161)),'prompt':z['strin'+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x18c)),'negativePrompt':z['strin'+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x22d))[_0x50f445(0x10f)+'nal'](),'style':z[_0x50f445(0xec)+'g']()['descr'+_0x50f445(0x27a)]('风格')[_0x50f445(0x10f)+_0x50f445(0x23b)](),'inputs':aiVideoInputsSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0xde))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'output':aiVideoOutputSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1ed))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'parameters':z['recor'+'d'](z[_0x50f445(0xec)+'g'](),z[_0x50f445(0x275)+'wn']())[_0x50f445(0x14c)+'ibe'](_0x50f445(0x153))[_0x50f445(0x10f)+_0x50f445(0x23b)]()}),aiTaskCreatedDataSchema=z[_0x50f445(0x1a1)+'t']({'taskId':z['strin'+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x118))}),aiErrorResponseSchema=z['objec'+'t']({'success':z[_0x50f445(0x227)+'al'](![])['descr'+_0x50f445(0x27a)]('是否成功'),'code':z['strin'+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)]('错误码')[_0x50f445(0x10f)+_0x50f445(0x23b)](),'message':z[_0x50f445(0xec)+'g']()['descr'+_0x50f445(0x27a)](_0x50f445(0x164))}),aiTaskCreatedSuccessSchema=z[_0x50f445(0x1a1)+'t']({'success':z[_0x50f445(0x227)+'al'](!![])[_0x50f445(0x14c)+'ibe'](_0x50f445(0x250)),'data':aiTaskCreatedDataSchema['descr'+_0x50f445(0x27a)](_0x50f445(0xf6))}),aiTaskCreatedResponseSchema=z['union']([aiTaskCreatedSuccessSchema,aiErrorResponseSchema]),aiTaskStatusSchema=z[_0x50f445(0x19d)]([_0x50f445(0x140)+'d',_0x50f445(0x23e)+'ng',_0x50f445(0x224)+'eded',_0x50f445(0x276)+'d',_0x50f445(0x1b0)+_0x50f445(0x22c)])[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x289)+'举'),aiTaskResultTypeSchema=z[_0x50f445(0x19d)]([_0x50f445(0x1a5),_0x50f445(0x159)])[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x26a)+'型'),aiTaskErrorSchema=z[_0x50f445(0x1a1)+'t']({'code':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x218))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'message':z[_0x50f445(0xec)+'g']()['descr'+_0x50f445(0x27a)](_0x50f445(0x164))}),aiTaskDataSchema=z[_0x50f445(0x1a1)+'t']({'status':aiTaskStatusSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1c9)),'progress':z['numbe'+'r']()[_0x50f445(0x244)](0x1*0xe7e+-0xbf5*0x1+-0x289)[_0x50f445(0x12e)](0x8ac+-0x158*0x9+0x3d0)[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1fa))[_0x50f445(0x10f)+'nal'](),'resultType':aiTaskResultTypeSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x296))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'resultUrls':z[_0x50f445(0x1e8)](z['strin'+'g']())[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x17d)+'表')[_0x50f445(0x10f)+'nal'](),'error':aiTaskErrorSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x164))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'creditsConsumed':z[_0x50f445(0x196)+'r']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x160))[_0x50f445(0x10f)+'nal']()}),aiTaskSuccessSchema=z['objec'+'t']({'success':z['liter'+'al'](!![])[_0x50f445(0x14c)+_0x50f445(0x27a)]('是否成功'),'data':aiTaskDataSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0xf6))}),aiTaskResponseSchema=z['union']([aiTaskSuccessSchema,aiErrorResponseSchema]),aiTaskCancelDataSchema=z[_0x50f445(0x1a1)+'t']({'status':z[_0x50f445(0x19d)]([_0x50f445(0x1b0)+_0x50f445(0x22c),_0x50f445(0x193)+_0x50f445(0xe1)])[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1af)+'态')}),aiTaskCancelSuccessSchema=z[_0x50f445(0x1a1)+'t']({'success':z[_0x50f445(0x227)+'al'](!![])[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x250)),'data':aiTaskCancelDataSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0xf6))}),aiTaskCancelResponseSchema=z['union']([aiTaskCancelSuccessSchema,aiErrorResponseSchema]),aiModelCapabilitiesInputSchema=z['objec'+'t']({'maxImages':z[_0x50f445(0x196)+'r']()[_0x50f445(0x198)]()[_0x50f445(0x14c)+'ibe'](_0x50f445(0x175)+_0x50f445(0xe0))['optio'+_0x50f445(0x23b)](),'supportsMask':z['boole'+'an']()['descr'+_0x50f445(0x27a)](_0x50f445(0x214)+'罩')[_0x50f445(0x10f)+'nal'](),'supportsReferenceVideo':z[_0x50f445(0x18b)+'an']()[_0x50f445(0x14c)+'ibe'](_0x50f445(0x13e)+'考视频')[_0x50f445(0x10f)+'nal'](),'supportsStartEnd':z[_0x50f445(0x18b)+'an']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x225)+'尾帧')[_0x50f445(0x10f)+'nal']()}),aiModelCapabilitiesOutputSchema=z[_0x50f445(0x1a1)+'t']({'supportsMulti':z['boole'+'an']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1d4)+'输出')[_0x50f445(0x10f)+_0x50f445(0x23b)](),'supportsAudio':z[_0x50f445(0x18b)+'an']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1dd)+_0x50f445(0x286))['optio'+_0x50f445(0x23b)]()}),aiModelCapabilityCommonSchema=z['objec'+'t']({'maxContextK':z['numbe'+'r']()[_0x50f445(0x198)]()[_0x50f445(0x1d2)+_0x50f445(0x279)+'e']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x22b)+_0x50f445(0x215))[_0x50f445(0x10f)+'nal'](),'supportsStructuredOutput':z[_0x50f445(0x18b)+'an']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x12a)+_0x50f445(0x110))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'supportsWebSearch':z[_0x50f445(0x18b)+'an']()['descr'+_0x50f445(0x27a)](_0x50f445(0x263)+_0x50f445(0x1f3))['optio'+_0x50f445(0x23b)]()}),aiModelParameterValueSchema=z[_0x50f445(0x136)]([z[_0x50f445(0xec)+'g'](),z[_0x50f445(0x196)+'r'](),z['boole'+'an']()]),aiModelParameterFieldSchema=z[_0x50f445(0x1a1)+'t']({'key':z[_0x50f445(0xec)+'g']()['descr'+_0x50f445(0x27a)](_0x50f445(0x265)+'y'),'title':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x259)),'description':z[_0x50f445(0xec)+'g']()['descr'+_0x50f445(0x27a)](_0x50f445(0x29c))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'type':z['enum']([_0x50f445(0x1cb)+'t',_0x50f445(0x196)+'r','boole'+'an',_0x50f445(0x1f0)])[_0x50f445(0x14c)+_0x50f445(0x27a)]('参数类型'),'unit':z['strin'+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)]('单位')['optio'+_0x50f445(0x23b)](),'values':z[_0x50f445(0x1e8)](aiModelParameterValueSchema)[_0x50f445(0x14c)+_0x50f445(0x27a)]('可选值')[_0x50f445(0x10f)+'nal'](),'min':z[_0x50f445(0x196)+'r']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0xf5))['optio'+_0x50f445(0x23b)](),'max':z[_0x50f445(0x196)+'r']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1f5))[_0x50f445(0x10f)+'nal'](),'step':z['numbe'+'r']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x12d))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'default':aiModelParameterValueSchema[_0x50f445(0x14c)+_0x50f445(0x27a)]('默认值')[_0x50f445(0x10f)+_0x50f445(0x23b)](),'request':z[_0x50f445(0x18b)+'an']()['descr'+_0x50f445(0x27a)](_0x50f445(0x1b3))}),aiModelParamsSchema=z[_0x50f445(0x1a1)+'t']({'features':z[_0x50f445(0x1e8)](z[_0x50f445(0xec)+'g']())[_0x50f445(0x14c)+_0x50f445(0x27a)]('参数特性')[_0x50f445(0x10f)+'nal'](),'fields':z['array'](aiModelParameterFieldSchema)[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x292))[_0x50f445(0x10f)+_0x50f445(0x23b)]()}),aiModelCapabilitiesSchema=z[_0x50f445(0x1a1)+'t']({'common':aiModelCapabilityCommonSchema[_0x50f445(0x14c)+_0x50f445(0x27a)]('通用能力')[_0x50f445(0x10f)+'nal'](),'params':aiModelParamsSchema[_0x50f445(0x14c)+_0x50f445(0x27a)]('参数定义')[_0x50f445(0x10f)+_0x50f445(0x23b)](),'input':aiModelCapabilitiesInputSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x17b))['optio'+_0x50f445(0x23b)](),'output':aiModelCapabilitiesOutputSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1ee))[_0x50f445(0x10f)+_0x50f445(0x23b)]()}),aiModelSchema=z[_0x50f445(0x1a1)+'t']({'id':z['strin'+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x161)),'name':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x27b))[_0x50f445(0x10f)+'nal'](),'familyId':z[_0x50f445(0xec)+'g']()['descr'+'ibe'](_0x50f445(0x184)+'ID')[_0x50f445(0x10f)+'nal'](),'providerId':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x176)+'D')[_0x50f445(0x10f)+'nal'](),'tags':z[_0x50f445(0x1e8)](z[_0x50f445(0xec)+'g']())[_0x50f445(0x14c)+'ibe'](_0x50f445(0x1c0))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'capabilities':aiModelCapabilitiesSchema['descr'+_0x50f445(0x27a)](_0x50f445(0x1ef))[_0x50f445(0x10f)+_0x50f445(0x23b)]()})['passt'+_0x50f445(0x26c)+'h'](),aiModelsPayloadSchema=z['objec'+'t']({'data':z['array'](aiModelSchema)[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x255)),'updatedAt':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x149))[_0x50f445(0x10f)+'nal']()}),aiModelsSuccessSchema=z[_0x50f445(0x1a1)+'t']({'success':z['liter'+'al'](!![])[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x250)),'data':aiModelsPayloadSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0xf6))}),aiModelsResponseSchema=z['union']([aiModelsSuccessSchema,aiErrorResponseSchema]),aiChatModelSchema=z[_0x50f445(0x1a1)+'t']({'id':z[_0x50f445(0xec)+'g']()['descr'+_0x50f445(0x27a)]('模型\x20ID'),'provider':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)]('供应商'),'displayName':z[_0x50f445(0xec)+'g']()['descr'+_0x50f445(0x27a)](_0x50f445(0x259)),'familyId':z['strin'+'g']()[_0x50f445(0x14c)+'ibe']('模型家族\x20'+'ID')[_0x50f445(0x10f)+_0x50f445(0x23b)](),'tags':z['array'](z[_0x50f445(0xec)+'g']())[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1c0)),'capabilities':aiModelCapabilitiesSchema['descr'+_0x50f445(0x27a)](_0x50f445(0x1ef))['optio'+_0x50f445(0x23b)]()}),aiChatModelsPayloadSchema=z[_0x50f445(0x1a1)+'t']({'data':z[_0x50f445(0x1e8)](aiChatModelSchema)[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x255)),'updatedAt':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)]('更新时间')['optio'+_0x50f445(0x23b)]()}),aiChatModelsSuccessSchema=z[_0x50f445(0x1a1)+'t']({'success':z[_0x50f445(0x227)+'al'](!![])[_0x50f445(0x14c)+_0x50f445(0x27a)]('是否成功'),'data':aiChatModelsPayloadSchema[_0x50f445(0x14c)+'ibe'](_0x50f445(0xf6))}),aiChatModelsResponseSchema=z[_0x50f445(0x136)]([aiChatModelsSuccessSchema,aiErrorResponseSchema]),aiModelsUpdatedAtDataSchema=z['objec'+'t']({'chatUpdatedAt':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x113)+_0x50f445(0x112)),'imageUpdatedAt':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1b9)+_0x50f445(0x112)),'videoUpdatedAt':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+'ibe'](_0x50f445(0x17f)+_0x50f445(0x112)),'latestUpdatedAt':z['strin'+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x17c)+'的最新更新'+'时间')}),aiModelsUpdatedAtSuccessSchema=z[_0x50f445(0x1a1)+'t']({'success':z[_0x50f445(0x227)+'al'](!![])[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x250)),'data':aiModelsUpdatedAtDataSchema['descr'+_0x50f445(0x27a)](_0x50f445(0xf6))}),aiModelsUpdatedAtResponseSchema=z[_0x50f445(0x136)]([aiModelsUpdatedAtSuccessSchema,aiErrorResponseSchema]),aiModelsRequestSchema=aiVoidRequestSchema,aiTaskRequestSchema=aiVoidRequestSchema,aiTaskCancelRequestSchema=aiVoidRequestSchema,aiProviderTemplateModelSchema=z['objec'+'t']({'id':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+'ibe'](_0x50f445(0x161)),'providerId':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x176)+'D'),'displayName':z[_0x50f445(0xec)+'g']()[_0x50f445(0x1e7)+'sh']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x259)),'description':z[_0x50f445(0xec)+'g']()[_0x50f445(0x1e7)+'sh']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x125)),'familyId':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)]('模型家族\x20'+'ID')['optio'+_0x50f445(0x23b)](),'tags':z[_0x50f445(0x1e8)](z['strin'+'g']())[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1c0)),'capabilities':aiModelCapabilitiesSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x1ef))[_0x50f445(0x10f)+'nal']()}),aiProviderTemplateSchema=z[_0x50f445(0x1a1)+'t']({'id':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+'ibe']('供应商\x20I'+'D'),'label':z[_0x50f445(0xec)+'g']()['descr'+_0x50f445(0x27a)]('供应商名称'),'adapter':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)]('AI\x20SD'+_0x50f445(0x1ca)+'标识'),'apiUrl':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+'ibe'](_0x50f445(0x14e)+'址')[_0x50f445(0x10f)+_0x50f445(0x23b)](),'authType':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x26e))[_0x50f445(0x10f)+_0x50f445(0x23b)](),'websiteUrl':z[_0x50f445(0xec)+'g']()[_0x50f445(0x1e7)+'sh']()[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0x122)),'docUrl':z[_0x50f445(0xec)+'g']()[_0x50f445(0x1e7)+'sh']()[_0x50f445(0x14c)+'ibe'](_0x50f445(0x24d)),'models':z[_0x50f445(0x1e8)](aiProviderTemplateModelSchema)['descr'+_0x50f445(0x27a)](_0x50f445(0x255))}),aiProviderTemplatesPayloadSchema=z['objec'+'t']({'providers':z[_0x50f445(0x1e8)](aiProviderTemplateSchema)['descr'+_0x50f445(0x27a)](_0x50f445(0x298)),'updatedAt':z[_0x50f445(0xec)+'g']()[_0x50f445(0x14c)+_0x50f445(0x27a)]('更新时间')[_0x50f445(0x10f)+_0x50f445(0x23b)]()}),aiProviderTemplatesSuccessSchema=z[_0x50f445(0x1a1)+'t']({'success':z[_0x50f445(0x227)+'al'](!![])[_0x50f445(0x14c)+'ibe']('是否成功'),'data':aiProviderTemplatesPayloadSchema[_0x50f445(0x14c)+_0x50f445(0x27a)](_0x50f445(0xf6))}),aiProviderTemplatesResponseSchema=z[_0x50f445(0x136)]([aiProviderTemplatesSuccessSchema,aiErrorResponseSchema]),aiProviderTemplatesRequestSchema=z[_0x50f445(0x17e)](),_0x4bcddd={};_0x4bcddd['metho'+'d']=_0x50f445(0x1e5),_0x4bcddd[_0x50f445(0x1ce)]=_0x50f445(0x1b5)+_0x50f445(0x269)+'age',_0x4bcddd['reque'+_0x50f445(0x167)+'ema']=aiImageRequestSchema,_0x4bcddd[_0x50f445(0x249)+_0x50f445(0x17a)+_0x50f445(0x1ac)]=aiTaskCreatedResponseSchema;var _0x4afdf9={};_0x4afdf9[_0x50f445(0x26d)+'d']=_0x50f445(0x1e5),_0x4afdf9[_0x50f445(0x1ce)]=_0x50f445(0x1b5)+_0x50f445(0x274)+_0x50f445(0x120),_0x4afdf9[_0x50f445(0x19c)+_0x50f445(0x167)+_0x50f445(0x119)]=aiVideoRequestSchema,_0x4afdf9[_0x50f445(0x249)+_0x50f445(0x17a)+_0x50f445(0x1ac)]=aiTaskCreatedResponseSchema;var _0x5c2a27={};_0x5c2a27[_0x50f445(0x26d)+'d']='GET',_0x5c2a27[_0x50f445(0x1ce)]=_0x50f445(0x1b5)+_0x50f445(0x273)+_0x50f445(0x10b)+_0x50f445(0x1a5)+_0x50f445(0x243)+'ls',_0x5c2a27[_0x50f445(0x19c)+_0x50f445(0x167)+_0x50f445(0x119)]=aiModelsRequestSchema,_0x5c2a27['respo'+_0x50f445(0x17a)+_0x50f445(0x1ac)]=aiModelsResponseSchema;var _0x4348ca={};_0x4348ca[_0x50f445(0x26d)+'d']='GET',_0x4348ca['path']=_0x50f445(0x1b5)+_0x50f445(0x273)+_0x50f445(0x10b)+_0x50f445(0x23f)+_0x50f445(0x243)+'ls',_0x4348ca[_0x50f445(0x19c)+_0x50f445(0x167)+_0x50f445(0x119)]=aiModelsRequestSchema,_0x4348ca[_0x50f445(0x249)+_0x50f445(0x17a)+_0x50f445(0x1ac)]=aiModelsResponseSchema;var _0xe4abc5={};_0xe4abc5[_0x50f445(0x26d)+'d']=_0x50f445(0x191),_0xe4abc5[_0x50f445(0x1ce)]=_0x50f445(0x1b5)+_0x50f445(0x273)+_0x50f445(0x10b)+_0x50f445(0x16b)+'model'+'s',_0xe4abc5[_0x50f445(0x19c)+_0x50f445(0x167)+_0x50f445(0x119)]=aiModelsRequestSchema,_0xe4abc5['respo'+_0x50f445(0x17a)+'hema']=aiChatModelsResponseSchema;var _0x5db989={};_0x5db989['metho'+'d']='GET',_0x5db989[_0x50f445(0x1ce)]=_0x50f445(0x1b5)+'publi'+_0x50f445(0x10b)+_0x50f445(0x172)+_0x50f445(0x29b)+_0x50f445(0xe5)+'at',_0x5db989[_0x50f445(0x19c)+_0x50f445(0x167)+_0x50f445(0x119)]=aiModelsRequestSchema,_0x5db989['respo'+_0x50f445(0x17a)+'hema']=aiModelsUpdatedAtResponseSchema;var _0x3dfc7f={};_0x3dfc7f[_0x50f445(0x26d)+'d']='GET',_0x3dfc7f[_0x50f445(0x1ce)]=_0x50f445(0x1b5)+_0x50f445(0x273)+_0x50f445(0x10b)+_0x50f445(0x162)+_0x50f445(0xdd),_0x3dfc7f['reque'+_0x50f445(0x167)+_0x50f445(0x119)]=aiProviderTemplatesRequestSchema,_0x3dfc7f['respo'+_0x50f445(0x17a)+_0x50f445(0x1ac)]=aiProviderTemplatesResponseSchema;var aiEndpoints={'image':new Endpoint(_0x4bcddd),'video':new Endpoint(_0x4afdf9),'task':_0x325650=>new Endpoint({'method':'GET','path':_0x50f445(0x1b5)+_0x50f445(0x24a)+_0x50f445(0x154)+_0x325650,'requestSchema':aiTaskRequestSchema,'responseSchema':aiTaskResponseSchema}),'cancelTask':_0x27dbdf=>new Endpoint({'method':_0x50f445(0x1e5),'path':'/api/'+_0x50f445(0x24a)+_0x50f445(0x154)+_0x27dbdf+('/canc'+'el'),'requestSchema':aiTaskCancelRequestSchema,'responseSchema':aiTaskCancelResponseSchema}),'imageModels':new Endpoint(_0x5c2a27),'videoModels':new Endpoint(_0x4348ca),'chatModels':new Endpoint(_0xe4abc5),'modelsUpdatedAt':new Endpoint(_0x5db989),'providerTemplates':new Endpoint(_0x3dfc7f)},auxiliary_exports={},_0x40d7a7={};_0x40d7a7[_0x50f445(0x251)+_0x50f445(0x26f)+_0x50f445(0x19a)]=()=>AuxiliaryClient,_0x40d7a7[_0x50f445(0x272)+_0x50f445(0x20a)+_0x50f445(0x1b2)+'nts']=()=>auxiliaryEndpoints,_0x40d7a7[_0x50f445(0x272)+_0x50f445(0x242)+_0x50f445(0x211)+_0x50f445(0x15e)+_0x50f445(0x126)+'ma']=()=>auxiliaryInferRequestSchema,_0x40d7a7['auxil'+'iaryI'+_0x50f445(0x211)+_0x50f445(0x238)+_0x50f445(0x2a3)+_0x50f445(0x119)]=()=>auxiliaryInferResponseSchema,_0x40d7a7[_0x50f445(0x272)+_0x50f445(0x1a0)+_0x50f445(0x240)+_0x50f445(0x238)+_0x50f445(0x2a3)+_0x50f445(0x119)]=()=>auxiliaryQuotaResponseSchema,__export(auxiliary_exports,_0x40d7a7);var AuxiliaryClient=class{[_0x50f445(0x1e2)];constructor(_0x425677){var _0xda9ee2=_0x50f445;this[_0xda9ee2(0x1e2)]=_0x425677;}async[_0x50f445(0x1cd)](_0x4b07c6){var _0x44456f=_0x50f445;const _0x1dc756=await this[_0x44456f(0x1e2)]['build'+_0x44456f(0x1c6)+_0x44456f(0x1fc)]();return this['sdk'][_0x44456f(0x19c)+'st'](this[_0x44456f(0x1e2)]['contr'+_0x44456f(0x299)][_0x44456f(0x272)+'iary'][_0x44456f(0x1cd)],{'baseUrl':this[_0x44456f(0x1e2)][_0x44456f(0x209)+_0x44456f(0x201)](),'headers':_0x1dc756,'body':_0x4b07c6});}async[_0x50f445(0x174)+_0x50f445(0x150)](){var _0x2211fd=_0x50f445;const _0x33d7df=await this['sdk'][_0x2211fd(0x156)+_0x2211fd(0x1c6)+'eader']();return this[_0x2211fd(0x1e2)][_0x2211fd(0x19c)+'st'](this[_0x2211fd(0x1e2)][_0x2211fd(0x29f)+_0x2211fd(0x299)]['auxil'+_0x2211fd(0x1fb)][_0x2211fd(0x174)+_0x2211fd(0x150)],{'baseUrl':this[_0x2211fd(0x1e2)][_0x2211fd(0x209)+_0x2211fd(0x201)](),'headers':_0x33d7df,'body':{}});}},auxiliaryInferRequestSchema=z[_0x50f445(0x1a1)+'t']({'capabilityKey':z['strin'+'g'](),'systemPrompt':z[_0x50f445(0xec)+'g'](),'context':z[_0x50f445(0xec)+'g']()[_0x50f445(0x12e)](0x1*-0x6737+0x43f*-0x54+0x28f33),'outputMode':z[_0x50f445(0x19d)](['struc'+_0x50f445(0x12b),_0x50f445(0x1f0)]),'schema':z[_0x50f445(0x103)+'d'](z[_0x50f445(0xec)+'g'](),z[_0x50f445(0x275)+'wn']())[_0x50f445(0x10f)+_0x50f445(0x23b)]()}),quotaSchema=z['objec'+'t']({'used':z['numbe'+'r'](),'limit':z[_0x50f445(0x196)+'r'](),'remaining':z['numbe'+'r'](),'resetsAt':z[_0x50f445(0xec)+'g']()}),usageSchema=z[_0x50f445(0x1a1)+'t']({'inputTokens':z[_0x50f445(0x196)+'r'](),'outputTokens':z[_0x50f445(0x196)+'r']()}),auxiliaryInferResponseSchema=z[_0x50f445(0x136)]([z[_0x50f445(0x1a1)+'t']({'ok':z[_0x50f445(0x227)+'al'](!![]),'result':z[_0x50f445(0x275)+'wn'](),'usage':usageSchema,'quota':quotaSchema}),z['objec'+'t']({'ok':z[_0x50f445(0x227)+'al'](![]),'message':z[_0x50f445(0xec)+'g'](),'code':z[_0x50f445(0xec)+'g']()[_0x50f445(0x10f)+'nal']()})]),_0x5e7197={};_0x5e7197[_0x50f445(0x133)]=quotaSchema;var auxiliaryQuotaResponseSchema=z[_0x50f445(0x1a1)+'t'](_0x5e7197),_0x1647ae={};_0x1647ae[_0x50f445(0x26d)+'d']='POST',_0x1647ae['path']=_0x50f445(0x1b5)+_0x50f445(0x272)+_0x50f445(0xe9)+'infer',_0x1647ae['reque'+_0x50f445(0x167)+'ema']=auxiliaryInferRequestSchema,_0x1647ae[_0x50f445(0x249)+'nseSc'+_0x50f445(0x1ac)]=auxiliaryInferResponseSchema;var auxiliaryEndpoints={'infer':new Endpoint(_0x1647ae),'getQuota':new Endpoint({'method':_0x50f445(0x1e5),'path':_0x50f445(0x1b5)+'auxil'+_0x50f445(0xe9)+_0x50f445(0x133),'requestSchema':z['objec'+'t']({}),'responseSchema':auxiliaryQuotaResponseSchema})},auth_exports={},_0x2ac25f={};_0x2ac25f[_0x50f445(0x253)+_0x50f445(0x19a)]=()=>AuthClient,_0x2ac25f[_0x50f445(0x21e)+_0x50f445(0x1b2)+_0x50f445(0xe7)]=()=>authEndpoints,_0x2ac25f['authE'+_0x50f445(0x117)+_0x50f445(0xed)+_0x50f445(0x1cf)+_0x50f445(0x101)]=()=>authExchangeRequestSchema,_0x2ac25f['authE'+_0x50f445(0x117)+'geRes'+_0x50f445(0x20e)+_0x50f445(0x137)+'a']=()=>authExchangeResponseSchema,_0x2ac25f[_0x50f445(0x261)+_0x50f445(0x200)+'Reque'+_0x50f445(0x167)+_0x50f445(0x119)]=()=>authLogoutRequestSchema,_0x2ac25f['authL'+_0x50f445(0x200)+_0x50f445(0x21c)+_0x50f445(0x17a)+'hema']=()=>authLogoutResponseSchema,_0x2ac25f[_0x50f445(0xe4)+_0x50f445(0x212)+_0x50f445(0x190)+'rSche'+'ma']=()=>authRefreshErrorSchema,_0x2ac25f[_0x50f445(0xe4)+_0x50f445(0x212)+'hRequ'+_0x50f445(0x15a)+_0x50f445(0x1ac)]=()=>authRefreshRequestSchema,_0x2ac25f[_0x50f445(0xe4)+_0x50f445(0x212)+_0x50f445(0x102)+_0x50f445(0x221)+_0x50f445(0x101)]=()=>authRefreshResponseSchema,_0x2ac25f[_0x50f445(0xe4)+_0x50f445(0x212)+'hSucc'+'essSc'+_0x50f445(0x1ac)]=()=>authRefreshSuccessSchema,_0x2ac25f[_0x50f445(0xe4)+_0x50f445(0x212)+_0x50f445(0x1c1)+_0x50f445(0x137)+'a']=()=>authRefreshUserSchema,__export(auth_exports,_0x2ac25f);var AuthClient=class{[_0x50f445(0x1e2)];constructor(_0x4120e2){this['sdk']=_0x4120e2;}async[_0x50f445(0x1db)+_0x50f445(0xfc)](_0x3ce2f1){var _0x2d3210=_0x50f445,_0x3c98fc={};return _0x3c98fc[_0x2d3210(0x177)+_0x2d3210(0x105)]=_0x3ce2f1,this['sdk'][_0x2d3210(0x19c)+'st'](this[_0x2d3210(0x1e2)]['contr'+_0x2d3210(0x299)][_0x2d3210(0x226)][_0x2d3210(0x1db)+_0x2d3210(0xfc)],{'baseUrl':this[_0x2d3210(0x1e2)][_0x2d3210(0x209)+'seUrl'](),'body':_0x3c98fc});}async['refre'+'sh'](_0x1bd1d1){var _0x87ceac=_0x50f445,_0x46f95b={};return _0x46f95b['refre'+_0x87ceac(0x1eb)+'en']=_0x1bd1d1,this[_0x87ceac(0x1e2)][_0x87ceac(0x19c)+'st'](this[_0x87ceac(0x1e2)]['contr'+_0x87ceac(0x299)][_0x87ceac(0x226)][_0x87ceac(0x108)+'sh'],{'baseUrl':this[_0x87ceac(0x1e2)][_0x87ceac(0x209)+_0x87ceac(0x201)](),'body':_0x46f95b});}async[_0x50f445(0x239)+'t'](_0x1d5a73){var _0x5cbe80=_0x50f445,_0x271bd4={};return _0x271bd4[_0x5cbe80(0x108)+_0x5cbe80(0x1eb)+'en']=_0x1d5a73,this[_0x5cbe80(0x1e2)][_0x5cbe80(0x19c)+'st'](this[_0x5cbe80(0x1e2)][_0x5cbe80(0x29f)+'act']['auth'][_0x5cbe80(0x239)+'t'],{'baseUrl':this[_0x5cbe80(0x1e2)][_0x5cbe80(0x209)+_0x5cbe80(0x201)](),'body':_0x271bd4});}},authRefreshRequestSchema=z[_0x50f445(0x1a1)+'t']({'refreshToken':z[_0x50f445(0xec)+'g']()[_0x50f445(0x244)](-0x996+0x1b7b+-0x4*0x479)}),authExchangeRequestSchema=z[_0x50f445(0x1a1)+'t']({'loginCode':z[_0x50f445(0xec)+'g']()['min'](-0x9*0x32b+-0x23*-0x56+0x10c2)}),authRefreshUserSchema=z[_0x50f445(0x1a1)+'t']({'name':z[_0x50f445(0xec)+'g']()[_0x50f445(0x10f)+_0x50f445(0x23b)](),'email':z[_0x50f445(0xec)+'g']()[_0x50f445(0x10f)+_0x50f445(0x23b)](),'avatarUrl':z['strin'+'g']()[_0x50f445(0x10f)+_0x50f445(0x23b)]()}),authRefreshSuccessSchema=z[_0x50f445(0x1a1)+'t']({'accessToken':z['strin'+'g'](),'refreshToken':z[_0x50f445(0xec)+'g'](),'user':authRefreshUserSchema}),authRefreshErrorSchema=z[_0x50f445(0x1a1)+'t']({'message':z[_0x50f445(0xec)+'g']()}),authExchangeResponseSchema=authRefreshSuccessSchema,authLogoutRequestSchema=z['objec'+'t']({'refreshToken':z[_0x50f445(0xec)+'g']()['min'](-0x5*0x12b+-0x13d0+0x19a8)}),authLogoutResponseSchema=z[_0x50f445(0x1a1)+'t']({'success':z[_0x50f445(0x18b)+'an']()}),authRefreshResponseSchema=z[_0x50f445(0x136)]([authRefreshSuccessSchema,authRefreshErrorSchema]),_0x4cbfda={};_0x4cbfda[_0x50f445(0x26d)+'d']=_0x50f445(0x1e5),_0x4cbfda[_0x50f445(0x1ce)]=_0x50f445(0x1b5)+_0x50f445(0x138)+_0x50f445(0x1db)+_0x50f445(0xfc),_0x4cbfda[_0x50f445(0x19c)+_0x50f445(0x167)+_0x50f445(0x119)]=authExchangeRequestSchema,_0x4cbfda[_0x50f445(0x249)+_0x50f445(0x17a)+_0x50f445(0x1ac)]=authExchangeResponseSchema;var _0x23deea={};_0x23deea[_0x50f445(0x26d)+'d']=_0x50f445(0x1e5),_0x23deea[_0x50f445(0x1ce)]='/api/'+_0x50f445(0x138)+'refre'+'sh',_0x23deea[_0x50f445(0x19c)+_0x50f445(0x167)+_0x50f445(0x119)]=authRefreshRequestSchema,_0x23deea[_0x50f445(0x249)+_0x50f445(0x17a)+'hema']=authRefreshResponseSchema;var _0x3db798={};_0x3db798[_0x50f445(0x26d)+'d']=_0x50f445(0x1e5),_0x3db798[_0x50f445(0x1ce)]=_0x50f445(0x1b5)+_0x50f445(0x138)+_0x50f445(0x239)+'t',_0x3db798['reque'+'stSch'+_0x50f445(0x119)]=authLogoutRequestSchema,_0x3db798[_0x50f445(0x249)+_0x50f445(0x17a)+'hema']=authLogoutResponseSchema;var authEndpoints={'exchange':new Endpoint(_0x4cbfda),'refresh':new Endpoint(_0x23deea),'logout':new Endpoint(_0x3db798)},feedback_exports={},_0x336f47={};_0x336f47[_0x50f445(0x189)+_0x50f445(0x277)+'ient']=()=>FeedbackClient,_0x336f47['feedb'+_0x50f445(0xd7)+_0x50f445(0x166)+_0x50f445(0x165)+'dSche'+'ma']=()=>feedbackDetailPayloadSchema,_0x336f47[_0x50f445(0x2a4)+'ackDe'+_0x50f445(0x2a6)+_0x50f445(0x15e)+_0x50f445(0x126)+'ma']=()=>feedbackDetailRequestSchema,_0x336f47[_0x50f445(0x2a4)+_0x50f445(0xd7)+_0x50f445(0x2a6)+_0x50f445(0x238)+_0x50f445(0x2a3)+_0x50f445(0x119)]=()=>feedbackDetailResponseSchema,_0x336f47[_0x50f445(0x2a4)+_0x50f445(0x28a)+_0x50f445(0xcf)+'ts']=()=>feedbackEndpoints,_0x336f47[_0x50f445(0x2a4)+_0x50f445(0x260)+_0x50f445(0x171)+_0x50f445(0x119)]=()=>feedbackItemSchema,_0x336f47['feedb'+_0x50f445(0x268)+_0x50f445(0x267)+_0x50f445(0x169)+_0x50f445(0x101)]=()=>feedbackListPayloadSchema,_0x336f47[_0x50f445(0x2a4)+'ackLi'+_0x50f445(0x216)+_0x50f445(0x1cf)+_0x50f445(0x101)]=()=>feedbackListRequestSchema,_0x336f47['feedb'+_0x50f445(0x268)+_0x50f445(0x131)+_0x50f445(0x20e)+_0x50f445(0x137)+'a']=()=>feedbackListResponseSchema,_0x336f47[_0x50f445(0x2a4)+_0x50f445(0xee)+'asSta'+_0x50f445(0x27f)+_0x50f445(0x1ac)]=()=>feedbackSaasStatusSchema,_0x336f47[_0x50f445(0x2a4)+_0x50f445(0x194)+_0x50f445(0x143)+_0x50f445(0x101)]=()=>feedbackSourceSchema,_0x336f47[_0x50f445(0x2a4)+_0x50f445(0x1da)+_0x50f445(0xfe)+_0x50f445(0x1ec)+'chema']=()=>feedbackSubmitErrorSchema,_0x336f47[_0x50f445(0x2a4)+_0x50f445(0x1da)+_0x50f445(0x234)+_0x50f445(0x15e)+_0x50f445(0x126)+'ma']=()=>feedbackSubmitRequestSchema,_0x336f47['feedb'+_0x50f445(0x1da)+_0x50f445(0x234)+_0x50f445(0x238)+_0x50f445(0x2a3)+_0x50f445(0x119)]=()=>feedbackSubmitResponseSchema,_0x336f47[_0x50f445(0x2a4)+_0x50f445(0x258)+_0x50f445(0x264)+_0x50f445(0x119)]=()=>feedbackTypeSchema,__export(feedback_exports,_0x336f47);var FeedbackClient=class{['sdk'];constructor(_0x5043f8){var _0x39e16f=_0x50f445;this[_0x39e16f(0x1e2)]=_0x5043f8;}async['submi'+'t'](_0x754a2){var _0x30ac10=_0x50f445;const _0x104a16=await this['sdk'][_0x30ac10(0x156)+_0x30ac10(0x1c6)+_0x30ac10(0x1fc)]();return this[_0x30ac10(0x1e2)][_0x30ac10(0x19c)+'st'](this['sdk'][_0x30ac10(0x29f)+_0x30ac10(0x299)][_0x30ac10(0x2a4)+_0x30ac10(0x1dc)][_0x30ac10(0x20c)+'t'],{'baseUrl':this[_0x30ac10(0x1e2)][_0x30ac10(0x209)+'seUrl'](),'headers':_0x104a16,'body':_0x754a2});}async[_0x50f445(0x2a1)](_0x5cac3e){var _0x59a2b2=_0x50f445;const _0x1243e0=await this[_0x59a2b2(0x1e2)][_0x59a2b2(0x156)+_0x59a2b2(0x1c6)+_0x59a2b2(0x1fc)]();return this[_0x59a2b2(0x1e2)][_0x59a2b2(0x19c)+'st'](this[_0x59a2b2(0x1e2)]['contr'+_0x59a2b2(0x299)][_0x59a2b2(0x2a4)+_0x59a2b2(0x1dc)]['list'],{'baseUrl':this[_0x59a2b2(0x1e2)][_0x59a2b2(0x209)+_0x59a2b2(0x201)](),'headers':_0x1243e0,'body':_0x5cac3e??{}});}async[_0x50f445(0xf9)+'l'](_0x3fb8f6){var _0xd1bb0b=_0x50f445;const _0x3f4976=await this[_0xd1bb0b(0x1e2)][_0xd1bb0b(0x156)+_0xd1bb0b(0x1c6)+_0xd1bb0b(0x1fc)]();return this[_0xd1bb0b(0x1e2)]['reque'+'st'](this[_0xd1bb0b(0x1e2)]['contr'+_0xd1bb0b(0x299)]['feedb'+_0xd1bb0b(0x1dc)][_0xd1bb0b(0xf9)+'l'](_0x3fb8f6),{'baseUrl':this[_0xd1bb0b(0x1e2)][_0xd1bb0b(0x209)+'seUrl'](),'headers':_0x3f4976,'body':void(-0x5*0x733+0x1a5a*0x1+0x337*0x3)});}},feedbackSourceSchema=z['enum']([_0x50f445(0x197),_0x50f445(0x203)+_0x50f445(0x14a)+_0x50f445(0x181)]),feedbackTypeSchema=z[_0x50f445(0x19d)](['ui',_0x50f445(0x27e)+_0x50f445(0x1b4)+'e',_0x50f445(0x257),_0x50f445(0x210)+'re',_0x50f445(0x19b)]),feedbackSaasStatusSchema=z[_0x50f445(0x19d)]([_0x50f445(0x20d)+'d',_0x50f445(0xd6),_0x50f445(0xf2)+_0x50f445(0x1a6),'ignor'+'ed']),feedbackSubmitRequestSchema=z[_0x50f445(0x1a1)+'t']({'source':feedbackSourceSchema[_0x50f445(0x10f)+_0x50f445(0x23b)](),'type':feedbackTypeSchema,'content':z[_0x50f445(0xec)+'g']()['trim']()[_0x50f445(0x244)](-0xb4f+-0x29*-0x4f+0x7*-0x31),'context':z[_0x50f445(0x103)+'d'](z[_0x50f445(0xec)+'g'](),z[_0x50f445(0x275)+'wn']()),'email':z[_0x50f445(0xec)+'g']()[_0x50f445(0x144)]()['email']()[_0x50f445(0x10f)+_0x50f445(0x23b)]()}),feedbackSubmitErrorSchema=z['objec'+'t']({'message':z[_0x50f445(0xec)+'g']()}),feedbackSubmitResponseSchema=z['union']([z[_0x50f445(0x17e)](),feedbackSubmitErrorSchema]),feedbackListRequestSchema=z['objec'+'t']({'page':z[_0x50f445(0x196)+'r']()[_0x50f445(0x198)]()[_0x50f445(0x244)](0x5*0x329+0x7b8+-0x1784)[_0x50f445(0x10f)+_0x50f445(0x23b)](),'pageSize':z[_0x50f445(0x196)+'r']()['int']()[_0x50f445(0x244)](0x10e+-0xb15*-0x3+-0x224c)[_0x50f445(0x12e)](0x5*0x506+0x24f9+-0x3db3)[_0x50f445(0x10f)+_0x50f445(0x23b)](),'type':feedbackTypeSchema[_0x50f445(0x10f)+_0x50f445(0x23b)](),'source':feedbackSourceSchema[_0x50f445(0x10f)+_0x50f445(0x23b)](),'saasStatus':feedbackSaasStatusSchema[_0x50f445(0x10f)+_0x50f445(0x23b)](),'keyword':z['strin'+'g']()[_0x50f445(0x144)]()['min'](-0xf5*-0x10+0x5eb+-0x153a)[_0x50f445(0x10f)+'nal'](),'startAt':z['strin'+'g']()['datet'+_0x50f445(0x127)]()[_0x50f445(0x10f)+_0x50f445(0x23b)](),'endAt':z[_0x50f445(0xec)+'g']()[_0x50f445(0x10d)+'ime']()['optio'+'nal']()}),feedbackItemSchema=z[_0x50f445(0x1a1)+'t']({'id':z[_0x50f445(0xec)+'g'](),'source':feedbackSourceSchema,'type':feedbackTypeSchema,'saasStatus':feedbackSaasStatusSchema,'response':z['strin'+'g']()[_0x50f445(0x10f)+_0x50f445(0x23b)](),'userId':z[_0x50f445(0xec)+'g']()[_0x50f445(0x10f)+_0x50f445(0x23b)](),'email':z[_0x50f445(0xec)+'g']()[_0x50f445(0x10f)+'nal'](),'content':z[_0x50f445(0xec)+'g'](),'context':z[_0x50f445(0x103)+'d'](z[_0x50f445(0xec)+'g'](),z[_0x50f445(0x275)+'wn']()),'createdAt':z[_0x50f445(0xec)+'g']()}),feedbackListPayloadSchema=z[_0x50f445(0x1a1)+'t']({'items':z[_0x50f445(0x1e8)](feedbackItemSchema),'page':z[_0x50f445(0x196)+'r']()['int'](),'pageSize':z[_0x50f445(0x196)+'r']()[_0x50f445(0x198)](),'total':z[_0x50f445(0x196)+'r']()[_0x50f445(0x198)]()}),feedbackListResponseSchema=z[_0x50f445(0x136)]([feedbackListPayloadSchema,feedbackSubmitErrorSchema]),feedbackDetailRequestSchema=z['void'](),_0x395eac={};_0x395eac[_0x50f445(0x2a4)+_0x50f445(0x1dc)]=feedbackItemSchema;var feedbackDetailPayloadSchema=z['objec'+'t'](_0x395eac),feedbackDetailResponseSchema=z[_0x50f445(0x136)]([feedbackDetailPayloadSchema,feedbackSubmitErrorSchema]),_0x142671={};_0x142671[_0x50f445(0x26d)+'d']=_0x50f445(0x1e5),_0x142671[_0x50f445(0x1ce)]=_0x50f445(0x1b5)+_0x50f445(0x273)+_0x50f445(0x26b)+_0x50f445(0xef),_0x142671[_0x50f445(0x19c)+_0x50f445(0x167)+_0x50f445(0x119)]=feedbackSubmitRequestSchema,_0x142671[_0x50f445(0x249)+_0x50f445(0x17a)+'hema']=feedbackSubmitResponseSchema;var _0x436b7d={};_0x436b7d[_0x50f445(0x26d)+'d']=_0x50f445(0x1e5),_0x436b7d[_0x50f445(0x1ce)]=_0x50f445(0x1b5)+_0x50f445(0x2a4)+_0x50f445(0x1b6)+_0x50f445(0x146),_0x436b7d[_0x50f445(0x19c)+_0x50f445(0x167)+_0x50f445(0x119)]=feedbackListRequestSchema,_0x436b7d['respo'+_0x50f445(0x17a)+_0x50f445(0x1ac)]=feedbackListResponseSchema;var feedbackEndpoints={'submit':new Endpoint(_0x142671),'list':new Endpoint(_0x436b7d),'detail':_0x35a9fa=>new Endpoint({'method':'GET','path':_0x50f445(0x1b5)+_0x50f445(0x2a4)+'ack/'+_0x35a9fa,'requestSchema':feedbackDetailRequestSchema,'responseSchema':feedbackDetailResponseSchema})},user_exports={},_0x1c6a7f={};_0x1c6a7f[_0x50f445(0x1bc)+_0x50f445(0x19a)]=()=>UserClient,_0x1c6a7f[_0x50f445(0x129)+_0x50f445(0x1b2)+_0x50f445(0xe7)]=()=>userEndpoints,_0x1c6a7f[_0x50f445(0x1d7)+_0x50f445(0xe3)+_0x50f445(0xfb)+_0x50f445(0x232)+'chema']=()=>userMembershipLevelSchema,_0x1c6a7f[_0x50f445(0x109)+'elfRe'+_0x50f445(0xe2)+_0x50f445(0x137)+'a']=()=>userSelfRequestSchema,_0x1c6a7f[_0x50f445(0x109)+_0x50f445(0x1ea)+_0x50f445(0x280)+_0x50f445(0x28b)+'ma']=()=>userSelfResponseSchema,_0x1c6a7f[_0x50f445(0x109)+_0x50f445(0x285)+_0x50f445(0x1ac)]=()=>userSelfSchema,__export(user_exports,_0x1c6a7f);var UserClient=class{['sdk'];constructor(_0x1fc1d8){this['sdk']=_0x1fc1d8;}async['self'](){var _0x22f70a=_0x50f445;const _0x2c7140=await this[_0x22f70a(0x1e2)][_0x22f70a(0x156)+'AuthH'+_0x22f70a(0x1fc)]();return this['sdk'][_0x22f70a(0x19c)+'st'](this[_0x22f70a(0x1e2)][_0x22f70a(0x29f)+_0x22f70a(0x299)][_0x22f70a(0x158)][_0x22f70a(0x1fd)],{'baseUrl':this[_0x22f70a(0x1e2)][_0x22f70a(0x209)+_0x22f70a(0x201)](),'headers':_0x2c7140,'body':void(-0xa5a*0x2+0x17d7+-0x49*0xb)});}},userMembershipLevelSchema=z[_0x50f445(0x19d)]([_0x50f445(0x2a5),_0x50f445(0x132),'svip',_0x50f445(0x134)+_0x50f445(0x287)]),userSelfSchema=z[_0x50f445(0x1a1)+'t']({'id':z[_0x50f445(0xec)+'g'](),'email':z[_0x50f445(0xec)+'g']()[_0x50f445(0x10f)+'nal'](),'name':z[_0x50f445(0xec)+'g']()[_0x50f445(0x10f)+_0x50f445(0x23b)](),'avatarUrl':z[_0x50f445(0xec)+'g']()[_0x50f445(0x10f)+_0x50f445(0x23b)](),'provider':z[_0x50f445(0xec)+'g'](),'membershipLevel':userMembershipLevelSchema,'creditsBalance':z[_0x50f445(0x196)+'r'](),'createdAt':z[_0x50f445(0xec)+'g'](),'updatedAt':z[_0x50f445(0xec)+'g']()}),userSelfRequestSchema=z[_0x50f445(0x17e)](),_0x187bcc={};function _0x4deb(_0x40d7a7,_0x231716){_0x40d7a7=_0x40d7a7-(-0x1251+-0x1b8f+0x2eaf);var _0x4275f9=_0x9d1c();var _0x3207c7=_0x4275f9[_0x40d7a7];if(_0x4deb['suziqw']===undefined){var _0x42af20=function(_0x5e7197){var _0x1647ae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2ac25f='',_0x2bc2d4='';for(var _0x484e5a=0x2225+0x1295*0x2+0x3*-0x17c5,_0x7ea923,_0x23fcef,_0x513a3e=-0x1835*0x1+-0xb69*-0x1+0xccc;_0x23fcef=_0x5e7197['charAt'](_0x513a3e++);~_0x23fcef&&(_0x7ea923=_0x484e5a%(-0x1d*-0x31+0x2bb+0x17*-0x5c)?_0x7ea923*(0x1ca8+-0xde2+-0xe86)+_0x23fcef:_0x23fcef,_0x484e5a++%(-0xe48+0x1*0x2293+-0x1*0x1447))?_0x2ac25f+=String['fromCharCode'](0x1f85+0x1e58+-0x3cde&_0x7ea923>>(-(0x5ed+-0x80a+0x21f)*_0x484e5a&-0x54*0x6+-0xe7d+0x107b)):-0x251b+-0x7*0x4e1+0x517*0xe){_0x23fcef=_0x1647ae['indexOf'](_0x23fcef);}for(var _0x164c88=-0x12e*0x13+0x25e9+-0xf7f,_0x1048c7=_0x2ac25f['length'];_0x164c88<_0x1048c7;_0x164c88++){_0x2bc2d4+='%'+('00'+_0x2ac25f['charCodeAt'](_0x164c88)['toString'](0x1*0xe7e+-0xbf5*0x1+-0x279))['slice'](-(0x8ac+-0x158*0x9+0x36e));}return decodeURIComponent(_0x2bc2d4);};_0x4deb['jNlesU']=_0x42af20,_0x4deb['yfDGzz']={},_0x4deb['suziqw']=!![];}var _0x46a99e=_0x4275f9[0x1*0x1709+0x165f+0x4*-0xb5a],_0x486465=_0x40d7a7+_0x46a99e,_0x27e356=_0x4deb['yfDGzz'][_0x486465];return!_0x27e356?(_0x3207c7=_0x4deb['jNlesU'](_0x3207c7),_0x4deb['yfDGzz'][_0x486465]=_0x3207c7):_0x3207c7=_0x27e356,_0x3207c7;}_0x187bcc[_0x50f445(0x158)]=userSelfSchema;var userSelfResponseSchema=z[_0x50f445(0x1a1)+'t'](_0x187bcc),_0x37db33={};_0x37db33[_0x50f445(0x26d)+'d']=_0x50f445(0x191),_0x37db33['path']=_0x50f445(0x1b5)+_0x50f445(0x123)+_0x50f445(0x1fd),_0x37db33[_0x50f445(0x19c)+_0x50f445(0x167)+_0x50f445(0x119)]=userSelfRequestSchema,_0x37db33[_0x50f445(0x249)+_0x50f445(0x17a)+_0x50f445(0x1ac)]=userSelfResponseSchema;var userEndpoints={'self':new Endpoint(_0x37db33)},SaaSContract=class{[_0x50f445(0x226)]=authEndpoints;['ai']=aiEndpoints;['auxil'+'iary']=auxiliaryEndpoints;[_0x50f445(0x2a4)+_0x50f445(0x1dc)]=feedbackEndpoints;[_0x50f445(0x158)]=userEndpoints;},contract=new SaaSContract();function setHeader(_0xcd29e7,_0x5c494d,_0x4e39cf){var _0x4834f6=_0x50f445;_0xcd29e7[_0x5c494d[_0x4834f6(0x283)+'erCas'+'e']()]=_0x4e39cf;}function normalizeHeaders(_0x445cc2){var _0x3dbd9d=_0x50f445;const _0x2b1e42={};if(!_0x445cc2)return _0x2b1e42;if(Array['isArr'+'ay'](_0x445cc2)){for(const [_0x38a6f8,_0x3f90ae]of _0x445cc2){setHeader(_0x2b1e42,_0x38a6f8,_0x3f90ae);}return _0x2b1e42;}if(typeof _0x445cc2[_0x3dbd9d(0x1f7)+'ch']===_0x3dbd9d(0x28e)+_0x3dbd9d(0x20f))return _0x445cc2[_0x3dbd9d(0x1f7)+'ch']((_0x1816e0,_0x4afc83)=>{setHeader(_0x2b1e42,_0x4afc83,_0x1816e0);}),_0x2b1e42;for(const [_0x237e65,_0x10b0d0]of Object[_0x3dbd9d(0x14b)+'es'](_0x445cc2)){typeof _0x10b0d0===_0x3dbd9d(0xec)+'g'&&setHeader(_0x2b1e42,_0x237e65,_0x10b0d0);}return _0x2b1e42;}function mergeHeaders(..._0x79dfc2){const _0x34acc4={};for(const _0x28f9f0 of _0x79dfc2){const _0x387115=normalizeHeaders(_0x28f9f0);for(const [_0x12e332,_0x1f5b76]of Object['entri'+'es'](_0x387115)){_0x34acc4[_0x12e332]=_0x1f5b76;}}return _0x34acc4;}function _0x9d1c(){var _0x46715e=['54Mh5PwW6yEp','C3nPBMC','CxvLC3q','zw1Izxi','yxv0Afi','yxrLzc0','AxnZDwu','BNrZ','mJaYmdHjEKTvsNi','AwfYEs8','mJy3mZGZoxLpBhb1qq','5y+c6icd6kEg6Akr','C3rYAw4','z2vszxe','ywnRu2e','zgjHy2S','qwLdBgK','rxjYB3i','CMvZB2W','zw50','5zU+54Mh57Yw6l6r','5PYa5Bcp5yc8','6l+u5zUE5PwW5O2U','Av9Nzw4','AwXLza','zgv0ywK','DxrZu2m','C2HPCeW','BMDL','C3vWCg8','yM1PDeu','DgLLC1m','5zU+54Mh55cg6kEJ','y2HLBwe','AfjLC3a','CMvJB3i','yvnJAgu','q29Kzq','ywjPBgK','De1Vzgu','CMvMCMu','DxnLCLm','revmx1q','yY9HAs8','C2fMzva','zgf0zxq','zwXZuge','B3b0Aw8','5P6e5yYw6l6t5yE6','6l6t5ywL5zU+54Mh5yIx','5zco5PU05PAW5PE26zE0','6igk5AsP5QIH5z6l5PYa','zwXZvxa','zxjHDgK','ywLnzwq','EgnOyw4','5lU75yQHieLe','zw1H','zxf1Axi','odGZntCXn2TfsgXYCa','A1n0yxq','Dg9tDhi','C2u2nca','6ygU572P5zU+','zgLV','mta1nujAqLfutq','5A6y572r5zYW5z2a','DxnLCI8','5zU+54Mh6l6t5ywL','5QIH5z6l5O+p6l+W','DfnJAgu','Aw1L','zwXZu3u','DxnLCKu','5PIV5zcM5PsV5OYb57Ut','DhvYzwq','A1n1y2m','5Q2L6l+B5yc8','Bwf4','yxjK','ANnVBG','C3rszxm','DMLW','CxvVDge','Aw5MAw4','vgvTCgW','Dw5PB24','u2nOzw0','yxv0Ac8','BMLUzW','zwXeyxq','y29UDgu','C3rHDhu','zxjYB3i','5PIV5zcM5PsV5OYb5y+c','z2vjBNa','CxvLDwu','Cgf5Bg8','mtbYEhLqvwG','DxjJzvm','DhjPBq','tMv0D28','Axn0','mteZmJm2D2fUvhHA','CMf0Aw8','5PU05PAW5PE26zE0','B2fMlxm','zw50CMK','zgvZy3i','A0nHBMm','qvbjiowCSa','qMvHCMu','B3rH','BI9QC28','zgvYvgu','6AkD5Asw5y+c5PwW','C2SV','Dgfty2G','yNvPBgq','x2DLBMu','DxnLCG','DMLKzw8','zxn0u2m','x2LUChu','C1rLEhq','BNnLigK','zxf1zxm','5AQs5l2tifvs','5RAi6icx56EV5yIg','5QIH5z6lieLe','ChjVDMK','BNb1Dfm','6zsz6k+V5l+H5OgV','yxLSB2e','DgfPBfa','C3rty2G','BfrHC2S','Bg9Hzfm','BfnJAgu','y2HHDc8','zcbku08','CIb1CMW','6AAw5BIN5zU+54Mh','A0nYzwe','BhntDwm','zw1ty2G','Bw9KzwW','B2rLBhm','z2v0uxu','5PYa5AsN6l6t5ywL5zU+','5l6B5BQu5zwgieK','Bg9NAw4','5AsA5zU+6l6t5ywL','yxj0rw4','BNnLu2m','6l6t5ywL6io95yQB','5lIj57g75QIH5z6l5lIT','57Ut5P6C5zYW5z2a5yIx','DM9Pza','6kEg6Akr5QIH5z6l5PYa','AxzL','ywfZ','Chv0u2m','y2vZC1m','5QIH5z6l5A625PEpia','CgfYC2u','DgvKrge','zxn0igu','mtKZndi4q0nuz05Q','rMvLzgi','u2fHu04','yM9VBgu','5O+q56s66k+n','zMv0y2G','og94AfLMva','5PIV5zcM5yYf5zcR6z+Z','AevYCM8','r0vu','CYbUB3q','ChjVy2u','ywnRu28','C3qGzMe','BNvTyMu','DgvUyxm','Aw50','DgLLC08','BgLLBNq','B3rOzxi','CMvXDwu','zw51Bq','yw1LDgu','Aw5N','AwfYEve','B2jQzwm','Dg9VBf8','ywLqCM8','teLuwv8','Aw1Hz2u','DMvK','5BEL5yw36lcd55sO','ywLfBMq','igzHAwW','5Bc+5BIN5zU+54Mh','A0rHDge','AgvTyq','BhnqyxK','A1jLCxu','5y+w5RAi57Ut5P6C54Q2','y2fUy2u','CNrZtxu','BMrWB2K','5PIV5zcM5B+f5AgR','CM1HBMm','l2fWAs8','ywnRl2W','B3jszxm','rwL0Agu','5zU+54Mh5QIH5z6l5PYa','CML6yxq','B2TLBG','vxnLCKm','DMfSAwq','yxrLC1i','DgvKuMu','5QIH5z6l5Qch562+','AfvZzxi','CNjVCG','qKvmuW','55sF5OIq5zU+54Mh5PwW','x2vKAxq','qxv0AeG','x211Bhq','uMvXDwu','5lU75yQH54Q25Ocb','sYdPGilPHy3LMAG','C2vSzwm','yMfZzty','Aw5Mzxi','Cgf0Aa','DwvZDfm','x2fUywW','zwXtDwm','BM9UBMu','ywLjBwe','5PIV5zcM5PsV5OYb5AsA','ihjLCxu','yxrLC1m','DxnLCK0','y2HHDe0','BNqTDhK','ywnRu3u','zxHJAge','ywnR','5PIV5zcM5PsV5OYb6z+Z','Bhnszxm','DgvKqxq','vf9lrvK','yxrLC1a','C2rR','CMvHC28','u2fHu0G','ue9tva','quDFtee','BNvSBgK','yxjYyxK','6kEg6Akr55sF5OIq','zwXMuMu','C2HuB2S','CNjVCLm','6l6t5yE65y+c5PwW','6l6t5yE66io95yQB','5QIH5z6l6io95yQB','Dgv4Da','DxjS','5zU+5yop5A696AUy5Q+u','572r5PcC57sI','ihzHBgK','5PYa5AsN5yc8','zgvMAw4','zM9Yrwe','Cg9ZAxq','DgLLC0K','5lU75yQH6l+B5BQM','AwfYEq','zwfKzxi','C2vSzG','y29Kzq','zgf0Aw8','B2DVDxq','C2vvCMW','Bw9Uu2m','B3bLBMW','5AQs5l2t57g75z6l','DwnJzxm','BwvZC2e','BMfTzq','DMLKzxi','z2v0qMe','AwfYEuu','z2LMEq','C3vIBwK','Dw5Yzwe','Cg9UC2u','Aw9U','zMvHDhu','BMzLCLi','zwzYzxm','mtyWqNjhDLbW','5PIV5zcM5PsV5OYb6ygU','6zw/5BQMkeSP','C3rszxe','qxrtDwm','6zsz6k+V56cb','A0vYCM8','revmx0m','zxj0Eq','uMvZCg8','DhrWrxi','yxv0Aeu','yM9KEq','yxvKAw8','B25Zzvm','5RIf5PMW5BQM','Av9PBNa','C3vJy2u','5PIV5zcM5PsV5OYb6AAw','yxv0Aa','BgL0zxi','BxbSyxq','55sF5OIq5zU+54Mh5A69','ExnPCW','5PYa5AsN5lIk5lIl5PAh','BgvK','5y+n5zcr5O+q56s66k+n','ywDLCW','ywLwAwq','EwXVywq','y2HHDa','zxzLBfm','55sF5OIq5zU+54Mh6lsO','yM1PDfi','quDt','zw9pDxq','qvbbqKK','zxnWB24','Bg9NB3u','y2vwAwq','BMfS','z2v0qwm','zgf0zwq','CNvUBMK','DMvKAw8','Dw90yvi','mty6oq','AwfYEuK','l21Vzgu','BwLU','AgvTysa','su5qvvq','BNnLihm','BNnLvhK','CMvZCg8','ywKVDge','Dxnty2G','mZa1ntu5r0LkqNzk','5PAh5QgJ5zYW5z2a','zwXqyxi','DgvKu3u','5PIV5zcM5OIq5yQF','qxv4AwW','ig9Yigi','qxv0Aem','C1vWzge','5QIH5z6l5yIx6kgO','quLFtu8','yNvN','ywnRvhK','5Bgv56s65zcn56EW','u2fHu1m','zwXty2G','55sF5OIq6kEg6Akr5A69','y2fSBa','Bwf4sw0','C3qGC2m','ywnRsxq','yxv0AeW','BIbMywK','5PIV5zcM5PsV5OYb6igu','Cgvty2G','5y+c5PwWigTL','zfnJAgu','C3rqyxK','ywnRtgK','ywKVAw0','5lU75yQH57Ut5P6C57g7','yY9Mzwu','AhjVDwC','Bwv0Ag8','6k6K6k+b5PA55BYp','AwfYEum','ywLdAge','w3nKA10','yxv4AwW','ChvIBgK','ywKVDMu','Dw5RBM8','zMfPBgu','ywnRq2W','zwXszxm','z2f0Axy','AwjL','5QIH5z6l5zcn56EW','y2nLC3m','5zU+5yop6lsO6yEp','CgvYzM8','DhvZu2m','C3bVBNm','y2f1C2u','6kEg6Akr55cg6kEJ','Dg9mB3C','tw9KzwW','zwXMu2m','6Akr6l6t5yE6','Axr5','l3rYCgm','5lU75yQH54Q25Ocb5P6A','ywnRrw4','zvnJAgu','yxjZzvi','ody4mdHbsKzAA0C','zNvUy3q','yw1Zu2m','6zw/77Yi56Es77Yj','ofDSuMjAwq','5y+c5PwW5A2x5Q61','Cg9PBNq','5AQs5l2tiejH','yxjZzq','57Ut5P6C57g75z6l','igLZihi','5l6B5BQu5zwg5yIx6kgO','ywn0','A1jLC3a','CY91Cgq','5y+c5PwW6k+05PIo','Dxrty2G','zwXZuMu','y29UDhi','ywLuyxm','BgLZDa','CNrZtwe','C2vty2G','zMvLzgi','zNjLzq','DgfPBfi','zhbVAw4','5PAh55sF5zU+','DgfZAW','BNnL','ywLnB2q','zwXdyxa','DhLdB20','CMvHza','ywnRrgu','yMfZzvu','AgvHzgu','yxrPB24','zw9jBNa','CMSGCMu','zgvYCW','6l6t5ywL5y+c5PwW','y2vZC1q'];_0x9d1c=function(){return _0x46715e;};return _0x9d1c();}var SaaSHttpError=class extends Error{[_0x50f445(0x13c)+'s'];[_0x50f445(0x13c)+_0x50f445(0x15c)];[_0x50f445(0x141)+'ad'];constructor(_0x17483e,_0xed0a1){var _0x4c7859=_0x50f445;super(_0x17483e),this[_0x4c7859(0x207)]=_0x4c7859(0x1e4)+_0x4c7859(0x21d)+'ror',this['statu'+'s']=_0xed0a1['statu'+'s'],this[_0x4c7859(0x13c)+_0x4c7859(0x15c)]=_0xed0a1[_0x4c7859(0x13c)+_0x4c7859(0x15c)],this[_0x4c7859(0x141)+'ad']=_0xed0a1[_0x4c7859(0x141)+'ad'];}},SaaSSchemaError=class extends Error{[_0x50f445(0xe6)+'s'];constructor(_0x58b190,_0x4af52a){var _0x624217=_0x50f445;super(_0x58b190),this[_0x624217(0x207)]=_0x624217(0x25a)+'chema'+_0x624217(0xf1),this[_0x624217(0xe6)+'s']=_0x4af52a;}},SaaSNetworkError=class extends Error{[_0x50f445(0x281)];constructor(_0x368b0b,_0x176cc9){var _0x4eaf76=_0x50f445;super(_0x368b0b),this['name']=_0x4eaf76(0x18a)+'etwor'+_0x4eaf76(0x219)+'r',this[_0x4eaf76(0x281)]=_0x176cc9;}};function logSdkError(_0x4c3ca7){var _0x110061=_0x50f445;try{console[_0x110061(0x13d)](_0x110061(0x271)+_0x110061(0x1d5)+_0x110061(0x187)+_0x110061(0x1c2),_0x4c3ca7);}catch{}}async function request(_0x238874,_0x5a5582,_0x140217){var _0x1a8262=_0x50f445;const _0x5d959b=new URL(_0x5a5582[_0x1a8262(0x1ce)],_0x140217[_0x1a8262(0xd8)+'rl']);let _0x5a9bda;try{_0x5a9bda=_0x5a5582[_0x1a8262(0x185)+_0x1a8262(0x1c8)+'st'](_0x140217[_0x1a8262(0x21f)]);}catch(_0x2c9a3d){const _0x483ccf=_0x2c9a3d&&typeof _0x2c9a3d===_0x1a8262(0x1a1)+'t'?_0x2c9a3d[_0x1a8262(0xe6)+'s']:void(-0x735+0xa93+-0x35e);logSdkError({'message':_0x1a8262(0x1c8)+_0x1a8262(0x25f)+_0x1a8262(0x245)+_0x1a8262(0x1bd)+'ation'+_0x1a8262(0x1a9)+'ed','url':_0x5d959b[_0x1a8262(0x11d)+_0x1a8262(0x19f)](),'method':_0x5a5582[_0x1a8262(0x26d)+'d'],'payload':_0x140217[_0x1a8262(0x21f)],'error':_0x2c9a3d});throw new SaaSSchemaError(_0x1a8262(0x1c8)+_0x1a8262(0x25f)+_0x1a8262(0x245)+_0x1a8262(0x1bd)+_0x1a8262(0xda)+_0x1a8262(0x1a9)+'ed',_0x483ccf);}const _0x2b77ec=mergeHeaders(_0x140217[_0x1a8262(0xd9)+'rs']);var _0xa3fd74={};_0xa3fd74['metho'+'d']=_0x5a5582[_0x1a8262(0x26d)+'d'],_0xa3fd74[_0x1a8262(0xd9)+'rs']=_0x2b77ec;const _0x50bb07=_0xa3fd74;_0x5a9bda!==void(0x1af2*-0x1+-0x419*0x2+0x2324)&&(!_0x2b77ec[_0x1a8262(0x13b)+_0x1a8262(0x1d9)+'pe']&&(_0x2b77ec[_0x1a8262(0x13b)+'nt-ty'+'pe']='appli'+'catio'+_0x1a8262(0x151)+'n'),_0x50bb07['body']=JSON['strin'+_0x1a8262(0x20b)](_0x5a9bda));let _0x5f1ae5;try{_0x5f1ae5=await _0x238874(_0x5d959b[_0x1a8262(0x11d)+_0x1a8262(0x19f)](),_0x50bb07);}catch(_0x3368de){logSdkError({'message':_0x1a8262(0x145)+_0x1a8262(0xdc)+_0x1a8262(0xe2)+_0x1a8262(0x1a9)+'ed','url':_0x5d959b['toStr'+_0x1a8262(0x19f)](),'method':_0x5a5582[_0x1a8262(0x26d)+'d'],'error':_0x3368de});throw new SaaSNetworkError(_0x1a8262(0x145)+_0x1a8262(0xdc)+_0x1a8262(0xe2)+'\x20fail'+'ed',_0x3368de);}const _0x3e2a04=await _0x5f1ae5[_0x1a8262(0x1f0)]();let _0x12c724;if(_0x5a5582[_0x1a8262(0x249)+_0x1a8262(0x248)+'pe']===_0x1a8262(0x1f0))_0x12c724=_0x3e2a04;else{if(_0x3e2a04)try{_0x12c724=JSON[_0x1a8262(0x185)](_0x3e2a04);}catch{logSdkError({'message':_0x1a8262(0x21c)+_0x1a8262(0x15d)+'s\x20not'+_0x1a8262(0x1f4)+_0x1a8262(0x16c)+'N','url':_0x5d959b[_0x1a8262(0x11d)+'ing'](),'method':_0x5a5582[_0x1a8262(0x26d)+'d'],'status':_0x5f1ae5[_0x1a8262(0x13c)+'s'],'statusText':_0x5f1ae5['statu'+_0x1a8262(0x15c)],'payload':_0x3e2a04});var _0x3b9164={};_0x3b9164[_0x1a8262(0x13c)+'s']=_0x5f1ae5['statu'+'s'],_0x3b9164['statu'+_0x1a8262(0x15c)]=_0x5f1ae5[_0x1a8262(0x13c)+_0x1a8262(0x15c)],_0x3b9164[_0x1a8262(0x141)+'ad']=_0x3e2a04;throw new SaaSHttpError('Respo'+_0x1a8262(0x15d)+_0x1a8262(0x192)+_0x1a8262(0x1f4)+_0x1a8262(0x16c)+'N',_0x3b9164);}}let _0x152bd1;try{_0x152bd1=_0x5a5582[_0x1a8262(0x185)+_0x1a8262(0x21c)+_0x1a8262(0xd2)](_0x12c724);}catch(_0x213ea9){const _0x41b2a0=_0x213ea9&&typeof _0x213ea9===_0x1a8262(0x1a1)+'t'?_0x213ea9['issue'+'s']:void(-0x6d*0x13+-0xdee*-0x1+-0x5*0x12b);logSdkError({'message':_0x1a8262(0x21c)+_0x1a8262(0x247)+_0x1a8262(0x101)+_0x1a8262(0x1f4)+_0x1a8262(0x1ff)+_0x1a8262(0x262)+_0x1a8262(0x22c),'url':_0x5d959b['toStr'+_0x1a8262(0x19f)](),'method':_0x5a5582['metho'+'d'],'status':_0x5f1ae5[_0x1a8262(0x13c)+'s'],'statusText':_0x5f1ae5[_0x1a8262(0x13c)+_0x1a8262(0x15c)],'payload':_0x12c724,'error':_0x213ea9});throw new SaaSSchemaError(_0x1a8262(0x21c)+'nse\x20s'+_0x1a8262(0x101)+_0x1a8262(0x1f4)+_0x1a8262(0x1ff)+_0x1a8262(0x262)+_0x1a8262(0x22c),_0x41b2a0);}if(!_0x5f1ae5['ok']){logSdkError({'message':_0x1a8262(0x1c8)+_0x1a8262(0x195)+_0x1a8262(0xf8),'url':_0x5d959b['toStr'+_0x1a8262(0x19f)](),'method':_0x5a5582[_0x1a8262(0x26d)+'d'],'status':_0x5f1ae5[_0x1a8262(0x13c)+'s'],'statusText':_0x5f1ae5[_0x1a8262(0x13c)+_0x1a8262(0x15c)],'payload':_0x152bd1});var _0x2a5e5e={};_0x2a5e5e[_0x1a8262(0x13c)+'s']=_0x5f1ae5[_0x1a8262(0x13c)+'s'],_0x2a5e5e[_0x1a8262(0x13c)+_0x1a8262(0x15c)]=_0x5f1ae5[_0x1a8262(0x13c)+'sText'],_0x2a5e5e[_0x1a8262(0x141)+'ad']=_0x152bd1;throw new SaaSHttpError(_0x1a8262(0x1c8)+_0x1a8262(0x195)+_0x1a8262(0xf8),_0x2a5e5e);}return _0x152bd1;}var BaseSaaSClient=class{[_0x50f445(0x29f)+_0x50f445(0x299)];['baseU'+'rl'];['getAc'+_0x50f445(0xdf)+'oken'];[_0x50f445(0x18d)+'er'];['heade'+'rs'];constructor(_0x314506){var _0x563a42=_0x50f445;this['baseU'+'rl']=_0x314506['baseU'+'rl'],this[_0x563a42(0x23c)+'cessT'+_0x563a42(0x1bb)]=_0x314506[_0x563a42(0x23c)+_0x563a42(0xdf)+_0x563a42(0x1bb)],this[_0x563a42(0x18d)+'er']=_0x314506[_0x563a42(0x18d)+'er']??fetch,this[_0x563a42(0xd9)+'rs']=_0x314506[_0x563a42(0xd9)+'rs'],this[_0x563a42(0x29f)+_0x563a42(0x299)]=_0x314506[_0x563a42(0x29f)+'act'];}async[_0x50f445(0x19c)+'st'](_0x5caceb,_0xeec418){var _0x56971f=_0x50f445;const _0x497929=mergeHeaders(this[_0x56971f(0xd9)+'rs'],_0xeec418[_0x56971f(0xd9)+'rs']);return request(this['fetch'+'er'],_0x5caceb,{'baseUrl':_0xeec418[_0x56971f(0xd8)+'rl']??this[_0x56971f(0xd8)+'rl'],'headers':_0x497929,'body':_0xeec418[_0x56971f(0x21f)]});}async['build'+_0x50f445(0x1c6)+'eader'](){var _0x2f4e41=_0x50f445;if(!this[_0x2f4e41(0x23c)+'cessT'+_0x2f4e41(0x1bb)])return{};const _0x4c072d=await this[_0x2f4e41(0x23c)+_0x2f4e41(0xdf)+_0x2f4e41(0x1bb)]();if(!_0x4c072d)return{};var _0x59706d={};return _0x59706d['Autho'+_0x2f4e41(0x1ba)+'ion']=_0x2f4e41(0x14f)+'r\x20'+_0x4c072d,_0x59706d;}[_0x50f445(0x209)+_0x50f445(0x201)](){return this['baseU'+'rl'];}},SaaSClient=class extends BaseSaaSClient{[_0x50f445(0x226)];['ai'];['auxil'+_0x50f445(0x1fb)];[_0x50f445(0x2a4)+_0x50f445(0x1dc)];[_0x50f445(0x158)];constructor(_0x416057){var _0x1b2851=_0x50f445,_0x41c0cf={..._0x416057};_0x41c0cf[_0x1b2851(0x29f)+_0x1b2851(0x299)]=_0x416057[_0x1b2851(0x29f)+_0x1b2851(0x299)]??contract,super(_0x41c0cf),this[_0x1b2851(0x226)]=new AuthClient(this),this['ai']=new AiClient(this),this[_0x1b2851(0x272)+_0x1b2851(0x1fb)]=new AuxiliaryClient(this),this[_0x1b2851(0x2a4)+'ack']=new FeedbackClient(this),this[_0x1b2851(0x158)]=new UserClient(this);}};function createTrpcClient(_0x271e70){var _0x5fd14e=_0x50f445;return createTRPCClient({'links':[httpBatchLink({'url':new URL(_0x5fd14e(0x288),_0x271e70[_0x5fd14e(0xd8)+'rl'])[_0x5fd14e(0x11d)+_0x5fd14e(0x19f)](),'headers':async()=>{var _0x5cba16=_0x5fd14e;const _0x1b8510=_0x271e70['getAc'+_0x5cba16(0xdf)+_0x5cba16(0x1bb)]?await _0x271e70['getAc'+'cessT'+_0x5cba16(0x1bb)]():'',_0x4c752f=_0x1b8510?{'Authorization':'Beare'+'r\x20'+_0x1b8510}:{};return mergeHeaders(_0x271e70[_0x5cba16(0xd9)+'rs'],_0x4c752f);}})]});}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 _0x281ab5=_0x5f51;(function(_0x4e0cf8,_0x4c58bd){var _0x27145e=_0x5f51,_0x2ddb2f=_0x4e0cf8();while(!![]){try{var _0x1b4751=parseInt(_0x27145e(0x314))/(-0xe7b+0x95*-0x35+0x2d55)+parseInt(_0x27145e(0x208))/(-0x25*-0x1a+0x1*0xc7+-0x487)+-parseInt(_0x27145e(0x287))/(0xd80+-0x1cac+-0x17*-0xa9)+parseInt(_0x27145e(0x37c))/(-0xae8+0xdaa+-0x2be)*(-parseInt(_0x27145e(0x298))/(-0x26c2+0x4a5+-0x101*-0x22))+-parseInt(_0x27145e(0x37e))/(0x612+0xde5+0x1*-0x13f1)+-parseInt(_0x27145e(0x2b3))/(0xa0f+-0x49*-0x53+-0x21b3*0x1)*(-parseInt(_0x27145e(0x2e6))/(0xb51*-0x2+0x11*0x239+-0xf1f))+parseInt(_0x27145e(0x37d))/(0x1453+0x149*-0x1a+0xd20);if(_0x1b4751===_0x4c58bd)break;else _0x2ddb2f['push'](_0x2ddb2f['shift']());}catch(_0x32a52c){_0x2ddb2f['push'](_0x2ddb2f['shift']());}}}(_0x190b,-0x19124+0x3ec9*0x7+-0x33f7*-0x15));import{z}from'zod';import{createTRPCClient,httpBatchLink}from'@trpc/client';var __defProp=Object[_0x281ab5(0x23d)+'eProp'+'erty'],__export=(_0x3af976,_0x238629)=>{for(var _0xcc4377 in _0x238629)__defProp(_0x3af976,_0xcc4377,{'get':_0x238629[_0xcc4377],'enumerable':!![]});},ai_exports={},_0x58e7f5={};function _0x190b(){var _0x48e04b=['yw1Zu2m','DgfPBfi','zxnZu2m','6l6t5yE65y+c5PwW','DhjPBq','5l6B5BQu5zwg5yIx6kgO','C3rqyxK','zM9Yrwe','5QIH5z6l5Qch562+','AwjL','zxnWB24','DMvK','ywLjBwe','zgvMAw4','6BUy6k6K5yc8','Bhnszxm','C3rHBMq','Dw90yvi','yxrLC1m','Bg9NB3u','yNvPBgq','5y+c5PwW54M55OcN','z2vszxe','BwvZC2e','CM1HBMm','ywDLCW','ywnRsxq','6AAw5BIN5zU+54Mh','quLFtu8','ndOZ','ywfZ','yxrLtw8','y2nLC3m','y2vwAwq','yM9VBgu','Dg9VBf8','CMvMAw4','CML6yxq','CxvLDwu','5zU+54Mh57Yw6l6r','BMDL','AwfYEuK','C3vIBwK','A0nHBMm','ywnRlW','DxnLCG','5QIH5z6l5yIx6kgO','B25Zzvm','yM9KEq','5PIV5zcM5OIq5yQF','l2fWAs8','revmx1q','zgf0zxq','yY9HAs8','Dw5Yzwe','5zU+54Mh55cg6kEJ','Axr5','Aw9U','Cgvty2G','6icd6kEg6Akr','DMfSAwq','rxjYB3i','z2v0qMe','CxvLC3q','A0vYCM8','zxf1zxm','CMf0Aw8','yxrLC1a','tw9KzwW','Bwf4sw0','Aw50','Dg9tDhi','Av9PBNa','5y+c5PwWigTL','B3rH','De1Vzgu','yxrLu2m','yxvKAw8','ywnRvhK','zwXszxm','DwvZDfm','6zsz6k+V56cb','C3qGC2m','BhruExa','y2fSBa','ue9tva','6zw/5BQMkeSP','mte4nde3ogvyB0nPza','ywLuyxm','zMv0y2G','zgjHy2S','AwDUB3i','C2HPCeW','5y+V6ycj5yc8','zw1H','igzHAwW','6k6K6k+b5PA55BYp','BwLU','AwXLza','6l6t5ywL5y+c5PwW','CM9Y','C2vSzwm','ChjVDMK','ywKVDge','mtC4mZbxyKLxAeu','AwfYEum','CNrZuMu','yxv0Afi','zxjHDgK','BfrHC2S','Bwv0Ag8','y2vZC1q','BgLLBNq','yxrPB24','5PIV5zcM5PsV5OYb5y+c','qxv4AwW','ywLnzwq','CNrZu3q','BNnLigK','BNqTDhK','CMSGCMu','AxzL','zwXszxe','rwL0Agu','x2DLBMu','zcbku08','5QIH5z6l5A625PEpia','BgL0zxi','AevYCM8','C3rYDwm','z2v0qwm','mta5ourOCuHdtW','C3vWCg8','5P6e5yYw6l6t5yE6','5l6B5BQu5zwg','yxbWBgK','CNjVCLm','ywnRtgK','uMvZCg8','DMLKzw8','5AQs5l2tifvs','AgvTysa','z2LMEq','qKvmuW','Dw5PB24','Aw1L','zgvZy3i','zxzLBfm','BIbMywK','yxrLC1i','BhnqyxK','zMvHDhu','5zco5PU05PAW5PE26zE0','C2vvCMW','EwXVywq','CgvYzM8','5y+c5PwW5A2x5Q61','A1n1y2m','zxjdyxm','CLnJAgu','zwXty2G','A1jLCxu','zxn0igu','zgv0ywK','DgfZAW','AwfYEs8','CNjVCG','zw51Bq','6Akr6l6t5yE6','yxjZzq','ywnRrw4','5PYa5AsN5lIk5lIl5PAh','5PIV5zcM5PsV5OYb6ygU','A1jLC3u','qxv0AeG','EgnOyw4','mty6oq','zwXZvxa','CMvJB3i','55sF5OIq5zU+54Mh6lsO','z2v0uxu','u2nOzw0','mtG0otzdtuXLANC','ChvIBgK','5l6B5BQu5zwg5zcn56EW','ihjLCxu','yxjZzvi','BNnL','zfnJAgu','BMrWB2K','Dgv4Da','ywKVDMu','5PYa5AsN5yc8','Aw5MAw4','ywLfCNi','zxHJAge','6l6t5ywL5zU+54Mh5yIx','zwXMu2m','6kEg6Akr55cg6kEJ','yxnLnJq','5Bc+5BIN5zU+54Mh','CNrZtwe','y2HLBwe','ywn0','BM9UBMu','CNvUBMK','zNjLzq','yxj0rw4','zNvUy3q','5Bgv56s65zcn56EW','C3bVBNm','l21Vzgu','zwXMuMu','x211Bhq','revmx0m','yxLSB2e','5PAh55sF5zU+','CIb1CMW','quKGu0q','yw1LDgu','5PYa5AsN6l6t5ywL5zU+','B2TLBG','BNnLu2m','C3zPCa','DgfPBfa','5QIH5z6l6io95yQB','5AQs5l2tiejH','zwzYzxm','mZq5mdm2vgPgve1P','C3rszxm','DgvKu3u','5PIV5zcM5PsV5OYb6igu','CMvZCg8','rMvLzgi','zMvYzw4','l2nHBMm','A0nYzwe','Bw9Uu2m','BhrP','AxnZDwu','DxrZu2m','DMLKzxi','AhjVDwC','B2fMlxm','qvbjiowCSa','B3bLBMW','zgf0zwq','quDt','zMfPBgu','6igk5AsP5QIH5z6l5PYa','AfjLCxu','5PIV5zcM5yYf5zcR6z+Z','zxn0u2m','C2HuB2S','C2vSzG','ywKVAw0','x2fUywW','5BEL5yw36lcd55sO','vgvTCgW','quDFtee','zw9jBNa','qMvHCMu','5PIV5zcM5B+f5AgR','uMvXDwu','C3rYAw4','zwXqyxi','zgf0Aw8','CYbUB3q','A0rHDge','55sF5OIq5zU+54Mh5A69','yM1PDfi','ywLqCM8','qwLdBgK','B2DVDxq','zw1HAwW','y2fUy2u','AwfYEq','qxrtDwm','qxv0Ag8','zMvLzgi','ihzHBgK','Bg9Hzfm','BNnLihm','vf9lrvK','z2vjBNa','BMfS','Dxnty2G','CKzPzwW','C3qGzMe','zwfKzxi','vxnLCKm','6l6t5yE66io95yQB','Cgf5Bg8','AwfYEuu','ywnR','mtOX','y29Kzq','CMvMCMu','6l+u5zUE5PwW5O2U','qxv0Aem','y2f1C2u','Bwf4','DgLLC08','5QIH5z6l5zcn56EW','B3b0Aw8','BgvK','5PAh5QgJ5zYW5z2a','57Ut5P6C57g75z6l','zw9pDxq','yxjYyxK','5zU+5yop5A696AUy5Q+u','x0Tfwvm','ig9Yigi','CMvHza','ANnVBG','5zU+54Mh6l6t5ywL','5lU75yQH54Q25Ocb5P6A','5AsA5zU+55sF5OIq','55Qe5PYa5PAW5PU05PAW','DhvZu2m','C3nPBMC','yMfZzty','AfvZzxi','yvnJAgu','DxnLCLm','u2fHu04','x2vKAxq','BNrZ','5zU+54Mh5QIH5z6l5PYa','CNrZtxu','5A6y572r5zYW5z2a','zgLV','mZG4t1LvrhPy','mtaWody0ohPnwffUCq','otu5ntiWAeX2EgLn','r0vu','z2vpDxq','57Ut5P6C5zYW5z2a5yIx','zxf1Axi','572r5PcC57sI','tMv0D28','yxv0Ac8','AgvTyq','yxntDge','C2vty2G','55sF5OIq6kEg6Akr5A69','5O+q56s66k+n','yxv0Aa','y2HHDe0','y2vZC1m','yxv4AwW','zgvYvgu','ywLdAge','B2rLBhm','AxnbCNi','BhntDwm','yxrLzc0','Av9Nzw4','Aw5N','BxbSyxq','ywnRl2W','ywnRu3u','w3nKA10','zw1Izxi','zhbVAw4','5PU05PAW5PE26zE0','6ygU572P5zU+','BMLUzW','A1jLC3a','BMfTzq','B3rOzxi','6z+Z6Akr55cg6kEJ','yxv0Aeu','AwfjBNa','zxjYB3i','zvnJAgu','5lU75yQH54Q25Ocb','y2f0Aw8','5PIV5zcM5PsV5OYb6z+Z','x2LUChu','yMfZzvu','ywLwAwq','5AQs5l2t57g75z6l','5Q2L6l+B5yc8','5PIV5zcM5PsV5OYb57Ut','Cgf0Aa','Aw1Hz2u','teLuwv8','6zw/77Yi56Es77Yj','z2f0Axy','DgvKqxq','zxr3B3i','CMvHC28','DgLLC1m','5lU75yQH57Ut5P6C57g7','5PIV5zcM5PsV5OYb5AsA','A1n0yxq','Afn1y2m','5RAi6icx56EV5yIg','C2u2nca','C1rLEhq','C2rR','BNvSBgK','ywjPBgK','5QIH5z6l5O+p6l+W','B2jQzwm','DgvUyxm','Aw5Mzxi','C3vJy2u','AgvHzgu','BMzLCLi','C1nJAgu','ywDL','ywLnB2q','DwnJzxm','t1vuufu','DxrWDxq','ChjVy2u','6zsz6k+V5l+H5OgV','5lU75yQH6l+B5BQM','6AkD5Asw5y+c5PwW','5PIV5zcM5PsV5OYb6AAw','DfnJAgu','DM9Pza','C3rty2G','zw1ty2G','yNvN','BgLZDa','zw9szxe','5PYa5Bcp5yc8','C3rszxe','nZmXmJC2r2jIEgzm','Cg9UC2u','ywnRq2W','CgfYC2u','5y+c6icd6kEg6Akr','zwXtDwm','5y+n5zcr5O+q56s66k+n','5lU75yQHieLe','5QIH5z6lieLe','y2HHDa','54Mh5PwW6yEp','Bw9KzwW','C1vWzge','q29Kzq','5zU+5yop6lsO6yEp','6l6t5ywL6io95yQB','BNvTyMu','Dw5RBM8','DxjS','y29UDhi','ywnRu28','6ycA55sO6io95yQB','qvbbqKK','BNnLvhK','5l6B5BQu5zwgieK','CMvXDwu','BfnJAgu','ywnRrgu','ExnPCW','qxreyxq','l3rYCgm','zwXZuMu','C2fMzva','Axn0','yxv0AeW','C3rHDhu','yY9Mzwu','zwXdyxa','zgvYCW','CxvVDge'];_0x190b=function(){return _0x48e04b;};return _0x190b();}_0x58e7f5[_0x281ab5(0x24c)+_0x281ab5(0x306)+_0x281ab5(0x21e)+_0x281ab5(0x3b3)+'INPUT'+_0x281ab5(0x367)]=()=>AI_MODEL_CAPABILITY_INPUT_KEYS,_0x58e7f5['AI_MO'+_0x281ab5(0x306)+_0x281ab5(0x21e)+_0x281ab5(0x3b3)+_0x281ab5(0x1f8)+_0x281ab5(0x34b)+'S']=()=>AI_MODEL_CAPABILITY_OUTPUT_KEYS,_0x58e7f5[_0x281ab5(0x24c)+_0x281ab5(0x263)+_0x281ab5(0x327)]=()=>AI_MODEL_TAGS,_0x58e7f5[_0x281ab5(0x24c)+_0x281ab5(0x263)+_0x281ab5(0x333)+_0x281ab5(0x2bf)]=()=>AI_MODEL_TAG_LABELS,_0x58e7f5[_0x281ab5(0x340)+'ent']=()=>AiClient,_0x58e7f5['aiCha'+_0x281ab5(0x27b)+_0x281ab5(0x222)+'ma']=()=>aiChatModelSchema,_0x58e7f5[_0x281ab5(0x390)+_0x281ab5(0x27b)+_0x281ab5(0x2c6)+_0x281ab5(0x349)+_0x281ab5(0x2fa)]=()=>aiChatModelsPayloadSchema,_0x58e7f5['aiCha'+'tMode'+_0x281ab5(0x23f)+_0x281ab5(0x209)+_0x281ab5(0x2e5)+'a']=()=>aiChatModelsResponseSchema,_0x58e7f5[_0x281ab5(0x390)+_0x281ab5(0x27b)+_0x281ab5(0x393)+_0x281ab5(0x38d)+_0x281ab5(0x2fa)]=()=>aiChatModelsSuccessSchema,_0x58e7f5['aiEnd'+'point'+'s']=()=>aiEndpoints,_0x58e7f5[_0x281ab5(0x2f2)+'orRes'+_0x281ab5(0x209)+_0x281ab5(0x2e5)+'a']=()=>aiErrorResponseSchema,_0x58e7f5[_0x281ab5(0x23c)+_0x281ab5(0x34c)+_0x281ab5(0x320)+_0x281ab5(0x386)]=()=>aiImageInputsSchema,_0x58e7f5[_0x281ab5(0x23c)+_0x281ab5(0x380)+'putSc'+_0x281ab5(0x386)]=()=>aiImageOutputSchema,_0x58e7f5['aiIma'+_0x281ab5(0x246)+'uestS'+_0x281ab5(0x2fa)]=()=>aiImageRequestSchema,_0x58e7f5[_0x281ab5(0x2a4)+_0x281ab5(0x3a5)+'utSch'+_0x281ab5(0x28e)]=()=>aiMediaInputSchema,_0x58e7f5[_0x281ab5(0x1f6)+_0x281ab5(0x22d)+'abili'+'tiesI'+'nputS'+_0x281ab5(0x2fa)]=()=>aiModelCapabilitiesInputSchema,_0x58e7f5[_0x281ab5(0x1f6)+_0x281ab5(0x22d)+_0x281ab5(0x1ec)+_0x281ab5(0x35e)+_0x281ab5(0x1f9)+_0x281ab5(0x2e5)+'a']=()=>aiModelCapabilitiesOutputSchema,_0x58e7f5[_0x281ab5(0x1f6)+'elCap'+_0x281ab5(0x1ec)+_0x281ab5(0x3b9)+_0x281ab5(0x2fa)]=()=>aiModelCapabilitiesSchema,_0x58e7f5[_0x281ab5(0x1f6)+'elCap'+'abili'+'tyCom'+_0x281ab5(0x31d)+_0x281ab5(0x386)]=()=>aiModelCapabilityCommonSchema,_0x58e7f5[_0x281ab5(0x1f6)+_0x281ab5(0x339)+_0x281ab5(0x30b)+_0x281ab5(0x34f)+'dSche'+'ma']=()=>aiModelParameterFieldSchema,_0x58e7f5['aiMod'+_0x281ab5(0x339)+_0x281ab5(0x230)+_0x281ab5(0x386)]=()=>aiModelParamsSchema,_0x58e7f5['aiMod'+_0x281ab5(0x2d0)+_0x281ab5(0x28e)]=()=>aiModelSchema,_0x58e7f5[_0x281ab5(0x1f6)+'elsPa'+_0x281ab5(0x2ca)+_0x281ab5(0x2e5)+'a']=()=>aiModelsPayloadSchema,_0x58e7f5[_0x281ab5(0x1f6)+_0x281ab5(0x227)+_0x281ab5(0x26f)+_0x281ab5(0x2e5)+'a']=()=>aiModelsRequestSchema,_0x58e7f5[_0x281ab5(0x1f6)+_0x281ab5(0x227)+_0x281ab5(0x302)+_0x281ab5(0x3a7)+'ma']=()=>aiModelsResponseSchema,_0x58e7f5[_0x281ab5(0x1f6)+'elsSu'+_0x281ab5(0x250)+_0x281ab5(0x2e5)+'a']=()=>aiModelsSuccessSchema,_0x58e7f5[_0x281ab5(0x1f6)+_0x281ab5(0x2e1)+_0x281ab5(0x326)+_0x281ab5(0x225)+_0x281ab5(0x373)+'ma']=()=>aiModelsUpdatedAtDataSchema,_0x58e7f5[_0x281ab5(0x1f6)+_0x281ab5(0x2e1)+'dated'+'AtRes'+_0x281ab5(0x209)+'Schem'+'a']=()=>aiModelsUpdatedAtResponseSchema,_0x58e7f5['aiMod'+_0x281ab5(0x2e1)+_0x281ab5(0x326)+_0x281ab5(0x345)+_0x281ab5(0x38d)+'chema']=()=>aiModelsUpdatedAtSuccessSchema,_0x58e7f5[_0x281ab5(0x33f)+_0x281ab5(0x321)+_0x281ab5(0x332)+_0x281ab5(0x24f)+'delSc'+_0x281ab5(0x386)]=()=>aiProviderTemplateModelSchema,_0x58e7f5[_0x281ab5(0x33f)+_0x281ab5(0x321)+_0x281ab5(0x332)+_0x281ab5(0x27c)+_0x281ab5(0x386)]=()=>aiProviderTemplateSchema,_0x58e7f5[_0x281ab5(0x33f)+_0x281ab5(0x321)+'Templ'+_0x281ab5(0x273)+_0x281ab5(0x307)+_0x281ab5(0x2ec)+'ma']=()=>aiProviderTemplatesPayloadSchema,_0x58e7f5[_0x281ab5(0x33f)+'vider'+_0x281ab5(0x332)+_0x281ab5(0x2c5)+'eques'+_0x281ab5(0x1ff)+'ma']=()=>aiProviderTemplatesRequestSchema,_0x58e7f5['aiPro'+_0x281ab5(0x321)+_0x281ab5(0x332)+'atesR'+_0x281ab5(0x23a)+_0x281ab5(0x388)+_0x281ab5(0x28e)]=()=>aiProviderTemplatesResponseSchema,_0x58e7f5[_0x281ab5(0x33f)+_0x281ab5(0x321)+_0x281ab5(0x332)+_0x281ab5(0x242)+_0x281ab5(0x1f7)+_0x281ab5(0x1f4)+'ma']=()=>aiProviderTemplatesSuccessSchema,_0x58e7f5[_0x281ab5(0x288)+_0x281ab5(0x25b)+'elDat'+_0x281ab5(0x373)+'ma']=()=>aiTaskCancelDataSchema,_0x58e7f5[_0x281ab5(0x288)+_0x281ab5(0x25b)+_0x281ab5(0x2aa)+_0x281ab5(0x280)+_0x281ab5(0x2fa)]=()=>aiTaskCancelRequestSchema,_0x58e7f5[_0x281ab5(0x288)+'kCanc'+_0x281ab5(0x27f)+_0x281ab5(0x209)+_0x281ab5(0x2e5)+'a']=()=>aiTaskCancelResponseSchema,_0x58e7f5[_0x281ab5(0x288)+_0x281ab5(0x25b)+_0x281ab5(0x20d)+_0x281ab5(0x38d)+'chema']=()=>aiTaskCancelSuccessSchema,_0x58e7f5[_0x281ab5(0x288)+'kCrea'+'tedDa'+'taSch'+_0x281ab5(0x28e)]=()=>aiTaskCreatedDataSchema,_0x58e7f5[_0x281ab5(0x288)+_0x281ab5(0x31c)+'tedRe'+_0x281ab5(0x302)+_0x281ab5(0x3a7)+'ma']=()=>aiTaskCreatedResponseSchema,_0x58e7f5[_0x281ab5(0x288)+_0x281ab5(0x31c)+_0x281ab5(0x316)+'ccess'+_0x281ab5(0x2e5)+'a']=()=>aiTaskCreatedSuccessSchema,_0x58e7f5[_0x281ab5(0x288)+_0x281ab5(0x33c)+_0x281ab5(0x2e5)+'a']=()=>aiTaskDataSchema,_0x58e7f5[_0x281ab5(0x288)+'kErro'+_0x281ab5(0x2cf)+'ma']=()=>aiTaskErrorSchema,_0x58e7f5[_0x281ab5(0x288)+_0x281ab5(0x2d1)+_0x281ab5(0x32c)+_0x281ab5(0x386)]=()=>aiTaskRequestSchema,_0x58e7f5['aiTas'+_0x281ab5(0x3a0)+_0x281ab5(0x25f)+_0x281ab5(0x2fa)]=()=>aiTaskResponseSchema,_0x58e7f5[_0x281ab5(0x288)+_0x281ab5(0x2dd)+_0x281ab5(0x283)+_0x281ab5(0x3a7)+'ma']=()=>aiTaskResultTypeSchema,_0x58e7f5['aiTas'+_0x281ab5(0x1e5)+_0x281ab5(0x34e)+_0x281ab5(0x28e)]=()=>aiTaskStatusSchema,_0x58e7f5[_0x281ab5(0x288)+_0x281ab5(0x2cd)+_0x281ab5(0x232)+_0x281ab5(0x386)]=()=>aiTaskSuccessSchema,_0x58e7f5['aiVid'+_0x281ab5(0x334)+_0x281ab5(0x320)+_0x281ab5(0x386)]=()=>aiVideoInputsSchema,_0x58e7f5[_0x281ab5(0x3ad)+_0x281ab5(0x364)+'putSc'+'hema']=()=>aiVideoOutputSchema,_0x58e7f5[_0x281ab5(0x3ad)+_0x281ab5(0x205)+'uestS'+_0x281ab5(0x2fa)]=()=>aiVideoRequestSchema,__export(ai_exports,_0x58e7f5);var AiClient=class{['sdk'];constructor(_0x4f5794){var _0x5531fe=_0x281ab5;this[_0x5531fe(0x1ea)]=_0x4f5794;}async[_0x281ab5(0x3b2)](_0xd8856c){var _0x37b00a=_0x281ab5;const _0x398af5=await this[_0x37b00a(0x1ea)][_0x37b00a(0x244)+_0x37b00a(0x2de)+_0x37b00a(0x351)]();return this[_0x37b00a(0x1ea)]['reque'+'st'](this[_0x37b00a(0x1ea)][_0x37b00a(0x21b)+_0x37b00a(0x2fb)]['ai']['image'],{'baseUrl':this[_0x37b00a(0x1ea)][_0x37b00a(0x26e)+'seUrl'](),'headers':_0x398af5,'body':_0xd8856c});}async['video'](_0x51b83e){var _0x58609b=_0x281ab5;const _0x37c5b2=await this[_0x58609b(0x1ea)][_0x58609b(0x244)+'AuthH'+'eader']();return this[_0x58609b(0x1ea)][_0x58609b(0x221)+'st'](this[_0x58609b(0x1ea)][_0x58609b(0x21b)+_0x58609b(0x2fb)]['ai'][_0x58609b(0x2bb)],{'baseUrl':this['sdk'][_0x58609b(0x26e)+'seUrl'](),'headers':_0x37c5b2,'body':_0x51b83e});}async[_0x281ab5(0x2d4)](_0xa9bc74){var _0x21626d=_0x281ab5;const _0x392d87=await this[_0x21626d(0x1ea)][_0x21626d(0x244)+_0x21626d(0x2de)+_0x21626d(0x351)]();return this[_0x21626d(0x1ea)][_0x21626d(0x221)+'st'](this[_0x21626d(0x1ea)][_0x21626d(0x21b)+_0x21626d(0x2fb)]['ai'][_0x21626d(0x2d4)](_0xa9bc74),{'baseUrl':this[_0x21626d(0x1ea)][_0x21626d(0x26e)+_0x21626d(0x2c9)](),'headers':_0x392d87,'body':void(0xef*-0x7+-0x1*0xf7+0x780)});}async[_0x281ab5(0x343)+_0x281ab5(0x29d)](_0x23442e){var _0x32269c=_0x281ab5;const _0x568a97=await this[_0x32269c(0x1ea)]['build'+_0x32269c(0x2de)+'eader']();return this[_0x32269c(0x1ea)]['reque'+'st'](this[_0x32269c(0x1ea)][_0x32269c(0x21b)+_0x32269c(0x2fb)]['ai']['cance'+_0x32269c(0x29d)](_0x23442e),{'baseUrl':this[_0x32269c(0x1ea)][_0x32269c(0x26e)+'seUrl'](),'headers':_0x568a97,'body':void(0xd93*0x1+-0x128c+0x4f9*0x1)});}async['image'+_0x281ab5(0x274)+'s'](){var _0x35a924=_0x281ab5;const _0x215389=await this[_0x35a924(0x1ea)][_0x35a924(0x244)+_0x35a924(0x2de)+_0x35a924(0x351)]();return this[_0x35a924(0x1ea)]['reque'+'st'](this[_0x35a924(0x1ea)][_0x35a924(0x21b)+_0x35a924(0x2fb)]['ai'][_0x35a924(0x3b2)+_0x35a924(0x274)+'s'],{'baseUrl':this[_0x35a924(0x1ea)]['getBa'+_0x35a924(0x2c9)](),'headers':_0x215389,'body':void(0x22e7+-0x1*-0xa53+-0x2d3a*0x1)});}async[_0x281ab5(0x2bb)+_0x281ab5(0x274)+'s'](){var _0x187110=_0x281ab5;const _0x43d594=await this[_0x187110(0x1ea)][_0x187110(0x244)+_0x187110(0x2de)+_0x187110(0x351)]();return this[_0x187110(0x1ea)][_0x187110(0x221)+'st'](this[_0x187110(0x1ea)][_0x187110(0x21b)+_0x187110(0x2fb)]['ai']['video'+'Model'+'s'],{'baseUrl':this[_0x187110(0x1ea)][_0x187110(0x26e)+'seUrl'](),'headers':_0x43d594,'body':void(-0x1f*0xf2+-0x3*-0xb8d+0x25*-0x25)});}async[_0x281ab5(0x38c)+_0x281ab5(0x391)](){var _0x1ac881=_0x281ab5;const _0x20fc0f=await this[_0x1ac881(0x1ea)][_0x1ac881(0x244)+_0x1ac881(0x2de)+'eader']();return this[_0x1ac881(0x1ea)][_0x1ac881(0x221)+'st'](this[_0x1ac881(0x1ea)][_0x1ac881(0x21b)+_0x1ac881(0x2fb)]['ai'][_0x1ac881(0x38c)+_0x1ac881(0x391)],{'baseUrl':this['sdk']['getBa'+_0x1ac881(0x2c9)](),'headers':_0x20fc0f,'body':void(0xf*0x243+-0x3*0xcc1+0x172*0x3)});}async[_0x281ab5(0x213)+_0x281ab5(0x214)+_0x281ab5(0x3b6)](){var _0xfa1c82=_0x281ab5;return this[_0xfa1c82(0x1ea)][_0xfa1c82(0x221)+'st'](this[_0xfa1c82(0x1ea)][_0xfa1c82(0x21b)+_0xfa1c82(0x2fb)]['ai']['model'+'sUpda'+_0xfa1c82(0x3b6)],{'baseUrl':this[_0xfa1c82(0x1ea)][_0xfa1c82(0x26e)+_0xfa1c82(0x2c9)](),'headers':{},'body':void(0x1e16+-0x148+0x4cd*-0x6)});}async[_0x281ab5(0x296)+_0x281ab5(0x38f)+_0x281ab5(0x397)+'es'](){var _0x1577dc=_0x281ab5;return this[_0x1577dc(0x1ea)][_0x1577dc(0x221)+'st'](this[_0x1577dc(0x1ea)][_0x1577dc(0x21b)+_0x1577dc(0x2fb)]['ai'][_0x1577dc(0x296)+_0x1577dc(0x38f)+_0x1577dc(0x397)+'es'],{'baseUrl':this[_0x1577dc(0x1ea)]['getBa'+_0x1577dc(0x2c9)](),'headers':{},'body':void(0x2*-0x7eb+-0x1b65+0x2b3b)});}},AI_MODEL_TAGS=[_0x281ab5(0x3b2)+_0x281ab5(0x2ac)+_0x281ab5(0x272)+'n','image'+_0x281ab5(0x305)+'i_inp'+'ut',_0x281ab5(0x3b2)+'_inpu'+'t',_0x281ab5(0x3b2)+_0x281ab5(0x305)+_0x281ab5(0x395)+_0x281ab5(0x29c)+'on',_0x281ab5(0x3b2)+_0x281ab5(0x376),'video'+_0x281ab5(0x2ac)+_0x281ab5(0x272)+'n',_0x281ab5(0x211),_0x281ab5(0x3b8)+_0x281ab5(0x39f),_0x281ab5(0x253)+_0x281ab5(0x284),_0x281ab5(0x3b2)+_0x281ab5(0x330)+_0x281ab5(0x224),_0x281ab5(0x2bb)+'_anal'+_0x281ab5(0x224),_0x281ab5(0x27d)+_0x281ab5(0x330)+_0x281ab5(0x224),_0x281ab5(0x358)],_0x5735c6={};_0x5735c6[_0x281ab5(0x3b2)+_0x281ab5(0x2ac)+_0x281ab5(0x272)+'n']=_0x281ab5(0x308),_0x5735c6[_0x281ab5(0x3b2)+_0x281ab5(0x305)+_0x281ab5(0x278)+'ut']='多图输入',_0x5735c6[_0x281ab5(0x3b2)+_0x281ab5(0x3ab)+'t']=_0x281ab5(0x36b),_0x5735c6[_0x281ab5(0x3b2)+_0x281ab5(0x305)+_0x281ab5(0x395)+'erati'+'on']=_0x281ab5(0x36d),_0x5735c6[_0x281ab5(0x3b2)+'_edit']=_0x281ab5(0x257),_0x5735c6[_0x281ab5(0x2bb)+'_gene'+_0x281ab5(0x272)+'n']='视频生成',_0x5735c6['chat']='对话',_0x5735c6[_0x281ab5(0x3b8)+_0x281ab5(0x39f)]='推理',_0x5735c6['tool_'+'call']=_0x281ab5(0x331),_0x5735c6['image'+_0x281ab5(0x330)+_0x281ab5(0x224)]=_0x281ab5(0x267),_0x5735c6[_0x281ab5(0x2bb)+_0x281ab5(0x330)+_0x281ab5(0x224)]=_0x281ab5(0x2f6),_0x5735c6[_0x281ab5(0x27d)+_0x281ab5(0x330)+'ysis']=_0x281ab5(0x3a3),_0x5735c6[_0x281ab5(0x358)]='代码';var AI_MODEL_TAG_LABELS=_0x5735c6,AI_MODEL_CAPABILITY_INPUT_KEYS=[_0x281ab5(0x275)+_0x281ab5(0x249),_0x281ab5(0x2b4)+_0x281ab5(0x2f9)+'sk',_0x281ab5(0x2b4)+_0x281ab5(0x29a)+_0x281ab5(0x31a)+_0x281ab5(0x251)+'eo',_0x281ab5(0x2b4)+_0x281ab5(0x2a5)+_0x281ab5(0x2ff)+'d'],AI_MODEL_CAPABILITY_OUTPUT_KEYS=[_0x281ab5(0x2b4)+_0x281ab5(0x379)+_0x281ab5(0x31e),_0x281ab5(0x2b4)+'rtsAu'+_0x281ab5(0x37b)],Endpoint=class{[_0x281ab5(0x29e)+'d'];[_0x281ab5(0x3b1)];[_0x281ab5(0x318)+'nseTy'+'pe'];[_0x281ab5(0x221)+'st'];[_0x281ab5(0x318)+_0x281ab5(0x2eb)];constructor(_0xd31e8c){var _0x3d20e7=_0x281ab5;this[_0x3d20e7(0x29e)+'d']=_0xd31e8c[_0x3d20e7(0x29e)+'d'],this[_0x3d20e7(0x3b1)]=_0xd31e8c['path'],this['reque'+'st']=_0xd31e8c[_0x3d20e7(0x221)+_0x3d20e7(0x201)+_0x3d20e7(0x28e)],this['respo'+'nse']=_0xd31e8c[_0x3d20e7(0x318)+_0x3d20e7(0x30e)+_0x3d20e7(0x386)],this[_0x3d20e7(0x318)+'nseTy'+'pe']=_0xd31e8c[_0x3d20e7(0x318)+'nseTy'+'pe']??_0x3d20e7(0x36a);}[_0x281ab5(0x20b)+_0x281ab5(0x337)+'st'](_0x3d78b4){return this['reque'+'st']['parse'](_0x3d78b4);}[_0x281ab5(0x20b)+_0x281ab5(0x2ba)+_0x281ab5(0x2eb)](_0x153db8){var _0x2b9957=_0x281ab5;return this[_0x2b9957(0x318)+_0x2b9957(0x2eb)][_0x2b9957(0x20b)](_0x153db8);}[_0x281ab5(0x228)+_0x281ab5(0x2ea)+_0x281ab5(0x271)+'t'](_0x3f6e62){var _0x2941ca=_0x281ab5;return this[_0x2941ca(0x221)+'st'][_0x2941ca(0x228)+_0x2941ca(0x2d9)](_0x3f6e62);}[_0x281ab5(0x228)+_0x281ab5(0x2ea)+_0x281ab5(0x23a)+'se'](_0x1ec793){var _0x48959a=_0x281ab5;return this[_0x48959a(0x318)+_0x48959a(0x2eb)][_0x48959a(0x228)+'arse'](_0x1ec793);}},aiVoidRequestSchema=z[_0x281ab5(0x200)](),_0x517211={};_0x517211[_0x281ab5(0x247)+'ge']=_0x281ab5(0x2ab)+_0x281ab5(0x309)+_0x281ab5(0x368)+_0x281ab5(0x2f7)+'\x20is\x20r'+_0x281ab5(0x382)+'ed';var aiMediaInputSchema=z[_0x281ab5(0x1ee)+'t']({'url':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x21a)]()[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x2bc)+'L')[_0x281ab5(0x360)+'nal'](),'base64':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x312)+_0x281ab5(0x1e8)+'数据')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'mediaType':z[_0x281ab5(0x338)+'g']()['descr'+'ibe'](_0x281ab5(0x3ae))[_0x281ab5(0x360)+_0x281ab5(0x34d)]()})[_0x281ab5(0x254)+'e'](_0x44458d=>Boolean(_0x44458d[_0x281ab5(0x21a)]||_0x44458d[_0x281ab5(0x371)+'4']),_0x517211),aiImageInputsSchema=z[_0x281ab5(0x1ee)+'t']({'images':z[_0x281ab5(0x365)](aiMediaInputSchema)[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x2f4)+'表')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'mask':aiMediaInputSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x39e))[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiVideoInputsSchema=z[_0x281ab5(0x1ee)+'t']({'images':z[_0x281ab5(0x365)](aiMediaInputSchema)[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x2f4)+'表')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'startImage':aiMediaInputSchema['descr'+_0x281ab5(0x239)](_0x281ab5(0x24b))['optio'+_0x281ab5(0x34d)](),'endImage':aiMediaInputSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x2f8))['optio'+_0x281ab5(0x34d)](),'referenceVideo':aiMediaInputSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x20c))[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiImageAspectRatioSchema=z[_0x281ab5(0x2d7)]([_0x281ab5(0x357),_0x281ab5(0x2e0),'9:16',_0x281ab5(0x24d)])[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x366)),aiImageQualitySchema=z['enum']([_0x281ab5(0x240)+'ard','hd'])[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x216)),aiImageOutputSchema=z[_0x281ab5(0x1ee)+'t']({'count':z[_0x281ab5(0x218)+'r']()[_0x281ab5(0x276)]()[_0x281ab5(0x291)](-0x155+0x21d*0xf+-0x3*0xa1f)[_0x281ab5(0x35d)](0x360+0x2466+-0x1*0x27c1)[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('生成图片数'+'量')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'aspectRatio':aiImageAspectRatioSchema[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x33d)+'高比')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'quality':aiImageQualitySchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x2e3)+'量')[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiVideoOutputSchema=z[_0x281ab5(0x1ee)+'t']({'aspectRatio':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x389)+'高比')[_0x281ab5(0x360)+'nal'](),'duration':z[_0x281ab5(0x218)+'r']()['posit'+_0x281ab5(0x2a9)]()[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('生成视频时'+_0x281ab5(0x3b4))['optio'+_0x281ab5(0x34d)](),'clarity':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('清晰度')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'withAudio':z[_0x281ab5(0x252)+'an']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x32b)+'频')['optio'+_0x281ab5(0x34d)]()}),aiImageRequestSchema=z['objec'+'t']({'modelId':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x210)),'prompt':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+'ibe']('提示词'),'negativePrompt':z['strin'+'g']()[_0x281ab5(0x2c2)+'ibe']('反向提示词')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'style':z[_0x281ab5(0x338)+'g']()['descr'+_0x281ab5(0x239)]('风格')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'inputs':aiImageInputsSchema[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x293))['optio'+_0x281ab5(0x34d)](),'output':aiImageOutputSchema['descr'+_0x281ab5(0x239)](_0x281ab5(0x233))['optio'+_0x281ab5(0x34d)](),'parameters':z[_0x281ab5(0x2e2)+'d'](z[_0x281ab5(0x338)+'g'](),z[_0x281ab5(0x219)+'wn']())[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('额外参数')[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiVideoRequestSchema=z[_0x281ab5(0x1ee)+'t']({'modelId':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x210)),'prompt':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x38a)),'negativePrompt':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x20e))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'style':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('风格')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'inputs':aiVideoInputsSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x293))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'output':aiVideoOutputSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x233))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'parameters':z['recor'+'d'](z[_0x281ab5(0x338)+'g'](),z['unkno'+'wn']())[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x1fd))[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiTaskCreatedDataSchema=z['objec'+'t']({'taskId':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x20f))}),aiErrorResponseSchema=z[_0x281ab5(0x1ee)+'t']({'success':z[_0x281ab5(0x2af)+'al'](![])[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x261)),'code':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x281))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'message':z[_0x281ab5(0x338)+'g']()['descr'+'ibe'](_0x281ab5(0x1fb))}),aiTaskCreatedSuccessSchema=z[_0x281ab5(0x1ee)+'t']({'success':z[_0x281ab5(0x2af)+'al'](!![])['descr'+_0x281ab5(0x239)](_0x281ab5(0x261)),'data':aiTaskCreatedDataSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('返回数据')}),aiTaskCreatedResponseSchema=z[_0x281ab5(0x2c0)]([aiTaskCreatedSuccessSchema,aiErrorResponseSchema]),aiTaskStatusSchema=z[_0x281ab5(0x2d7)]([_0x281ab5(0x256)+'d',_0x281ab5(0x2fd)+'ng',_0x281ab5(0x1f1)+'eded',_0x281ab5(0x328)+'d',_0x281ab5(0x343)+_0x281ab5(0x361)])[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x36c)+'举'),aiTaskResultTypeSchema=z[_0x281ab5(0x2d7)]([_0x281ab5(0x3b2),_0x281ab5(0x2bb)])[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x3ba)+'型'),aiTaskErrorSchema=z[_0x281ab5(0x1ee)+'t']({'code':z['strin'+'g']()['descr'+_0x281ab5(0x239)](_0x281ab5(0x281))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'message':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x1fb))}),aiTaskDataSchema=z[_0x281ab5(0x1ee)+'t']({'status':aiTaskStatusSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x3a8)),'progress':z['numbe'+'r']()[_0x281ab5(0x291)](0x2295+-0x7*-0x44d+-0x40b0)[_0x281ab5(0x35d)](-0xb*0x96+0x8*-0x49d+0x2*0x15df)['descr'+_0x281ab5(0x239)](_0x281ab5(0x1fc))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'resultType':aiTaskResultTypeSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x363))[_0x281ab5(0x360)+'nal'](),'resultUrls':z[_0x281ab5(0x365)](z[_0x281ab5(0x338)+'g']())[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x381)+'表')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'error':aiTaskErrorSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('错误信息')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'creditsConsumed':z[_0x281ab5(0x218)+'r']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x1e7))[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiTaskSuccessSchema=z['objec'+'t']({'success':z[_0x281ab5(0x2af)+'al'](!![])[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x261)),'data':aiTaskDataSchema['descr'+_0x281ab5(0x239)](_0x281ab5(0x35a))}),aiTaskResponseSchema=z[_0x281ab5(0x2c0)]([aiTaskSuccessSchema,aiErrorResponseSchema]),aiTaskCancelDataSchema=z[_0x281ab5(0x1ee)+'t']({'status':z[_0x281ab5(0x2d7)]([_0x281ab5(0x343)+_0x281ab5(0x361),_0x281ab5(0x1fa)+_0x281ab5(0x370)])[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('取消结果状'+'态')}),aiTaskCancelSuccessSchema=z[_0x281ab5(0x1ee)+'t']({'success':z[_0x281ab5(0x2af)+'al'](!![])['descr'+_0x281ab5(0x239)](_0x281ab5(0x261)),'data':aiTaskCancelDataSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('返回数据')}),aiTaskCancelResponseSchema=z[_0x281ab5(0x2c0)]([aiTaskCancelSuccessSchema,aiErrorResponseSchema]),aiModelCapabilitiesInputSchema=z[_0x281ab5(0x1ee)+'t']({'maxImages':z['numbe'+'r']()[_0x281ab5(0x276)]()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x30c)+_0x281ab5(0x212))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'supportsMask':z[_0x281ab5(0x252)+'an']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x2dc)+'罩')['optio'+_0x281ab5(0x34d)](),'supportsReferenceVideo':z['boole'+'an']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x2a2)+_0x281ab5(0x26b))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'supportsStartEnd':z['boole'+'an']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x1fe)+'尾帧')[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiModelCapabilitiesOutputSchema=z[_0x281ab5(0x1ee)+'t']({'supportsMulti':z[_0x281ab5(0x252)+'an']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x1e4)+'输出')['optio'+'nal'](),'supportsAudio':z[_0x281ab5(0x252)+'an']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x3aa)+_0x281ab5(0x2d8))[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiModelCapabilityCommonSchema=z[_0x281ab5(0x1ee)+'t']({'maxContextK':z[_0x281ab5(0x218)+'r']()[_0x281ab5(0x276)]()[_0x281ab5(0x2fc)+_0x281ab5(0x3b5)+'e']()[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x2db)+_0x281ab5(0x286))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'supportsStructuredOutput':z[_0x281ab5(0x252)+'an']()['descr'+_0x281ab5(0x239)](_0x281ab5(0x3b0)+_0x281ab5(0x2b5))['optio'+_0x281ab5(0x34d)](),'supportsWebSearch':z[_0x281ab5(0x252)+'an']()['descr'+_0x281ab5(0x239)](_0x281ab5(0x317)+_0x281ab5(0x383))['optio'+_0x281ab5(0x34d)]()}),aiModelParameterValueSchema=z['union']([z[_0x281ab5(0x338)+'g'](),z[_0x281ab5(0x218)+'r'](),z[_0x281ab5(0x252)+'an']()]),aiModelParameterFieldSchema=z[_0x281ab5(0x1ee)+'t']({'key':z['strin'+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x279)+'y'),'title':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x301)),'description':z[_0x281ab5(0x338)+'g']()['descr'+_0x281ab5(0x239)]('参数说明')['optio'+_0x281ab5(0x34d)](),'type':z['enum']([_0x281ab5(0x295)+'t',_0x281ab5(0x218)+'r',_0x281ab5(0x252)+'an',_0x281ab5(0x2ee)])[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('参数类型'),'unit':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+'ibe']('单位')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'values':z['array'](aiModelParameterValueSchema)['descr'+'ibe'](_0x281ab5(0x28d))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'min':z[_0x281ab5(0x218)+'r']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x206))['optio'+_0x281ab5(0x34d)](),'max':z[_0x281ab5(0x218)+'r']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x2f0))['optio'+_0x281ab5(0x34d)](),'step':z['numbe'+'r']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x3af))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'default':aiModelParameterValueSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x23e))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'request':z[_0x281ab5(0x252)+'an']()['descr'+_0x281ab5(0x239)](_0x281ab5(0x336))}),aiModelParamsSchema=z[_0x281ab5(0x1ee)+'t']({'features':z['array'](z[_0x281ab5(0x338)+'g']())[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x245))['optio'+_0x281ab5(0x34d)](),'fields':z[_0x281ab5(0x365)](aiModelParameterFieldSchema)['descr'+_0x281ab5(0x239)](_0x281ab5(0x2cc))[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiModelCapabilitiesSchema=z[_0x281ab5(0x1ee)+'t']({'common':aiModelCapabilityCommonSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x21d))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'params':aiModelParamsSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('参数定义')[_0x281ab5(0x360)+'nal'](),'input':aiModelCapabilitiesInputSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x217))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'output':aiModelCapabilitiesOutputSchema[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x353))[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiModelSchema=z[_0x281ab5(0x1ee)+'t']({'id':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x210)),'name':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x35f))['optio'+_0x281ab5(0x34d)](),'familyId':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x2ae)+'ID')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'providerId':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x220)+'D')['optio'+_0x281ab5(0x34d)](),'tags':z[_0x281ab5(0x365)](z['strin'+'g']())[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x238))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'capabilities':aiModelCapabilitiesSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x311))[_0x281ab5(0x360)+_0x281ab5(0x34d)]()})['passt'+_0x281ab5(0x322)+'h'](),aiModelsPayloadSchema=z[_0x281ab5(0x1ee)+'t']({'data':z[_0x281ab5(0x365)](aiModelSchema)[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x25e)),'updatedAt':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x39d))[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiModelsSuccessSchema=z[_0x281ab5(0x1ee)+'t']({'success':z[_0x281ab5(0x2af)+'al'](!![])[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('是否成功'),'data':aiModelsPayloadSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x35a))}),aiModelsResponseSchema=z[_0x281ab5(0x2c0)]([aiModelsSuccessSchema,aiErrorResponseSchema]),aiChatModelSchema=z[_0x281ab5(0x1ee)+'t']({'id':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x210)),'provider':z[_0x281ab5(0x338)+'g']()['descr'+_0x281ab5(0x239)](_0x281ab5(0x2b6)),'displayName':z['strin'+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('展示名称'),'familyId':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x2ae)+'ID')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'tags':z['array'](z[_0x281ab5(0x338)+'g']())['descr'+_0x281ab5(0x239)](_0x281ab5(0x238)),'capabilities':aiModelCapabilitiesSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('模型能力')[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiChatModelsPayloadSchema=z[_0x281ab5(0x1ee)+'t']({'data':z[_0x281ab5(0x365)](aiChatModelSchema)[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x25e)),'updatedAt':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('更新时间')[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),aiChatModelsSuccessSchema=z[_0x281ab5(0x1ee)+'t']({'success':z[_0x281ab5(0x2af)+'al'](!![])[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x261)),'data':aiChatModelsPayloadSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x35a))}),aiChatModelsResponseSchema=z[_0x281ab5(0x2c0)]([aiChatModelsSuccessSchema,aiErrorResponseSchema]),aiModelsUpdatedAtDataSchema=z[_0x281ab5(0x1ee)+'t']({'chatUpdatedAt':z['strin'+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x329)+_0x281ab5(0x2c8)),'imageUpdatedAt':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x378)+_0x281ab5(0x2c8)),'videoUpdatedAt':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('视频模型最'+_0x281ab5(0x2c8)),'latestUpdatedAt':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('三类模型中'+_0x281ab5(0x36e)+'时间')}),aiModelsUpdatedAtSuccessSchema=z[_0x281ab5(0x1ee)+'t']({'success':z[_0x281ab5(0x2af)+'al'](!![])[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x261)),'data':aiModelsUpdatedAtDataSchema[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x35a))}),aiModelsUpdatedAtResponseSchema=z[_0x281ab5(0x2c0)]([aiModelsUpdatedAtSuccessSchema,aiErrorResponseSchema]),aiModelsRequestSchema=aiVoidRequestSchema,aiTaskRequestSchema=aiVoidRequestSchema,aiTaskCancelRequestSchema=aiVoidRequestSchema,aiProviderTemplateModelSchema=z[_0x281ab5(0x1ee)+'t']({'id':z[_0x281ab5(0x338)+'g']()['descr'+_0x281ab5(0x239)](_0x281ab5(0x210)),'providerId':z['strin'+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x220)+'D'),'displayName':z['strin'+'g']()[_0x281ab5(0x1eb)+'sh']()[_0x281ab5(0x2c2)+'ibe']('展示名称'),'description':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x1eb)+'sh']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x1ed)),'familyId':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x2ae)+'ID')[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'tags':z['array'](z['strin'+'g']())['descr'+_0x281ab5(0x239)](_0x281ab5(0x238)),'capabilities':aiModelCapabilitiesSchema['descr'+_0x281ab5(0x239)](_0x281ab5(0x311))['optio'+_0x281ab5(0x34d)]()}),aiProviderTemplateSchema=z[_0x281ab5(0x1ee)+'t']({'id':z['strin'+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x220)+'D'),'label':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x2e8)),'adapter':z['strin'+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x30a)+'K\x20适配器'+'标识'),'apiUrl':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+'ibe'](_0x281ab5(0x324)+'址')['optio'+_0x281ab5(0x34d)](),'authType':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x290))[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'websiteUrl':z['strin'+'g']()[_0x281ab5(0x1eb)+'sh']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x37a)),'docUrl':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x1eb)+'sh']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x362)),'models':z[_0x281ab5(0x365)](aiProviderTemplateModelSchema)[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('模型列表')}),aiProviderTemplatesPayloadSchema=z[_0x281ab5(0x1ee)+'t']({'providers':z[_0x281ab5(0x365)](aiProviderTemplateSchema)['descr'+_0x281ab5(0x239)](_0x281ab5(0x235)),'updatedAt':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x39d))['optio'+_0x281ab5(0x34d)]()}),aiProviderTemplatesSuccessSchema=z[_0x281ab5(0x1ee)+'t']({'success':z[_0x281ab5(0x2af)+'al'](!![])[_0x281ab5(0x2c2)+_0x281ab5(0x239)]('是否成功'),'data':aiProviderTemplatesPayloadSchema[_0x281ab5(0x2c2)+_0x281ab5(0x239)](_0x281ab5(0x35a))}),aiProviderTemplatesResponseSchema=z[_0x281ab5(0x2c0)]([aiProviderTemplatesSuccessSchema,aiErrorResponseSchema]),aiProviderTemplatesRequestSchema=z[_0x281ab5(0x200)](),_0x1da01c={};_0x1da01c[_0x281ab5(0x29e)+'d']=_0x281ab5(0x285),_0x1da01c[_0x281ab5(0x3b1)]=_0x281ab5(0x262)+_0x281ab5(0x32f)+_0x281ab5(0x1f5),_0x1da01c[_0x281ab5(0x221)+_0x281ab5(0x201)+_0x281ab5(0x28e)]=aiImageRequestSchema,_0x1da01c[_0x281ab5(0x318)+'nseSc'+_0x281ab5(0x386)]=aiTaskCreatedResponseSchema;var _0xbcdd10={};_0xbcdd10[_0x281ab5(0x29e)+'d']=_0x281ab5(0x285),_0xbcdd10[_0x281ab5(0x3b1)]=_0x281ab5(0x262)+_0x281ab5(0x2ef)+_0x281ab5(0x37b),_0xbcdd10[_0x281ab5(0x221)+_0x281ab5(0x201)+_0x281ab5(0x28e)]=aiVideoRequestSchema,_0xbcdd10[_0x281ab5(0x318)+_0x281ab5(0x30e)+_0x281ab5(0x386)]=aiTaskCreatedResponseSchema;var _0x3d5e89={};_0x3d5e89[_0x281ab5(0x29e)+'d']=_0x281ab5(0x37f),_0x3d5e89[_0x281ab5(0x3b1)]=_0x281ab5(0x262)+_0x281ab5(0x2e7)+_0x281ab5(0x265)+_0x281ab5(0x3b2)+_0x281ab5(0x303)+'ls',_0x3d5e89[_0x281ab5(0x221)+_0x281ab5(0x201)+_0x281ab5(0x28e)]=aiModelsRequestSchema,_0x3d5e89[_0x281ab5(0x318)+'nseSc'+_0x281ab5(0x386)]=aiModelsResponseSchema;var _0x504ce1={};_0x504ce1[_0x281ab5(0x29e)+'d']=_0x281ab5(0x37f),_0x504ce1[_0x281ab5(0x3b1)]=_0x281ab5(0x262)+_0x281ab5(0x2e7)+_0x281ab5(0x265)+'vedio'+_0x281ab5(0x303)+'ls',_0x504ce1[_0x281ab5(0x221)+_0x281ab5(0x201)+_0x281ab5(0x28e)]=aiModelsRequestSchema,_0x504ce1[_0x281ab5(0x318)+_0x281ab5(0x30e)+_0x281ab5(0x386)]=aiModelsResponseSchema;var _0x4df8fb={};_0x4df8fb[_0x281ab5(0x29e)+'d']=_0x281ab5(0x37f),_0x4df8fb[_0x281ab5(0x3b1)]=_0x281ab5(0x262)+_0x281ab5(0x2e7)+_0x281ab5(0x265)+'chat/'+_0x281ab5(0x213)+'s',_0x4df8fb[_0x281ab5(0x221)+_0x281ab5(0x201)+_0x281ab5(0x28e)]=aiModelsRequestSchema,_0x4df8fb[_0x281ab5(0x318)+_0x281ab5(0x30e)+_0x281ab5(0x386)]=aiChatModelsResponseSchema;var _0x28d36d={};_0x28d36d[_0x281ab5(0x29e)+'d']=_0x281ab5(0x37f),_0x28d36d[_0x281ab5(0x3b1)]=_0x281ab5(0x262)+_0x281ab5(0x2e7)+_0x281ab5(0x265)+_0x281ab5(0x213)+'s/upd'+_0x281ab5(0x394)+'at',_0x28d36d[_0x281ab5(0x221)+_0x281ab5(0x201)+_0x281ab5(0x28e)]=aiModelsRequestSchema,_0x28d36d[_0x281ab5(0x318)+_0x281ab5(0x30e)+'hema']=aiModelsUpdatedAtResponseSchema;var _0x4a7505={};function _0x5f51(_0x4df8fb,_0x28d36d){_0x4df8fb=_0x4df8fb-(0x2ce+-0x1c58*0x1+0x1b6e);var _0x4a7505=_0x190b();var _0x5bf19e=_0x4a7505[_0x4df8fb];if(_0x5f51['sxvHKu']===undefined){var _0x5d874b=function(_0x1c061c){var _0x44fbe4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xb5440f='',_0x579f28='';for(var _0x5997f0=-0x8*0x21a+-0x1*0xeb+0x11bb,_0xfff155,_0x1ac230,_0x186b7e=-0x1*-0x552+0x15e2+-0x4*0x6cd;_0x1ac230=_0x1c061c['charAt'](_0x186b7e++);~_0x1ac230&&(_0xfff155=_0x5997f0%(0x13a+0x7b4*0x5+0xa*-0x3f9)?_0xfff155*(-0x20f8+-0x287*-0x1+0x1eb1)+_0x1ac230:_0x1ac230,_0x5997f0++%(0x22a7+-0x3*-0x279+0xe*-0x301))?_0xb5440f+=String['fromCharCode'](0xf*0x243+-0x3*0xcc1+0x111*0x5&_0xfff155>>(-(0x1e16+-0x148+0x61*-0x4c)*_0x5997f0&0x2*-0x7eb+-0x1b65+0x2b41)):0x2062+-0x1d8*-0xf+0x109*-0x3a){_0x1ac230=_0x44fbe4['indexOf'](_0x1ac230);}for(var _0x159226=0x9f0*0x3+-0x1364+-0xa6c,_0x4bff28=_0xb5440f['length'];_0x159226<_0x4bff28;_0x159226++){_0x579f28+='%'+('00'+_0xb5440f['charCodeAt'](_0x159226)['toString'](0x1136*0x1+-0x1200+-0x2*-0x6d))['slice'](-(-0x1409+-0xb*0x96+0x1*0x1a7d));}return decodeURIComponent(_0x579f28);};_0x5f51['GhsCjb']=_0x5d874b,_0x5f51['DshVVF']={},_0x5f51['sxvHKu']=!![];}var _0x23d86e=_0x4a7505[0x1199+0x5b7+0x2ea*-0x8],_0x4e156f=_0x4df8fb+_0x23d86e,_0x525d39=_0x5f51['DshVVF'][_0x4e156f];return!_0x525d39?(_0x5bf19e=_0x5f51['GhsCjb'](_0x5bf19e),_0x5f51['DshVVF'][_0x4e156f]=_0x5bf19e):_0x5bf19e=_0x525d39,_0x5bf19e;}_0x4a7505[_0x281ab5(0x29e)+'d']=_0x281ab5(0x37f),_0x4a7505[_0x281ab5(0x3b1)]=_0x281ab5(0x262)+_0x281ab5(0x2e7)+_0x281ab5(0x265)+_0x281ab5(0x296)+_0x281ab5(0x22e),_0x4a7505[_0x281ab5(0x221)+_0x281ab5(0x201)+_0x281ab5(0x28e)]=aiProviderTemplatesRequestSchema,_0x4a7505[_0x281ab5(0x318)+_0x281ab5(0x30e)+_0x281ab5(0x386)]=aiProviderTemplatesResponseSchema;var aiEndpoints={'image':new Endpoint(_0x1da01c),'video':new Endpoint(_0xbcdd10),'task':_0x377d95=>new Endpoint({'method':_0x281ab5(0x37f),'path':_0x281ab5(0x262)+'ai/ta'+'sk/'+_0x377d95,'requestSchema':aiTaskRequestSchema,'responseSchema':aiTaskResponseSchema}),'cancelTask':_0x424a10=>new Endpoint({'method':_0x281ab5(0x285),'path':_0x281ab5(0x262)+_0x281ab5(0x297)+'sk/'+_0x424a10+(_0x281ab5(0x31b)+'el'),'requestSchema':aiTaskCancelRequestSchema,'responseSchema':aiTaskCancelResponseSchema}),'imageModels':new Endpoint(_0x3d5e89),'videoModels':new Endpoint(_0x504ce1),'chatModels':new Endpoint(_0x4df8fb),'modelsUpdatedAt':new Endpoint(_0x28d36d),'providerTemplates':new Endpoint(_0x4a7505)},auth_exports={},_0x5bf19e={};_0x5bf19e[_0x281ab5(0x35b)+_0x281ab5(0x2a0)]=()=>AuthClient,_0x5bf19e[_0x281ab5(0x3a4)+_0x281ab5(0x2ed)+'nts']=()=>authEndpoints,_0x5bf19e[_0x281ab5(0x3a4)+_0x281ab5(0x2df)+_0x281ab5(0x246)+_0x281ab5(0x280)+_0x281ab5(0x2fa)]=()=>authExchangeRequestSchema,_0x5bf19e[_0x281ab5(0x3a4)+_0x281ab5(0x2df)+'geRes'+_0x281ab5(0x209)+'Schem'+'a']=()=>authExchangeResponseSchema,_0x5bf19e[_0x281ab5(0x22a)+'ogout'+_0x281ab5(0x337)+_0x281ab5(0x201)+_0x281ab5(0x28e)]=()=>authLogoutRequestSchema,_0x5bf19e['authL'+_0x281ab5(0x341)+_0x281ab5(0x2ba)+_0x281ab5(0x30e)+'hema']=()=>authLogoutResponseSchema,_0x5bf19e[_0x281ab5(0x29b)+_0x281ab5(0x313)+_0x281ab5(0x2b0)+'rSche'+'ma']=()=>authRefreshErrorSchema,_0x5bf19e[_0x281ab5(0x29b)+_0x281ab5(0x313)+_0x281ab5(0x32a)+'estSc'+_0x281ab5(0x386)]=()=>authRefreshRequestSchema,_0x5bf19e[_0x281ab5(0x29b)+_0x281ab5(0x313)+'hResp'+_0x281ab5(0x25f)+_0x281ab5(0x2fa)]=()=>authRefreshResponseSchema,_0x5bf19e['authR'+_0x281ab5(0x313)+_0x281ab5(0x1e6)+_0x281ab5(0x232)+_0x281ab5(0x386)]=()=>authRefreshSuccessSchema,_0x5bf19e[_0x281ab5(0x29b)+_0x281ab5(0x313)+_0x281ab5(0x372)+_0x281ab5(0x2e5)+'a']=()=>authRefreshUserSchema,__export(auth_exports,_0x5bf19e);var AuthClient=class{[_0x281ab5(0x1ea)];constructor(_0x274176){var _0x10230e=_0x281ab5;this[_0x10230e(0x1ea)]=_0x274176;}async[_0x281ab5(0x2f3)+_0x281ab5(0x258)](_0x1fcfb3){var _0x5f7e14=_0x281ab5,_0x2a1403={};return _0x2a1403['login'+_0x5f7e14(0x215)]=_0x1fcfb3,this[_0x5f7e14(0x1ea)][_0x5f7e14(0x221)+'st'](this['sdk'][_0x5f7e14(0x21b)+_0x5f7e14(0x2fb)][_0x5f7e14(0x38b)][_0x5f7e14(0x2f3)+'nge'],{'baseUrl':this[_0x5f7e14(0x1ea)][_0x5f7e14(0x26e)+_0x5f7e14(0x2c9)](),'body':_0x2a1403});}async[_0x281ab5(0x359)+'sh'](_0x20c284){var _0x3ef838=_0x281ab5,_0x816f1b={};return _0x816f1b['refre'+_0x3ef838(0x32d)+'en']=_0x20c284,this['sdk'][_0x3ef838(0x221)+'st'](this[_0x3ef838(0x1ea)][_0x3ef838(0x21b)+_0x3ef838(0x2fb)][_0x3ef838(0x38b)][_0x3ef838(0x359)+'sh'],{'baseUrl':this['sdk'][_0x3ef838(0x26e)+'seUrl'](),'body':_0x816f1b});}async['logou'+'t'](_0x48866f){var _0x35903d=_0x281ab5,_0xebd077={};return _0xebd077[_0x35903d(0x359)+_0x35903d(0x32d)+'en']=_0x48866f,this['sdk'][_0x35903d(0x221)+'st'](this[_0x35903d(0x1ea)][_0x35903d(0x21b)+_0x35903d(0x2fb)][_0x35903d(0x38b)][_0x35903d(0x243)+'t'],{'baseUrl':this[_0x35903d(0x1ea)][_0x35903d(0x26e)+_0x35903d(0x2c9)](),'body':_0xebd077});}},authRefreshRequestSchema=z[_0x281ab5(0x1ee)+'t']({'refreshToken':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x291)](-0x1c69*-0x1+0x55f*-0x3+-0xc4b)}),authExchangeRequestSchema=z[_0x281ab5(0x1ee)+'t']({'loginCode':z['strin'+'g']()[_0x281ab5(0x291)](-0x1126+-0x3*0x65b+0x2438)}),authRefreshUserSchema=z[_0x281ab5(0x1ee)+'t']({'name':z[_0x281ab5(0x338)+'g']()['optio'+_0x281ab5(0x34d)](),'email':z['strin'+'g']()[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'avatarUrl':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),authRefreshSuccessSchema=z[_0x281ab5(0x1ee)+'t']({'accessToken':z[_0x281ab5(0x338)+'g'](),'refreshToken':z[_0x281ab5(0x338)+'g'](),'user':authRefreshUserSchema}),authRefreshErrorSchema=z['objec'+'t']({'message':z[_0x281ab5(0x338)+'g']()}),authExchangeResponseSchema=authRefreshSuccessSchema,authLogoutRequestSchema=z[_0x281ab5(0x1ee)+'t']({'refreshToken':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x291)](0x1*0x2513+-0x5*0x793+0xcd)}),authLogoutResponseSchema=z[_0x281ab5(0x1ee)+'t']({'success':z[_0x281ab5(0x252)+'an']()}),authRefreshResponseSchema=z[_0x281ab5(0x2c0)]([authRefreshSuccessSchema,authRefreshErrorSchema]),_0x1391c3={};_0x1391c3[_0x281ab5(0x29e)+'d']=_0x281ab5(0x285),_0x1391c3['path']=_0x281ab5(0x262)+_0x281ab5(0x385)+_0x281ab5(0x2f3)+_0x281ab5(0x258),_0x1391c3[_0x281ab5(0x221)+_0x281ab5(0x201)+_0x281ab5(0x28e)]=authExchangeRequestSchema,_0x1391c3['respo'+_0x281ab5(0x30e)+_0x281ab5(0x386)]=authExchangeResponseSchema;var _0x3e76f6={};_0x3e76f6[_0x281ab5(0x29e)+'d']=_0x281ab5(0x285),_0x3e76f6[_0x281ab5(0x3b1)]='/api/'+_0x281ab5(0x385)+_0x281ab5(0x359)+'sh',_0x3e76f6[_0x281ab5(0x221)+_0x281ab5(0x201)+_0x281ab5(0x28e)]=authRefreshRequestSchema,_0x3e76f6[_0x281ab5(0x318)+_0x281ab5(0x30e)+_0x281ab5(0x386)]=authRefreshResponseSchema;var _0x3955b1={};_0x3955b1['metho'+'d']=_0x281ab5(0x285),_0x3955b1[_0x281ab5(0x3b1)]=_0x281ab5(0x262)+'auth/'+_0x281ab5(0x243)+'t',_0x3955b1['reque'+_0x281ab5(0x201)+_0x281ab5(0x28e)]=authLogoutRequestSchema,_0x3955b1[_0x281ab5(0x318)+_0x281ab5(0x30e)+_0x281ab5(0x386)]=authLogoutResponseSchema;var authEndpoints={'exchange':new Endpoint(_0x1391c3),'refresh':new Endpoint(_0x3e76f6),'logout':new Endpoint(_0x3955b1)},auxiliary_exports={},_0x56182f={};_0x56182f[_0x281ab5(0x2a3)+_0x281ab5(0x299)+_0x281ab5(0x2a0)]=()=>AuxiliaryClient,_0x56182f[_0x281ab5(0x38e)+_0x281ab5(0x355)+_0x281ab5(0x2ed)+_0x281ab5(0x377)]=()=>auxiliaryEndpoints,_0x56182f[_0x281ab5(0x38e)+'iaryI'+_0x281ab5(0x1f3)+_0x281ab5(0x271)+_0x281ab5(0x1ff)+'ma']=()=>auxiliaryInferRequestSchema,_0x56182f[_0x281ab5(0x38e)+_0x281ab5(0x259)+_0x281ab5(0x1f3)+_0x281ab5(0x23a)+'seSch'+'ema']=()=>auxiliaryInferResponseSchema,_0x56182f[_0x281ab5(0x38e)+'iaryQ'+_0x281ab5(0x241)+'espon'+_0x281ab5(0x388)+_0x281ab5(0x28e)]=()=>auxiliaryQuotaResponseSchema,__export(auxiliary_exports,_0x56182f);var AuxiliaryClient=class{['sdk'];constructor(_0x5a0cd0){var _0x5b1a53=_0x281ab5;this[_0x5b1a53(0x1ea)]=_0x5a0cd0;}async[_0x281ab5(0x1f0)](_0x40a329){var _0x545fd1=_0x281ab5;const _0xd9913e=await this[_0x545fd1(0x1ea)]['build'+'AuthH'+'eader']();return this[_0x545fd1(0x1ea)][_0x545fd1(0x221)+'st'](this[_0x545fd1(0x1ea)][_0x545fd1(0x21b)+_0x545fd1(0x2fb)]['auxil'+_0x545fd1(0x344)][_0x545fd1(0x1f0)],{'baseUrl':this[_0x545fd1(0x1ea)][_0x545fd1(0x26e)+_0x545fd1(0x2c9)](),'headers':_0xd9913e,'body':_0x40a329});}async[_0x281ab5(0x2e4)+_0x281ab5(0x27a)](){var _0x4e0a04=_0x281ab5;const _0x5a1475=await this['sdk'][_0x4e0a04(0x244)+_0x4e0a04(0x2de)+_0x4e0a04(0x351)]();return this['sdk'][_0x4e0a04(0x221)+'st'](this[_0x4e0a04(0x1ea)][_0x4e0a04(0x21b)+_0x4e0a04(0x2fb)][_0x4e0a04(0x38e)+'iary'][_0x4e0a04(0x2e4)+'ota'],{'baseUrl':this[_0x4e0a04(0x1ea)][_0x4e0a04(0x26e)+_0x4e0a04(0x2c9)](),'headers':_0x5a1475,'body':{}});}},auxiliaryInferRequestSchema=z[_0x281ab5(0x1ee)+'t']({'capabilityKey':z[_0x281ab5(0x338)+'g'](),'systemPrompt':z[_0x281ab5(0x338)+'g'](),'context':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x35d)](0x1b05*-0x2+0x21b*-0x61+0x1c595),'outputMode':z[_0x281ab5(0x2d7)]([_0x281ab5(0x2b1)+'tured',_0x281ab5(0x2ee)]),'schema':z[_0x281ab5(0x2e2)+'d'](z['strin'+'g'](),z['unkno'+'wn']())[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),quotaSchema=z['objec'+'t']({'used':z[_0x281ab5(0x218)+'r'](),'limit':z[_0x281ab5(0x218)+'r'](),'remaining':z[_0x281ab5(0x218)+'r'](),'resetsAt':z['strin'+'g']()}),usageSchema=z['objec'+'t']({'inputTokens':z[_0x281ab5(0x218)+'r'](),'outputTokens':z['numbe'+'r']()}),auxiliaryInferResponseSchema=z[_0x281ab5(0x2c0)]([z['objec'+'t']({'ok':z['liter'+'al'](!![]),'result':z['unkno'+'wn'](),'usage':usageSchema,'quota':quotaSchema}),z[_0x281ab5(0x1ee)+'t']({'ok':z[_0x281ab5(0x2af)+'al'](![]),'message':z[_0x281ab5(0x338)+'g'](),'code':z['strin'+'g']()['optio'+_0x281ab5(0x34d)]()})]),_0x5ed0e0={};_0x5ed0e0[_0x281ab5(0x22f)]=quotaSchema;var auxiliaryQuotaResponseSchema=z[_0x281ab5(0x1ee)+'t'](_0x5ed0e0),_0x382edd={};_0x382edd[_0x281ab5(0x29e)+'d']=_0x281ab5(0x285),_0x382edd['path']='/api/'+_0x281ab5(0x38e)+_0x281ab5(0x2d5)+_0x281ab5(0x1f0),_0x382edd[_0x281ab5(0x221)+'stSch'+_0x281ab5(0x28e)]=auxiliaryInferRequestSchema,_0x382edd[_0x281ab5(0x318)+_0x281ab5(0x30e)+_0x281ab5(0x386)]=auxiliaryInferResponseSchema;var auxiliaryEndpoints={'infer':new Endpoint(_0x382edd),'getQuota':new Endpoint({'method':'POST','path':_0x281ab5(0x262)+_0x281ab5(0x38e)+_0x281ab5(0x2d5)+_0x281ab5(0x22f),'requestSchema':z[_0x281ab5(0x1ee)+'t']({}),'responseSchema':auxiliaryQuotaResponseSchema})},feedback_exports={},_0x49e2c0={};_0x49e2c0[_0x281ab5(0x319)+_0x281ab5(0x20a)+'ient']=()=>FeedbackClient,_0x49e2c0['feedb'+_0x281ab5(0x223)+_0x281ab5(0x310)+_0x281ab5(0x307)+_0x281ab5(0x2ec)+'ma']=()=>feedbackDetailPayloadSchema,_0x49e2c0[_0x281ab5(0x347)+_0x281ab5(0x223)+_0x281ab5(0x231)+'eques'+'tSche'+'ma']=()=>feedbackDetailRequestSchema,_0x49e2c0['feedb'+'ackDe'+'tailR'+_0x281ab5(0x23a)+_0x281ab5(0x388)+_0x281ab5(0x28e)]=()=>feedbackDetailResponseSchema,_0x49e2c0[_0x281ab5(0x347)+_0x281ab5(0x2da)+_0x281ab5(0x39c)+'ts']=()=>feedbackEndpoints,_0x49e2c0[_0x281ab5(0x347)+_0x281ab5(0x24a)+_0x281ab5(0x202)+'ema']=()=>feedbackItemSchema,_0x49e2c0[_0x281ab5(0x347)+_0x281ab5(0x2b9)+_0x281ab5(0x236)+_0x281ab5(0x349)+_0x281ab5(0x2fa)]=()=>feedbackListPayloadSchema,_0x49e2c0[_0x281ab5(0x347)+'ackLi'+_0x281ab5(0x207)+_0x281ab5(0x280)+_0x281ab5(0x2fa)]=()=>feedbackListRequestSchema,_0x49e2c0[_0x281ab5(0x347)+'ackLi'+_0x281ab5(0x315)+_0x281ab5(0x209)+_0x281ab5(0x2e5)+'a']=()=>feedbackListResponseSchema,_0x49e2c0[_0x281ab5(0x347)+'ackSa'+_0x281ab5(0x387)+_0x281ab5(0x36f)+_0x281ab5(0x386)]=()=>feedbackSaasStatusSchema,_0x49e2c0[_0x281ab5(0x347)+_0x281ab5(0x21c)+'urceS'+_0x281ab5(0x2fa)]=()=>feedbackSourceSchema,_0x49e2c0['feedb'+_0x281ab5(0x399)+'bmitE'+_0x281ab5(0x2b8)+_0x281ab5(0x2fa)]=()=>feedbackSubmitErrorSchema,_0x49e2c0[_0x281ab5(0x347)+_0x281ab5(0x399)+'bmitR'+'eques'+_0x281ab5(0x1ff)+'ma']=()=>feedbackSubmitRequestSchema,_0x49e2c0[_0x281ab5(0x347)+_0x281ab5(0x399)+_0x281ab5(0x33e)+_0x281ab5(0x23a)+_0x281ab5(0x388)+'ema']=()=>feedbackSubmitResponseSchema,_0x49e2c0[_0x281ab5(0x347)+_0x281ab5(0x27e)+_0x281ab5(0x26a)+_0x281ab5(0x28e)]=()=>feedbackTypeSchema,__export(feedback_exports,_0x49e2c0);var FeedbackClient=class{[_0x281ab5(0x1ea)];constructor(_0x585faa){var _0xfbca81=_0x281ab5;this[_0xfbca81(0x1ea)]=_0x585faa;}async[_0x281ab5(0x25a)+'t'](_0xb4af71){var _0x3628c6=_0x281ab5;const _0x29a2cd=await this[_0x3628c6(0x1ea)][_0x3628c6(0x244)+'AuthH'+_0x3628c6(0x351)]();return this[_0x3628c6(0x1ea)][_0x3628c6(0x221)+'st'](this[_0x3628c6(0x1ea)]['contr'+'act']['feedb'+_0x3628c6(0x356)][_0x3628c6(0x25a)+'t'],{'baseUrl':this['sdk']['getBa'+_0x3628c6(0x2c9)](),'headers':_0x29a2cd,'body':_0xb4af71});}async[_0x281ab5(0x204)](_0x515f8b){var _0x40f8b1=_0x281ab5;const _0x592c22=await this[_0x40f8b1(0x1ea)]['build'+_0x40f8b1(0x2de)+_0x40f8b1(0x351)]();return this[_0x40f8b1(0x1ea)][_0x40f8b1(0x221)+'st'](this['sdk'][_0x40f8b1(0x21b)+_0x40f8b1(0x2fb)][_0x40f8b1(0x347)+_0x40f8b1(0x356)][_0x40f8b1(0x204)],{'baseUrl':this['sdk'][_0x40f8b1(0x26e)+'seUrl'](),'headers':_0x592c22,'body':_0x515f8b??{}});}async[_0x281ab5(0x2d3)+'l'](_0x1fafb4){var _0x4ee263=_0x281ab5;const _0x46dd0b=await this[_0x4ee263(0x1ea)][_0x4ee263(0x244)+_0x4ee263(0x2de)+_0x4ee263(0x351)]();return this[_0x4ee263(0x1ea)][_0x4ee263(0x221)+'st'](this[_0x4ee263(0x1ea)][_0x4ee263(0x21b)+_0x4ee263(0x2fb)][_0x4ee263(0x347)+_0x4ee263(0x356)][_0x4ee263(0x2d3)+'l'](_0x1fafb4),{'baseUrl':this[_0x4ee263(0x1ea)][_0x4ee263(0x26e)+'seUrl'](),'headers':_0x46dd0b,'body':void(-0x1017+0x1643+0x4f*-0x14)});}},feedbackSourceSchema=z[_0x281ab5(0x2d7)]([_0x281ab5(0x1ef),_0x281ab5(0x325)+'oaf',_0x281ab5(0x325)+_0x281ab5(0x323)+_0x281ab5(0x24e)]),feedbackTypeSchema=z[_0x281ab5(0x2d7)](['ui',_0x281ab5(0x2cb)+_0x281ab5(0x248)+'e',_0x281ab5(0x203),_0x281ab5(0x2c7)+'re',_0x281ab5(0x3a2)]),feedbackSaasStatusSchema=z[_0x281ab5(0x2d7)]([_0x281ab5(0x266)+'d',_0x281ab5(0x369),'resol'+_0x281ab5(0x23b),_0x281ab5(0x28b)+'ed']),feedbackSubmitRequestSchema=z['objec'+'t']({'source':feedbackSourceSchema[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'type':feedbackTypeSchema,'content':z['strin'+'g']()[_0x281ab5(0x234)]()[_0x281ab5(0x291)](-0x3c*-0xa5+-0x21*0x43+0x4*-0x782),'context':z[_0x281ab5(0x2e2)+'d'](z[_0x281ab5(0x338)+'g'](),z[_0x281ab5(0x219)+'wn']()),'email':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x234)]()[_0x281ab5(0x342)]()[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),feedbackSubmitErrorSchema=z[_0x281ab5(0x1ee)+'t']({'message':z['strin'+'g']()}),feedbackSubmitResponseSchema=z[_0x281ab5(0x2c0)]([z[_0x281ab5(0x200)](),feedbackSubmitErrorSchema]),feedbackListRequestSchema=z[_0x281ab5(0x1ee)+'t']({'page':z[_0x281ab5(0x218)+'r']()['int']()['min'](0xd39+0xdd1*-0x1+0x99)[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'pageSize':z[_0x281ab5(0x218)+'r']()[_0x281ab5(0x276)]()['min'](-0xf*0x40+0x23a7+-0xff3*0x2)['max'](0x77d+-0x64*-0x3b+-0x1e25)[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'type':feedbackTypeSchema[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'source':feedbackSourceSchema[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'saasStatus':feedbackSaasStatusSchema[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'keyword':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x234)]()[_0x281ab5(0x291)](-0xb6c*-0x3+-0xa57+0x17ec*-0x1)[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'startAt':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x264)+_0x281ab5(0x2c1)]()[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'endAt':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x264)+_0x281ab5(0x2c1)]()[_0x281ab5(0x360)+_0x281ab5(0x34d)]()}),feedbackItemSchema=z[_0x281ab5(0x1ee)+'t']({'id':z['strin'+'g'](),'source':feedbackSourceSchema,'type':feedbackTypeSchema,'saasStatus':feedbackSaasStatusSchema,'response':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'userId':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x360)+'nal'](),'email':z['strin'+'g']()['optio'+_0x281ab5(0x34d)](),'content':z[_0x281ab5(0x338)+'g'](),'context':z['recor'+'d'](z[_0x281ab5(0x338)+'g'](),z[_0x281ab5(0x219)+'wn']()),'createdAt':z[_0x281ab5(0x338)+'g']()}),feedbackListPayloadSchema=z[_0x281ab5(0x1ee)+'t']({'items':z[_0x281ab5(0x365)](feedbackItemSchema),'page':z['numbe'+'r']()[_0x281ab5(0x276)](),'pageSize':z[_0x281ab5(0x218)+'r']()[_0x281ab5(0x276)](),'total':z['numbe'+'r']()[_0x281ab5(0x276)]()}),feedbackListResponseSchema=z[_0x281ab5(0x2c0)]([feedbackListPayloadSchema,feedbackSubmitErrorSchema]),feedbackDetailRequestSchema=z[_0x281ab5(0x200)](),_0xd2db37={};_0xd2db37[_0x281ab5(0x347)+_0x281ab5(0x356)]=feedbackItemSchema;var feedbackDetailPayloadSchema=z['objec'+'t'](_0xd2db37),feedbackDetailResponseSchema=z[_0x281ab5(0x2c0)]([feedbackDetailPayloadSchema,feedbackSubmitErrorSchema]),_0x2a0379={};_0x2a0379[_0x281ab5(0x29e)+'d']='POST',_0x2a0379['path']='/api/'+'publi'+_0x281ab5(0x22c)+_0x281ab5(0x28a),_0x2a0379[_0x281ab5(0x221)+_0x281ab5(0x201)+'ema']=feedbackSubmitRequestSchema,_0x2a0379[_0x281ab5(0x318)+_0x281ab5(0x30e)+_0x281ab5(0x386)]=feedbackSubmitResponseSchema;var _0x1722c5={};_0x1722c5['metho'+'d']='POST',_0x1722c5[_0x281ab5(0x3b1)]=_0x281ab5(0x262)+_0x281ab5(0x347)+_0x281ab5(0x398)+_0x281ab5(0x229),_0x1722c5[_0x281ab5(0x221)+_0x281ab5(0x201)+'ema']=feedbackListRequestSchema,_0x1722c5[_0x281ab5(0x318)+_0x281ab5(0x30e)+_0x281ab5(0x386)]=feedbackListResponseSchema;var feedbackEndpoints={'submit':new Endpoint(_0x2a0379),'list':new Endpoint(_0x1722c5),'detail':_0x4c2530=>new Endpoint({'method':_0x281ab5(0x37f),'path':'/api/'+_0x281ab5(0x347)+_0x281ab5(0x25c)+_0x4c2530,'requestSchema':feedbackDetailRequestSchema,'responseSchema':feedbackDetailResponseSchema})},user_exports={},_0x1b407a={};_0x1b407a[_0x281ab5(0x352)+_0x281ab5(0x2a0)]=()=>UserClient,_0x1b407a['userE'+_0x281ab5(0x2ed)+_0x281ab5(0x377)]=()=>userEndpoints,_0x1b407a['userM'+_0x281ab5(0x39b)+_0x281ab5(0x28c)+_0x281ab5(0x2c3)+_0x281ab5(0x2fa)]=()=>userMembershipLevelSchema,_0x1b407a[_0x281ab5(0x374)+_0x281ab5(0x304)+_0x281ab5(0x26f)+_0x281ab5(0x2e5)+'a']=()=>userSelfRequestSchema,_0x1b407a[_0x281ab5(0x374)+_0x281ab5(0x304)+_0x281ab5(0x302)+_0x281ab5(0x3a7)+'ma']=()=>userSelfResponseSchema,_0x1b407a[_0x281ab5(0x374)+_0x281ab5(0x2f5)+_0x281ab5(0x386)]=()=>userSelfSchema,__export(user_exports,_0x1b407a);var UserClient=class{[_0x281ab5(0x1ea)];constructor(_0x16ca01){var _0x5e21ab=_0x281ab5;this[_0x5e21ab(0x1ea)]=_0x16ca01;}async[_0x281ab5(0x32e)](){var _0x24365d=_0x281ab5;const _0x437277=await this[_0x24365d(0x1ea)][_0x24365d(0x244)+_0x24365d(0x2de)+_0x24365d(0x351)]();return this[_0x24365d(0x1ea)][_0x24365d(0x221)+'st'](this[_0x24365d(0x1ea)][_0x24365d(0x21b)+_0x24365d(0x2fb)][_0x24365d(0x25d)][_0x24365d(0x32e)],{'baseUrl':this['sdk'][_0x24365d(0x26e)+_0x24365d(0x2c9)](),'headers':_0x437277,'body':void(0x1d3b+0x25*-0x8b+-0x924)});}},userMembershipLevelSchema=z['enum']([_0x281ab5(0x2fe),'vip',_0x281ab5(0x30f),_0x281ab5(0x2f1)+_0x281ab5(0x268)]),userSelfSchema=z[_0x281ab5(0x1ee)+'t']({'id':z[_0x281ab5(0x338)+'g'](),'email':z[_0x281ab5(0x338)+'g']()[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'name':z['strin'+'g']()[_0x281ab5(0x360)+_0x281ab5(0x34d)](),'avatarUrl':z[_0x281ab5(0x338)+'g']()['optio'+_0x281ab5(0x34d)](),'provider':z[_0x281ab5(0x338)+'g'](),'membershipLevel':userMembershipLevelSchema,'creditsBalance':z[_0x281ab5(0x218)+'r'](),'createdAt':z['strin'+'g'](),'updatedAt':z[_0x281ab5(0x338)+'g']()}),userSelfRequestSchema=z[_0x281ab5(0x200)](),_0x3d9a1e={};_0x3d9a1e[_0x281ab5(0x25d)]=userSelfSchema;var userSelfResponseSchema=z[_0x281ab5(0x1ee)+'t'](_0x3d9a1e),_0x5ed663={};_0x5ed663[_0x281ab5(0x29e)+'d']='GET',_0x5ed663['path']=_0x281ab5(0x262)+'user/'+_0x281ab5(0x32e),_0x5ed663['reque'+_0x281ab5(0x201)+_0x281ab5(0x28e)]=userSelfRequestSchema,_0x5ed663[_0x281ab5(0x318)+_0x281ab5(0x30e)+_0x281ab5(0x386)]=userSelfResponseSchema;var userEndpoints={'self':new Endpoint(_0x5ed663)},SaaSContract=class{[_0x281ab5(0x38b)]=authEndpoints;['ai']=aiEndpoints;[_0x281ab5(0x38e)+_0x281ab5(0x344)]=auxiliaryEndpoints;[_0x281ab5(0x347)+_0x281ab5(0x356)]=feedbackEndpoints;[_0x281ab5(0x25d)]=userEndpoints;},contract=new SaaSContract();function setHeader(_0x4a8a40,_0x5de580,_0x2ed27e){var _0x437e11=_0x281ab5;_0x4a8a40[_0x5de580['toLow'+_0x437e11(0x2ce)+'e']()]=_0x2ed27e;}function normalizeHeaders(_0x4f80d9){var _0x266532=_0x281ab5;const _0x425429={};if(!_0x4f80d9)return _0x425429;if(Array[_0x266532(0x392)+'ay'](_0x4f80d9)){for(const [_0x5872a9,_0x36d8f3]of _0x4f80d9){setHeader(_0x425429,_0x5872a9,_0x36d8f3);}return _0x425429;}if(typeof _0x4f80d9['forEa'+'ch']===_0x266532(0x300)+'ion')return _0x4f80d9[_0x266532(0x237)+'ch']((_0x25893f,_0x2c48c7)=>{setHeader(_0x425429,_0x2c48c7,_0x25893f);}),_0x425429;for(const [_0x1ffaff,_0xc5e867]of Object['entri'+'es'](_0x4f80d9)){typeof _0xc5e867==='strin'+'g'&&setHeader(_0x425429,_0x1ffaff,_0xc5e867);}return _0x425429;}function mergeHeaders(..._0x223a51){const _0x4962fb={};for(const _0x5c0822 of _0x223a51){const _0x23b14b=normalizeHeaders(_0x5c0822);for(const [_0xcb013c,_0x346ca9]of Object['entri'+'es'](_0x23b14b)){_0x4962fb[_0xcb013c]=_0x346ca9;}}return _0x4962fb;}var SaaSHttpError=class extends Error{[_0x281ab5(0x22b)+'s'];[_0x281ab5(0x22b)+_0x281ab5(0x1e9)];[_0x281ab5(0x354)+'ad'];constructor(_0x1ff836,_0x26b6b7){var _0x58622c=_0x281ab5;super(_0x1ff836),this[_0x58622c(0x3a1)]='SaaSH'+'ttpEr'+_0x58622c(0x294),this[_0x58622c(0x22b)+'s']=_0x26b6b7[_0x58622c(0x22b)+'s'],this[_0x58622c(0x22b)+_0x58622c(0x1e9)]=_0x26b6b7[_0x58622c(0x22b)+_0x58622c(0x1e9)],this[_0x58622c(0x354)+'ad']=_0x26b6b7[_0x58622c(0x354)+'ad'];}},SaaSSchemaError=class extends Error{[_0x281ab5(0x31f)+'s'];constructor(_0x50aac1,_0x8b94d1){var _0x15d4d2=_0x281ab5;super(_0x50aac1),this[_0x15d4d2(0x3a1)]='SaaSS'+_0x15d4d2(0x2fa)+_0x15d4d2(0x26d),this[_0x15d4d2(0x31f)+'s']=_0x8b94d1;}},SaaSNetworkError=class extends Error{[_0x281ab5(0x35c)];constructor(_0x10c48e,_0x55b19a){var _0x347b2c=_0x281ab5;super(_0x10c48e),this[_0x347b2c(0x3a1)]=_0x347b2c(0x375)+_0x347b2c(0x3b7)+_0x347b2c(0x270)+'r',this[_0x347b2c(0x35c)]=_0x55b19a;}};function logSdkError(_0x28e3bb){var _0x427327=_0x281ab5;try{console[_0x427327(0x3a6)](_0x427327(0x39a)+_0x427327(0x2e9)+_0x427327(0x2d2)+_0x427327(0x2d6),_0x28e3bb);}catch{}}async function request(_0x273425,_0x530a17,_0x4e279f){var _0x3d2665=_0x281ab5;const _0x4702af=new URL(_0x530a17[_0x3d2665(0x3b1)],_0x4e279f[_0x3d2665(0x3ac)+'rl']);let _0xac5a5e;try{_0xac5a5e=_0x530a17[_0x3d2665(0x20b)+_0x3d2665(0x337)+'st'](_0x4e279f[_0x3d2665(0x260)]);}catch(_0x4ded7b){const _0x148c04=_0x4ded7b&&typeof _0x4ded7b===_0x3d2665(0x1ee)+'t'?_0x4ded7b[_0x3d2665(0x31f)+'s']:void(0x113e*0x2+-0x571+-0x1d0b);logSdkError({'message':_0x3d2665(0x337)+_0x3d2665(0x282)+_0x3d2665(0x2bd)+_0x3d2665(0x26c)+_0x3d2665(0x2a1)+_0x3d2665(0x28f)+'ed','url':_0x4702af[_0x3d2665(0x277)+_0x3d2665(0x396)](),'method':_0x530a17[_0x3d2665(0x29e)+'d'],'payload':_0x4e279f[_0x3d2665(0x260)],'error':_0x4ded7b});throw new SaaSSchemaError(_0x3d2665(0x337)+'st\x20sc'+_0x3d2665(0x2bd)+'valid'+_0x3d2665(0x2a1)+_0x3d2665(0x28f)+'ed',_0x148c04);}const _0x11776f=mergeHeaders(_0x4e279f[_0x3d2665(0x1f2)+'rs']);var _0x8172bb={};_0x8172bb['metho'+'d']=_0x530a17['metho'+'d'],_0x8172bb[_0x3d2665(0x1f2)+'rs']=_0x11776f;const _0x78581e=_0x8172bb;_0xac5a5e!==void(-0x18a1+0x119d+0x704)&&(!_0x11776f['conte'+_0x3d2665(0x2a7)+'pe']&&(_0x11776f['conte'+_0x3d2665(0x2a7)+'pe']=_0x3d2665(0x2b7)+_0x3d2665(0x3a9)+'n/jso'+'n'),_0x78581e['body']=JSON['strin'+_0x3d2665(0x2be)](_0xac5a5e));let _0x30f046;try{_0x30f046=await _0x273425(_0x4702af[_0x3d2665(0x277)+_0x3d2665(0x396)](),_0x78581e);}catch(_0x2dcd10){logSdkError({'message':'Netwo'+'rk\x20re'+_0x3d2665(0x26f)+'\x20fail'+'ed','url':_0x4702af['toStr'+_0x3d2665(0x396)](),'method':_0x530a17[_0x3d2665(0x29e)+'d'],'error':_0x2dcd10});throw new SaaSNetworkError(_0x3d2665(0x384)+_0x3d2665(0x2a8)+_0x3d2665(0x26f)+_0x3d2665(0x28f)+'ed',_0x2dcd10);}const _0x1e499f=await _0x30f046[_0x3d2665(0x2ee)]();let _0xc5b54;if(_0x530a17[_0x3d2665(0x318)+_0x3d2665(0x21f)+'pe']==='text')_0xc5b54=_0x1e499f;else{if(_0x1e499f)try{_0xc5b54=JSON[_0x3d2665(0x20b)](_0x1e499f);}catch{logSdkError({'message':'Respo'+'nse\x20i'+_0x3d2665(0x33b)+_0x3d2665(0x348)+_0x3d2665(0x2ad)+'N','url':_0x4702af['toStr'+'ing'](),'method':_0x530a17[_0x3d2665(0x29e)+'d'],'status':_0x30f046['statu'+'s'],'statusText':_0x30f046[_0x3d2665(0x22b)+_0x3d2665(0x1e9)],'payload':_0x1e499f});var _0x3bb6c6={};_0x3bb6c6['statu'+'s']=_0x30f046['statu'+'s'],_0x3bb6c6[_0x3d2665(0x22b)+_0x3d2665(0x1e9)]=_0x30f046[_0x3d2665(0x22b)+_0x3d2665(0x1e9)],_0x3bb6c6[_0x3d2665(0x354)+'ad']=_0x1e499f;throw new SaaSHttpError(_0x3d2665(0x2ba)+_0x3d2665(0x2a6)+_0x3d2665(0x33b)+_0x3d2665(0x348)+_0x3d2665(0x2ad)+'N',_0x3bb6c6);}}let _0x5dede7;try{_0x5dede7=_0x530a17[_0x3d2665(0x20b)+'Respo'+_0x3d2665(0x2eb)](_0xc5b54);}catch(_0xc1c32b){const _0x319f6c=_0xc1c32b&&typeof _0xc1c32b===_0x3d2665(0x1ee)+'t'?_0xc1c32b[_0x3d2665(0x31f)+'s']:void(-0x1*0x1c0+0x1b*0x6+-0x16*-0xd);logSdkError({'message':_0x3d2665(0x2ba)+_0x3d2665(0x34a)+_0x3d2665(0x2fa)+_0x3d2665(0x348)+_0x3d2665(0x33a)+_0x3d2665(0x2c4)+_0x3d2665(0x361),'url':_0x4702af['toStr'+_0x3d2665(0x396)](),'method':_0x530a17[_0x3d2665(0x29e)+'d'],'status':_0x30f046[_0x3d2665(0x22b)+'s'],'statusText':_0x30f046['statu'+_0x3d2665(0x1e9)],'payload':_0xc5b54,'error':_0xc1c32b});throw new SaaSSchemaError(_0x3d2665(0x2ba)+_0x3d2665(0x34a)+_0x3d2665(0x2fa)+_0x3d2665(0x348)+_0x3d2665(0x33a)+_0x3d2665(0x2c4)+_0x3d2665(0x361),_0x319f6c);}if(!_0x30f046['ok']){logSdkError({'message':_0x3d2665(0x337)+'st\x20fa'+_0x3d2665(0x292),'url':_0x4702af['toStr'+_0x3d2665(0x396)](),'method':_0x530a17[_0x3d2665(0x29e)+'d'],'status':_0x30f046[_0x3d2665(0x22b)+'s'],'statusText':_0x30f046[_0x3d2665(0x22b)+_0x3d2665(0x1e9)],'payload':_0x5dede7});var _0x36e37e={};_0x36e37e['statu'+'s']=_0x30f046[_0x3d2665(0x22b)+'s'],_0x36e37e[_0x3d2665(0x22b)+_0x3d2665(0x1e9)]=_0x30f046[_0x3d2665(0x22b)+_0x3d2665(0x1e9)],_0x36e37e['paylo'+'ad']=_0x5dede7;throw new SaaSHttpError(_0x3d2665(0x337)+_0x3d2665(0x350)+'iled',_0x36e37e);}return _0x5dede7;}var BaseSaaSClient=class{[_0x281ab5(0x21b)+_0x281ab5(0x2fb)];[_0x281ab5(0x3ac)+'rl'];[_0x281ab5(0x2b2)+_0x281ab5(0x29f)+_0x281ab5(0x30d)];[_0x281ab5(0x289)+'er'];[_0x281ab5(0x1f2)+'rs'];constructor(_0x4ced90){var _0x1bb291=_0x281ab5;this['baseU'+'rl']=_0x4ced90[_0x1bb291(0x3ac)+'rl'],this[_0x1bb291(0x2b2)+_0x1bb291(0x29f)+_0x1bb291(0x30d)]=_0x4ced90[_0x1bb291(0x2b2)+_0x1bb291(0x29f)+_0x1bb291(0x30d)],this[_0x1bb291(0x289)+'er']=_0x4ced90['fetch'+'er']??fetch,this['heade'+'rs']=_0x4ced90[_0x1bb291(0x1f2)+'rs'],this[_0x1bb291(0x21b)+_0x1bb291(0x2fb)]=_0x4ced90['contr'+_0x1bb291(0x2fb)];}async[_0x281ab5(0x221)+'st'](_0x5d47d6,_0x226164){var _0x594f59=_0x281ab5;const _0x26f6c1=mergeHeaders(this[_0x594f59(0x1f2)+'rs'],_0x226164[_0x594f59(0x1f2)+'rs']);return request(this[_0x594f59(0x289)+'er'],_0x5d47d6,{'baseUrl':_0x226164[_0x594f59(0x3ac)+'rl']??this[_0x594f59(0x3ac)+'rl'],'headers':_0x26f6c1,'body':_0x226164[_0x594f59(0x260)]});}async[_0x281ab5(0x244)+_0x281ab5(0x2de)+'eader'](){var _0x257119=_0x281ab5;if(!this[_0x257119(0x2b2)+'cessT'+'oken'])return{};const _0xbc9a6b=await this[_0x257119(0x2b2)+_0x257119(0x29f)+_0x257119(0x30d)]();if(!_0xbc9a6b)return{};var _0x3d73dc={};return _0x3d73dc[_0x257119(0x346)+_0x257119(0x255)+_0x257119(0x269)]='Beare'+'r\x20'+_0xbc9a6b,_0x3d73dc;}['getBa'+_0x281ab5(0x2c9)](){return this['baseU'+'rl'];}},SaaSClient=class extends BaseSaaSClient{[_0x281ab5(0x38b)];['ai'];[_0x281ab5(0x38e)+_0x281ab5(0x344)];[_0x281ab5(0x347)+_0x281ab5(0x356)];['user'];constructor(_0xb1b524){var _0x522d81=_0x281ab5,_0x1a60af={..._0xb1b524};_0x1a60af[_0x522d81(0x21b)+_0x522d81(0x2fb)]=_0xb1b524[_0x522d81(0x21b)+_0x522d81(0x2fb)]??contract,super(_0x1a60af),this[_0x522d81(0x38b)]=new AuthClient(this),this['ai']=new AiClient(this),this[_0x522d81(0x38e)+_0x522d81(0x344)]=new AuxiliaryClient(this),this[_0x522d81(0x347)+_0x522d81(0x356)]=new FeedbackClient(this),this[_0x522d81(0x25d)]=new UserClient(this);}};function createTrpcClient(_0x53283f){var _0xb7f69e=_0x281ab5;return createTRPCClient({'links':[httpBatchLink({'url':new URL(_0xb7f69e(0x226),_0x53283f['baseU'+'rl'])[_0xb7f69e(0x277)+_0xb7f69e(0x396)](),'headers':async()=>{var _0x3f97d4=_0xb7f69e;const _0x289268=_0x53283f[_0x3f97d4(0x2b2)+'cessT'+_0x3f97d4(0x30d)]?await _0x53283f[_0x3f97d4(0x2b2)+_0x3f97d4(0x29f)+'oken']():'',_0x3e0592=_0x289268?{'Authorization':_0x3f97d4(0x335)+'r\x20'+_0x289268}:{};return mergeHeaders(_0x53283f['heade'+'rs'],_0x3e0592);}})]});}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};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openloaf-saas/sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {