@h-ai/api-contract 0.1.0-alpha.72 → 0.1.0-alpha.74

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/iam/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { IamAdminCreateUserInputSchema, IamAdminResetPasswordInputSchema, IamAdminUpdateUserInputSchema, IamAgreementDisplaySchema, IamAuthResultSchema, IamChangePasswordInputSchema, IamConfirmPasswordResetInputSchema, IamCreatePermissionInputSchema, IamCreateRoleInputSchema, IamCurrentUserSchema, IamLdapLoginInputSchema, IamListPermissionsInputSchema, IamListUsersInputSchema, IamLoginInputSchema, IamLogoutInputSchema, IamOtpLoginInputSchema, IamPermissionSchema, IamPermissionTypeSchema, IamPublicConfigSchema, IamRefreshTokenDataSchema, IamRefreshTokenInputSchema, IamRegisterInputSchema, IamRequestPasswordResetInputSchema, IamRoleSchema, IamSendOtpDataSchema, IamSendOtpInputSchema, IamTokenPairSchema, IamUpdateCurrentUserInputSchema, IamUpdateRoleInputSchema, IamUserIdInputSchema, IamUserSchema, iamContract } from '../chunk-DL2OYVLO.js';
1
+ export { IamAdminCreateUserInputSchema, IamAdminResetPasswordInputSchema, IamAdminUpdateUserInputSchema, IamAgreementDisplaySchema, IamAuthResultSchema, IamCaptchaChallengeSchema, IamChangePasswordInputSchema, IamConfirmPasswordResetInputSchema, IamCreateCaptchaInputSchema, IamCreatePermissionInputSchema, IamCreateRoleInputSchema, IamCurrentUserSchema, IamInviteUserInputSchema, IamLdapLoginInputSchema, IamListPermissionsInputSchema, IamListUsersInputSchema, IamLoginInputSchema, IamLogoutInputSchema, IamOtpLoginInputSchema, IamPermissionSchema, IamPermissionTypeSchema, IamPublicConfigSchema, IamReauthenticateInputSchema, IamReauthenticationProofSchema, IamRefreshTokenDataSchema, IamRefreshTokenInputSchema, IamRegisterInputSchema, IamRenewPasswordInputSchema, IamRequestPasswordResetInputSchema, IamRoleSchema, IamSendOtpDataSchema, IamSendOtpInputSchema, IamSessionErrorCodeSchema, IamTokenPairSchema, IamUpdateCurrentUserInputSchema, IamUpdateRoleInputSchema, IamUserIdInputSchema, IamUserSchema, iamContract } from '../chunk-RN3KGYTF.js';
2
2
  import '../chunk-CCCPHO6X.js';
3
3
  import '../chunk-5UEDYQLG.js';
4
4
  //# sourceMappingURL=index.js.map
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import * as zod_v4_core from 'zod/v4/core';
6
6
  import * as zod from 'zod';
7
7
  import { z } from 'zod';
8
8
  export { FeedbackAppendEvidenceInput, FeedbackAppendEvidenceInputSchema, FeedbackAttachment, FeedbackAttachmentData, FeedbackAttachmentDataSchema, FeedbackAttachmentInput, FeedbackAttachmentInputSchema, FeedbackAttachmentQuerySchema, FeedbackAttachmentSchema, FeedbackBudget, FeedbackBudgetSchema, FeedbackCollectionStatus, FeedbackCollectionStatusSchema, FeedbackCompleteInput, FeedbackCompleteInputSchema, FeedbackContract, FeedbackDetail, FeedbackDetailSchema, FeedbackEvidence, FeedbackEvidenceAck, FeedbackEvidenceAckSchema, FeedbackEvidenceInput, FeedbackEvidenceInputSchema, FeedbackEvidenceQuery, FeedbackEvidenceQuerySchema, FeedbackEvidenceSchema, FeedbackExportInput, FeedbackExportInputSchema, FeedbackExportQuerySchema, FeedbackHistory, FeedbackHistorySchema, FeedbackIdInputSchema, FeedbackJob, FeedbackJobSchema, FeedbackListInput, FeedbackListInputSchema, FeedbackNotificationStatus, FeedbackNotificationStatusSchema, FeedbackReport, FeedbackReportSchema, FeedbackRetryInput, FeedbackRetryInputSchema, FeedbackSetStatusInput, FeedbackSetStatusInputSchema, FeedbackStatus, FeedbackStatusSchema, FeedbackSubmitInput, FeedbackSubmitInputSchema, FeedbackUploadInput, FeedbackUploadInputSchema, resolveFeedbackBudget } from './feedback/index.js';
