@firela/api-types 0.0.0-canary.6e40e263 → 0.0.0-canary.6f9c763e

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
@@ -1172,17 +1172,17 @@ type ResolveResultDto = {
1172
1172
  [key: string]: string;
1173
1173
  };
1174
1174
  /**
1175
- * Resolution ID for undo
1175
+ * Resolution ID for undo. Absent when the resolver rejected the decision (review stayed PENDING).
1176
1176
  */
1177
- resolutionId: string;
1177
+ resolutionId?: string;
1178
1178
  /**
1179
1179
  * Whether this decision can be undone
1180
1180
  */
1181
- canUndo: boolean;
1181
+ canUndo?: boolean;
1182
1182
  /**
1183
1183
  * Deadline for undo (24h from resolution)
1184
1184
  */
1185
- undoDeadline: string;
1185
+ undoDeadline?: string;
1186
1186
  /**
1187
1187
  * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1188
1188
  */
package/dist/index.d.ts CHANGED
@@ -1172,17 +1172,17 @@ type ResolveResultDto = {
1172
1172
  [key: string]: string;
1173
1173
  };
1174
1174
  /**
1175
- * Resolution ID for undo
1175
+ * Resolution ID for undo. Absent when the resolver rejected the decision (review stayed PENDING).
1176
1176
  */
1177
- resolutionId: string;
1177
+ resolutionId?: string;
1178
1178
  /**
1179
1179
  * Whether this decision can be undone
1180
1180
  */
1181
- canUndo: boolean;
1181
+ canUndo?: boolean;
1182
1182
  /**
1183
1183
  * Deadline for undo (24h from resolution)
1184
1184
  */
1185
- undoDeadline: string;
1185
+ undoDeadline?: string;
1186
1186
  /**
1187
1187
  * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1188
1188
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firela/api-types",
3
- "version": "0.0.0-canary.6e40e263",
3
+ "version": "0.0.0-canary.6f9c763e",
4
4
  "description": "TypeScript types generated from IGN OpenAPI specification",
5
5
  "license": "MIT",
6
6
  "author": "FireLa Team",
@@ -1855,7 +1855,8 @@ export const $ResolveResultDto = {
1855
1855
  },
1856
1856
  resolutionId: {
1857
1857
  type: 'string',
1858
- description: 'Resolution ID for undo'
1858
+ description:
1859
+ 'Resolution ID for undo. Absent when the resolver rejected the decision (review stayed PENDING).'
1859
1860
  },
1860
1861
  canUndo: {
1861
1862
  type: 'boolean',
@@ -1873,7 +1874,7 @@ export const $ResolveResultDto = {
1873
1874
  example: 'rule_01HXK5V8N2M3P4Q5R6S7T8U9V0'
1874
1875
  }
1875
1876
  },
1876
- required: ['success', 'resolutionId', 'canUndo', 'undoDeadline']
1877
+ required: ['success']
1877
1878
  } as const;
1878
1879
 
1879
1880
  export const $UndoResultDto = {
@@ -1324,17 +1324,17 @@ export type ResolveResultDto = {
1324
1324
  [key: string]: string;
1325
1325
  };
1326
1326
  /**
1327
- * Resolution ID for undo
1327
+ * Resolution ID for undo. Absent when the resolver rejected the decision (review stayed PENDING).
1328
1328
  */
1329
- resolutionId: string;
1329
+ resolutionId?: string;
1330
1330
  /**
1331
1331
  * Whether this decision can be undone
1332
1332
  */
1333
- canUndo: boolean;
1333
+ canUndo?: boolean;
1334
1334
  /**
1335
1335
  * Deadline for undo (24h from resolution)
1336
1336
  */
1337
- undoDeadline: string;
1337
+ undoDeadline?: string;
1338
1338
  /**
1339
1339
  * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1340
1340
  */