openxiangda 1.0.270 → 1.0.271

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.
@@ -2173,11 +2173,14 @@ interface PageSdk {
2173
2173
  invoke<TResult = unknown, TInput = unknown>(code: string, params?: FunctionInvokeParams<TInput>): Promise<PageApiResponse<FunctionInvokeResult<TResult>>>;
2174
2174
  };
2175
2175
  notification: {
2176
+ /** @deprecated 页面不得直接发送通知,请改用 sdk.function.invoke 调用具名 App Function。 */
2176
2177
  sendByType<T = SendNotificationResult>(params: SendNotificationByTypeParams): Promise<PageApiResponse<T>>;
2178
+ /** @deprecated 页面不得直接批量发送通知,请改用 sdk.function.invoke 调用具名 App Function。 */
2177
2179
  batchSendByType<T = SendNotificationResult>(params: BatchSendNotificationByTypeParams): Promise<PageApiResponse<T>>;
2178
2180
  findConfig<T = NotificationTypeConfig | null>(notificationType: string, params?: FindNotificationConfigParams): Promise<PageApiResponse<T>>;
2179
2181
  previewTemplate<T = NotificationTemplatePreview>(params: PreviewNotificationTemplateParams): Promise<PageApiResponse<T>>;
2180
2182
  previewDingTalk<T = DingTalkNotificationPreviewResult>(params: PreviewDingTalkNotificationParams): Promise<PageApiResponse<T>>;
2183
+ /** @deprecated 页面不得直接发送钉钉通知,请改用 sdk.function.invoke 调用具名 App Function。 */
2181
2184
  sendDingTalk<T = SendNotificationResult>(params: SendNotificationByTypeParams): Promise<PageApiResponse<T>>;
2182
2185
  capabilities<T = DingTalkNotificationCapabilities>(params?: {
2183
2186
  appType?: string;
@@ -2173,11 +2173,14 @@ interface PageSdk {
2173
2173
  invoke<TResult = unknown, TInput = unknown>(code: string, params?: FunctionInvokeParams<TInput>): Promise<PageApiResponse<FunctionInvokeResult<TResult>>>;
2174
2174
  };
2175
2175
  notification: {
2176
+ /** @deprecated 页面不得直接发送通知,请改用 sdk.function.invoke 调用具名 App Function。 */
2176
2177
  sendByType<T = SendNotificationResult>(params: SendNotificationByTypeParams): Promise<PageApiResponse<T>>;
2178
+ /** @deprecated 页面不得直接批量发送通知,请改用 sdk.function.invoke 调用具名 App Function。 */
2177
2179
  batchSendByType<T = SendNotificationResult>(params: BatchSendNotificationByTypeParams): Promise<PageApiResponse<T>>;
2178
2180
  findConfig<T = NotificationTypeConfig | null>(notificationType: string, params?: FindNotificationConfigParams): Promise<PageApiResponse<T>>;
2179
2181
  previewTemplate<T = NotificationTemplatePreview>(params: PreviewNotificationTemplateParams): Promise<PageApiResponse<T>>;
2180
2182
  previewDingTalk<T = DingTalkNotificationPreviewResult>(params: PreviewDingTalkNotificationParams): Promise<PageApiResponse<T>>;
2183
+ /** @deprecated 页面不得直接发送钉钉通知,请改用 sdk.function.invoke 调用具名 App Function。 */
2181
2184
  sendDingTalk<T = SendNotificationResult>(params: SendNotificationByTypeParams): Promise<PageApiResponse<T>>;
2182
2185
  capabilities<T = DingTalkNotificationCapabilities>(params?: {
2183
2186
  appType?: string;