9
- export { IamAdminCreateUserInput, IamAdminCreateUserInputSchema, IamAdminResetPasswordInput, IamAdminResetPasswordInputSchema, IamAdminUpdateUserInput, IamAdminUpdateUserInputSchema, IamAgreementDisplaySchema, IamAuthResultOutput, IamAuthResultSchema, IamChangePasswordInput, IamChangePasswordInputSchema, IamConfirmPasswordResetInputSchema, IamContract, IamCreatePermissionInput, IamCreatePermissionInputSchema, IamCreateRoleInput, IamCreateRoleInputSchema, IamCurrentUser, IamCurrentUserOutput, IamCurrentUserSchema, IamLdapLoginInput, IamLdapLoginInputSchema, IamListPermissionsInput, IamListPermissionsInputSchema, IamListUsersInput, IamListUsersInputSchema, IamLoginInput, IamLoginInputSchema, IamLogoutInput, IamLogoutInputSchema, IamOtpLoginInput, IamOtpLoginInputSchema, IamPermissionSchema, IamPermissionTypeSchema, IamPublicConfig, IamPublicConfigSchema, IamRefreshTokenDataSchema, IamRefreshTokenInput, IamRefreshTokenInputSchema, IamRefreshTokenOutput, IamRegisterInput, IamRegisterInputSchema, IamRequestPasswordResetInputSchema, IamRoleSchema, IamSendOtpDataSchema, IamSendOtpInput, IamSendOtpInputSchema, IamTokenPairSchema, IamUpdateCurrentUserInput, IamUpdateCurrentUserInputSchema, IamUpdateRoleInput, IamUpdateRoleInputSchema, IamUserIdInput, IamUserIdInputSchema, IamUserSchema } from './iam/index.js';
9
+ export { IamAdminCreateUserInput, IamAdminCreateUserInputSchema, IamAdminResetPasswordInput, IamAdminResetPasswordInputSchema, IamAdminUpdateUserInput, IamAdminUpdateUserInputSchema, IamAgreementDisplaySchema, IamAuthResultOutput, IamAuthResultSchema, IamCaptchaChallengeSchema, IamChangePasswordInput, IamChangePasswordInputSchema, IamConfirmPasswordResetInputSchema, IamContract, IamCreateCaptchaInputSchema, IamCreatePermissionInput, IamCreatePermissionInputSchema, IamCreateRoleInput, IamCreateRoleInputSchema, IamCurrentUser, IamCurrentUserOutput, IamCurrentUserSchema, IamInviteUserInput, IamInviteUserInputSchema, IamLdapLoginInput, IamLdapLoginInputSchema, IamListPermissionsInput, IamListPermissionsInputSchema, IamListUsersInput, IamListUsersInputSchema, IamLoginInput, IamLoginInputSchema, IamLogoutInput, IamLogoutInputSchema, IamOtpLoginInput, IamOtpLoginInputSchema, IamPermissionSchema, IamPermissionTypeSchema, IamPublicConfig, IamPublicConfigSchema, IamReauthenticateInputSchema, IamReauthenticationProofSchema, IamRefreshTokenDataSchema, IamRefreshTokenInput, IamRefreshTokenInputSchema, IamRefreshTokenOutput, IamRegisterInput, IamRegisterInputSchema, IamRenewPasswordInputSchema, IamRequestPasswordResetInputSchema, IamRoleSchema, IamSendOtpDataSchema, IamSendOtpInput, IamSendOtpInputSchema, IamSessionErrorCodeSchema, IamTokenPairSchema, IamUpdateCurrentUserInput, IamUpdateCurrentUserInputSchema, IamUpdateRoleInput, IamUpdateRoleInputSchema, IamUserIdInput, IamUserIdInputSchema, IamUserSchema } from './iam/index.js';
10
10
  export { PaymentContract, PaymentCreateOrderDataSchema, PaymentCreateOrderInput, PaymentCreateOrderInputSchema, PaymentCreateOrderOutput, PaymentNotifyMessageSchema, PaymentOrderSchema, PaymentProviderSchema, PaymentQueryOrderInputSchema, PaymentRefundDataSchema, PaymentRefundInput, PaymentRefundInputSchema, PaymentStripeNotifyDataSchema, PaymentTradeTypeSchema } from './payment/index.js';
11
11
  export { StorageContract, StorageDeleteFilesInput, StorageDeleteFilesInputSchema, StorageDeleteSummarySchema, StorageFileKeyInput, StorageFileKeyInputSchema, StorageFileMetadataSchema, StorageListFilesDataSchema, StorageListFilesInput, StorageListFilesInputSchema, StoragePresignDownloadInput, StoragePresignDownloadInputSchema, StoragePresignUploadInput, StoragePresignUploadInputSchema, StoragePresignedUrlOutput, StoragePresignedUrlSchema } from './storage/index.js';
12
12
  import '@h-ai/core';
@@ -251,9 +251,82 @@ declare const apiContract: {
251
251
  /** IAM 领域 contract(认证 / 用户 / 角色 / 权限)。 */
252
252
  iam: {
253
253
  auth: {
254
+ createCaptcha: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
255
+ operation: zod.ZodEnum<{
256
+ login: "login";
257
+ register: "register";
258
+ sendOtp: "sendOtp";
259
+ passwordReset: "passwordReset";
260
+ renewPassword: "renewPassword";
261
+ }>;
262
+ }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
263
+ success: zod.ZodLiteral<true>;
264
+ data: zod.ZodObject<{
265
+ id: zod.ZodString;
266
+ challenge: zod.ZodObject<{
267
+ signature: zod.ZodOptional<zod.ZodString>;
268
+ parameters: zod.ZodObject<{
269
+ algorithm: zod.ZodString & zod.ZodType<"PBKDF2/SHA-256", string, zod_v4_core.$ZodTypeInternals<"PBKDF2/SHA-256", string>>;
270
+ nonce: zod.ZodString;
271
+ salt: zod.ZodString;
272
+ cost: zod.ZodNumber;
273
+ keyLength: zod.ZodNumber;
274
+ keyPrefix: zod.ZodString;
275
+ keySignature: zod.ZodOptional<zod.ZodString>;
276
+ data: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodNull]>>>;
277
+ }, zod_v4_core.$strip>;
278
+ }, zod_v4_core.$strip>;
279
+ }, zod_v4_core.$strip>;
280
+ }, zod_v4_core.$strip>, zod.ZodObject<{
281
+ success: zod.ZodLiteral<false>;
282
+ error: zod.ZodObject<{
283
+ code: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>;
284
+ message: zod.ZodString;
285
+ traceId: zod.ZodOptional<zod.ZodString>;
286
+ httpStatus: zod.ZodOptional<zod.ZodNumber>;
287
+ system: zod.ZodOptional<zod.ZodString>;
288
+ module: zod.ZodOptional<zod.ZodString>;
289
+ cause: zod.ZodOptional<zod.ZodUnknown>;
290
+ suggestion: zod.ZodOptional<zod.ZodString>;
291
+ ext: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
292
+ }, zod_v4_core.$strip>;
293
+ }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
294
+ reauthenticate: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
295
+ password: zod.ZodString;
296
+ operation: zod.ZodString;
297
+ }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
298
+ success: zod.ZodLiteral<true>;
299
+ data: zod.ZodObject<{
300
+ ticket: zod.ZodString;
301
+ expiresAt: zod.ZodNumber;
302
+ }, zod_v4_core.$strip>;
303
+ }, zod_v4_core.$strip>, zod.ZodObject<{
304
+ success: zod.ZodLiteral<false>;
305
+ error: zod.ZodObject<{
306
+ code: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>;
307
+ message: zod.ZodString;
308
+ traceId: zod.ZodOptional<zod.ZodString>;
309
+ httpStatus: zod.ZodOptional<zod.ZodNumber>;
310
+ system: zod.ZodOptional<zod.ZodString>;
311
+ module: zod.ZodOptional<zod.ZodString>;
312
+ cause: zod.ZodOptional<zod.ZodUnknown>;
313
+ suggestion: zod.ZodOptional<zod.ZodString>;
314
+ ext: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
315
+ }, zod_v4_core.$strip>;
316
+ }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
254
317
  publicConfig: _orpc_contract.ContractProcedureBuilderWithOutput<_orpc_contract.Schema<unknown, unknown>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
255
318
  success: zod.ZodLiteral<true>;
256
319
  data: zod.ZodNullable<zod.ZodObject<{
320
+ captcha: zod.ZodDefault<zod.ZodObject<{
321
+ enabled: zod.ZodBoolean;
322
+ }, zod_v4_core.$strip>>;
323
+ reauthentication: zod.ZodOptional<zod.ZodObject<{
324
+ enabled: zod.ZodBoolean;
325
+ operations: zod.ZodArray<zod.ZodString>;
326
+ }, zod_v4_core.$strip>>;
327
+ initialCredentials: zod.ZodOptional<zod.ZodObject<{
328
+ enabled: zod.ZodBoolean;
329
+ }, zod_v4_core.$strip>>;
257
330
  password: zod.ZodObject<{
258
331
  minLength: zod.ZodNumber;
259
332
  maxLength: zod.ZodNumber;
@@ -262,6 +335,9 @@ declare const apiContract: {
262
335
  requireNumber: zod.ZodBoolean;
263
336
  requireSpecialChar: zod.ZodBoolean;
264
337
  expirationDays: zod.ZodNumber;
338
+ minCharacterClasses: zod.ZodOptional<zod.ZodNumber>;
339
+ preventSamePassword: zod.ZodOptional<zod.ZodBoolean>;
340
+ requireInitialChange: zod.ZodOptional<zod.ZodBoolean>;
265
341
  }, zod_v4_core.$strip>;
266
342
  register: zod.ZodObject<{
267
343
  enabled: zod.ZodBoolean;
@@ -306,6 +382,7 @@ declare const apiContract: {
306
382
  }, zod_v4_core.$strip>;
307
383
  session: zod.ZodObject<{
308
384
  maxAge: zod.ZodNumber;
385
+ endOnPageHide: zod.ZodDefault<zod.ZodBoolean>;
309
386
  }, zod_v4_core.$strip>;
310
387
  }, zod_v4_core.$strip>>;
311
388
  }, zod_v4_core.$strip>, zod.ZodObject<{
@@ -322,9 +399,33 @@ declare const apiContract: {
322
399
  ext: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
323
400
  }, zod_v4_core.$strip>;
324
401
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
402
+ renewPassword: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
403
+ identifier: zod.ZodString;
404
+ password: zod.ZodString;
405
+ newPassword: zod.ZodString;
406
+ captcha: zod.ZodOptional<zod.ZodString>;
407
+ }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
408
+ success: zod.ZodLiteral<true>;
409
+ data: zod.ZodVoid;
410
+ }, zod_v4_core.$strip>, zod.ZodObject<{
411
+ success: zod.ZodLiteral<false>;
412
+ error: zod.ZodObject<{
413
+ code: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>;
414
+ message: zod.ZodString;
415
+ traceId: zod.ZodOptional<zod.ZodString>;
416
+ httpStatus: zod.ZodOptional<zod.ZodNumber>;
417
+ system: zod.ZodOptional<zod.ZodString>;
418
+ module: zod.ZodOptional<zod.ZodString>;
419
+ cause: zod.ZodOptional<zod.ZodUnknown>;
420
+ suggestion: zod.ZodOptional<zod.ZodString>;
421
+ ext: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
422
+ }, zod_v4_core.$strip>;
423
+ }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
325
424
  loginWithLdap: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
326
425
  username: zod.ZodString;
327
426
  password: zod.ZodString;
427
+ captcha: zod.ZodOptional<zod.ZodString>;
428
+ expectedUserId: zod.ZodOptional<zod.ZodString>;
328
429
  }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
329
430
  success: zod.ZodLiteral<true>;
