openxiangda 1.0.259 → 1.0.261

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.
Files changed (36) hide show
  1. package/README.md +12 -1
  2. package/lib/skills.js +56 -0
  3. package/openxiangda-skills/SKILL.md +12 -1
  4. package/openxiangda-skills/references/pages/page-sdk.md +3 -0
  5. package/openxiangda-skills/references/permission-design-patterns.md +5 -0
  6. package/openxiangda-skills/references/school-contact-relations.md +131 -0
  7. package/openxiangda-skills/skills/openxiangda-page/SKILL.md +3 -0
  8. package/package.json +2 -1
  9. package/packages/sdk/dist/runtime/index.cjs +63 -63
  10. package/packages/sdk/dist/runtime/index.d.mts +1 -1
  11. package/packages/sdk/dist/runtime/index.d.ts +1 -1
  12. package/packages/sdk/dist/runtime/index.mjs +63 -63
  13. package/packages/sdk/dist/runtime/react.cjs +47 -47
  14. package/packages/sdk/dist/runtime/react.d.mts +134 -1
  15. package/packages/sdk/dist/runtime/react.d.ts +134 -1
  16. package/packages/sdk/dist/runtime/react.mjs +62 -62
  17. package/templates/openxiangda-react-spa/AGENTS.md +2 -0
  18. package/templates/sy-lowcode-app-workspace/AGENTS.md +2 -0
  19. package/v2/README.md +35 -0
  20. package/v2/skills/manifest.json +45 -0
  21. package/v2/skills/openxiangda-v1-maintenance/SKILL.md +21 -0
  22. package/v2/skills/openxiangda-v1-maintenance/agents/openai.yaml +4 -0
  23. package/v2/skills/openxiangda-v2/SKILL.md +38 -0
  24. package/v2/skills/openxiangda-v2/agents/openai.yaml +4 -0
  25. package/v2/skills/openxiangda-v2-architecture/SKILL.md +29 -0
  26. package/v2/skills/openxiangda-v2-architecture/agents/openai.yaml +4 -0
  27. package/v2/skills/openxiangda-v2-backend/SKILL.md +28 -0
  28. package/v2/skills/openxiangda-v2-backend/agents/openai.yaml +4 -0
  29. package/v2/skills/openxiangda-v2-data-authz/SKILL.md +28 -0
  30. package/v2/skills/openxiangda-v2-data-authz/agents/openai.yaml +4 -0
  31. package/v2/skills/openxiangda-v2-delivery/SKILL.md +30 -0
  32. package/v2/skills/openxiangda-v2-delivery/agents/openai.yaml +4 -0
  33. package/v2/skills/openxiangda-v2-frontend/SKILL.md +21 -0
  34. package/v2/skills/openxiangda-v2-frontend/agents/openai.yaml +4 -0
  35. package/v2/skills/openxiangda-v2-workflow-events/SKILL.md +28 -0
  36. package/v2/skills/openxiangda-v2-workflow-events/agents/openai.yaml +4 -0
@@ -405,6 +405,52 @@ interface OrganizationListResult<TItem = unknown> {
405
405
  page: number;
406
406
  pageSize: number;
407
407
  }
