Returns the total spend for a user in the given period. When organization_id is NULL, spend across all organizations is returned (global behavior). Otherwise only spend within the specified organization is included.
(ctx context.Context, arg GetUserChatSpendInPeriodParams)
| 779 | // returned (global behavior). Otherwise only spend within the |
| 780 | // specified organization is included. |
| 781 | GetUserChatSpendInPeriod(ctx context.Context, arg GetUserChatSpendInPeriodParams) (int64, error) |
| 782 | GetUserCodeDiffDisplayMode(ctx context.Context, userID uuid.UUID) (string, error) |
| 783 | GetUserCount(ctx context.Context, includeSystem bool) (int64, error) |
| 784 | // Returns the minimum (most restrictive) group limit for a user. |
no outgoing calls