330
431
  data: zod.ZodObject<{
@@ -336,6 +437,18 @@ declare const apiContract: {
336
437
  displayName: zod.ZodOptional<zod.ZodString>;
337
438
  avatarUrl: zod.ZodOptional<zod.ZodString>;
338
439
  enabled: zod.ZodBoolean;
440
+ accountType: zod.ZodOptional<zod.ZodEnum<{
441
+ permanent: "permanent";
442
+ temporary: "temporary";
443
+ }>>;
444
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
445
+ active: "active";
446
+ dormant: "dormant";
447
+ closed: "closed";
448
+ }>>;
449
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
450
+ lastLoginAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
451
+ mustChangePassword: zod.ZodOptional<zod.ZodBoolean>;
339
452
  emailVerified: zod.ZodOptional<zod.ZodBoolean>;
340
453
  phoneVerified: zod.ZodOptional<zod.ZodBoolean>;
341
454
  createdAt: zod.ZodCoercedDate<unknown>;
@@ -375,6 +488,7 @@ declare const apiContract: {
375
488
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
376
489
  requestPasswordReset: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
377
490
  identifier: zod.ZodString;
491
+ captcha: zod.ZodOptional<zod.ZodString>;
378
492
  }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
379
493
  success: zod.ZodLiteral<true>;
380
494
  data: zod.ZodVoid;
@@ -413,6 +527,8 @@ declare const apiContract: {
413
527
  }, zod_v4_core.$strip>;
414
528
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
415
529
  login: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
530
+ expectedUserId: zod.ZodOptional<zod.ZodString>;
531
+ captcha: zod.ZodOptional<zod.ZodString>;
416
532
  identifier: zod.ZodString;
417
533
  password: zod.ZodString;
418
534
  }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -426,6 +542,18 @@ declare const apiContract: {
426
542
  displayName: zod.ZodOptional<zod.ZodString>;
427
543
  avatarUrl: zod.ZodOptional<zod.ZodString>;
428
544
  enabled: zod.ZodBoolean;
545
+ accountType: zod.ZodOptional<zod.ZodEnum<{
546
+ permanent: "permanent";
547
+ temporary: "temporary";
548
+ }>>;
549
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
550
+ active: "active";
551
+ dormant: "dormant";
552
+ closed: "closed";
553
+ }>>;
554
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
555
+ lastLoginAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
556
+ mustChangePassword: zod.ZodOptional<zod.ZodBoolean>;
429
557
  emailVerified: zod.ZodOptional<zod.ZodBoolean>;
430
558
  phoneVerified: zod.ZodOptional<zod.ZodBoolean>;
431
559
  createdAt: zod.ZodCoercedDate<unknown>;
@@ -464,6 +592,8 @@ declare const apiContract: {
464
592
  }, zod_v4_core.$strip>;
465
593
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
466
594
  loginWithOtp: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
595
+ expectedUserId: zod.ZodOptional<zod.ZodString>;
596
+ captcha: zod.ZodOptional<zod.ZodString>;
467
597
  identifier: zod.ZodString;
468
598
  code: zod.ZodString;
469
599
  }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -477,6 +607,18 @@ declare const apiContract: {
477
607
  displayName: zod.ZodOptional<zod.ZodString>;
478
608
  avatarUrl: zod.ZodOptional<zod.ZodString>;
479
609
  enabled: zod.ZodBoolean;
610
+ accountType: zod.ZodOptional<zod.ZodEnum<{
611
+ permanent: "permanent";
612
+ temporary: "temporary";
613
+ }>>;
614
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
615
+ active: "active";
616
+ dormant: "dormant";
617
+ closed: "closed";
618
+ }>>;
619
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
620
+ lastLoginAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
621
+ mustChangePassword: zod.ZodOptional<zod.ZodBoolean>;
480
622
  emailVerified: zod.ZodOptional<zod.ZodBoolean>;
481
623
  phoneVerified: zod.ZodOptional<zod.ZodBoolean>;
482
624
  createdAt: zod.ZodCoercedDate<unknown>;
@@ -533,6 +675,25 @@ declare const apiContract: {
533
675
  ext: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
534
676
  }, zod_v4_core.$strip>;
535
677
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
678
+ closeSession: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
679
+ accessToken: zod.ZodOptional<zod.ZodString>;
680
+ }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
681
+ success: zod.ZodLiteral<true>;
682
+ data: zod.ZodVoid;
683
+ }, zod_v4_core.$strip>, zod.ZodObject<{
684
+ success: zod.ZodLiteral<false>;
685
+ error: zod.ZodObject<{
686
+ code: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>;
687
+ message: zod.ZodString;
688
+ traceId: zod.ZodOptional<zod.ZodString>;
689
+ httpStatus: zod.ZodOptional<zod.ZodNumber>;
690
+ system: zod.ZodOptional<zod.ZodString>;
691
+ module: zod.ZodOptional<zod.ZodString>;
692
+ cause: zod.ZodOptional<zod.ZodUnknown>;
693
+ suggestion: zod.ZodOptional<zod.ZodString>;
694
+ ext: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
695
+ }, zod_v4_core.$strip>;
696
+ }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
536
697
  currentUser: _orpc_contract.ContractProcedureBuilderWithOutput<_orpc_contract.Schema<unknown, unknown>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
537
698
  success: zod.ZodLiteral<true>;
538
699
  data: zod.ZodObject<{
@@ -543,6 +704,18 @@ declare const apiContract: {
543
704
  displayName: zod.ZodOptional<zod.ZodString>;
544
705
  avatarUrl: zod.ZodOptional<zod.ZodString>;
545
706
  enabled: zod.ZodBoolean;
707
+ accountType: zod.ZodOptional<zod.ZodEnum<{
708
+ permanent: "permanent";
709
+ temporary: "temporary";
710
+ }>>;
711
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
712
+ active: "active";
713
+ dormant: "dormant";
714
+ closed: "closed";
715
+ }>>;
716
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
717
+ lastLoginAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
718
+ mustChangePassword: zod.ZodOptional<zod.ZodBoolean>;
546
719
  emailVerified: zod.ZodOptional<zod.ZodBoolean>;
547
720
  phoneVerified: zod.ZodOptional<zod.ZodBoolean>;
548
721
  createdAt: zod.ZodCoercedDate<unknown>;
@@ -592,6 +765,7 @@ declare const apiContract: {
592
765
  }, zod_v4_core.$strip>;
593
766
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
594
767
  sendOtp: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
768
+ captcha: zod.ZodOptional<zod.ZodString>;
595
769
  identifier: zod.ZodString;
596
770
  }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
597
771
  success: zod.ZodLiteral<true>;
@@ -613,6 +787,7 @@ declare const apiContract: {
613
787
  }, zod_v4_core.$strip>;
614
788
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
615
789
  register: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