408
+ interface SchoolContactPerson {
409
+ userId: string;
410
+ dingtalkUserId: string;
411
+ name: string;
412
+ mobile: string | null;
413
+ }
414
+ interface SchoolContactClass {
415
+ id: string;
416
+ dingtalkClassId: string;
417
+ name: string;
418
+ campusName: string | null;
419
+ periodName: string | null;
420
+ gradeName: string | null;
421
+ }
422
+ interface SchoolContactSyncState {
423
+ enabled: boolean;
424
+ state: "current" | "not_synced" | "disabled";
425
+ lastSuccessfulSyncAt: string | Date | null;
426
+ }
427
+ interface SchoolContactRelationRecord {
428
+ relationId: string;
429
+ relationCode: string | null;
430
+ relationName: string | null;
431
+ guardian: SchoolContactPerson;
432
+ student: SchoolContactPerson;
433
+ class: SchoolContactClass;
434
+ syncedAt: string | Date;
435
+ syncState: SchoolContactSyncState["state"];
436
+ }
437
+ interface SchoolContactRelationListResult extends OrganizationListResult<SchoolContactRelationRecord> {
438
+ sync: SchoolContactSyncState;
439
+ }
440
+ interface SchoolContactRelationListParams {
441
+ appType?: string;
442
+ userId?: string;
443
+ guardianUserId?: string;
444
+ studentUserId?: string;
445
+ dingtalkUserId?: string;
446
+ mobile?: string;
447
+ name?: string;
448
+ classId?: string;
449
+ role?: "guardian" | "student";
450
+ relationCode?: string;
451
+ page?: number;
452
+ pageSize?: number;
453
+ }
408
454
  interface AppFunctionOrganizationApi {
409
455
  capabilities?(): Promise<OrganizationCapabilities>;
410
456
  departments: {
@@ -425,6 +471,20 @@ interface AppFunctionOrganizationApi {
425
471
  resetPassword<T = PageUserRecord>(userId: string, params: ResetOrganizationAccountPasswordParams): Promise<T>;
426
472
  changeMyPassword<T = PageUserRecord>(params: ChangeOrganizationAccountPasswordParams): Promise<T>;
427
473
  };
474
+ schoolContact: {
475
+ relations: {
476
+ list<T = SchoolContactRelationListResult>(params?: SchoolContactRelationListParams): Promise<T>;
477
+ };
478
+ children: {
479
+ list<T = SchoolContactRelationListResult>(guardianUserId: string, params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<T>;
480
+ };
481
+ guardians: {
482
+ list<T = SchoolContactRelationListResult>(studentUserId: string, params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<T>;
483
+ };
484
+ myFamily: {
485
+ get<T = SchoolContactRelationListResult>(params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<T>;
486
+ };
487
+ };
428
488
  [key: string]: unknown;
429
489
  }
430
490
  interface AppFunctionProcessStartResult {
@@ -1952,6 +2012,20 @@ interface PageSdk {
1952
2012
  resetPassword<T = PageUserRecord>(userId: string, params: ResetOrganizationAccountPasswordParams): Promise<PageApiResponse<T>>;
1953
2013
  changeMyPassword<T = PageUserRecord>(params: ChangeOrganizationAccountPasswordParams): Promise<PageApiResponse<T>>;
1954
2014
  };
2015
+ schoolContact: {
2016
+ relations: {
2017
+ list<T = SchoolContactRelationListResult>(params?: SchoolContactRelationListParams): Promise<PageApiResponse<T>>;
2018
+ };
2019
+ children: {
2020
+ list<T = SchoolContactRelationListResult>(guardianUserId: string, params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<PageApiResponse<T>>;
2021
+ };
2022
+ guardians: {
2023
+ list<T = SchoolContactRelationListResult>(studentUserId: string, params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<PageApiResponse<T>>;
2024
+ };
2025
+ myFamily: {
2026
+ get<T = SchoolContactRelationListResult>(params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<PageApiResponse<T>>;
2027
+ };
2028
+ };
1955
2029
  };
1956
2030
  role: {
1957
2031
  create<T = PageRoleRecord>(params: CreateRoleParams): Promise<PageApiResponse<T>>;
@@ -3025,4 +3099,63 @@ declare function mergeAdminListPreference<Row>(input: {
3025
3099
  }): AdminListPreference;
3026
3100
  declare function createAdminListPreferenceStore(sdk: PageSdk, appType: string): AdminListPreferenceStore;
3027
3101
 
3028
- export { AdminList, type AdminListBatchAction, type AdminListColumn, type AdminListColumnPreference, type AdminListDataSource, type AdminListDataSourceOptions, type AdminListDataViewSourceOptions, type AdminListDensity, type AdminListExportDownloadOptions, type AdminListExportInput, type AdminListExportScope, type AdminListExportTask, type AdminListExportTaskStatus, type AdminListFormSourceOptions, type AdminListFunctionSourceOptions, type AdminListLockedPreference, type AdminListOption, type AdminListPreference, type AdminListPreferenceStore, type AdminListProps, type AdminListQuery, type AdminListResult, type AdminListRowAction, type AdminListSearchField, type AdminListSearchFieldType, type AdminListSearchPreference, type AdminListSelectionChange, type AdminListSort, type AdminListSortDirection, type ApiEnvelope, type ApiPermissionListParams, type AppAuthClient, type AppFunctionAttachmentReference, type AppFunctionBase64File, type AppFunctionConnectorApi, type AppFunctionContext, type AppFunctionContextV2, type AppFunctionDataViewApi, type AppFunctionFileReadInput, type AppFunctionFileReadOptions, type AppFunctionFilesApi, type AppFunctionFormApi, type AppFunctionFormDeleteResult, type AppFunctionFormFileReadOptions, type AppFunctionFormGetByIdParams, type AppFunctionFormQueryParams, type AppFunctionFormWriteParams, type AppFunctionHttpApi, type AppFunctionHttpRequest, type AppFunctionHttpResponse, type AppFunctionManifestV2, type AppFunctionNotificationApi, type AppFunctionOperatorInfo, type AppFunctionOrganizationApi, type AppFunctionPermissionContext, type AppFunctionPlatformApi, type AppFunctionPlatformApiRequest, type AppFunctionPlatformApiResponse, type AppFunctionPlatformHttpApi, type AppFunctionPlatformRolesApi, type AppFunctionProcessApi, type AppFunctionProcessStartResult, type AppFunctionProcessTaskResult, type AppFunctionProcessWithdrawResult, type AppFunctionRoleBatchAddResult, type AppFunctionRoleListParams, type AppFunctionRoleMemberMutationResult, type AppFunctionRoleUsersParams, type AppFunctionRuntimeContext, type AppFunctionSecretRef, type AppFunctionSecrets, type AppFunctionUtils, type ApproveTaskParams, type AssignPermissionsParams, type AssignRolesParams, AttachmentPreviewList, type AttachmentPreviewListProps, type AuthChallengePayload, AuthClientError, type AuthClientErrorOptions, type AuthClientOptions, type AuthErrorExtra, type AuthLogoutRedirectOptions, type AuthMethod, type AuthMethodType, type AuthTokenData, type AuthUser, type BatchAddUsersToRoleParams, type BatchSendNotificationByTypeParams, type ChangeOrganizationAccountPasswordParams, type ChangeUserRoleParams, type ConnectorCallParams, type ConnectorInvokeParams, type ConnectorInvokeResult, type ConnectorRequestBodyType, type ConnectorResponseType, type CreateApiPermissionParams, type CreateFileAccessTicketOptions, type CreateFormPermissionGroupDto, type CreateOrganizationAccountParams, type CreateOrganizationDepartmentParams, type CreatePagePermissionGroupDto, type CreateRoleParams, type CreateUiPermissionParams, type CreateUserParams, type CurrentUserDepartmentParents, type CustomPageEntryConfig, type CustomPageEntryMode, type DataManagementConfigParams, type DataManagementFilterState, type DataPermissionConditionDto, type DataPermissionDto, type DataPermissionRuleDto, type DataViewQueryParams, type DataViewQueryResult, type DataViewStatsParams, type DingTalkLoginFlow, type DingTalkLoginInput, type DingTalkNotificationCapabilities, type DingTalkNotificationCardConfig, type DingTalkNotificationCardField, type DingTalkNotificationCardMode, type DingTalkNotificationCardPreview, type DingTalkNotificationChannelConfig, type DingTalkNotificationDeliveryMode, type DingTalkNotificationPreviewResult, type DingTalkOAuthStartInput, type DingTalkOAuthStartResult, type ExecuteProcessOperationInput, type FieldAccessLevel, type FieldAccessPolicyDto, type FieldAccessPolicyItemDto, type FieldOptionValue, type FieldPermissionDto, type FileAccessTicketAction, type FileAccessTicketPurpose, type FileAccessTicketResult, type FilePreviewController, type FilePreviewItem, type FindNotificationConfigParams, type FormAdvancedSearchParams, type FormChangeRecordParams, type FormCreateParams, type FormCreateResult, type FormDetailResult, type FormExportParams, type FormFieldValue, type FormGetDetailParams, type FormImportParams, type FormInstanceIdentifierResult, type FormPermissionGroup, type FormRemoveParams, type FormSearchParams, type FormUpdateParams, type FormUpdateResult, type FunctionInvokeParams, type FunctionInvokeResult, type GetParentDepartmentsOptions, type GetProcessInstanceParams, type GetUserRolesParams, type GuestLoginInput, ImagePreviewGrid, type ImagePreviewGridProps, type ImportExportRecordDownloadParams, type ImportExportRecordQuery, InitiatorApproverSelector, type InstanceStatus, type ListNotificationInboxParams, type ListWorkCenterItemsParams, type LoginLogGetParams, type LoginLogListParams, type LoginLogRecord, type LoginLogStats, type LoginLogStatsParams, type LoginLogStatus, type LoginMethodsResult, LoginPage, type LoginPageProps, type MarkAllNotificationReadResult, type NotificationChannel, type NotificationChannelConfig, type NotificationChannelsConfig, type NotificationConfigLevel, type NotificationInboxListResult, type NotificationInboxMessage, type NotificationInboxReadStatus, type NotificationMessageRecord, type NotificationTemplate, type NotificationTemplatePreview, type NotificationTypeConfig, type NotificationUnreadCountResult, OpenXiangdaPageProvider, type OpenXiangdaPageProviderProps, OpenXiangdaProvider, type OpenXiangdaProviderProps, type OrganizationAccountListParams, type OrganizationCapabilities, type OrganizationListResult, type PageApiPermissionRecord, type PageApiResponse, type PageAppInfo, type PageBinaryResponse, type PageBridgeApi, type PageContext, type PageDataManagementConfig, type PageDataSourceDescriptor, type PageDepartmentInfo, type PageDepartmentRecord, type PageHttpMethod, type PageInfo, type PageListResult, type PageMessageApi, type PageModalApi, type PageNavigationApi, type PageOffsetListResult, type PagePermissionGroup, type PagePermissionInfo, PageProvider, type PageQueryValue, type PageRequestCache, type PageRequestOptions, type PageRoleRecord, type PageRouteInfo, type PageScope, type PageSdk, type PageSdkError, type PageSdkMeta, type PageTransportDownloadPayload, type PageTransportRequestPayload, type PageUiPermissionRecord, type PageUiPermissionType, type PageUserInfo, type PageUserRecord, type PageUserType, type PasswordLoginInput, PermissionBoundary, type PermissionBoundaryFallback, type PermissionBoundaryFallbackState, type PermissionBoundaryProps, type PhoneCodeInput, type PhoneCodeLoginInput, type PhoneCodeRegisterInput, type PhoneCodeSendResult, type PreviewDingTalkNotificationParams, type PreviewNotificationTemplateParams, ProcessActionBar, type ProcessActionBarProps, type ProcessApproveAction, type ProcessCapabilities, type ProcessCapabilityOperation, type ProcessInstanceLookupParams, ProcessPreviewPanel, type ProcessPreviewPanelProps, ProcessTimeline, type ProcessTimelineProps, type PublicAccessClaim, type PublicAccessClient, PublicAccessClientError, type PublicAccessClientOptions, PublicAccessGate, type PublicAccessGateProps, type PublicAccessSessionData, type PublicAccessSessionInput, type PublicFormGrant, type PublicStorageAction, type PublicStorageGrant, type QueryFormPermissionGroupDto, type QueryPagePermissionGroupDto, type RefreshInput, type ResetOrganizationAccountPasswordParams, type ResolveLoginUrlInput, type ResolveProcessCapabilitiesParams, type RoleListParams, type RoleUsersParams, type RouteAccessResult, RuntimeAuthGuard, type RuntimeAuthGuardProps, type RuntimeAuthState, type RuntimeAuthStatus, type RuntimeBootstrap, type RuntimeErrorSnapshot, type RuntimeErrorType, type RuntimeLogoutOptions, type RuntimeMenuItem, type RuntimePagePermissions, type RuntimeRedirectLoginOptions, type RuntimeRequestError, type RuntimeRequestState, type RuntimeResolveLoginOptions, type SaveDataManagementConfigParams, type SearchComponentName, type SearchExpression, type SearchFieldKey, type SearchGroup, type SearchLogic, type SearchOperator, type SearchRule, type SearchSortItem, type SearchSystemField, type SendNotificationByTypeParams, type SendNotificationResult, type SsoLoginUrlInput, type SsoLoginUrlResult, type StructuredExportCellStyle, type StructuredExportColumnDefinition, type StructuredExportCreateParams, type StructuredExportFormatDefinition, type StructuredExportFormatType, type StructuredExportGetParams, type StructuredExportScope, type StructuredExportSheetDefinition, type StructuredExportSourceDefinition, type StructuredExportStyleRule, type StructuredExportTask, type StructuredExportTaskStatus, type StructuredExportValueDefinition, type StructuredExportWorkbookDefinition, type SubFormRule, type SwitchAppRoleParams, type SwitchPlatformRoleParams, type TerminateProcessInstanceParams, type TriggerCallbackTaskParams, type TrustedNodeV2Context, type UiPermissionListParams, type UpdateApiPermissionParams, type UpdateDingTalkCardParams, type UpdateDingTalkCardResult, type UpdateFormPermissionGroupDto, type UpdateOrganizationAccountParams, type UpdateOrganizationDepartmentParams, type UpdatePagePermissionGroupDto, type UpdateRoleParams, type UpdateUiPermissionParams, type UpdateUserParams, type UseAuthOptions, type UseCanAccessRouteInput, type UseFilePreviewOptions, type UseLoginMethodsState, type UseProcessActionsOptions, type UseProcessActionsReturn, type UseProcessCapabilitiesOptions, type UseProcessCapabilitiesReturn, type UsePublicAccessOptions, type UsePublicAccessState, type UserListParams, type UserMenuPermissionsResponse, type ValidateUserParams, type ViewFieldPermissionValue, type ViewOperationPermission, type ViewPermissionSummary, type WorkCenterBoxType, type WorkCenterGroupedStat, type WorkCenterItem, type WorkCenterListResult, type WorkCenterStats, type WorkCenterStatsParams, type WorkflowApproveParams, type WorkflowCapabilityActionKey, type WorkflowDefinitionByFormParams, type WorkflowInitiatorSelectCandidatesParams, type WorkflowInitiatorSelectRequirementsParams, type WorkflowPreviewParams, type WorkflowResubmitInitiatorSelectRequirementsParams, type WorkflowResubmitParams, type WorkflowReturnParams, type WorkflowSaveTaskParams, type WorkflowStartFromExistingInstanceParams, type WorkflowTaskParams, type WorkflowTransferParams, type WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, getAuthErrorExtra, getAuthErrorReason, isAuthChallengeRequired, isAuthClientError, mergeAdminListPreference, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap };
3102
+ declare const DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED = "DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED";
3103
+ type DingTalkLoginEnvironment = "dingtalk" | "wechat" | "browser";
3104
+ type DingTalkAuthCodeResult = {
3105
+ code?: string;
3106
+ [key: string]: unknown;
3107
+ };
3108
+ type DingTalkAuthCodeOptions = {
3109
+ clientId: string;
3110
+ corpId: string;
3111
+ onSuccess: (result: DingTalkAuthCodeResult | string) => void;
3112
+ onFail: (error: unknown) => void;
3113
+ };
3114
+ type DingTalkAuthCodeRequest = (options: DingTalkAuthCodeOptions) => unknown;
3115
+ type DingTalkClient = {
3116
+ env?: {
3117
+ platform?: string;
3118
+ };
3119
+ error?: (callback: (error: unknown) => void) => void;
3120
+ ready?: (callback: () => void) => void;
3121
+ requestAuthCode?: DingTalkAuthCodeRequest;
3122
+ runtime?: {
3123
+ permission?: {
3124
+ requestAuthCode?: DingTalkAuthCodeRequest;
3125
+ };
3126
+ };
3127
+ };
3128
+ type DingTalkBrowserContext = {
3129
+ dd?: DingTalkClient;
3130
+ navigator?: {
3131
+ userAgent?: string;
3132
+ };
3133
+ };
3134
+ type LoadDingTalkClientOptions = {
3135
+ timeoutMs?: number;
3136
+ };
3137
+ type RequestDingTalkAuthCodeOptions = {
3138
+ clientId: string;
3139
+ corpId: string;
3140
+ client?: DingTalkClient;
3141
+ timeoutMs?: number;
3142
+ };
3143
+ interface DingTalkExternalBrowserGuideProps {
3144
+ open: boolean;
3145
+ appName?: ReactNode;
3146
+ className?: string;
3147
+ style?: CSSProperties;
3148
+ title?: ReactNode;
3149
+ description?: ReactNode;
3150
+ }
3151
+ declare function detectDingTalkLoginEnvironment(context?: DingTalkBrowserContext | undefined): DingTalkLoginEnvironment;
3152
+ declare function isWeChatBrowser(context?: DingTalkBrowserContext | undefined): boolean;
3153
+ declare function isDingTalkContainer(context?: DingTalkBrowserContext | undefined): boolean;
3154
+ declare function isDingTalkJsApiReady(context?: DingTalkBrowserContext | undefined): boolean;
3155
+ declare function getDingTalkClient(context?: DingTalkBrowserContext | undefined): DingTalkClient | undefined;
3156
+ declare function loadDingTalkClient({ timeoutMs, }?: LoadDingTalkClientOptions): Promise<DingTalkClient>;
3157
+ declare function requestDingTalkAuthCode({ clientId, corpId, client, timeoutMs, }: RequestDingTalkAuthCodeOptions): Promise<string>;
3158
+ declare function getDingTalkOAuthRecoveryMessage(search?: string | URLSearchParams): "检测到授权过程中切换了浏览器,请在当前浏览器重新点击“使用钉钉登录”。" | undefined;
3159
+ declare const DingTalkExternalBrowserGuide: React__default.FC<DingTalkExternalBrowserGuideProps>;
3160
+
3161
+ export { AdminList, type AdminListBatchAction, type AdminListColumn, type AdminListColumnPreference, type AdminListDataSource, type AdminListDataSourceOptions, type AdminListDataViewSourceOptions, type AdminListDensity, type AdminListExportDownloadOptions, type AdminListExportInput, type AdminListExportScope, type AdminListExportTask, type AdminListExportTaskStatus, type AdminListFormSourceOptions, type AdminListFunctionSourceOptions, type AdminListLockedPreference, type AdminListOption, type AdminListPreference, type AdminListPreferenceStore, type AdminListProps, type AdminListQuery, type AdminListResult, type AdminListRowAction, type AdminListSearchField, type AdminListSearchFieldType, type AdminListSearchPreference, type AdminListSelectionChange, type AdminListSort, type AdminListSortDirection, type ApiEnvelope, type ApiPermissionListParams, type AppAuthClient, type AppFunctionAttachmentReference, type AppFunctionBase64File, type AppFunctionConnectorApi, type AppFunctionContext, type AppFunctionContextV2, type AppFunctionDataViewApi, type AppFunctionFileReadInput, type AppFunctionFileReadOptions, type AppFunctionFilesApi, type AppFunctionFormApi, type AppFunctionFormDeleteResult, type AppFunctionFormFileReadOptions, type AppFunctionFormGetByIdParams, type AppFunctionFormQueryParams, type AppFunctionFormWriteParams, type AppFunctionHttpApi, type AppFunctionHttpRequest, type AppFunctionHttpResponse, type AppFunctionManifestV2, type AppFunctionNotificationApi, type AppFunctionOperatorInfo, type AppFunctionOrganizationApi, type AppFunctionPermissionContext, type AppFunctionPlatformApi, type AppFunctionPlatformApiRequest, type AppFunctionPlatformApiResponse, type AppFunctionPlatformHttpApi, type AppFunctionPlatformRolesApi, type AppFunctionProcessApi, type AppFunctionProcessStartResult, type AppFunctionProcessTaskResult, type AppFunctionProcessWithdrawResult, type AppFunctionRoleBatchAddResult, type AppFunctionRoleListParams, type AppFunctionRoleMemberMutationResult, type AppFunctionRoleUsersParams, type AppFunctionRuntimeContext, type AppFunctionSecretRef, type AppFunctionSecrets, type AppFunctionUtils, type ApproveTaskParams, type AssignPermissionsParams, type AssignRolesParams, AttachmentPreviewList, type AttachmentPreviewListProps, type AuthChallengePayload, AuthClientError, type AuthClientErrorOptions, type AuthClientOptions, type AuthErrorExtra, type AuthLogoutRedirectOptions, type AuthMethod, type AuthMethodType, type AuthTokenData, type AuthUser, type BatchAddUsersToRoleParams, type BatchSendNotificationByTypeParams, type ChangeOrganizationAccountPasswordParams, type ChangeUserRoleParams, type ConnectorCallParams, type ConnectorInvokeParams, type ConnectorInvokeResult, type ConnectorRequestBodyType, type ConnectorResponseType, type CreateApiPermissionParams, type CreateFileAccessTicketOptions, type CreateFormPermissionGroupDto, type CreateOrganizationAccountParams, type CreateOrganizationDepartmentParams, type CreatePagePermissionGroupDto, type CreateRoleParams, type CreateUiPermissionParams, type CreateUserParams, type CurrentUserDepartmentParents, type CustomPageEntryConfig, type CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, type DataManagementConfigParams, type DataManagementFilterState, type DataPermissionConditionDto, type DataPermissionDto, type DataPermissionRuleDto, type DataViewQueryParams, type DataViewQueryResult, type DataViewStatsParams, type DingTalkBrowserContext, type DingTalkClient, DingTalkExternalBrowserGuide, type DingTalkExternalBrowserGuideProps, type DingTalkLoginEnvironment, type DingTalkLoginFlow, type DingTalkLoginInput, type DingTalkNotificationCapabilities, type DingTalkNotificationCardConfig, type DingTalkNotificationCardField, type DingTalkNotificationCardMode, type DingTalkNotificationCardPreview, type DingTalkNotificationChannelConfig, type DingTalkNotificationDeliveryMode, type DingTalkNotificationPreviewResult, type DingTalkOAuthStartInput, type DingTalkOAuthStartResult, type ExecuteProcessOperationInput, type FieldAccessLevel, type FieldAccessPolicyDto, type FieldAccessPolicyItemDto, type FieldOptionValue, type FieldPermissionDto, type FileAccessTicketAction, type FileAccessTicketPurpose, type FileAccessTicketResult, type FilePreviewController, type FilePreviewItem, type FindNotificationConfigParams, type FormAdvancedSearchParams, type FormChangeRecordParams, type FormCreateParams, type FormCreateResult, type FormDetailResult, type FormExportParams, type FormFieldValue, type FormGetDetailParams, type FormImportParams, type FormInstanceIdentifierResult, type FormPermissionGroup, type FormRemoveParams, type FormSearchParams, type FormUpdateParams, type FormUpdateResult, type FunctionInvokeParams, type FunctionInvokeResult, type GetParentDepartmentsOptions, type GetProcessInstanceParams, type GetUserRolesParams, type GuestLoginInput, ImagePreviewGrid, type ImagePreviewGridProps, type ImportExportRecordDownloadParams, type ImportExportRecordQuery, InitiatorApproverSelector, type InstanceStatus, type ListNotificationInboxParams, type ListWorkCenterItemsParams, type LoadDingTalkClientOptions, type LoginLogGetParams, type LoginLogListParams, type LoginLogRecord, type LoginLogStats, type LoginLogStatsParams, type LoginLogStatus, type LoginMethodsResult, LoginPage, type LoginPageProps, type MarkAllNotificationReadResult, type NotificationChannel, type NotificationChannelConfig, type NotificationChannelsConfig, type NotificationConfigLevel, type NotificationInboxListResult, type NotificationInboxMessage, type NotificationInboxReadStatus, type NotificationMessageRecord, type NotificationTemplate, type NotificationTemplatePreview, type NotificationTypeConfig, type NotificationUnreadCountResult, OpenXiangdaPageProvider, type OpenXiangdaPageProviderProps, OpenXiangdaProvider, type OpenXiangdaProviderProps, type OrganizationAccountListParams, type OrganizationCapabilities, type OrganizationListResult, type PageApiPermissionRecord, type PageApiResponse, type PageAppInfo, type PageBinaryResponse, type PageBridgeApi, type PageContext, type PageDataManagementConfig, type PageDataSourceDescriptor, type PageDepartmentInfo, type PageDepartmentRecord, type PageHttpMethod, type PageInfo, type PageListResult, type PageMessageApi, type PageModalApi, type PageNavigationApi, type PageOffsetListResult, type PagePermissionGroup, type PagePermissionInfo, PageProvider, type PageQueryValue, type PageRequestCache, type PageRequestOptions, type PageRoleRecord, type PageRouteInfo, type PageScope, type PageSdk, type PageSdkError, type PageSdkMeta, type PageTransportDownloadPayload, type PageTransportRequestPayload, type PageUiPermissionRecord, type PageUiPermissionType, type PageUserInfo, type PageUserRecord, type PageUserType, type PasswordLoginInput, PermissionBoundary, type PermissionBoundaryFallback, type PermissionBoundaryFallbackState, type PermissionBoundaryProps, type PhoneCodeInput, type PhoneCodeLoginInput, type PhoneCodeRegisterInput, type PhoneCodeSendResult, type PreviewDingTalkNotificationParams, type PreviewNotificationTemplateParams, ProcessActionBar, type ProcessActionBarProps, type ProcessApproveAction, type ProcessCapabilities, type ProcessCapabilityOperation, type ProcessInstanceLookupParams, ProcessPreviewPanel, type ProcessPreviewPanelProps, ProcessTimeline, type ProcessTimelineProps, type PublicAccessClaim, type PublicAccessClient, PublicAccessClientError, type PublicAccessClientOptions, PublicAccessGate, type PublicAccessGateProps, type PublicAccessSessionData, type PublicAccessSessionInput, type PublicFormGrant, type PublicStorageAction, type PublicStorageGrant, type QueryFormPermissionGroupDto, type QueryPagePermissionGroupDto, type RefreshInput, type RequestDingTalkAuthCodeOptions, type ResetOrganizationAccountPasswordParams, type ResolveLoginUrlInput, type ResolveProcessCapabilitiesParams, type RoleListParams, type RoleUsersParams, type RouteAccessResult, RuntimeAuthGuard, type RuntimeAuthGuardProps, type RuntimeAuthState, type RuntimeAuthStatus, type RuntimeBootstrap, type RuntimeErrorSnapshot, type RuntimeErrorType, type RuntimeLogoutOptions, type RuntimeMenuItem, type RuntimePagePermissions, type RuntimeRedirectLoginOptions, type RuntimeRequestError, type RuntimeRequestState, type RuntimeResolveLoginOptions, type SaveDataManagementConfigParams, type SchoolContactClass, type SchoolContactPerson, type SchoolContactRelationListParams, type SchoolContactRelationListResult, type SchoolContactRelationRecord, type SchoolContactSyncState, type SearchComponentName, type SearchExpression, type SearchFieldKey, type SearchGroup, type SearchLogic, type SearchOperator, type SearchRule, type SearchSortItem, type SearchSystemField, type SendNotificationByTypeParams, type SendNotificationResult, type SsoLoginUrlInput, type SsoLoginUrlResult, type StructuredExportCellStyle, type StructuredExportColumnDefinition, type StructuredExportCreateParams, type StructuredExportFormatDefinition, type StructuredExportFormatType, type StructuredExportGetParams, type StructuredExportScope, type StructuredExportSheetDefinition, type StructuredExportSourceDefinition, type StructuredExportStyleRule, type StructuredExportTask, type StructuredExportTaskStatus, type StructuredExportValueDefinition, type StructuredExportWorkbookDefinition, type SubFormRule, type SwitchAppRoleParams, type SwitchPlatformRoleParams, type TerminateProcessInstanceParams, type TriggerCallbackTaskParams, type TrustedNodeV2Context, type UiPermissionListParams, type UpdateApiPermissionParams, type UpdateDingTalkCardParams, type UpdateDingTalkCardResult, type UpdateFormPermissionGroupDto, type UpdateOrganizationAccountParams, type UpdateOrganizationDepartmentParams, type UpdatePagePermissionGroupDto, type UpdateRoleParams, type UpdateUiPermissionParams, type UpdateUserParams, type UseAuthOptions, type UseCanAccessRouteInput, type UseFilePreviewOptions, type UseLoginMethodsState, type UseProcessActionsOptions, type UseProcessActionsReturn, type UseProcessCapabilitiesOptions, type UseProcessCapabilitiesReturn, type UsePublicAccessOptions, type UsePublicAccessState, type UserListParams, type UserMenuPermissionsResponse, type ValidateUserParams, type ViewFieldPermissionValue, type ViewOperationPermission, type ViewPermissionSummary, type WorkCenterBoxType, type WorkCenterGroupedStat, type WorkCenterItem, type WorkCenterListResult, type WorkCenterStats, type WorkCenterStatsParams, type WorkflowApproveParams, type WorkflowCapabilityActionKey, type WorkflowDefinitionByFormParams, type WorkflowInitiatorSelectCandidatesParams, type WorkflowInitiatorSelectRequirementsParams, type WorkflowPreviewParams, type WorkflowResubmitInitiatorSelectRequirementsParams, type WorkflowResubmitParams, type WorkflowReturnParams, type WorkflowSaveTaskParams, type WorkflowStartFromExistingInstanceParams, type WorkflowTaskParams, type WorkflowTransferParams, type WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap };
@@ -405,6 +405,52 @@ interface OrganizationListResult<TItem = unknown> {
405
405
  page: number;
406
406
  pageSize: number;
407
407
  }
408
+ interface SchoolContactPerson {
409
+ userId: string;
410
+ dingtalkUserId: string;
411
+ name: string;
412
+ mobile: string | null;
413
+ }
414
+ interface SchoolContactClass {
415
+ id: string;
416
+ dingtalkClassId: string;
417
+ name: string;
418
+ campusName: string | null;
419
+ periodName: string | null;
420
+ gradeName: string | null;
421
+ }
422
+ interface SchoolContactSyncState {
423
+ enabled: boolean;
424
+ state: "current" | "not_synced" | "disabled";
425
+ lastSuccessfulSyncAt: string | Date | null;
426
+ }
427
+ interface SchoolContactRelationRecord {
428
+ relationId: string;
429
+ relationCode: string | null;
430
+ relationName: string | null;
431
+ guardian: SchoolContactPerson;
432
+ student: SchoolContactPerson;
433
+ class: SchoolContactClass;
434
+ syncedAt: string | Date;
435
+ syncState: SchoolContactSyncState["state"];
436
+ }
437
+ interface SchoolContactRelationListResult extends OrganizationListResult<SchoolContactRelationRecord> {
438
+ sync: SchoolContactSyncState;
439
+ }
440
+ interface SchoolContactRelationListParams {
441
+ appType?: string;
442
+ userId?: string;
443
+ guardianUserId?: string;
444
+ studentUserId?: string;
445
+ dingtalkUserId?: string;
446
+ mobile?: string;
447
+ name?: string;
448
+ classId?: string;
449
+ role?: "guardian" | "student";
450
+ relationCode?: string;
451
+ page?: number;
452
+ pageSize?: number;
453
+ }
408
454
  interface AppFunctionOrganizationApi {
409
455
  capabilities?(): Promise<OrganizationCapabilities>;
410
456
  departments: {
@@ -425,6 +471,20 @@ interface AppFunctionOrganizationApi {
425
471
  resetPassword<T = PageUserRecord>(userId: string, params: ResetOrganizationAccountPasswordParams): Promise<T>;
426
472
  changeMyPassword<T = PageUserRecord>(params: ChangeOrganizationAccountPasswordParams): Promise<T>;
427
473
  };
474
+ schoolContact: {
475
+ relations: {
476
+ list<T = SchoolContactRelationListResult>(params?: SchoolContactRelationListParams): Promise<T>;
477
+ };
478
+ children: {
479
+ list<T = SchoolContactRelationListResult>(guardianUserId: string, params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<T>;
480
+ };
481
+ guardians: {
482
+ list<T = SchoolContactRelationListResult>(studentUserId: string, params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<T>;
483
+ };
484
+ myFamily: {
485
+ get<T = SchoolContactRelationListResult>(params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<T>;
486
+ };
487
+ };
428
488
  [key: string]: unknown;
429
489
  }
430
490
  interface AppFunctionProcessStartResult {
@@ -1952,6 +2012,20 @@ interface PageSdk {
1952
2012
  resetPassword<T = PageUserRecord>(userId: string, params: ResetOrganizationAccountPasswordParams): Promise<PageApiResponse<T>>;
1953
2013
  changeMyPassword<T = PageUserRecord>(params: ChangeOrganizationAccountPasswordParams): Promise<PageApiResponse<T>>;
1954
2014
  };
2015
+ schoolContact: {
2016
+ relations: {
2017
+ list<T = SchoolContactRelationListResult>(params?: SchoolContactRelationListParams): Promise<PageApiResponse<T>>;
2018
+ };
2019
+ children: {
2020
+ list<T = SchoolContactRelationListResult>(guardianUserId: string, params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<PageApiResponse<T>>;
2021
+ };
2022
+ guardians: {
2023
+ list<T = SchoolContactRelationListResult>(studentUserId: string, params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<PageApiResponse<T>>;
2024
+ };
2025
+ myFamily: {
2026
+ get<T = SchoolContactRelationListResult>(params?: Pick<SchoolContactRelationListParams, "page" | "pageSize">): Promise<PageApiResponse<T>>;
2027
+ };
2028
+ };
1955
2029
  };
1956
2030
  role: {
1957
2031
  create<T = PageRoleRecord>(params: CreateRoleParams): Promise<PageApiResponse<T>>;
@@ -3025,4 +3099,63 @@ declare function mergeAdminListPreference<Row>(input: {
3025
3099
  }): AdminListPreference;
3026
3100
  declare function createAdminListPreferenceStore(sdk: PageSdk, appType: string): AdminListPreferenceStore;
3027
3101
 
3028
- export { AdminList, type AdminListBatchAction, type AdminListColumn, type AdminListColumnPreference, type AdminListDataSource, type AdminListDataSourceOptions, type AdminListDataViewSourceOptions, type AdminListDensity, type AdminListExportDownloadOptions, type AdminListExportInput, type AdminListExportScope, type AdminListExportTask, type AdminListExportTaskStatus, type AdminListFormSourceOptions, type AdminListFunctionSourceOptions, type AdminListLockedPreference, type AdminListOption, type AdminListPreference, type AdminListPreferenceStore, type AdminListProps, type AdminListQuery, type AdminListResult, type AdminListRowAction, type AdminListSearchField, type AdminListSearchFieldType, type AdminListSearchPreference, type AdminListSelectionChange, type AdminListSort, type AdminListSortDirection, type ApiEnvelope, type ApiPermissionListParams, type AppAuthClient, type AppFunctionAttachmentReference, type AppFunctionBase64File, type AppFunctionConnectorApi, type AppFunctionContext, type AppFunctionContextV2, type AppFunctionDataViewApi, type AppFunctionFileReadInput, type AppFunctionFileReadOptions, type AppFunctionFilesApi, type AppFunctionFormApi, type AppFunctionFormDeleteResult, type AppFunctionFormFileReadOptions, type AppFunctionFormGetByIdParams, type AppFunctionFormQueryParams, type AppFunctionFormWriteParams, type AppFunctionHttpApi, type AppFunctionHttpRequest, type AppFunctionHttpResponse, type AppFunctionManifestV2, type AppFunctionNotificationApi, type AppFunctionOperatorInfo, type AppFunctionOrganizationApi, type AppFunctionPermissionContext, type AppFunctionPlatformApi, type AppFunctionPlatformApiRequest, type AppFunctionPlatformApiResponse, type AppFunctionPlatformHttpApi, type AppFunctionPlatformRolesApi, type AppFunctionProcessApi, type AppFunctionProcessStartResult, type AppFunctionProcessTaskResult, type AppFunctionProcessWithdrawResult, type AppFunctionRoleBatchAddResult, type AppFunctionRoleListParams, type AppFunctionRoleMemberMutationResult, type AppFunctionRoleUsersParams, type AppFunctionRuntimeContext, type AppFunctionSecretRef, type AppFunctionSecrets, type AppFunctionUtils, type ApproveTaskParams, type AssignPermissionsParams, type AssignRolesParams, AttachmentPreviewList, type AttachmentPreviewListProps, type AuthChallengePayload, AuthClientError, type AuthClientErrorOptions, type AuthClientOptions, type AuthErrorExtra, type AuthLogoutRedirectOptions, type AuthMethod, type AuthMethodType, type AuthTokenData, type AuthUser, type BatchAddUsersToRoleParams, type BatchSendNotificationByTypeParams, type ChangeOrganizationAccountPasswordParams, type ChangeUserRoleParams, type ConnectorCallParams, type ConnectorInvokeParams, type ConnectorInvokeResult, type ConnectorRequestBodyType, type ConnectorResponseType, type CreateApiPermissionParams, type CreateFileAccessTicketOptions, type CreateFormPermissionGroupDto, type CreateOrganizationAccountParams, type CreateOrganizationDepartmentParams, type CreatePagePermissionGroupDto, type CreateRoleParams, type CreateUiPermissionParams, type CreateUserParams, type CurrentUserDepartmentParents, type CustomPageEntryConfig, type CustomPageEntryMode, type DataManagementConfigParams, type DataManagementFilterState, type DataPermissionConditionDto, type DataPermissionDto, type DataPermissionRuleDto, type DataViewQueryParams, type DataViewQueryResult, type DataViewStatsParams, type DingTalkLoginFlow, type DingTalkLoginInput, type DingTalkNotificationCapabilities, type DingTalkNotificationCardConfig, type DingTalkNotificationCardField, type DingTalkNotificationCardMode, type DingTalkNotificationCardPreview, type DingTalkNotificationChannelConfig, type DingTalkNotificationDeliveryMode, type DingTalkNotificationPreviewResult, type DingTalkOAuthStartInput, type DingTalkOAuthStartResult, type ExecuteProcessOperationInput, type FieldAccessLevel, type FieldAccessPolicyDto, type FieldAccessPolicyItemDto, type FieldOptionValue, type FieldPermissionDto, type FileAccessTicketAction, type FileAccessTicketPurpose, type FileAccessTicketResult, type FilePreviewController, type FilePreviewItem, type FindNotificationConfigParams, type FormAdvancedSearchParams, type FormChangeRecordParams, type FormCreateParams, type FormCreateResult, type FormDetailResult, type FormExportParams, type FormFieldValue, type FormGetDetailParams, type FormImportParams, type FormInstanceIdentifierResult, type FormPermissionGroup, type FormRemoveParams, type FormSearchParams, type FormUpdateParams, type FormUpdateResult, type FunctionInvokeParams, type FunctionInvokeResult, type GetParentDepartmentsOptions, type GetProcessInstanceParams, type GetUserRolesParams, type GuestLoginInput, ImagePreviewGrid, type ImagePreviewGridProps, type ImportExportRecordDownloadParams, type ImportExportRecordQuery, InitiatorApproverSelector, type InstanceStatus, type ListNotificationInboxParams, type ListWorkCenterItemsParams, type LoginLogGetParams, type LoginLogListParams, type LoginLogRecord, type LoginLogStats, type LoginLogStatsParams, type LoginLogStatus, type LoginMethodsResult, LoginPage, type LoginPageProps, type MarkAllNotificationReadResult, type NotificationChannel, type NotificationChannelConfig, type NotificationChannelsConfig, type NotificationConfigLevel, type NotificationInboxListResult, type NotificationInboxMessage, type NotificationInboxReadStatus, type NotificationMessageRecord, type NotificationTemplate, type NotificationTemplatePreview, type NotificationTypeConfig, type NotificationUnreadCountResult, OpenXiangdaPageProvider, type OpenXiangdaPageProviderProps, OpenXiangdaProvider, type OpenXiangdaProviderProps, type OrganizationAccountListParams, type OrganizationCapabilities, type OrganizationListResult, type PageApiPermissionRecord, type PageApiResponse, type PageAppInfo, type PageBinaryResponse, type PageBridgeApi, type PageContext, type PageDataManagementConfig, type PageDataSourceDescriptor, type PageDepartmentInfo, type PageDepartmentRecord, type PageHttpMethod, type PageInfo, type PageListResult, type PageMessageApi, type PageModalApi, type PageNavigationApi, type PageOffsetListResult, type PagePermissionGroup, type PagePermissionInfo, PageProvider, type PageQueryValue, type PageRequestCache, type PageRequestOptions, type PageRoleRecord, type PageRouteInfo, type PageScope, type PageSdk, type PageSdkError, type PageSdkMeta, type PageTransportDownloadPayload, type PageTransportRequestPayload, type PageUiPermissionRecord, type PageUiPermissionType, type PageUserInfo, type PageUserRecord, type PageUserType, type PasswordLoginInput, PermissionBoundary, type PermissionBoundaryFallback, type PermissionBoundaryFallbackState, type PermissionBoundaryProps, type PhoneCodeInput, type PhoneCodeLoginInput, type PhoneCodeRegisterInput, type PhoneCodeSendResult, type PreviewDingTalkNotificationParams, type PreviewNotificationTemplateParams, ProcessActionBar, type ProcessActionBarProps, type ProcessApproveAction, type ProcessCapabilities, type ProcessCapabilityOperation, type ProcessInstanceLookupParams, ProcessPreviewPanel, type ProcessPreviewPanelProps, ProcessTimeline, type ProcessTimelineProps, type PublicAccessClaim, type PublicAccessClient, PublicAccessClientError, type PublicAccessClientOptions, PublicAccessGate, type PublicAccessGateProps, type PublicAccessSessionData, type PublicAccessSessionInput, type PublicFormGrant, type PublicStorageAction, type PublicStorageGrant, type QueryFormPermissionGroupDto, type QueryPagePermissionGroupDto, type RefreshInput, type ResetOrganizationAccountPasswordParams, type ResolveLoginUrlInput, type ResolveProcessCapabilitiesParams, type RoleListParams, type RoleUsersParams, type RouteAccessResult, RuntimeAuthGuard, type RuntimeAuthGuardProps, type RuntimeAuthState, type RuntimeAuthStatus, type RuntimeBootstrap, type RuntimeErrorSnapshot, type RuntimeErrorType, type RuntimeLogoutOptions, type RuntimeMenuItem, type RuntimePagePermissions, type RuntimeRedirectLoginOptions, type RuntimeRequestError, type RuntimeRequestState, type RuntimeResolveLoginOptions, type SaveDataManagementConfigParams, type SearchComponentName, type SearchExpression, type SearchFieldKey, type SearchGroup, type SearchLogic, type SearchOperator, type SearchRule, type SearchSortItem, type SearchSystemField, type SendNotificationByTypeParams, type SendNotificationResult, type SsoLoginUrlInput, type SsoLoginUrlResult, type StructuredExportCellStyle, type StructuredExportColumnDefinition, type StructuredExportCreateParams, type StructuredExportFormatDefinition, type StructuredExportFormatType, type StructuredExportGetParams, type StructuredExportScope, type StructuredExportSheetDefinition, type StructuredExportSourceDefinition, type StructuredExportStyleRule, type StructuredExportTask, type StructuredExportTaskStatus, type StructuredExportValueDefinition, type StructuredExportWorkbookDefinition, type SubFormRule, type SwitchAppRoleParams, type SwitchPlatformRoleParams, type TerminateProcessInstanceParams, type TriggerCallbackTaskParams, type TrustedNodeV2Context, type UiPermissionListParams, type UpdateApiPermissionParams, type UpdateDingTalkCardParams, type UpdateDingTalkCardResult, type UpdateFormPermissionGroupDto, type UpdateOrganizationAccountParams, type UpdateOrganizationDepartmentParams, type UpdatePagePermissionGroupDto, type UpdateRoleParams, type UpdateUiPermissionParams, type UpdateUserParams, type UseAuthOptions, type UseCanAccessRouteInput, type UseFilePreviewOptions, type UseLoginMethodsState, type UseProcessActionsOptions, type UseProcessActionsReturn, type UseProcessCapabilitiesOptions, type UseProcessCapabilitiesReturn, type UsePublicAccessOptions, type UsePublicAccessState, type UserListParams, type UserMenuPermissionsResponse, type ValidateUserParams, type ViewFieldPermissionValue, type ViewOperationPermission, type ViewPermissionSummary, type WorkCenterBoxType, type WorkCenterGroupedStat, type WorkCenterItem, type WorkCenterListResult, type WorkCenterStats, type WorkCenterStatsParams, type WorkflowApproveParams, type WorkflowCapabilityActionKey, type WorkflowDefinitionByFormParams, type WorkflowInitiatorSelectCandidatesParams, type WorkflowInitiatorSelectRequirementsParams, type WorkflowPreviewParams, type WorkflowResubmitInitiatorSelectRequirementsParams, type WorkflowResubmitParams, type WorkflowReturnParams, type WorkflowSaveTaskParams, type WorkflowStartFromExistingInstanceParams, type WorkflowTaskParams, type WorkflowTransferParams, type WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, getAuthErrorExtra, getAuthErrorReason, isAuthChallengeRequired, isAuthClientError, mergeAdminListPreference, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap };
3102
+ declare const DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED = "DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED";
3103
+ type DingTalkLoginEnvironment = "dingtalk" | "wechat" | "browser";
3104
+ type DingTalkAuthCodeResult = {
3105
+ code?: string;
3106
+ [key: string]: unknown;
3107
+ };
3108
+ type DingTalkAuthCodeOptions = {
3109
+ clientId: string;
3110
+ corpId: string;
3111
+ onSuccess: (result: DingTalkAuthCodeResult | string) => void;
3112
+ onFail: (error: unknown) => void;
3113
+ };
3114
+ type DingTalkAuthCodeRequest = (options: DingTalkAuthCodeOptions) => unknown;
3115
+ type DingTalkClient = {
3116
+ env?: {
3117
+ platform?: string;
3118
+ };
3119
+ error?: (callback: (error: unknown) => void) => void;
3120
+ ready?: (callback: () => void) => void;
3121
+ requestAuthCode?: DingTalkAuthCodeRequest;
3122
+ runtime?: {
3123
+ permission?: {
3124
+ requestAuthCode?: DingTalkAuthCodeRequest;
3125
+ };
3126
+ };
3127
+ };
3128
+ type DingTalkBrowserContext = {
3129
+ dd?: DingTalkClient;
3130
+ navigator?: {
3131
+ userAgent?: string;
3132
+ };
3133
+ };
3134
+ type LoadDingTalkClientOptions = {
3135
+ timeoutMs?: number;
3136
+ };
3137
+ type RequestDingTalkAuthCodeOptions = {
3138
+ clientId: string;
3139
+ corpId: string;
3140
+ client?: DingTalkClient;
3141
+ timeoutMs?: number;
3142
+ };
3143
+ interface DingTalkExternalBrowserGuideProps {
3144
+ open: boolean;
3145
+ appName?: ReactNode;
3146
+ className?: string;
3147
+ style?: CSSProperties;
3148
+ title?: ReactNode;
3149
+ description?: ReactNode;
3150
+ }
3151
+ declare function detectDingTalkLoginEnvironment(context?: DingTalkBrowserContext | undefined): DingTalkLoginEnvironment;
3152
+ declare function isWeChatBrowser(context?: DingTalkBrowserContext | undefined): boolean;
3153
+ declare function isDingTalkContainer(context?: DingTalkBrowserContext | undefined): boolean;
3154
+ declare function isDingTalkJsApiReady(context?: DingTalkBrowserContext | undefined): boolean;
3155
+ declare function getDingTalkClient(context?: DingTalkBrowserContext | undefined): DingTalkClient | undefined;
3156
+ declare function loadDingTalkClient({ timeoutMs, }?: LoadDingTalkClientOptions): Promise<DingTalkClient>;
3157
+ declare function requestDingTalkAuthCode({ clientId, corpId, client, timeoutMs, }: RequestDingTalkAuthCodeOptions): Promise<string>;
3158
+ declare function getDingTalkOAuthRecoveryMessage(search?: string | URLSearchParams): "检测到授权过程中切换了浏览器,请在当前浏览器重新点击“使用钉钉登录”。" | undefined;
3159
+ declare const DingTalkExternalBrowserGuide: React__default.FC<DingTalkExternalBrowserGuideProps>;
3160
+
3161
+ export { AdminList, type AdminListBatchAction, type AdminListColumn, type AdminListColumnPreference, type AdminListDataSource, type AdminListDataSourceOptions, type AdminListDataViewSourceOptions, type AdminListDensity, type AdminListExportDownloadOptions, type AdminListExportInput, type AdminListExportScope, type AdminListExportTask, type AdminListExportTaskStatus, type AdminListFormSourceOptions, type AdminListFunctionSourceOptions, type AdminListLockedPreference, type AdminListOption, type AdminListPreference, type AdminListPreferenceStore, type AdminListProps, type AdminListQuery, type AdminListResult, type AdminListRowAction, type AdminListSearchField, type AdminListSearchFieldType, type AdminListSearchPreference, type AdminListSelectionChange, type AdminListSort, type AdminListSortDirection, type ApiEnvelope, type ApiPermissionListParams, type AppAuthClient, type AppFunctionAttachmentReference, type AppFunctionBase64File, type AppFunctionConnectorApi, type AppFunctionContext, type AppFunctionContextV2, type AppFunctionDataViewApi, type AppFunctionFileReadInput, type AppFunctionFileReadOptions, type AppFunctionFilesApi, type AppFunctionFormApi, type AppFunctionFormDeleteResult, type AppFunctionFormFileReadOptions, type AppFunctionFormGetByIdParams, type AppFunctionFormQueryParams, type AppFunctionFormWriteParams, type AppFunctionHttpApi, type AppFunctionHttpRequest, type AppFunctionHttpResponse, type AppFunctionManifestV2, type AppFunctionNotificationApi, type AppFunctionOperatorInfo, type AppFunctionOrganizationApi, type AppFunctionPermissionContext, type AppFunctionPlatformApi, type AppFunctionPlatformApiRequest, type AppFunctionPlatformApiResponse, type AppFunctionPlatformHttpApi, type AppFunctionPlatformRolesApi, type AppFunctionProcessApi, type AppFunctionProcessStartResult, type AppFunctionProcessTaskResult, type AppFunctionProcessWithdrawResult, type AppFunctionRoleBatchAddResult, type AppFunctionRoleListParams, type AppFunctionRoleMemberMutationResult, type AppFunctionRoleUsersParams, type AppFunctionRuntimeContext, type AppFunctionSecretRef, type AppFunctionSecrets, type AppFunctionUtils, type ApproveTaskParams, type AssignPermissionsParams, type AssignRolesParams, AttachmentPreviewList, type AttachmentPreviewListProps, type AuthChallengePayload, AuthClientError, type AuthClientErrorOptions, type AuthClientOptions, type AuthErrorExtra, type AuthLogoutRedirectOptions, type AuthMethod, type AuthMethodType, type AuthTokenData, type AuthUser, type BatchAddUsersToRoleParams, type BatchSendNotificationByTypeParams, type ChangeOrganizationAccountPasswordParams, type ChangeUserRoleParams, type ConnectorCallParams, type ConnectorInvokeParams, type ConnectorInvokeResult, type ConnectorRequestBodyType, type ConnectorResponseType, type CreateApiPermissionParams, type CreateFileAccessTicketOptions, type CreateFormPermissionGroupDto, type CreateOrganizationAccountParams, type CreateOrganizationDepartmentParams, type CreatePagePermissionGroupDto, type CreateRoleParams, type CreateUiPermissionParams, type CreateUserParams, type CurrentUserDepartmentParents, type CustomPageEntryConfig, type CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, type DataManagementConfigParams, type DataManagementFilterState, type DataPermissionConditionDto, type DataPermissionDto, type DataPermissionRuleDto, type DataViewQueryParams, type DataViewQueryResult, type DataViewStatsParams, type DingTalkBrowserContext, type DingTalkClient, DingTalkExternalBrowserGuide, type DingTalkExternalBrowserGuideProps, type DingTalkLoginEnvironment, type DingTalkLoginFlow, type DingTalkLoginInput, type DingTalkNotificationCapabilities, type DingTalkNotificationCardConfig, type DingTalkNotificationCardField, type DingTalkNotificationCardMode, type DingTalkNotificationCardPreview, type DingTalkNotificationChannelConfig, type DingTalkNotificationDeliveryMode, type DingTalkNotificationPreviewResult, type DingTalkOAuthStartInput, type DingTalkOAuthStartResult, type ExecuteProcessOperationInput, type FieldAccessLevel, type FieldAccessPolicyDto, type FieldAccessPolicyItemDto, type FieldOptionValue, type FieldPermissionDto, type FileAccessTicketAction, type FileAccessTicketPurpose, type FileAccessTicketResult, type FilePreviewController, type FilePreviewItem, type FindNotificationConfigParams, type FormAdvancedSearchParams, type FormChangeRecordParams, type FormCreateParams, type FormCreateResult, type FormDetailResult, type FormExportParams, type FormFieldValue, type FormGetDetailParams, type FormImportParams, type FormInstanceIdentifierResult, type FormPermissionGroup, type FormRemoveParams, type FormSearchParams, type FormUpdateParams, type FormUpdateResult, type FunctionInvokeParams, type FunctionInvokeResult, type GetParentDepartmentsOptions, type GetProcessInstanceParams, type GetUserRolesParams, type GuestLoginInput, ImagePreviewGrid, type ImagePreviewGridProps, type ImportExportRecordDownloadParams, type ImportExportRecordQuery, InitiatorApproverSelector, type InstanceStatus, type ListNotificationInboxParams, type ListWorkCenterItemsParams, type LoadDingTalkClientOptions, type LoginLogGetParams, type LoginLogListParams, type LoginLogRecord, type LoginLogStats, type LoginLogStatsParams, type LoginLogStatus, type LoginMethodsResult, LoginPage, type LoginPageProps, type MarkAllNotificationReadResult, type NotificationChannel, type NotificationChannelConfig, type NotificationChannelsConfig, type NotificationConfigLevel, type NotificationInboxListResult, type NotificationInboxMessage, type NotificationInboxReadStatus, type NotificationMessageRecord, type NotificationTemplate, type NotificationTemplatePreview, type NotificationTypeConfig, type NotificationUnreadCountResult, OpenXiangdaPageProvider, type OpenXiangdaPageProviderProps, OpenXiangdaProvider, type OpenXiangdaProviderProps, type OrganizationAccountListParams, type OrganizationCapabilities, type OrganizationListResult, type PageApiPermissionRecord, type PageApiResponse, type PageAppInfo, type PageBinaryResponse, type PageBridgeApi, type PageContext, type PageDataManagementConfig, type PageDataSourceDescriptor, type PageDepartmentInfo, type PageDepartmentRecord, type PageHttpMethod, type PageInfo, type PageListResult, type PageMessageApi, type PageModalApi, type PageNavigationApi, type PageOffsetListResult, type PagePermissionGroup, type PagePermissionInfo, PageProvider, type PageQueryValue, type PageRequestCache, type PageRequestOptions, type PageRoleRecord, type PageRouteInfo, type PageScope, type PageSdk, type PageSdkError, type PageSdkMeta, type PageTransportDownloadPayload, type PageTransportRequestPayload, type PageUiPermissionRecord, type PageUiPermissionType, type PageUserInfo, type PageUserRecord, type PageUserType, type PasswordLoginInput, PermissionBoundary, type PermissionBoundaryFallback, type PermissionBoundaryFallbackState, type PermissionBoundaryProps, type PhoneCodeInput, type PhoneCodeLoginInput, type PhoneCodeRegisterInput, type PhoneCodeSendResult, type PreviewDingTalkNotificationParams, type PreviewNotificationTemplateParams, ProcessActionBar, type ProcessActionBarProps, type ProcessApproveAction, type ProcessCapabilities, type ProcessCapabilityOperation, type ProcessInstanceLookupParams, ProcessPreviewPanel, type ProcessPreviewPanelProps, ProcessTimeline, type ProcessTimelineProps, type PublicAccessClaim, type PublicAccessClient, PublicAccessClientError, type PublicAccessClientOptions, PublicAccessGate, type PublicAccessGateProps, type PublicAccessSessionData, type PublicAccessSessionInput, type PublicFormGrant, type PublicStorageAction, type PublicStorageGrant, type QueryFormPermissionGroupDto, type QueryPagePermissionGroupDto, type RefreshInput, type RequestDingTalkAuthCodeOptions, type ResetOrganizationAccountPasswordParams, type ResolveLoginUrlInput, type ResolveProcessCapabilitiesParams, type RoleListParams, type RoleUsersParams, type RouteAccessResult, RuntimeAuthGuard, type RuntimeAuthGuardProps, type RuntimeAuthState, type RuntimeAuthStatus, type RuntimeBootstrap, type RuntimeErrorSnapshot, type RuntimeErrorType, type RuntimeLogoutOptions, type RuntimeMenuItem, type RuntimePagePermissions, type RuntimeRedirectLoginOptions, type RuntimeRequestError, type RuntimeRequestState, type RuntimeResolveLoginOptions, type SaveDataManagementConfigParams, type SchoolContactClass, type SchoolContactPerson, type SchoolContactRelationListParams, type SchoolContactRelationListResult, type SchoolContactRelationRecord, type SchoolContactSyncState, type SearchComponentName, type SearchExpression, type SearchFieldKey, type SearchGroup, type SearchLogic, type SearchOperator, type SearchRule, type SearchSortItem, type SearchSystemField, type SendNotificationByTypeParams, type SendNotificationResult, type SsoLoginUrlInput, type SsoLoginUrlResult, type StructuredExportCellStyle, type StructuredExportColumnDefinition, type StructuredExportCreateParams, type StructuredExportFormatDefinition, type StructuredExportFormatType, type StructuredExportGetParams, type StructuredExportScope, type StructuredExportSheetDefinition, type StructuredExportSourceDefinition, type StructuredExportStyleRule, type StructuredExportTask, type StructuredExportTaskStatus, type StructuredExportValueDefinition, type StructuredExportWorkbookDefinition, type SubFormRule, type SwitchAppRoleParams, type SwitchPlatformRoleParams, type TerminateProcessInstanceParams, type TriggerCallbackTaskParams, type TrustedNodeV2Context, type UiPermissionListParams, type UpdateApiPermissionParams, type UpdateDingTalkCardParams, type UpdateDingTalkCardResult, type UpdateFormPermissionGroupDto, type UpdateOrganizationAccountParams, type UpdateOrganizationDepartmentParams, type UpdatePagePermissionGroupDto, type UpdateRoleParams, type UpdateUiPermissionParams, type UpdateUserParams, type UseAuthOptions, type UseCanAccessRouteInput, type UseFilePreviewOptions, type UseLoginMethodsState, type UseProcessActionsOptions, type UseProcessActionsReturn, type UseProcessCapabilitiesOptions, type UseProcessCapabilitiesReturn, type UsePublicAccessOptions, type UsePublicAccessState, type UserListParams, type UserMenuPermissionsResponse, type ValidateUserParams, type ViewFieldPermissionValue, type ViewOperationPermission, type ViewPermissionSummary, type WorkCenterBoxType, type WorkCenterGroupedStat, type WorkCenterItem, type WorkCenterListResult, type WorkCenterStats, type WorkCenterStatsParams, type WorkflowApproveParams, type WorkflowCapabilityActionKey, type WorkflowDefinitionByFormParams, type WorkflowInitiatorSelectCandidatesParams, type WorkflowInitiatorSelectRequirementsParams, type WorkflowPreviewParams, type WorkflowResubmitInitiatorSelectRequirementsParams, type WorkflowResubmitParams, type WorkflowReturnParams, type WorkflowSaveTaskParams, type WorkflowStartFromExistingInstanceParams, type WorkflowTaskParams, type WorkflowTransferParams, type WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap };