@epilot/sdk 2.18.26 → 2.18.28

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/integration-toolkit.json +27 -103
  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.js +1 -1
  31. package/dist/apis/dashboard.cjs +6 -6
  32. package/dist/apis/dashboard.js +1 -1
  33. package/dist/apis/data-governance.cjs +6 -6
  34. package/dist/apis/data-governance.js +1 -1
  35. package/dist/apis/deduplication.cjs +6 -6
  36. package/dist/apis/deduplication.js +1 -1
  37. package/dist/apis/design.cjs +6 -6
  38. package/dist/apis/design.js +1 -1
  39. package/dist/apis/document.cjs +6 -6
  40. package/dist/apis/document.js +1 -1
  41. package/dist/apis/email-settings.cjs +6 -6
  42. package/dist/apis/email-settings.js +1 -1
  43. package/dist/apis/email-template.cjs +6 -6
  44. package/dist/apis/email-template.js +1 -1
  45. package/dist/apis/entity-mapping.cjs +6 -6
  46. package/dist/apis/entity-mapping.js +1 -1
  47. package/dist/apis/entity.cjs +6 -6
  48. package/dist/apis/entity.js +1 -1
  49. package/dist/apis/environments.cjs +6 -6
  50. package/dist/apis/environments.js +1 -1
  51. package/dist/apis/event-catalog.cjs +6 -6
  52. package/dist/apis/event-catalog.js +1 -1
  53. package/dist/apis/file.cjs +6 -6
  54. package/dist/apis/file.js +1 -1
  55. package/dist/apis/iban.cjs +6 -6
  56. package/dist/apis/iban.js +1 -1
  57. package/dist/apis/integration-toolkit.cjs +6 -6
  58. package/dist/apis/integration-toolkit.d.cts +2 -2
  59. package/dist/apis/integration-toolkit.d.ts +2 -2
  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-5XEB5OBL.cjs → chunk-QNCPYVVS.cjs} +2 -2
  116. package/dist/{chunk-CYNIYYYS.js → chunk-R35ZKFN5.js} +2 -2
  117. package/dist/index.cjs +8 -8
  118. package/dist/index.d.cts +2 -2
  119. package/dist/index.d.ts +2 -2
  120. package/dist/index.js +1 -1
  121. package/dist/integration-toolkit-2WF2P4OX.cjs +7 -0
  122. package/dist/integration-toolkit-RDFELVKR.js +7 -0
  123. package/dist/{integration-toolkit.d-Dj-tULW0.d.cts → integration-toolkit.d-D8kNGpJq.d.cts} +282 -211
  124. package/dist/{integration-toolkit.d-Dj-tULW0.d.ts → integration-toolkit.d-D8kNGpJq.d.ts} +282 -211
  125. package/docs/blueprint-manifest.md +65 -19
  126. package/docs/integration-toolkit.md +100 -180
  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/integration-toolkit-LMRJVLJA.js +0 -7
  131. package/dist/integration-toolkit-YMVNGSQ5.cjs +0 -7