790
+ captcha: zod.ZodOptional<zod.ZodString>;
616
791
  username: zod.ZodString;
617
792
  password: zod.ZodString;
618
793
  email: zod.ZodOptional<zod.ZodString>;
@@ -630,6 +805,18 @@ declare const apiContract: {
630
805
  displayName: zod.ZodOptional<zod.ZodString>;
631
806
  avatarUrl: zod.ZodOptional<zod.ZodString>;
632
807
  enabled: zod.ZodBoolean;
808
+ accountType: zod.ZodOptional<zod.ZodEnum<{
809
+ permanent: "permanent";
810
+ temporary: "temporary";
811
+ }>>;
812
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
813
+ active: "active";
814
+ dormant: "dormant";
815
+ closed: "closed";
816
+ }>>;
817
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
818
+ lastLoginAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
819
+ mustChangePassword: zod.ZodOptional<zod.ZodBoolean>;
633
820
  emailVerified: zod.ZodOptional<zod.ZodBoolean>;
634
821
  phoneVerified: zod.ZodOptional<zod.ZodBoolean>;
635
822
  createdAt: zod.ZodCoercedDate<unknown>;
@@ -704,6 +891,18 @@ declare const apiContract: {
704
891
  displayName: zod.ZodOptional<zod.ZodString>;
705
892
  avatarUrl: zod.ZodOptional<zod.ZodString>;
706
893
  enabled: zod.ZodBoolean;
894
+ accountType: zod.ZodOptional<zod.ZodEnum<{
895
+ permanent: "permanent";
896
+ temporary: "temporary";
897
+ }>>;
898
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
899
+ active: "active";
900
+ dormant: "dormant";
901
+ closed: "closed";
902
+ }>>;
903
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
904
+ lastLoginAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
905
+ mustChangePassword: zod.ZodOptional<zod.ZodBoolean>;
707
906
  emailVerified: zod.ZodOptional<zod.ZodBoolean>;
708
907
  phoneVerified: zod.ZodOptional<zod.ZodBoolean>;
709
908
  createdAt: zod.ZodCoercedDate<unknown>;
@@ -726,6 +925,62 @@ declare const apiContract: {
726
925
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
727
926
  };
728
927
  users: {
928
+ invite: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
929
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
930
+ email: zod.ZodOptional<zod.ZodString>;
931
+ username: zod.ZodString;
932
+ phone: zod.ZodOptional<zod.ZodString>;
933
+ displayName: zod.ZodOptional<zod.ZodString>;
934
+ accountType: zod.ZodOptional<zod.ZodEnum<{
935
+ permanent: "permanent";
936
+ temporary: "temporary";
937
+ }>>;
938
+ accountExpiresAt: zod.ZodOptional<zod.ZodCoercedDate<unknown>>;
939
+ roleIds: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
940
+ enabled: zod.ZodOptional<zod.ZodLiteral<true>>;
941
+ accountStatus: zod.ZodOptional<zod.ZodLiteral<"active">>;
942
+ }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
943
+ success: zod.ZodLiteral<true>;
944
+ data: zod.ZodObject<{
945
+ id: zod.ZodString;
946
+ username: zod.ZodString;
947
+ email: zod.ZodOptional<zod.ZodString>;
948
+ phone: zod.ZodOptional<zod.ZodString>;
949
+ displayName: zod.ZodOptional<zod.ZodString>;
950
+ avatarUrl: zod.ZodOptional<zod.ZodString>;
951
+ enabled: zod.ZodBoolean;
952
+ accountType: zod.ZodOptional<zod.ZodEnum<{
953
+ permanent: "permanent";
954
+ temporary: "temporary";
955
+ }>>;
956
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
957
+ active: "active";
958
+ dormant: "dormant";
959
+ closed: "closed";
960
+ }>>;
961
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
962
+ lastLoginAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
963
+ mustChangePassword: zod.ZodOptional<zod.ZodBoolean>;
964
+ emailVerified: zod.ZodOptional<zod.ZodBoolean>;
965
+ phoneVerified: zod.ZodOptional<zod.ZodBoolean>;
966
+ createdAt: zod.ZodCoercedDate<unknown>;
967
+ updatedAt: zod.ZodCoercedDate<unknown>;
968
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
969
+ }, zod_v4_core.$strip>;
970
+ }, zod_v4_core.$strip>, zod.ZodObject<{
971
+ success: zod.ZodLiteral<false>;
972
+ error: zod.ZodObject<{
973
+ code: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>;
974
+ message: zod.ZodString;
975
+ traceId: zod.ZodOptional<zod.ZodString>;
976
+ httpStatus: zod.ZodOptional<zod.ZodNumber>;
977
+ system: zod.ZodOptional<zod.ZodString>;
978
+ module: zod.ZodOptional<zod.ZodString>;
979
+ cause: zod.ZodOptional<zod.ZodUnknown>;
980
+ suggestion: zod.ZodOptional<zod.ZodString>;
981
+ ext: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
982
+ }, zod_v4_core.$strip>;
983
+ }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
729
984
  list: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
730
985
  page: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
731
986
  pageSize: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
@@ -746,6 +1001,18 @@ declare const apiContract: {
746
1001
  displayName: zod.ZodOptional<zod.ZodString>;
747
1002
  avatarUrl: zod.ZodOptional<zod.ZodString>;
748
1003
  enabled: zod.ZodBoolean;
1004
+ accountType: zod.ZodOptional<zod.ZodEnum<{
1005
+ permanent: "permanent";
1006
+ temporary: "temporary";
1007
+ }>>;
1008
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
1009
+ active: "active";
1010
+ dormant: "dormant";
1011
+ closed: "closed";
1012
+ }>>;
1013
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
1014
+ lastLoginAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
1015
+ mustChangePassword: zod.ZodOptional<zod.ZodBoolean>;
749
1016
  emailVerified: zod.ZodOptional<zod.ZodBoolean>;
