@resolveio/server-lib 22.1.3 → 22.1.5

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.
@@ -113,6 +113,7 @@ export declare function resolveAssistantReadDisplayMaxRows(limit: number | undef
113
113
  export declare function normalizeAssistantNowExprPlaceholders(value: any): any;
114
114
  export declare function rewriteMatchExpressionsToExpr(match: any): any;
115
115
  export declare function normalizeAssistantMonthlyCalendarWindowPipeline(pipeline: Array<Record<string, any>>): Array<Record<string, any>>;
116
+ export declare function normalizeAssistantAggregatePipeline(pipeline?: Array<Record<string, any>>, collection?: string): Array<Record<string, any>>;
116
117
  export declare function stripQueryFieldPathsDeep(query: any, fieldsToStrip: string[]): any;
117
118
  export declare function stripScopedFieldsFromPipeline(pipeline: any[], fieldsToStrip: string[]): any[];
118
119
  export declare function rewriteEmbeddedMatchObjects(query: any): any;
@@ -124,6 +125,7 @@ export declare function resolveAssistantCollectionOverride(collectionRanking: Re
124
125
  reason: string;
125
126
  } | null;
126
127
  export declare function resolveAssistantCrossCollectionFallbackCandidates(collection: string): string[];
128
+ export declare function resolveAssistantAvailableCrossCollectionFallbacksFromNames(collection: string, triedCollections: Set<string>, collectionNames: string[]): string[];
127
129
  export declare function collectUserViewPermissions(user: any): string[];
128
130
  export declare function userHasInvoiceAccess(user: any): boolean;
129
131
  export declare function resolveAssistantUserAccessTier(user: any): 'super_admin' | 'customer_portal' | 'client_user';