@camstack/addon-export-alexa 1.2.83 → 1.2.84

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.
@@ -10797,12 +10797,30 @@ var BackupDestinationInfoSchema = object({
10797
10797
  lastSuccessAt: number().optional(),
10798
10798
  /** Newest-archive size from `manifests.json`, or undefined. */
10799
10799
  lastSuccessSizeBytes: number().optional(),
10800
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10800
+ /**
10801
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10802
+ * destination, comma-joined. Absent when no enabled schedule targets it
10803
+ * — a destination nothing is scheduled to write to must not advertise a
10804
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10805
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10806
+ * and reading it made a destination with a DISABLED schedule claim a
10807
+ * nightly run.
10808
+ */
10801
10809
  cron: string().optional(),
10802
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10810
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10803
10811
  nextRunAt: number().optional(),
10804
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10805
- lastRunAt: number().optional()
10812
+ /**
10813
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10814
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10815
+ * newest archive that actually landed) and `lastError`.
10816
+ */
10817
+ lastAttemptAt: number().optional(),
10818
+ /**
10819
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10820
+ * landed the archive. A destination that has never been written to has
10821
+ * neither this nor `lastAttemptAt`.
10822
+ */
10823
+ lastError: string().optional()
10806
10824
  });
10807
10825
  /**
10808
10826
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10965,8 +10983,16 @@ var BackupScheduleSchema = object({
10965
10983
  retentionCount: number().int().min(1).max(1e3),
10966
10984
  /** Optional subset of source locations to include; omitted = all. */
10967
10985
  dataSources: array(string()).readonly().optional(),
10968
- /** ms-epoch of last successful run. */
10969
- lastRunAt: number().optional(),
10986
+ /**
10987
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10988
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10989
+ * "succeeded" — a run refused by every destination stamps it too.
10990
+ */
10991
+ lastAttemptAt: number().optional(),
10992
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10993
+ lastSuccessAt: number().optional(),
10994
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10995
+ lastError: string().optional(),
10970
10996
  /** ms-epoch of next computed firing (read-only, filled on list). */
10971
10997
  nextRunAt: number().optional()
10972
10998
  });
@@ -11015,14 +11041,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
11015
11041
  locationId: string(),
11016
11042
  enabled: boolean(),
11017
11043
  retentionCount: number().int().min(1).max(1e3),
11018
- label: string().optional(),
11019
- /**
11020
- * Per-destination cron expression. Empty string clears the
11021
- * schedule (manual-only). Validated server-side via croner;
11022
- * malformed expressions reject the upsert with an actionable
11023
- * message.
11024
- */
11025
- cron: string().optional()
11044
+ label: string().optional()
11026
11045
  }), _void(), {
11027
11046
  kind: "mutation",
11028
11047
  auth: "admin"
@@ -10770,12 +10770,30 @@ var BackupDestinationInfoSchema = object({
10770
10770
  lastSuccessAt: number().optional(),
10771
10771
  /** Newest-archive size from `manifests.json`, or undefined. */
10772
10772
  lastSuccessSizeBytes: number().optional(),
10773
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10773
+ /**
10774
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10775
+ * destination, comma-joined. Absent when no enabled schedule targets it
10776
+ * — a destination nothing is scheduled to write to must not advertise a
10777
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10778
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10779
+ * and reading it made a destination with a DISABLED schedule claim a
10780
+ * nightly run.
10781
+ */
10774
10782
  cron: string().optional(),
10775
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10783
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10776
10784
  nextRunAt: number().optional(),
10777
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10778
- lastRunAt: number().optional()
10785
+ /**
10786
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10787
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10788
+ * newest archive that actually landed) and `lastError`.
10789
+ */
10790
+ lastAttemptAt: number().optional(),
10791
+ /**
10792
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10793
+ * landed the archive. A destination that has never been written to has
10794
+ * neither this nor `lastAttemptAt`.
10795
+ */
10796
+ lastError: string().optional()
10779
10797
  });
10780
10798
  /**
10781
10799
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10938,8 +10956,16 @@ var BackupScheduleSchema = object({
10938
10956
  retentionCount: number().int().min(1).max(1e3),
10939
10957
  /** Optional subset of source locations to include; omitted = all. */
10940
10958
  dataSources: array(string()).readonly().optional(),
10941
- /** ms-epoch of last successful run. */
10942
- lastRunAt: number().optional(),
10959
+ /**
10960
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10961
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10962
+ * "succeeded" — a run refused by every destination stamps it too.
10963
+ */
10964
+ lastAttemptAt: number().optional(),
10965
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10966
+ lastSuccessAt: number().optional(),
10967
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10968
+ lastError: string().optional(),
10943
10969
  /** ms-epoch of next computed firing (read-only, filled on list). */
10944
10970
  nextRunAt: number().optional()
10945
10971
  });
@@ -10988,14 +11014,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
10988
11014
  locationId: string(),
10989
11015
  enabled: boolean(),
10990
11016
  retentionCount: number().int().min(1).max(1e3),
10991
- label: string().optional(),
10992
- /**
10993
- * Per-destination cron expression. Empty string clears the
10994
- * schedule (manual-only). Validated server-side via croner;
10995
- * malformed expressions reject the upsert with an actionable
10996
- * message.
10997
- */
10998
- cron: string().optional()
11017
+ label: string().optional()
10999
11018
  }), _void(), {
11000
11019
  kind: "mutation",
11001
11020
  auth: "admin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.83",
3
+ "version": "1.2.84",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",