@epilot/sdk 2.18.25 → 2.18.27

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.
Files changed (131) hide show
  1. package/definitions/blueprint-manifest.json +48 -2
  2. package/definitions/customer-portal.json +56 -7
  3. package/dist/apis/access-token.cjs +6 -6
  4. package/dist/apis/access-token.js +1 -1
  5. package/dist/apis/address-suggestions.cjs +6 -6
  6. package/dist/apis/address-suggestions.js +1 -1
  7. package/dist/apis/address.cjs +6 -6
  8. package/dist/apis/address.js +1 -1
  9. package/dist/apis/ai-agents.cjs +6 -6
  10. package/dist/apis/ai-agents.js +1 -1
  11. package/dist/apis/app.cjs +6 -6
  12. package/dist/apis/app.js +1 -1
  13. package/dist/apis/audit-logs.cjs +6 -6
  14. package/dist/apis/audit-logs.js +1 -1
  15. package/dist/apis/automation.cjs +6 -6
  16. package/dist/apis/automation.js +1 -1
  17. package/dist/apis/billing.cjs +6 -6
  18. package/dist/apis/billing.js +1 -1
  19. package/dist/apis/blueprint-manifest.cjs +6 -6
  20. package/dist/apis/blueprint-manifest.d.cts +2 -2
  21. package/dist/apis/blueprint-manifest.d.ts +2 -2
  22. package/dist/apis/blueprint-manifest.js +1 -1
  23. package/dist/apis/calendar.cjs +6 -6
  24. package/dist/apis/calendar.js +1 -1
  25. package/dist/apis/configuration-hub.cjs +6 -6
  26. package/dist/apis/configuration-hub.js +1 -1
  27. package/dist/apis/consent.cjs +6 -6
  28. package/dist/apis/consent.js +1 -1
  29. package/dist/apis/customer-portal.cjs +6 -6
  30. package/dist/apis/customer-portal.d.cts +2 -2
  31. package/dist/apis/customer-portal.d.ts +2 -2
  32. package/dist/apis/customer-portal.js +1 -1
  33. package/dist/apis/dashboard.cjs +6 -6
  34. package/dist/apis/dashboard.js +1 -1
  35. package/dist/apis/data-governance.cjs +6 -6
  36. package/dist/apis/data-governance.js +1 -1
  37. package/dist/apis/deduplication.cjs +6 -6
  38. package/dist/apis/deduplication.js +1 -1
  39. package/dist/apis/design.cjs +6 -6
  40. package/dist/apis/design.js +1 -1
  41. package/dist/apis/document.cjs +6 -6
  42. package/dist/apis/document.js +1 -1
  43. package/dist/apis/email-settings.cjs +6 -6
  44. package/dist/apis/email-settings.js +1 -1
  45. package/dist/apis/email-template.cjs +6 -6
  46. package/dist/apis/email-template.js +1 -1
  47. package/dist/apis/entity-mapping.cjs +6 -6
  48. package/dist/apis/entity-mapping.js +1 -1
  49. package/dist/apis/entity.cjs +6 -6
  50. package/dist/apis/entity.js +1 -1
  51. package/dist/apis/environments.cjs +6 -6
  52. package/dist/apis/environments.js +1 -1
  53. package/dist/apis/event-catalog.cjs +6 -6
  54. package/dist/apis/event-catalog.js +1 -1
  55. package/dist/apis/file.cjs +6 -6
  56. package/dist/apis/file.js +1 -1
  57. package/dist/apis/iban.cjs +6 -6
  58. package/dist/apis/iban.js +1 -1
  59. package/dist/apis/integration-toolkit.cjs +6 -6
  60. package/dist/apis/integration-toolkit.js +1 -1
  61. package/dist/apis/journey.cjs +6 -6
  62. package/dist/apis/journey.js +1 -1
  63. package/dist/apis/kanban.cjs +6 -6
  64. package/dist/apis/kanban.js +1 -1
  65. package/dist/apis/message.cjs +6 -6
  66. package/dist/apis/message.js +1 -1
  67. package/dist/apis/metering.cjs +6 -6
  68. package/dist/apis/metering.js +1 -1
  69. package/dist/apis/notes.cjs +6 -6
  70. package/dist/apis/notes.js +1 -1
  71. package/dist/apis/notification.cjs +6 -6
  72. package/dist/apis/notification.js +1 -1
  73. package/dist/apis/organization.cjs +6 -6
  74. package/dist/apis/organization.js +1 -1
  75. package/dist/apis/partner-directory.cjs +6 -6
  76. package/dist/apis/partner-directory.js +1 -1
  77. package/dist/apis/permissions.cjs +6 -6
  78. package/dist/apis/permissions.js +1 -1
  79. package/dist/apis/pricing-tier.cjs +6 -6
  80. package/dist/apis/pricing-tier.js +1 -1
  81. package/dist/apis/pricing.cjs +6 -6
  82. package/dist/apis/pricing.js +1 -1
  83. package/dist/apis/purpose.cjs +6 -6
  84. package/dist/apis/purpose.js +1 -1
  85. package/dist/apis/query.cjs +6 -6
  86. package/dist/apis/query.js +1 -1
  87. package/dist/apis/sandbox.cjs +6 -6
  88. package/dist/apis/sandbox.js +1 -1
  89. package/dist/apis/sharing.cjs +6 -6
  90. package/dist/apis/sharing.js +1 -1
  91. package/dist/apis/snapshot.cjs +6 -6
  92. package/dist/apis/snapshot.js +1 -1
  93. package/dist/apis/submission.cjs +6 -6
  94. package/dist/apis/submission.js +1 -1
  95. package/dist/apis/target.cjs +6 -6
  96. package/dist/apis/target.js +1 -1
  97. package/dist/apis/targeting.cjs +6 -6
  98. package/dist/apis/targeting.js +1 -1
  99. package/dist/apis/template-variables.cjs +6 -6
  100. package/dist/apis/template-variables.js +1 -1
  101. package/dist/apis/user.cjs +6 -6
  102. package/dist/apis/user.js +1 -1
  103. package/dist/apis/validation-rules.cjs +6 -6
  104. package/dist/apis/validation-rules.js +1 -1
  105. package/dist/apis/webhooks.cjs +6 -6
  106. package/dist/apis/webhooks.js +1 -1
  107. package/dist/apis/workflow-definition.cjs +6 -6
  108. package/dist/apis/workflow-definition.js +1 -1
  109. package/dist/apis/workflow.cjs +6 -6
  110. package/dist/apis/workflow.js +1 -1
  111. package/dist/blueprint-manifest-4IAJOK2O.cjs +7 -0
  112. package/dist/blueprint-manifest-U6SC54EI.js +7 -0
  113. package/dist/{blueprint-manifest.d-CjsI-JqR.d.cts → blueprint-manifest.d-BVxmCeu7.d.cts} +173 -5
  114. package/dist/{blueprint-manifest.d-CjsI-JqR.d.ts → blueprint-manifest.d-BVxmCeu7.d.ts} +173 -5
  115. package/dist/{chunk-6AESXD5D.cjs → chunk-6ZJM4MNX.cjs} +2 -2
  116. package/dist/{chunk-XW3N5APN.js → chunk-Q6DT64Q2.js} +2 -2
  117. package/dist/customer-portal-FCUPDA7V.cjs +7 -0
  118. package/dist/customer-portal-GRWXQYKT.js +7 -0
  119. package/dist/{customer-portal.d-D44zeiJ4.d.cts → customer-portal.d-DTnk0yQf.d.cts} +51 -9
  120. package/dist/{customer-portal.d-D44zeiJ4.d.ts → customer-portal.d-DTnk0yQf.d.ts} +51 -9
  121. package/dist/index.cjs +8 -8
  122. package/dist/index.d.cts +2 -2
  123. package/dist/index.d.ts +2 -2
  124. package/dist/index.js +1 -1
  125. package/docs/blueprint-manifest.md +65 -19
  126. package/docs/customer-portal.md +65 -3
  127. package/package.json +1 -1
  128. package/dist/blueprint-manifest-4DD7CUPX.cjs +0 -7
  129. package/dist/blueprint-manifest-IP2AU3F3.js +0 -7
  130. package/dist/customer-portal-FOLTI3GK.cjs +0 -7
  131. package/dist/customer-portal-HQ3DJCGO.js +0 -7
