@firela/api-types 0.0.0-canary.6646ba4 → 0.0.0-canary.67c55c6

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.
package/dist/index.d.mts CHANGED
@@ -5213,7 +5213,7 @@ type ExpensesByCategorySummaryDto = {
5213
5213
  };
5214
5214
  type ExpensesByCategoryResponseDto = {
5215
5215
  /**
5216
- * Period requested
5216
+ * Period requested: relative window token (1m/3m/6m/1y) or absolute month YYYY-MM
5217
5217
  */
5218
5218
  period: string;
5219
5219
  /**
@@ -7189,9 +7189,9 @@ type DashboardControllerGetExpensesData = {
7189
7189
  */
7190
7190
  groupBy?: 'category';
7191
7191
  /**
7192
- * Time window (1m = current calendar month)
7192
+ * Relative window token (1m/3m/6m/1y; 1m = current calendar month) or absolute month YYYY-MM (month boundaries resolved like cash-flow)
7193
7193
  */
7194
- period?: '1m' | '3m' | '6m' | '1y';
7194
+ period?: string;
7195
7195
  /**
7196
7196
  * Region code for tenant context
7197
7197
  */
package/dist/index.d.ts CHANGED
@@ -5213,7 +5213,7 @@ type ExpensesByCategorySummaryDto = {
5213
5213
  };
5214
5214
  type ExpensesByCategoryResponseDto = {
5215
5215
  /**
5216
- * Period requested
5216
+ * Period requested: relative window token (1m/3m/6m/1y) or absolute month YYYY-MM
5217
5217
  */
5218
5218
  period: string;
5219
5219
  /**
@@ -7189,9 +7189,9 @@ type DashboardControllerGetExpensesData = {
7189
7189
  */
7190
7190
  groupBy?: 'category';
7191
7191
  /**
7192
- * Time window (1m = current calendar month)
7192
+ * Relative window token (1m/3m/6m/1y; 1m = current calendar month) or absolute month YYYY-MM (month boundaries resolved like cash-flow)
7193
7193
  */
7194
- period?: '1m' | '3m' | '6m' | '1y';
7194
+ period?: string;
7195
7195
  /**
7196
7196
  * Region code for tenant context
7197
7197
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firela/api-types",
3
- "version": "0.0.0-canary.6646ba4",
3
+ "version": "0.0.0-canary.67c55c6",
4
4
  "description": "TypeScript types generated from IGN OpenAPI specification",
5
5
  "license": "MIT",
6
6
  "author": "FireLa Team",
@@ -8723,7 +8723,8 @@ export const $ExpensesByCategoryResponseDto = {
8723
8723
  properties: {
8724
8724
  period: {
8725
8725
  type: 'string',
8726
- description: 'Period requested',
8726
+ description:
8727
+ 'Period requested: relative window token (1m/3m/6m/1y) or absolute month YYYY-MM',
8727
8728
  example: '1m'
8728
8729
  },
8729
8730
  baseCurrency: {
@@ -4028,11 +4028,11 @@ export class DashboardService {
4028
4028
 
4029
4029
  /**
4030
4030
  * Get expenses/income grouped by functional category
4031
- * Returns amounts pre-aggregated by functional category (account-path Group segment) with server-side multi-currency conversion. flow=expense (default) aggregates ^Expenses: accounts; flow=income aggregates ^Income: accounts (issue #518)
4031
+ * Returns amounts pre-aggregated by functional category (account-path Group segment) with server-side multi-currency conversion. flow=expense (default) aggregates ^Expenses: accounts; flow=income aggregates ^Income: accounts (issue #518). period accepts a relative window (1m/3m/6m/1y) or an absolute month YYYY-MM, computed over that calendar month with the same month-boundary rule as cash-flow (#2312)
4032
4032
  * @param data The data for the request.
4033
4033
  * @param data.region Region code for tenant context
4034
4034
  * @param data.groupBy Grouping strategy
4035
- * @param data.period Time window (1m = current calendar month)
4035
+ * @param data.period Relative window token (1m/3m/6m/1y; 1m = current calendar month) or absolute month YYYY-MM (month boundaries resolved like cash-flow)
4036
4036
  * @param data.flow Account root to aggregate (expense → ^Expenses:, income → ^Income:)
4037
4037
  * @returns ExpensesByCategoryResponseDto Expenses retrieved successfully
4038
4038
  * @throws ApiError
@@ -5977,7 +5977,7 @@ export type ExpensesByCategorySummaryDto = {
5977
5977
 
5978
5978
  export type ExpensesByCategoryResponseDto = {
5979
5979
  /**
5980
- * Period requested
5980
+ * Period requested: relative window token (1m/3m/6m/1y) or absolute month YYYY-MM
5981
5981
  */
5982
5982
  period: string;
5983
5983
  /**
@@ -28636,9 +28636,9 @@ export type DashboardControllerGetExpensesData = {
28636
28636
  */
28637
28637
  groupBy?: 'category';
28638
28638
  /**
28639
- * Time window (1m = current calendar month)
28639
+ * Relative window token (1m/3m/6m/1y; 1m = current calendar month) or absolute month YYYY-MM (month boundaries resolved like cash-flow)
28640
28640
  */
28641
- period?: '1m' | '3m' | '6m' | '1y';
28641
+ period?: string;
28642
28642
  /**
28643
28643
  * Region code for tenant context
28644
28644
  */