750
1017
  phoneVerified: zod.ZodOptional<zod.ZodBoolean>;
751
1018
  createdAt: zod.ZodCoercedDate<unknown>;
@@ -782,6 +1049,18 @@ declare const apiContract: {
782
1049
  displayName: zod.ZodOptional<zod.ZodString>;
783
1050
  avatarUrl: zod.ZodOptional<zod.ZodString>;
784
1051
  enabled: zod.ZodBoolean;
1052
+ accountType: zod.ZodOptional<zod.ZodEnum<{
1053
+ permanent: "permanent";
1054
+ temporary: "temporary";
1055
+ }>>;
1056
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
1057
+ active: "active";
1058
+ dormant: "dormant";
1059
+ closed: "closed";
1060
+ }>>;
1061
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
1062
+ lastLoginAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
1063
+ mustChangePassword: zod.ZodOptional<zod.ZodBoolean>;
785
1064
  emailVerified: zod.ZodOptional<zod.ZodBoolean>;
786
1065
  phoneVerified: zod.ZodOptional<zod.ZodBoolean>;
787
1066
  createdAt: zod.ZodCoercedDate<unknown>;
@@ -803,6 +1082,16 @@ declare const apiContract: {
803
1082
  }, zod_v4_core.$strip>;
804
1083
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
805
1084
  create: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1085
+ accountType: zod.ZodOptional<zod.ZodEnum<{
1086
+ permanent: "permanent";
1087
+ temporary: "temporary";
1088
+ }>>;
1089
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
1090
+ active: "active";
1091
+ dormant: "dormant";
1092
+ closed: "closed";
1093
+ }>>;
1094
+ accountExpiresAt: zod.ZodOptional<zod.ZodCoercedDate<unknown>>;
806
1095
  username: zod.ZodString;
807
1096
  email: zod.ZodOptional<zod.ZodString>;
808
1097
  phone: zod.ZodOptional<zod.ZodString>;
@@ -821,6 +1110,18 @@ declare const apiContract: {
821
1110
  displayName: zod.ZodOptional<zod.ZodString>;
822
1111
  avatarUrl: zod.ZodOptional<zod.ZodString>;
823
1112
  enabled: zod.ZodBoolean;
1113
+ accountType: zod.ZodOptional<zod.ZodEnum<{
1114
+ permanent: "permanent";
1115
+ temporary: "temporary";
1116
+ }>>;
1117
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
1118
+ active: "active";
1119
+ dormant: "dormant";
1120
+ closed: "closed";
1121
+ }>>;
1122
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
1123
+ lastLoginAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
1124
+ mustChangePassword: zod.ZodOptional<zod.ZodBoolean>;
824
1125
  emailVerified: zod.ZodOptional<zod.ZodBoolean>;
825
1126
  phoneVerified: zod.ZodOptional<zod.ZodBoolean>;
826
1127
  createdAt: zod.ZodCoercedDate<unknown>;
@@ -842,6 +1143,16 @@ declare const apiContract: {
842
1143
  }, zod_v4_core.$strip>;
843
1144
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
844
1145
  update: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1146
+ accountType: zod.ZodOptional<zod.ZodEnum<{
1147
+ permanent: "permanent";
1148
+ temporary: "temporary";
1149
+ }>>;
1150
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
1151
+ active: "active";
1152
+ dormant: "dormant";
1153
+ closed: "closed";
1154
+ }>>;
1155
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
845
1156
  id: zod.ZodString;
846
1157
  username: zod.ZodOptional<zod.ZodString>;
847
1158
  email: zod.ZodOptional<zod.ZodString>;
@@ -861,6 +1172,18 @@ declare const apiContract: {
861
1172
  displayName: zod.ZodOptional<zod.ZodString>;
862
1173
  avatarUrl: zod.ZodOptional<zod.ZodString>;
863
1174
  enabled: zod.ZodBoolean;
1175
+ accountType: zod.ZodOptional<zod.ZodEnum<{
1176
+ permanent: "permanent";
1177
+ temporary: "temporary";
1178
+ }>>;
1179
+ accountStatus: zod.ZodOptional<zod.ZodEnum<{
1180
+ active: "active";
1181
+ dormant: "dormant";
1182
+ closed: "closed";
1183
+ }>>;
1184
+ accountExpiresAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
1185
+ lastLoginAt: zod.ZodOptional<zod.ZodNullable<zod.ZodCoercedDate<unknown>>>;
1186
+ mustChangePassword: zod.ZodOptional<zod.ZodBoolean>;
864
1187
  emailVerified: zod.ZodOptional<zod.ZodBoolean>;
865
1188
  phoneVerified: zod.ZodOptional<zod.ZodBoolean>;
866
1189
  createdAt: zod.ZodCoercedDate<unknown>;
@@ -1059,6 +1382,26 @@ declare const apiContract: {
1059
1382
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
1060
1383
  };
1061
1384
  permissions: {
1385
+ setSensitiveOperations: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1386
+ id: zod.ZodString;
1387
+ sensitiveOperations: zod.ZodPipe<zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString>>>, zod.ZodTransform<string[], string[] | null | undefined>>;
1388
+ }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1389
+ success: zod.ZodLiteral<true>;
1390
+ data: zod.ZodVoid;
1391
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1392
+ success: zod.ZodLiteral<false>;
1393
+ error: zod.ZodObject<{
1394
+ code: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>;
1395
+ message: zod.ZodString;
1396
+ traceId: zod.ZodOptional<zod.ZodString>;
1397
+ httpStatus: zod.ZodOptional<zod.ZodNumber>;
1398
+ system: zod.ZodOptional<zod.ZodString>;
1399
+ module: zod.ZodOptional<zod.ZodString>;
1400
+ cause: zod.ZodOptional<zod.ZodUnknown>;
1401
+ suggestion: zod.ZodOptional<zod.ZodString>;
1402
+ ext: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
1403
+ }, zod_v4_core.$strip>;
1404
+ }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
1062
1405
  list: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1063