@@ -241,6 +241,8 @@ const { data } = await client.listBlueprints({
241
241
  "latest_verification": {},
242
242
  "ignored_resource_addresses": ["string"],
243
243
  "installation_status": "IN_PROGRESS",
244
+ "active_restore_job_id": "string",
245
+ "active_restore_started_at": "1970-01-01T00:00:00.000Z",
244
246
  "created_at": "1970-01-01T00:00:00.000Z",
245
247
  "updated_at": "1970-01-01T00:00:00.000Z",
246
248
  "created_by": {},
@@ -330,6 +332,8 @@ const { data } = await client.createBlueprint(
330
332
  },
331
333
  ignored_resource_addresses: ['string'],
332
334
  installation_status: 'IN_PROGRESS',
335
+ active_restore_job_id: 'string',
336
+ active_restore_started_at: '1970-01-01T00:00:00.000Z',
333
337
  created_at: '1970-01-01T00:00:00.000Z',
334
338
  updated_at: '1970-01-01T00:00:00.000Z',
335
339
  created_by: {
@@ -436,6 +440,8 @@ const { data } = await client.createBlueprint(
436
440
  },
437
441
  "ignored_resource_addresses": ["string"],
438
442
  "installation_status": "IN_PROGRESS",
443
+ "active_restore_job_id": "string",
444
+ "active_restore_started_at": "1970-01-01T00:00:00.000Z",
439
445
  "created_at": "1970-01-01T00:00:00.000Z",
440
446
  "updated_at": "1970-01-01T00:00:00.000Z",
441
447
  "created_by": {
@@ -744,6 +750,8 @@ const { data } = await client.getBlueprint({
744
750
  },
745
751
  "ignored_resource_addresses": ["string"],
746
752
  "installation_status": "IN_PROGRESS",
753
+ "active_restore_job_id": "string",
754
+ "active_restore_started_at": "1970-01-01T00:00:00.000Z",
747
755
  "created_at": "1970-01-01T00:00:00.000Z",
748
756
  "updated_at": "1970-01-01T00:00:00.000Z",
749
757
  "created_by": {
@@ -862,6 +870,8 @@ const { data } = await client.updateBlueprint(
862
870
  },
863
871
  ignored_resource_addresses: ['string'],
864
872
  installation_status: 'IN_PROGRESS',
873
+ active_restore_job_id: 'string',
874
+ active_restore_started_at: '1970-01-01T00:00:00.000Z',
865
875
  created_at: '1970-01-01T00:00:00.000Z',
866
876
  updated_at: '1970-01-01T00:00:00.000Z',
867
877
  created_by: {
@@ -968,6 +978,8 @@ const { data } = await client.updateBlueprint(
968
978
  },
969
979
  "ignored_resource_addresses": ["string"],
970
980
  "installation_status": "IN_PROGRESS",
981
+ "active_restore_job_id": "string",
982
+ "active_restore_started_at": "1970-01-01T00:00:00.000Z",
971
983
  "created_at": "1970-01-01T00:00:00.000Z",
972
984
  "updated_at": "1970-01-01T00:00:00.000Z",
973
985
  "created_by": {
@@ -1089,6 +1101,8 @@ const { data } = await client.deleteBlueprint({
1089
1101
  },
1090
1102
  "ignored_resource_addresses": ["string"],
1091
1103
  "installation_status": "IN_PROGRESS",
1104
+ "active_restore_job_id": "string",
1105
+ "active_restore_started_at": "1970-01-01T00:00:00.000Z",
1092
1106
  "created_at": "1970-01-01T00:00:00.000Z",
1093
1107
  "updated_at": "1970-01-01T00:00:00.000Z",
1094
1108
  "created_by": {
@@ -2035,7 +2049,9 @@ const { data } = await client.continueInstallationJob(
2035
2049
  "name": "string",
2036
2050
  "status": "pending",
2037
2051
  "target_id": "string",
2038
- "error_message": "string"
2052
+ "error_message": "string",
2053
+ "error_code": "string",
2054
+ "error_data": {}
2039
2055
  }
2040
2056
  ],
2041
2057
  "status": "IN_PROGRESS"
@@ -2854,6 +2870,13 @@ const { data } = await client.getRestorePreview({
2854
2870
  "blueprint_id": "string",
2855
2871
  "title": "string"
2856
2872
  }
2873
+ ],
2874
+ "protected_by": [
2875
+ {
2876
+ "lineage_id": "string",
2877
+ "type": "string",
2878
+ "target_id": "string"
2879
+ }
2857
2880
  ]
2858
2881
  }
2859
2882
  ],
@@ -3178,7 +3201,9 @@ const { data } = await client.listBulkInstallTargetsV3({
3178
3201
  "name": "string",
3179
3202
  "status": "pending",
3180
3203
  "target_id": "string",
3181
- "error_message": "string"
3204
+ "error_message": "string",
3205
+ "error_code": "string",
3206
+ "error_data": {}
3182
3207
  }
3183
3208
  ],
3184
3209
  "status": "IN_PROGRESS"
@@ -3281,7 +3306,9 @@ const { data } = await client.retryBulkInstallTargetV3(
3281
3306
  "name": "string",
3282
3307
  "status": "pending",
3283
3308
  "target_id": "string",
3284
- "error_message": "string"
3309
+ "error_message": "string",
3310
+ "error_code": "string",
3311
+ "error_data": {}
3285
3312
  }
3286
3313
  ],
3287
3314
  "status": "IN_PROGRESS"
@@ -3702,6 +3729,8 @@ type CommonBlueprintFields = {
3702
3729
  }
3703
3730
  ignored_resource_addresses?: string[]
3704
3731
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
3732
+ active_restore_job_id?: string
3733
+ active_restore_started_at?: string // date-time
3705
3734
  created_at?: string // date-time
3706
3735
  updated_at?: string // date-time
3707
3736
  created_by?: {
@@ -3919,6 +3948,8 @@ type CustomBlueprint = {
3919
3948
  }
3920
3949
  ignored_resource_addresses?: string[]
3921
3950
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
3951
+ active_restore_job_id?: string
3952
+ active_restore_started_at?: string // date-time
3922
3953
  created_at?: string // date-time
3923
3954
  updated_at?: string // date-time
3924
3955
  created_by?: {
@@ -3948,8 +3979,6 @@ type CustomBlueprint = {
3948
3979
  name?: string
3949
3980
  type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
3950
3981
  address?: string
3951
- is_root?: boolean
3952
- is_ready?: boolean
3953
3982
  // ...
3954
3983
  }
3955
3984
  ```
@@ -4026,6 +4055,8 @@ type FileBlueprint = {
4026
4055
  }
4027
4056
  ignored_resource_addresses?: string[]
4028
4057
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
4058
+ active_restore_job_id?: string
4059
+ active_restore_started_at?: string // date-time
4029
4060
  created_at?: string // date-time
4030
4061
  updated_at?: string // date-time
4031
4062
  created_by?: {
@@ -4055,8 +4086,6 @@ type FileBlueprint = {
4055
4086
  id: string
4056
4087
  name?: string
4057
4088
  type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
4058
- address?: string
4059
- is_root?: boolean
4060
4089
  // ...
4061
4090
  }
4062
4091
  ```
@@ -4133,6 +4162,8 @@ type MarketplaceBlueprint = {
4133
4162
  }
4134
4163
  ignored_resource_addresses?: string[]
4135
4164
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
4165
+ active_restore_job_id?: string
4166
+ active_restore_started_at?: string // date-time
4136
4167
  created_at?: string // date-time
4137
4168
  updated_at?: string // date-time
4138
4169
  created_by?: {
@@ -4162,8 +4193,6 @@ type MarketplaceBlueprint = {
4162
4193
  id: string
4163
4194
  name?: string
4164
4195
  type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
4165
- address?: string
4166
- is_root?: boolean
4167
4196
  // ...
4168
4197
  }
4169
4198
  ```
@@ -4269,6 +4298,8 @@ type DeployedBlueprint = {
4269
4298
  }
4270
4299
  ignored_resource_addresses?: string[]
4271
4300
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
4301
+ active_restore_job_id?: string
4302
+ active_restore_started_at?: string // date-time
4272
4303
  created_at?: string // date-time
4273
4304
  updated_at?: string // date-time
4274
4305
  created_by?: {
@@ -4298,8 +4329,6 @@ type DeployedBlueprint = {
4298
4329
  id: string
4299
4330
  name?: string
4300
4331
  type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
4301
- address?: string
4302
- is_root?: boolean
4303
4332
  // ...
4304
4333
  }
4305
4334
  ```
@@ -4376,6 +4405,8 @@ type AppBlueprint = {
4376
4405
  }
4377
4406
  ignored_resource_addresses?: string[]
4378
4407
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
4408
+ active_restore_job_id?: string
4409
+ active_restore_started_at?: string // date-time
4379
4410
  created_at?: string // date-time
4380
4411
  updated_at?: string // date-time
4381
4412
  created_by?: {
@@ -4405,8 +4436,6 @@ type AppBlueprint = {
4405
4436
  id: string
4406
4437
  name?: string
4407
4438
  type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
4408
- address?: string
4409
- is_root?: boolean
4410
4439
  // ...
4411
4440
  }
4412
4441
  ```
@@ -4483,6 +4512,8 @@ type Blueprint = {
4483
4512
  }
4484
4513
  ignored_resource_addresses?: string[]
4485
4514
  installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
4515
+ active_restore_job_id?: string
4516
+ active_restore_started_at?: string // date-time
4486
4517
  created_at?: string // date-time
4487
4518
  updated_at?: string // date-time
4488
4519
  created_by?: {
@@ -4512,8 +4543,6 @@ type Blueprint = {
4512
4543
  name?: string
4513
4544
  type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
4514
4545
  address?: string
4515
- is_root?: boolean
4516
- is_ready?: boolean
4517
4546
  // ...
4518
4547
  }
4519
4548
  ```
@@ -4637,6 +4666,8 @@ type BlueprintInstallationJob = {
4637
4666
  status: "pending" | "in_progress" | "done" | "failed" | "skipped"
4638
4667
  target_id?: string
4639
4668
  error_message?: string
4669
+ error_code?: string
4670
+ error_data?: Record<string, unknown>
4640
4671
  }>
4641
4672
  status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
4642
4673
  }
@@ -4746,6 +4777,8 @@ type BulkInstallTarget = {
4746
4777
  status: { ... }
4747
4778
  target_id?: { ... }
4748
4779
  error_message?: { ... }
4780
+ error_code?: { ... }
4781
+ error_data?: { ... }
4749
4782
  }>
4750
4783
  status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
4751
4784
  }
@@ -4864,6 +4897,7 @@ type BlueprintRestoreJob = {
4864
4897
  error_message?: { ... }
4865
4898
  is_hidden?: { ... }
4866
4899
  co_owned_by?: { ... }
4900
+ protected_by?: { ... }
4867
4901
  }>
4868
4902
  has_effective_changes?: boolean
4869
4903
  }
@@ -4881,6 +4915,8 @@ type V3ResourceProgressEntry = {
4881
4915
  status: "pending" | "in_progress" | "done" | "failed" | "skipped"
4882
4916
  target_id?: string
4883
4917
  error_message?: string
4918
+ error_code?: string
4919
+ error_data?: Record<string, unknown>
4884
4920
  }
4885
4921
  ```
4886
4922
 
@@ -4893,7 +4929,7 @@ type RestoreOutcomeItem = {
4893
4929
  name?: string
4894
4930
  target_id?: string
4895
4931
  action: "restore" | "delete" | "skip" | "failed"
4896
- reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned"
4932
+ reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned" | "dependency_protected" | "already_deleted" | "non_revertible"
4897
4933
  last_synced_at?: string // date-time
4898
4934
  current_updated_at?: string // date-time
4899
4935
  error_message?: string
@@ -4902,6 +4938,11 @@ type RestoreOutcomeItem = {
4902
4938
  blueprint_id: string
4903
4939
  title?: string
4904
4940
  }>
4941
+ protected_by?: Array<{
4942
+ lineage_id: string
4943
+ type: string
4944
+ target_id?: string
4945
+ }>
4905
4946
  }
4906
4947
  ```
4907
4948
 
@@ -5060,7 +5101,7 @@ type RestoreOutcome = {
5060
5101
  name?: string
5061
5102
  target_id?: string
5062
5103
  action: "restore" | "delete" | "skip" | "failed"
5063
- reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned"
5104
+ reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned" | "dependency_protected" | "already_deleted" | "non_revertible"
5064
5105
  last_synced_at?: string // date-time
5065
5106
  current_updated_at?: string // date-time
5066
5107
  error_message?: string
@@ -5069,6 +5110,11 @@ type RestoreOutcome = {
5069
5110
  blueprint_id: { ... }
5070
5111
  title?: { ... }
5071
5112
  }>
5113
+ protected_by?: Array<{
5114
+ lineage_id: { ... }
5115
+ type: { ... }
5116
+ target_id?: { ... }
5117
+ }>
5072
5118
  }>
5073
5119
  has_effective_changes?: boolean
5074
5120
  }
@@ -5149,6 +5195,8 @@ type BlueprintJob = {
5149
5195
  status: "pending" | "in_progress" | "done" | "failed" | "skipped"
5150
5196
  target_id?: string
5151
5197
  error_message?: string
5198
+ error_code?: string
5199
+ error_data?: Record<string, unknown>
5152
5200
  }>
5153
5201
  status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
5154
5202
  } | {
@@ -5175,8 +5223,6 @@ type BlueprintJob = {
5175
5223
  user_id?: string
5176
5224
  token_id?: string
5177
5225
  }
5178
- job_type?: "restore"
5179
- destination_blueprint_id?: string
5180
5226
  // ...
5181
5227
  }
5182
5228
  ```