@@ -203,6 +203,28 @@ declare namespace Components {
203
203
  */
204
204
  ignored_resource_addresses?: string[];
205
205
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
206
+ /**
207
+ * ID of the restore (revert) job currently holding a lock on this
208
+ * blueprint instance's resources, or null/absent when no revert is
209
+ * running. Deliberately separate from `installation_status`: installs
210
+ * and reverts stay decoupled, so a revert must not overwrite install
211
+ * health — `installation_status` keeps reflecting the actual install
212
+ * outcome (and drives the install badge in the Blueprints overview)
213
+ * for the duration of the revert.
214
+ *
215
+ */
216
+ active_restore_job_id?: string | null;
217
+ /**
218
+ * ISO timestamp of when the current restore lock
219
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
220
+ * is running. Written and cleared alongside `active_restore_job_id`.
221
+ * Lets the lock self-expire: a lock older than the staleness threshold
222
+ * (whose job never completed the sweep, e.g. the state machine was
223
+ * aborted) is treated as stale so a new revert can proceed instead of
224
+ * being blocked forever.
225
+ *
226
+ */
227
+ active_restore_started_at?: string | null; // date-time
206
228
  created_at?: string; // date-time
207
229
  updated_at?: string; // date-time
208
230
  created_by?: CallerIdentity;
@@ -1151,6 +1173,28 @@ declare namespace Components {
1151
1173
  */
1152
1174
  ignored_resource_addresses?: string[];
1153
1175
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
1176
+ /**
1177
+ * ID of the restore (revert) job currently holding a lock on this
1178
+ * blueprint instance's resources, or null/absent when no revert is
1179
+ * running. Deliberately separate from `installation_status`: installs
1180
+ * and reverts stay decoupled, so a revert must not overwrite install
1181
+ * health — `installation_status` keeps reflecting the actual install
1182
+ * outcome (and drives the install badge in the Blueprints overview)
1183
+ * for the duration of the revert.
1184
+ *
1185
+ */
1186
+ active_restore_job_id?: string | null;
1187
+ /**
1188
+ * ISO timestamp of when the current restore lock
1189
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
1190
+ * is running. Written and cleared alongside `active_restore_job_id`.
1191
+ * Lets the lock self-expire: a lock older than the staleness threshold
1192
+ * (whose job never completed the sweep, e.g. the state machine was
1193
+ * aborted) is treated as stale so a new revert can proceed instead of
1194
+ * being blocked forever.
1195
+ *
1196
+ */
1197
+ active_restore_started_at?: string | null; // date-time
1154
1198
  created_at?: string; // date-time
1155
1199
  updated_at?: string; // date-time
1156
1200
  created_by?: CallerIdentity;
@@ -1570,6 +1614,28 @@ declare namespace Components {
1570
1614
  */
1571
1615
  ignored_resource_addresses?: string[];
1572
1616
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
1617
+ /**
1618
+ * ID of the restore (revert) job currently holding a lock on this
1619
+ * blueprint instance's resources, or null/absent when no revert is
1620
+ * running. Deliberately separate from `installation_status`: installs
1621
+ * and reverts stay decoupled, so a revert must not overwrite install
1622
+ * health — `installation_status` keeps reflecting the actual install
1623
+ * outcome (and drives the install badge in the Blueprints overview)
1624
+ * for the duration of the revert.
1625
+ *
1626
+ */
1627
+ active_restore_job_id?: string | null;
1628
+ /**
1629
+ * ISO timestamp of when the current restore lock
1630
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
1631
+ * is running. Written and cleared alongside `active_restore_job_id`.
1632
+ * Lets the lock self-expire: a lock older than the staleness threshold
1633
+ * (whose job never completed the sweep, e.g. the state machine was
1634
+ * aborted) is treated as stale so a new revert can proceed instead of
1635
+ * being blocked forever.
1636
+ *
1637
+ */
1638
+ active_restore_started_at?: string | null; // date-time
1573
1639
  created_at?: string; // date-time
1574
1640
  updated_at?: string; // date-time
1575
1641
  created_by?: CallerIdentity;
@@ -1805,6 +1871,28 @@ declare namespace Components {
1805
1871
  */
1806
1872
  ignored_resource_addresses?: string[];
1807
1873
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
1874
+ /**
1875
+ * ID of the restore (revert) job currently holding a lock on this
1876
+ * blueprint instance's resources, or null/absent when no revert is
1877
+ * running. Deliberately separate from `installation_status`: installs
1878
+ * and reverts stay decoupled, so a revert must not overwrite install
1879
+ * health — `installation_status` keeps reflecting the actual install
1880
+ * outcome (and drives the install badge in the Blueprints overview)
1881
+ * for the duration of the revert.
1882
+ *
1883
+ */
1884
+ active_restore_job_id?: string | null;
1885
+ /**
1886
+ * ISO timestamp of when the current restore lock
1887
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
1888
+ * is running. Written and cleared alongside `active_restore_job_id`.
1889
+ * Lets the lock self-expire: a lock older than the staleness threshold
1890
+ * (whose job never completed the sweep, e.g. the state machine was
1891
+ * aborted) is treated as stale so a new revert can proceed instead of
1892
+ * being blocked forever.
1893
+ *
1894
+ */
1895
+ active_restore_started_at?: string | null; // date-time
1808
1896
  created_at?: string; // date-time
1809
1897
  updated_at?: string; // date-time
1810
1898
  created_by?: CallerIdentity;
@@ -2086,6 +2174,28 @@ declare namespace Components {
2086
2174
  */
2087
2175
  ignored_resource_addresses?: string[];
2088
2176
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
2177
+ /**
2178
+ * ID of the restore (revert) job currently holding a lock on this
2179
+ * blueprint instance's resources, or null/absent when no revert is
2180
+ * running. Deliberately separate from `installation_status`: installs
2181
+ * and reverts stay decoupled, so a revert must not overwrite install
2182
+ * health — `installation_status` keeps reflecting the actual install
2183
+ * outcome (and drives the install badge in the Blueprints overview)
2184
+ * for the duration of the revert.
2185
+ *
2186
+ */
2187
+ active_restore_job_id?: string | null;
2188
+ /**
2189
+ * ISO timestamp of when the current restore lock
2190
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
2191
+ * is running. Written and cleared alongside `active_restore_job_id`.
2192
+ * Lets the lock self-expire: a lock older than the staleness threshold
2193
+ * (whose job never completed the sweep, e.g. the state machine was
2194
+ * aborted) is treated as stale so a new revert can proceed instead of
2195
+ * being blocked forever.
2196
+ *
2197
+ */
2198
+ active_restore_started_at?: string | null; // date-time
2089
2199
  created_at?: string; // date-time
2090
2200
  updated_at?: string; // date-time
2091
2201
  created_by?: CallerIdentity;
@@ -3005,6 +3115,28 @@ declare namespace Components {
3005
3115
  */
3006
3116
  ignored_resource_addresses?: string[];
3007
3117
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
3118
+ /**
3119
+ * ID of the restore (revert) job currently holding a lock on this
3120
+ * blueprint instance's resources, or null/absent when no revert is
3121
+ * running. Deliberately separate from `installation_status`: installs
3122
+ * and reverts stay decoupled, so a revert must not overwrite install
3123
+ * health — `installation_status` keeps reflecting the actual install
3124
+ * outcome (and drives the install badge in the Blueprints overview)
3125
+ * for the duration of the revert.
3126
+ *
3127
+ */
3128
+ active_restore_job_id?: string | null;
3129
+ /**
3130
+ * ISO timestamp of when the current restore lock
3131
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
3132
+ * is running. Written and cleared alongside `active_restore_job_id`.
3133
+ * Lets the lock self-expire: a lock older than the staleness threshold
3134
+ * (whose job never completed the sweep, e.g. the state machine was
3135
+ * aborted) is treated as stale so a new revert can proceed instead of
3136
+ * being blocked forever.
3137
+ *
3138
+ */
3139
+ active_restore_started_at?: string | null; // date-time
3008
3140
  created_at?: string; // date-time
3009
3141
  updated_at?: string; // date-time
3010
3142
  created_by?: CallerIdentity;
@@ -3327,7 +3459,7 @@ declare namespace Components {
3327
3459
  /**
3328
3460
  * Only set when `action == skip`.
3329
3461
  */
3330
- reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned";
3462
+ reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned" | "dependency_protected" | "already_deleted" | "non_revertible";
3331
3463
  /**
3332
3464
  * Only set when `reason == modified`. From the lineage row's last install write.
3333
3465
  */
@@ -3358,6 +3490,17 @@ declare namespace Components {
3358
3490
  blueprint_id: string;
3359
3491
  title?: string | null;
3360
3492
  }[];
3493
+ /**
3494
+ * Only set when `reason == dependency_protected`. The surviving
3495
+ * resource(s) whose 'hard' reference to this one is why it wasn't
3496
+ * deleted (e.g. a skipped Journey still triggering this Automation).
3497
+ *
3498
+ */
3499
+ protected_by?: {
3500
+ lineage_id: string;
3501
+ type: string;
3502
+ target_id?: string | null;
3503
+ }[];
3361
3504
  }
3362
3505
  export interface RootResourceNode {
3363
3506
  /**
@@ -3505,6 +3648,19 @@ declare namespace Components {
3505
3648
  status: "pending" | "in_progress" | "done" | "failed" | "skipped";
3506
3649
  target_id?: string;
3507
3650
  error_message?: string;
3651
+ /**
3652
+ * Stable machine code for a failed resource, when config-engine threw a
3653
+ * typed error. Keys a translation in the Blueprints UI; `error_message`
3654
+ * is the English fallback when absent or unrecognised.
3655
+ *
3656
+ */
3657
+ error_code?: string;
3658
+ /**
3659
+ * Interpolation values for the translated `error_code` message.
3660
+ */
3661
+ error_data?: {
3662
+ [name: string]: any;
3663
+ };
3508
3664
  }
3509
3665
  export interface VerificationSummary {
3510
3666
  total_resources?: number;
@@ -6095,8 +6251,14 @@ interface OperationMethods {
6095
6251
  * snapshot ids directly.
6096
6252
  *
6097
6253
  * Async — returns 202 with a job id. Poll the job to track progress.
6098
- * The per-instance lock (`installation_status === 'IN_PROGRESS'`)
6099
- * rejects concurrent installs or restores with 409.
6254
+ * The restore holds its own per-instance lock (`active_restore_job_id`),
6255
+ * separate from `installation_status`. Starting a restore is rejected with
6256
+ * 409 when another restore already holds that lock, or when an install is
6257
+ * running (`installation_status === 'IN_PROGRESS'`). Keeping the two locks
6258
+ * distinct keeps installs and reverts decoupled: an in-flight or failed
6259
+ * restore never overwrites `installation_status`, which keeps reflecting
6260
+ * the actual install outcome (and drives the install badge in the
6261
+ * Blueprints overview) throughout the revert.
6100
6262
  *
6101
6263
  */
6102
6264
  'restoreBlueprintDeploymentV3'(
@@ -7056,8 +7218,14 @@ interface PathsDictionary {
7056
7218
  * snapshot ids directly.
7057
7219
  *
7058
7220
  * Async — returns 202 with a job id. Poll the job to track progress.
7059
- * The per-instance lock (`installation_status === 'IN_PROGRESS'`)
7060
- * rejects concurrent installs or restores with 409.
7221
+ * The restore holds its own per-instance lock (`active_restore_job_id`),
7222
+ * separate from `installation_status`. Starting a restore is rejected with
7223
+ * 409 when another restore already holds that lock, or when an install is
7224
+ * running (`installation_status === 'IN_PROGRESS'`). Keeping the two locks
7225
+ * distinct keeps installs and reverts decoupled: an in-flight or failed
7226
+ * restore never overwrites `installation_status`, which keeps reflecting
7227
+ * the actual install outcome (and drives the install badge in the
7228
+ * Blueprints overview) throughout the revert.
7061
7229
  *
7062
7230
  */
7063
7231
  'post'(
@@ -203,6 +203,28 @@ declare namespace Components {
203
203
  */
204
204
  ignored_resource_addresses?: string[];
205
205
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
206
+ /**
207
+ * ID of the restore (revert) job currently holding a lock on this
208
+ * blueprint instance's resources, or null/absent when no revert is
209
+ * running. Deliberately separate from `installation_status`: installs
210
+ * and reverts stay decoupled, so a revert must not overwrite install
211
+ * health — `installation_status` keeps reflecting the actual install
212
+ * outcome (and drives the install badge in the Blueprints overview)
213
+ * for the duration of the revert.
214
+ *
215
+ */
216
+ active_restore_job_id?: string | null;
217
+ /**
218
+ * ISO timestamp of when the current restore lock
219
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
220
+ * is running. Written and cleared alongside `active_restore_job_id`.
221
+ * Lets the lock self-expire: a lock older than the staleness threshold
222
+ * (whose job never completed the sweep, e.g. the state machine was
223
+ * aborted) is treated as stale so a new revert can proceed instead of
224
+ * being blocked forever.
225
+ *
226
+ */
227
+ active_restore_started_at?: string | null; // date-time
206
228
  created_at?: string; // date-time
207
229
  updated_at?: string; // date-time
208
230
  created_by?: CallerIdentity;
@@ -1151,6 +1173,28 @@ declare namespace Components {
1151
1173
  */
1152
1174
  ignored_resource_addresses?: string[];
1153
1175
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
1176
+ /**
1177
+ * ID of the restore (revert) job currently holding a lock on this
1178
+ * blueprint instance's resources, or null/absent when no revert is
1179
+ * running. Deliberately separate from `installation_status`: installs
1180
+ * and reverts stay decoupled, so a revert must not overwrite install
1181
+ * health — `installation_status` keeps reflecting the actual install
1182
+ * outcome (and drives the install badge in the Blueprints overview)
1183
+ * for the duration of the revert.
1184
+ *
1185
+ */
1186
+ active_restore_job_id?: string | null;
1187
+ /**
1188
+ * ISO timestamp of when the current restore lock
1189
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
1190
+ * is running. Written and cleared alongside `active_restore_job_id`.
1191
+ * Lets the lock self-expire: a lock older than the staleness threshold
1192
+ * (whose job never completed the sweep, e.g. the state machine was
1193
+ * aborted) is treated as stale so a new revert can proceed instead of
1194
+ * being blocked forever.
1195
+ *
1196
+ */
1197
+ active_restore_started_at?: string | null; // date-time
1154
1198
  created_at?: string; // date-time
1155
1199
  updated_at?: string; // date-time
1156
1200
  created_by?: CallerIdentity;
@@ -1570,6 +1614,28 @@ declare namespace Components {
1570
1614
  */
1571
1615
  ignored_resource_addresses?: string[];
1572
1616
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
1617
+ /**
1618
+ * ID of the restore (revert) job currently holding a lock on this
1619
+ * blueprint instance's resources, or null/absent when no revert is
1620
+ * running. Deliberately separate from `installation_status`: installs
1621
+ * and reverts stay decoupled, so a revert must not overwrite install
1622
+ * health — `installation_status` keeps reflecting the actual install
1623
+ * outcome (and drives the install badge in the Blueprints overview)
1624
+ * for the duration of the revert.
1625
+ *
1626
+ */
1627
+ active_restore_job_id?: string | null;
1628
+ /**
1629
+ * ISO timestamp of when the current restore lock
1630
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
1631
+ * is running. Written and cleared alongside `active_restore_job_id`.
1632
+ * Lets the lock self-expire: a lock older than the staleness threshold
1633
+ * (whose job never completed the sweep, e.g. the state machine was
1634
+ * aborted) is treated as stale so a new revert can proceed instead of
1635
+ * being blocked forever.
1636
+ *
1637
+ */
1638
+ active_restore_started_at?: string | null; // date-time
1573
1639
  created_at?: string; // date-time
1574
1640
  updated_at?: string; // date-time
1575
1641
  created_by?: CallerIdentity;
@@ -1805,6 +1871,28 @@ declare namespace Components {
1805
1871
  */
1806
1872
  ignored_resource_addresses?: string[];
1807
1873
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
1874
+ /**
1875
+ * ID of the restore (revert) job currently holding a lock on this
1876
+ * blueprint instance's resources, or null/absent when no revert is
1877
+ * running. Deliberately separate from `installation_status`: installs
1878
+ * and reverts stay decoupled, so a revert must not overwrite install
1879
+ * health — `installation_status` keeps reflecting the actual install
1880
+ * outcome (and drives the install badge in the Blueprints overview)
1881
+ * for the duration of the revert.
1882
+ *
1883
+ */
1884
+ active_restore_job_id?: string | null;
1885
+ /**
1886
+ * ISO timestamp of when the current restore lock
1887
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
1888
+ * is running. Written and cleared alongside `active_restore_job_id`.
1889
+ * Lets the lock self-expire: a lock older than the staleness threshold
1890
+ * (whose job never completed the sweep, e.g. the state machine was
1891
+ * aborted) is treated as stale so a new revert can proceed instead of
1892
+ * being blocked forever.
1893
+ *
1894
+ */
1895
+ active_restore_started_at?: string | null; // date-time
1808
1896
  created_at?: string; // date-time
1809
1897
  updated_at?: string; // date-time
1810
1898
  created_by?: CallerIdentity;
@@ -2086,6 +2174,28 @@ declare namespace Components {
2086
2174
  */
2087
2175
  ignored_resource_addresses?: string[];
2088
2176
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
2177
+ /**
2178
+ * ID of the restore (revert) job currently holding a lock on this
2179
+ * blueprint instance's resources, or null/absent when no revert is
2180
+ * running. Deliberately separate from `installation_status`: installs
2181
+ * and reverts stay decoupled, so a revert must not overwrite install
2182
+ * health — `installation_status` keeps reflecting the actual install
2183
+ * outcome (and drives the install badge in the Blueprints overview)
2184
+ * for the duration of the revert.
2185
+ *
2186
+ */
2187
+ active_restore_job_id?: string | null;
2188
+ /**
2189
+ * ISO timestamp of when the current restore lock
2190
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
2191
+ * is running. Written and cleared alongside `active_restore_job_id`.
2192
+ * Lets the lock self-expire: a lock older than the staleness threshold
2193
+ * (whose job never completed the sweep, e.g. the state machine was
2194
+ * aborted) is treated as stale so a new revert can proceed instead of
2195
+ * being blocked forever.
2196
+ *
2197
+ */
2198
+ active_restore_started_at?: string | null; // date-time
2089
2199
  created_at?: string; // date-time
2090
2200
  updated_at?: string; // date-time
2091
2201
  created_by?: CallerIdentity;
@@ -3005,6 +3115,28 @@ declare namespace Components {
3005
3115
  */
3006
3116
  ignored_resource_addresses?: string[];
3007
3117
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
3118
+ /**
3119
+ * ID of the restore (revert) job currently holding a lock on this
3120
+ * blueprint instance's resources, or null/absent when no revert is
3121
+ * running. Deliberately separate from `installation_status`: installs
3122
+ * and reverts stay decoupled, so a revert must not overwrite install
3123
+ * health — `installation_status` keeps reflecting the actual install
3124
+ * outcome (and drives the install badge in the Blueprints overview)
3125
+ * for the duration of the revert.
3126
+ *
3127
+ */
3128
+ active_restore_job_id?: string | null;
3129
+ /**
3130
+ * ISO timestamp of when the current restore lock
3131
+ * (`active_restore_job_id`) was acquired, or null/absent when no revert
3132
+ * is running. Written and cleared alongside `active_restore_job_id`.
3133
+ * Lets the lock self-expire: a lock older than the staleness threshold
3134
+ * (whose job never completed the sweep, e.g. the state machine was
3135
+ * aborted) is treated as stale so a new revert can proceed instead of
3136
+ * being blocked forever.
3137
+ *
3138
+ */
3139
+ active_restore_started_at?: string | null; // date-time
3008
3140
  created_at?: string; // date-time
3009
3141
  updated_at?: string; // date-time
3010
3142
  created_by?: CallerIdentity;
@@ -3327,7 +3459,7 @@ declare namespace Components {
3327
3459
  /**
3328
3460
  * Only set when `action == skip`.
3329
3461
  */
3330
- reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned";
3462
+ reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned" | "dependency_protected" | "already_deleted" | "non_revertible";
3331
3463
  /**
3332
3464
  * Only set when `reason == modified`. From the lineage row's last install write.
3333
3465
  */
@@ -3358,6 +3490,17 @@ declare namespace Components {
3358
3490
  blueprint_id: string;
3359
3491
  title?: string | null;
3360
3492
  }[];
3493
+ /**
3494
+ * Only set when `reason == dependency_protected`. The surviving
3495
+ * resource(s) whose 'hard' reference to this one is why it wasn't
3496
+ * deleted (e.g. a skipped Journey still triggering this Automation).
3497
+ *
3498
+ */
3499
+ protected_by?: {
3500
+ lineage_id: string;
3501
+ type: string;
3502
+ target_id?: string | null;
3503
+ }[];
3361
3504
  }
3362
3505
  export interface RootResourceNode {
3363
3506
  /**
@@ -3505,6 +3648,19 @@ declare namespace Components {
3505
3648
  status: "pending" | "in_progress" | "done" | "failed" | "skipped";
3506
3649
  target_id?: string;
3507
3650
  error_message?: string;
3651
+ /**
3652
+ * Stable machine code for a failed resource, when config-engine threw a
3653
+ * typed error. Keys a translation in the Blueprints UI; `error_message`
3654
+ * is the English fallback when absent or unrecognised.
3655
+ *
3656
+ */
3657
+ error_code?: string;
3658
+ /**
3659
+ * Interpolation values for the translated `error_code` message.
3660
+ */
3661
+ error_data?: {
3662
+ [name: string]: any;
3663
+ };
3508
3664
  }
3509
3665
  export interface VerificationSummary {
3510
3666
  total_resources?: number;
@@ -6095,8 +6251,14 @@ interface OperationMethods {
6095
6251
  * snapshot ids directly.
6096
6252
  *
6097
6253
  * Async — returns 202 with a job id. Poll the job to track progress.
6098
- * The per-instance lock (`installation_status === 'IN_PROGRESS'`)
6099
- * rejects concurrent installs or restores with 409.
6254
+ * The restore holds its own per-instance lock (`active_restore_job_id`),
6255
+ * separate from `installation_status`. Starting a restore is rejected with
6256
+ * 409 when another restore already holds that lock, or when an install is
6257
+ * running (`installation_status === 'IN_PROGRESS'`). Keeping the two locks
6258
+ * distinct keeps installs and reverts decoupled: an in-flight or failed
6259
+ * restore never overwrites `installation_status`, which keeps reflecting
6260
+ * the actual install outcome (and drives the install badge in the
6261
+ * Blueprints overview) throughout the revert.
6100
6262
  *
6101
6263
  */
6102
6264
  'restoreBlueprintDeploymentV3'(
@@ -7056,8 +7218,14 @@ interface PathsDictionary {
7056
7218
  * snapshot ids directly.
7057
7219
  *
7058
7220
  * Async — returns 202 with a job id. Poll the job to track progress.
7059
- * The per-instance lock (`installation_status === 'IN_PROGRESS'`)
7060
- * rejects concurrent installs or restores with 409.
7221
+ * The restore holds its own per-instance lock (`active_restore_job_id`),
7222
+ * separate from `installation_status`. Starting a restore is rejected with
7223
+ * 409 when another restore already holds that lock, or when an install is
7224
+ * running (`installation_status === 'IN_PROGRESS'`). Keeping the two locks
7225
+ * distinct keeps installs and reverts decoupled: an in-flight or failed
7226
+ * restore never overwrites `installation_status`, which keeps reflecting
7227
+ * the actual install outcome (and drives the install badge in the
7228
+ * Blueprints overview) throughout the revert.
7061
7229
  *
7062
7230
  */
7063
7231
  'post'(
@@ -37,11 +37,11 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
37
37
  "./docs/audit-logs.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-D2LFUA2R.cjs"))),
38
38
  "./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-ZF5ACFVW.cjs"))),
39
39
  "./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-MN36KAKQ.cjs"))),
40
- "./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-4DD7CUPX.cjs"))),
40
+ "./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-4IAJOK2O.cjs"))),
41
41
  "./docs/calendar.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-UADWQX7G.cjs"))),
42
42
  "./docs/configuration-hub.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-6TSL5AGX.cjs"))),
43
43
  "./docs/consent.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-CS2ZBZX4.cjs"))),