1406
  page: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
1064
1407
  pageSize: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
@@ -1072,6 +1415,7 @@ declare const apiContract: {
1072
1415
  success: zod.ZodLiteral<true>;
1073
1416
  data: zod.ZodObject<{
1074
1417
  items: zod.ZodArray<zod.ZodObject<{
1418
+ sensitiveOperations: zod.ZodPipe<zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString>>>, zod.ZodTransform<string[], string[] | null | undefined>>;
1075
1419
  id: zod.ZodString;
1076
1420
  code: zod.ZodString;
1077
1421
  name: zod.ZodString;
@@ -1109,6 +1453,7 @@ declare const apiContract: {
1109
1453
  }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1110
1454
  success: zod.ZodLiteral<true>;
1111
1455
  data: zod.ZodNullable<zod.ZodObject<{
1456
+ sensitiveOperations: zod.ZodPipe<zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString>>>, zod.ZodTransform<string[], string[] | null | undefined>>;
1112
1457
  id: zod.ZodString;
1113
1458
  code: zod.ZodString;
1114
1459
  name: zod.ZodString;
@@ -1138,6 +1483,7 @@ declare const apiContract: {
1138
1483
  }, zod_v4_core.$strip>;
1139
1484
  }, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
1140
1485
  create: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1486
+ sensitiveOperations: zod.ZodDefault<zod.ZodArray<zod.ZodString>>;
1141
1487
  code: zod.ZodString;
1142
1488
  name: zod.ZodString;
1143
1489
  description: zod.ZodOptional<zod.ZodString>;
@@ -1151,6 +1497,7 @@ declare const apiContract: {
1151
1497
  }, zod_v4_core.$strip>, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1152
1498
  success: zod.ZodLiteral<true>;
1153
1499
  data: zod.ZodObject<{
1500
+ sensitiveOperations: zod.ZodPipe<zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString>>>, zod.ZodTransform<string[], string[] | null | undefined>>;
1154
1501
  id: zod.ZodString;
1155
1502
  code: zod.ZodString;
1156
1503
  name: zod.ZodString;
@@ -1815,8 +2162,8 @@ declare const apiContract: {
1815
2162
  status: zod.ZodEnum<{
1816
2163
  pending: "pending";
1817
2164
  failed: "failed";
1818
- paid: "paid";
1819
2165
  closed: "closed";
2166
+ paid: "paid";
1820
2167
  refunded: "refunded";
1821
2168
  }>;
1822
2169
  amount: zod.ZodNumber;
@@ -2226,6 +2573,7 @@ declare const apiContract: {
2226
2573
  type: zod.ZodEnum<{
2227
2574
  collect: "collect";
2228
2575
  notify: "notify";
2576
+ webhook: "webhook";
2229
2577
  export: "export";
2230
2578
  cleanup: "cleanup";
2231
2579
  }>;
@@ -2387,6 +2735,7 @@ declare const apiContract: {
2387
2735
  target: zod.ZodEnum<{
2388
2736
  collect: "collect";
2389
2737
  notify: "notify";
2738
+ webhook: "webhook";
2390
2739
  export: "export";
2391
2740
  attachment: "attachment";
2392
2741
  }>;
@@ -2419,6 +2768,7 @@ declare const apiContract: {
2419
2768
  type: zod.ZodEnum<{
2420
2769
  collect: "collect";
2421
2770
  notify: "notify";
2771
+ webhook: "webhook";
2422
2772
  export: "export";
2423
2773
  cleanup: "cleanup";
2424
2774
  }>;
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import { iamContract } from './chunk-DL2OYVLO.js';
2
- export { IamAdminCreateUserInputSchema, IamAdminResetPasswordInputSchema, IamAdminUpdateUserInputSchema, IamAgreementDisplaySchema, IamAuthResultSchema, IamChangePasswordInputSchema, IamConfirmPasswordResetInputSchema, IamCreatePermissionInputSchema, IamCreateRoleInputSchema, IamCurrentUserSchema, IamLdapLoginInputSchema, IamListPermissionsInputSchema, IamListUsersInputSchema, IamLoginInputSchema, IamLogoutInputSchema, IamOtpLoginInputSchema, IamPermissionSchema, IamPermissionTypeSchema, IamPublicConfigSchema, IamRefreshTokenDataSchema, IamRefreshTokenInputSchema, IamRegisterInputSchema, IamRequestPasswordResetInputSchema, IamRoleSchema, IamSendOtpDataSchema, IamSendOtpInputSchema, IamTokenPairSchema, IamUpdateCurrentUserInputSchema, IamUpdateRoleInputSchema, IamUserIdInputSchema, IamUserSchema } from './chunk-DL2OYVLO.js';
1
+ import { iamContract } from './chunk-RN3KGYTF.js';
2
+ export { IamAdminCreateUserInputSchema, IamAdminResetPasswordInputSchema, IamAdminUpdateUserInputSchema, IamAgreementDisplaySchema, IamAuthResultSchema, IamCaptchaChallengeSchema, IamChangePasswordInputSchema, IamConfirmPasswordResetInputSchema, IamCreateCaptchaInputSchema, IamCreatePermissionInputSchema, IamCreateRoleInputSchema, IamCurrentUserSchema, IamInviteUserInputSchema, IamLdapLoginInputSchema, IamListPermissionsInputSchema, IamListUsersInputSchema, IamLoginInputSchema, IamLogoutInputSchema, IamOtpLoginInputSchema, IamPermissionSchema, IamPermissionTypeSchema, IamPublicConfigSchema, IamReauthenticateInputSchema, IamReauthenticationProofSchema, IamRefreshTokenDataSchema, IamRefreshTokenInputSchema, IamRegisterInputSchema, IamRenewPasswordInputSchema, IamRequestPasswordResetInputSchema, IamRoleSchema, IamSendOtpDataSchema, IamSendOtpInputSchema, IamSessionErrorCodeSchema, IamTokenPairSchema, IamUpdateCurrentUserInputSchema, IamUpdateRoleInputSchema, IamUserIdInputSchema, IamUserSchema } from './chunk-RN3KGYTF.js';
3
3
  import { storageContract } from './chunk-ZM7KM6V3.js';
4
4
  export { StorageDeleteFilesInputSchema, StorageDeleteSummarySchema, StorageFileKeyInputSchema, StorageFileMetadataSchema, StorageListFilesDataSchema, StorageListFilesInputSchema, StoragePresignDownloadInputSchema, StoragePresignUploadInputSchema, StoragePresignedUrlSchema } from './chunk-ZM7KM6V3.js';
5
5
  import { aiContract } from './chunk-LD5PSL4C.js';
6
6
  export { AUDIO_WS_PATH, AiAssistantMessageSchema, AiChatCompletionChoiceSchema, AiChatCompletionDataSchema, AiChatCompletionInputSchema, AiChatHistoryDataSchema, AiChatHistoryInputSchema, AiChatMessageSchema, AiChatRecordSchema, AiImageContentSchema, AiMemoryEntrySchema, AiMemoryListDataSchema, AiMemoryListInputSchema, AiMemoryRecallDataSchema, AiMemoryRecallInputSchema, AiMemoryTypeSchema, AiMessageContentSchema, AiMessageRoleSchema, AiSendMessageDataSchema, AiSendMessageInputSchema, AiSessionInfoSchema, AiSessionListDataSchema, AiSessionListInputSchema, AiTextContentSchema, AiTokenUsageSchema, AiToolCallSchema, AiToolDefinitionSchema, AudioFormatSchema, AudioWsClientMessageSchema, AudioWsDoneMessageSchema, AudioWsStartMessageSchema, AudioWsTextMessageSchema } from './chunk-LD5PSL4C.js';
7
7
  import { paymentContract } from './chunk-M4DEKGOP.js';
8
8
  export { PaymentCreateOrderDataSchema, PaymentCreateOrderInputSchema, PaymentNotifyMessageSchema, PaymentOrderSchema, PaymentProviderSchema, PaymentQueryOrderInputSchema, PaymentRefundDataSchema, PaymentRefundInputSchema, PaymentStripeNotifyDataSchema, PaymentTradeTypeSchema } from './chunk-M4DEKGOP.js';
9
- import { feedbackContract } from './chunk-JVJJOK4X.js';
10
- export { FeedbackAppendEvidenceInputSchema, FeedbackAttachmentDataSchema, FeedbackAttachmentInputSchema, FeedbackAttachmentQuerySchema, FeedbackAttachmentSchema, FeedbackBudgetSchema, FeedbackCollectionStatusSchema, FeedbackCompleteInputSchema, FeedbackDetailSchema, FeedbackEvidenceAckSchema, FeedbackEvidenceInputSchema, FeedbackEvidenceQuerySchema, FeedbackEvidenceSchema, FeedbackExportInputSchema, FeedbackExportQuerySchema, FeedbackHistorySchema, FeedbackIdInputSchema, FeedbackJobSchema, FeedbackListInputSchema, FeedbackNotificationStatusSchema, FeedbackReportSchema, FeedbackRetryInputSchema, FeedbackSetStatusInputSchema, FeedbackStatusSchema, FeedbackSubmitInputSchema, FeedbackUploadInputSchema, resolveFeedbackBudget } from './chunk-JVJJOK4X.js';
9
+ import { feedbackContract } from './chunk-FGB5O4VA.js';
10
+ export { FeedbackAppendEvidenceInputSchema, FeedbackAttachmentDataSchema, FeedbackAttachmentInputSchema, FeedbackAttachmentQuerySchema, FeedbackAttachmentSchema, FeedbackBudgetSchema, FeedbackCollectionStatusSchema, FeedbackCompleteInputSchema, FeedbackDetailSchema, FeedbackEvidenceAckSchema, FeedbackEvidenceInputSchema, FeedbackEvidenceQuerySchema, FeedbackEvidenceSchema, FeedbackExportInputSchema, FeedbackExportQuerySchema, FeedbackHistorySchema, FeedbackIdInputSchema, FeedbackJobSchema, FeedbackListInputSchema, FeedbackNotificationStatusSchema, FeedbackReportSchema, FeedbackRetryInputSchema, FeedbackSetStatusInputSchema, FeedbackStatusSchema, FeedbackSubmitInputSchema, FeedbackUploadInputSchema, resolveFeedbackBudget } from './chunk-FGB5O4VA.js';
11
11
  import { paginatedSchema } from './chunk-CCCPHO6X.js';
12
12
  export { PaginationQuerySchema, paginatedSchema } from './chunk-CCCPHO6X.js';
13
13
  import { pathOf, route, HaiVoidResultSchema, haiResultSchema } from './chunk-5UEDYQLG.js';
@@ -67,8 +67,8 @@ declare const paymentContract: {
67
67
  status: z.ZodEnum<{
68
68
  pending: "pending";
69
69
  failed: "failed";
70
- paid: "paid";
71
70
  closed: "closed";
71
+ paid: "paid";
72
72
  refunded: "refunded";
73
73
  }>;
74
74
  amount: z.ZodNumber;
@@ -329,8 +329,8 @@ declare const PaymentOrderSchema: z.ZodObject<{
329
329
  status: z.ZodEnum<{
330
330
  pending: "pending";
331
331
  failed: "failed";
332
- paid: "paid";
333
332
  closed: "closed";
333
+ paid: "paid";
334
334
  refunded: "refunded";
335
335
  }>;
336
336
  amount: z.ZodNumber;