@likewatt/models-front 1.77.0 → 1.78.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.
@@ -47,6 +47,14 @@ export interface Site {
47
47
  */
48
48
  automaticUpdateErrorCode?: string | null;
49
49
  automaticUpdateRetryAt?: Date | string | null;
50
+ /**
51
+ * `true` once BullMQ has exhausted all auto-retries for a transient error
52
+ * (no more `RETRY_LONG` attempts left). Used by the front to enable the
53
+ * manual "Réessayer" button only when the worker has given up — while a
54
+ * retry is still pending the button stays hidden. `null` on clean sites or
55
+ * UNRECOVERABLE errors.
56
+ */
57
+ automaticUpdateRetryExhausted?: boolean | null;
50
58
  scenario?: string;
51
59
  user: string;
52
60
  profile?: Profiles;
@@ -411,7 +411,7 @@ export declare const SiteConstants: {
411
411
  };
412
412
  readonly purchaseContractType: {
413
413
  readonly 'CARD/T': "CARD/T";
414
- readonly 'Contrat unique': "uniqueContract";
414
+ readonly 'Contrat unique': "Contrat unique";
415
415
  readonly Autoproducteur: "autoproducer";
416
416
  };
417
417
  readonly purchaseMeterOwner: {
@@ -79,7 +79,7 @@ exports.SiteConstants = {
79
79
  },
80
80
  purchaseContractType: {
81
81
  'CARD/T': 'CARD/T',
82
- 'Contrat unique': 'uniqueContract',
82
+ 'Contrat unique': 'Contrat unique',
83
83
  Autoproducteur: 'autoproducer',
84
84
  },
85
85
  purchaseMeterOwner: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models-front",
3
- "version": "1.77.0",
3
+ "version": "1.78.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",