44
- "./docs/customer-portal.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./customer-portal-FOLTI3GK.cjs"))),
44
+ "./docs/customer-portal.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./customer-portal-FCUPDA7V.cjs"))),
45
45
  "./docs/dashboard.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./dashboard-7QJ46I7N.cjs"))),
46
46
  "./docs/data-governance.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./data-governance-2U5UU4GM.cjs"))),
47
47
  "./docs/deduplication.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./deduplication-FFW7L6P5.cjs"))),
@@ -37,11 +37,11 @@ var globImport_docs = __glob({
37
37
  "./docs/audit-logs.json": () => import("./audit-logs-5VXHOQ7S.js"),
38
38
  "./docs/automation.json": () => import("./automation-UP6J7QIK.js"),
39
39
  "./docs/billing.json": () => import("./billing-UAVEPNBZ.js"),
40
- "./docs/blueprint-manifest.json": () => import("./blueprint-manifest-IP2AU3F3.js"),
40
+ "./docs/blueprint-manifest.json": () => import("./blueprint-manifest-U6SC54EI.js"),
41
41
  "./docs/calendar.json": () => import("./calendar-2H4RGMV3.js"),
42
42
  "./docs/configuration-hub.json": () => import("./configuration-hub-ZYOLN7ZX.js"),
43
43
  "./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
44
- "./docs/customer-portal.json": () => import("./customer-portal-HQ3DJCGO.js"),
44
+ "./docs/customer-portal.json": () => import("./customer-portal-GRWXQYKT.js"),
45
45
  "./docs/dashboard.json": () => import("./dashboard-ILXUFFF2.js"),
46
46
  "./docs/data-governance.json": () => import("./data-governance-36Y33JVG.js"),
47
47
  "./docs/deduplication.json": () => import("./deduplication-JNS7SSUR.js"),