@xpert-ai/contracts 3.29.0 → 3.30.0

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 (40) hide show
  1. package/index.cjs.js +2691 -1499
  2. package/index.esm.js +3771 -2629
  3. package/package.json +2 -2
  4. package/src/ai/ai-model.model.d.ts +9 -0
  5. package/src/ai/chat-activity.model.d.ts +6 -0
  6. package/src/ai/chat.model.d.ts +7 -2
  7. package/src/ai/conversation-trail.model.d.ts +417 -0
  8. package/src/ai/copilot-model.model.d.ts +3 -0
  9. package/src/ai/copilot-provider.model.d.ts +2 -0
  10. package/src/ai/copilot.model.d.ts +7 -4
  11. package/src/ai/default-model-role.d.ts +41 -0
  12. package/src/ai/execution-activity.model.d.ts +12 -0
  13. package/src/ai/execution-observability.model.d.ts +12 -12
  14. package/src/ai/index.d.ts +3 -0
  15. package/src/ai/membership.model.d.ts +2 -0
  16. package/src/ai/model-discovery.model.d.ts +1 -0
  17. package/src/ai/model-execution-parameters.model.d.ts +14 -14
  18. package/src/ai/model-gateway.model.d.ts +9 -1
  19. package/src/ai/model-management.model.d.ts +358 -0
  20. package/src/ai/model-replacement.model.d.ts +291 -0
  21. package/src/ai/role-permissions.d.ts +59 -2
  22. package/src/ai/thread-activity.model.d.ts +1 -0
  23. package/src/ai/xpert-tool.model.d.ts +4 -3
  24. package/src/ai/xpert-toolset.model.d.ts +4 -3
  25. package/src/ai/xpert.model.d.ts +21 -5
  26. package/src/analytics-definition.model.d.ts +2 -0
  27. package/src/app-platform.d.ts +666 -0
  28. package/src/artifact.model.d.ts +1 -1
  29. package/src/index.d.ts +4 -0
  30. package/src/integration-sharing.model.d.ts +12 -0
  31. package/src/integration.model.d.ts +2 -0
  32. package/src/plugin-application.d.ts +13 -0
  33. package/src/plugin.d.ts +7 -0
  34. package/src/role-permission-modules.d.ts +13 -1
  35. package/src/role-permission.model.d.ts +1 -0
  36. package/src/role.model.d.ts +19 -0
  37. package/src/types.d.ts +1 -0
  38. package/src/user-notification.schema.d.ts +721 -0
  39. package/src/user.model.d.ts +2 -0
  40. package/src/view-extension/model.d.ts +5 -0
@@ -8,6 +8,8 @@ export declare enum UserType {
8
8
  COMMUNICATION = "communication"
9
9
  }
10
10
  export interface IUser extends IBasePerTenantEntityModel {
11
+ /** Administrators may suspend sign-in and subsequent execution without deleting account data. */
12
+ isActive?: boolean;
11
13
  thirdPartyId?: string;
12
14
  name?: string;
13
15
  firstName?: string;
@@ -634,6 +634,11 @@ export interface XpertViewActionResult<TData = unknown> {
634
634
  message?: I18nObject;
635
635
  data?: TData;
636
636
  refresh?: boolean;
637
+ /** Explicitly safe business validation; unclassified failure details remain operator-only. */
638
+ failure?: {
639
+ kind: 'business';
640
+ code: string;
641
+ };
637
642
  }
638
643
  /** Append text selections to the current draft without sending or replacing it. */
639
644
  export declare const ASSISTANT_COMPOSER_APPEND_REFERENCES_COMMAND = "assistant.composer.append_references";