@epilot/sdk 2.8.10 → 2.9.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.
Files changed (225) hide show
  1. package/README.md +0 -1
  2. package/definitions/access-token-runtime.json +1 -1
  3. package/definitions/access-token.json +1 -155
  4. package/definitions/automation.json +0 -120
  5. package/definitions/blueprint-manifest-runtime.json +1 -1
  6. package/definitions/blueprint-manifest.json +1 -571
  7. package/definitions/focus-pocus-runtime.json +1 -0
  8. package/definitions/focus-pocus.json +757 -0
  9. package/definitions/integration-toolkit.json +30 -5
  10. package/definitions/journey.json +2 -19
  11. package/definitions/targeting.json +4 -5
  12. package/definitions/user-runtime.json +1 -1
  13. package/definitions/user.json +0 -441
  14. package/dist/README-46VYEGGW.js +7 -0
  15. package/dist/README-IVBISSWB.cjs +7 -0
  16. package/dist/{_index-UY46ZN47.js → _index-5FB6F5YY.js} +0 -3
  17. package/dist/{_index-D5TTZP5F.cjs → _index-DB2VV4PQ.cjs} +1 -4
  18. package/dist/access-token-6BJDZSFE.cjs +7 -0
  19. package/dist/access-token-GSQZLDXR.js +7 -0
  20. package/dist/{access-token-runtime-2PSLN2U3.js → access-token-runtime-KCKGT4O7.js} +1 -1
  21. package/dist/{access-token-runtime-B6Z7JLUS.cjs → access-token-runtime-NZWZJPWV.cjs} +2 -2
  22. package/dist/{access-token.d-CegaQmrK.d.cts → access-token.d-CnmUTOlq.d.cts} +5 -165
  23. package/dist/{access-token.d-CegaQmrK.d.ts → access-token.d-CnmUTOlq.d.ts} +5 -165
  24. package/dist/{ai-agents.d-CC5IjXrs.d.ts → ai-agents.d-OkXfr2bz.d.cts} +2 -0
  25. package/dist/{ai-agents.d-CC5IjXrs.d.cts → ai-agents.d-OkXfr2bz.d.ts} +2 -0
  26. package/dist/apis/access-token.cjs +8 -8
  27. package/dist/apis/access-token.d.cts +2 -2
  28. package/dist/apis/access-token.d.ts +2 -2
  29. package/dist/apis/access-token.js +2 -2
  30. package/dist/apis/address-suggestions.cjs +6 -6
  31. package/dist/apis/address-suggestions.js +1 -1
  32. package/dist/apis/address.cjs +6 -6
  33. package/dist/apis/address.js +1 -1
  34. package/dist/apis/ai-agents.cjs +6 -6
  35. package/dist/apis/ai-agents.d.cts +2 -2
  36. package/dist/apis/ai-agents.d.ts +2 -2
  37. package/dist/apis/ai-agents.js +1 -1
  38. package/dist/apis/app.cjs +6 -6
  39. package/dist/apis/app.js +1 -1
  40. package/dist/apis/audit-logs.cjs +6 -6
  41. package/dist/apis/audit-logs.js +1 -1
  42. package/dist/apis/automation.cjs +6 -6
  43. package/dist/apis/automation.d.cts +2 -2
  44. package/dist/apis/automation.d.ts +2 -2
  45. package/dist/apis/automation.js +1 -1
  46. package/dist/apis/billing.cjs +6 -6
  47. package/dist/apis/billing.js +1 -1
  48. package/dist/apis/blueprint-manifest.cjs +8 -8
  49. package/dist/apis/blueprint-manifest.d.cts +2 -2
  50. package/dist/apis/blueprint-manifest.d.ts +2 -2
  51. package/dist/apis/blueprint-manifest.js +2 -2
  52. package/dist/apis/calendar.cjs +6 -6
  53. package/dist/apis/calendar.js +1 -1
  54. package/dist/apis/configuration-hub.cjs +6 -6
  55. package/dist/apis/configuration-hub.js +1 -1
  56. package/dist/apis/consent.cjs +6 -6
  57. package/dist/apis/consent.js +1 -1
  58. package/dist/apis/customer-portal.cjs +6 -6
  59. package/dist/apis/customer-portal.js +1 -1
  60. package/dist/apis/dashboard.cjs +6 -6
  61. package/dist/apis/dashboard.js +1 -1
  62. package/dist/apis/data-governance.cjs +6 -6
  63. package/dist/apis/data-governance.js +1 -1
  64. package/dist/apis/deduplication.cjs +6 -6
  65. package/dist/apis/deduplication.js +1 -1
  66. package/dist/apis/design.cjs +6 -6
  67. package/dist/apis/design.js +1 -1
  68. package/dist/apis/document.cjs +6 -6
  69. package/dist/apis/document.js +1 -1
  70. package/dist/apis/email-settings.cjs +6 -6
  71. package/dist/apis/email-settings.js +1 -1
  72. package/dist/apis/email-template.cjs +6 -6
  73. package/dist/apis/email-template.js +1 -1
  74. package/dist/apis/entity-mapping.cjs +6 -6
  75. package/dist/apis/entity-mapping.js +1 -1
  76. package/dist/apis/entity.cjs +6 -6
  77. package/dist/apis/entity.js +1 -1
  78. package/dist/apis/environments.cjs +6 -6
  79. package/dist/apis/environments.js +1 -1
  80. package/dist/apis/event-catalog.cjs +6 -6
  81. package/dist/apis/event-catalog.js +1 -1
  82. package/dist/apis/file.cjs +6 -6
  83. package/dist/apis/file.js +1 -1
  84. package/dist/apis/iban.cjs +6 -6
  85. package/dist/apis/iban.js +1 -1
  86. package/dist/apis/integration-toolkit.cjs +6 -6
  87. package/dist/apis/integration-toolkit.d.cts +2 -2
  88. package/dist/apis/integration-toolkit.d.ts +2 -2
  89. package/dist/apis/integration-toolkit.js +1 -1
  90. package/dist/apis/journey.cjs +6 -6
  91. package/dist/apis/journey.d.cts +2 -2
  92. package/dist/apis/journey.d.ts +2 -2
  93. package/dist/apis/journey.js +1 -1
  94. package/dist/apis/kanban.cjs +6 -6
  95. package/dist/apis/kanban.js +1 -1
  96. package/dist/apis/message.cjs +6 -6
  97. package/dist/apis/message.js +1 -1
  98. package/dist/apis/metering.cjs +6 -6
  99. package/dist/apis/metering.js +1 -1
  100. package/dist/apis/notes.cjs +6 -6
  101. package/dist/apis/notes.js +1 -1
  102. package/dist/apis/notification.cjs +6 -6
  103. package/dist/apis/notification.js +1 -1
  104. package/dist/apis/organization.cjs +6 -6
  105. package/dist/apis/organization.js +1 -1
  106. package/dist/apis/partner-directory.cjs +6 -6
  107. package/dist/apis/partner-directory.js +1 -1
  108. package/dist/apis/permissions.cjs +6 -6
  109. package/dist/apis/permissions.js +1 -1
  110. package/dist/apis/pricing-tier.cjs +6 -6
  111. package/dist/apis/pricing-tier.js +1 -1
  112. package/dist/apis/pricing.cjs +6 -6
  113. package/dist/apis/pricing.js +1 -1
  114. package/dist/apis/purpose.cjs +6 -6
  115. package/dist/apis/purpose.js +1 -1
  116. package/dist/apis/query.cjs +6 -6
  117. package/dist/apis/query.js +1 -1
  118. package/dist/apis/sandbox.cjs +6 -6
  119. package/dist/apis/sandbox.js +1 -1
  120. package/dist/apis/sharing.cjs +6 -6
  121. package/dist/apis/sharing.js +1 -1
  122. package/dist/apis/submission.cjs +6 -6
  123. package/dist/apis/submission.js +1 -1
  124. package/dist/apis/target.cjs +6 -6
  125. package/dist/apis/target.js +1 -1
  126. package/dist/apis/targeting.cjs +6 -6
  127. package/dist/apis/targeting.d.cts +2 -2
  128. package/dist/apis/targeting.d.ts +2 -2
  129. package/dist/apis/targeting.js +1 -1
  130. package/dist/apis/template-variables.cjs +6 -6
  131. package/dist/apis/template-variables.js +1 -1
  132. package/dist/apis/user.cjs +8 -8
  133. package/dist/apis/user.d.cts +2 -2
  134. package/dist/apis/user.d.ts +2 -2
  135. package/dist/apis/user.js +2 -2
  136. package/dist/apis/validation-rules.cjs +6 -6
  137. package/dist/apis/validation-rules.js +1 -1
  138. package/dist/apis/webhooks.cjs +6 -6
  139. package/dist/apis/webhooks.js +1 -1
  140. package/dist/apis/workflow-definition.cjs +6 -6
  141. package/dist/apis/workflow-definition.js +1 -1
  142. package/dist/apis/workflow.cjs +6 -6
  143. package/dist/apis/workflow.js +1 -1
  144. package/dist/automation-BMO7ZFTN.cjs +7 -0
  145. package/dist/automation-MEZTSUR3.js +7 -0
  146. package/dist/{automation.d-DS_YXDE8.d.cts → automation.d-Du6-uiz5.d.cts} +1 -300
  147. package/dist/{automation.d-DS_YXDE8.d.ts → automation.d-Du6-uiz5.d.ts} +1 -300
  148. package/dist/blueprint-manifest-6DEYW5MW.js +7 -0
  149. package/dist/blueprint-manifest-GCV7H74X.cjs +7 -0
  150. package/dist/{blueprint-manifest-runtime-WU5MWPVT.cjs → blueprint-manifest-runtime-EIDOROIQ.cjs} +2 -2
  151. package/dist/{blueprint-manifest-runtime-2344IUIE.js → blueprint-manifest-runtime-FRLU3ZSF.js} +1 -1
  152. package/dist/{blueprint-manifest.d-2-TORV8o.d.ts → blueprint-manifest.d-B8yDxagC.d.cts} +4 -926
  153. package/dist/{blueprint-manifest.d-2-TORV8o.d.cts → blueprint-manifest.d-B8yDxagC.d.ts} +4 -926
  154. package/dist/chunk-3XKBB5AE.js +14 -0
  155. package/dist/{chunk-UWGWRGGB.js → chunk-4YBWMDFP.js} +1 -1
  156. package/dist/{chunk-OMZ2LWNR.cjs → chunk-CULH5PIN.cjs} +12 -14
  157. package/dist/{chunk-T57MT6J5.cjs → chunk-NGHCQ2FA.cjs} +1 -1
  158. package/dist/{chunk-S5HBBTKM.cjs → chunk-OXJOO2YF.cjs} +1 -1
  159. package/dist/{chunk-H5BH4GQQ.js → chunk-RZ4ABDOF.js} +12 -14
  160. package/dist/{chunk-OHHHS4HH.js → chunk-XSE4CFSM.js} +1 -1
  161. package/dist/chunk-Z5TVWG3I.cjs +14 -0
  162. package/dist/index.cjs +16 -24
  163. package/dist/index.d.cts +22 -24
  164. package/dist/index.d.ts +22 -24
  165. package/dist/index.js +6 -14
  166. package/dist/integration-toolkit-334NGEOE.cjs +7 -0
  167. package/dist/integration-toolkit-5VCY6CUN.js +7 -0
  168. package/dist/{integration-toolkit.d-BW9RK5G-.d.cts → integration-toolkit.d-BSA9RRdq.d.cts} +22 -4
  169. package/dist/{integration-toolkit.d-BW9RK5G-.d.ts → integration-toolkit.d-BSA9RRdq.d.ts} +22 -4
  170. package/dist/journey-4DIIPRU4.js +7 -0
  171. package/dist/journey-ATC3Y5AW.cjs +7 -0
  172. package/dist/{journey.d-B1sOeMHw.d.cts → journey.d-BenIUWaO.d.cts} +3 -16
  173. package/dist/{journey.d-B1sOeMHw.d.ts → journey.d-BenIUWaO.d.ts} +3 -16
  174. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  175. package/dist/{targeting-WC62BBZN.cjs → targeting-DAFJBPIZ.cjs} +1 -1
  176. package/dist/{targeting-X4Y2ODBT.js → targeting-TGPCRRI6.js} +1 -1
  177. package/dist/{targeting.d-0rNF7ErD.d.cts → targeting.d-DxHQbn7-.d.cts} +4 -11
  178. package/dist/{targeting.d-0rNF7ErD.d.ts → targeting.d-DxHQbn7-.d.ts} +4 -11
  179. package/dist/user-7ZN2XO7G.cjs +7 -0
  180. package/dist/user-ZK7BK6VY.js +7 -0
  181. package/dist/user-runtime-7O2HLFVQ.cjs +5 -0
  182. package/dist/{user-runtime-6ICV2Y73.js → user-runtime-U4HYUWJU.js} +1 -1
  183. package/dist/{user.d-L-C7_K84.d.cts → user.d-D18fe97W.d.cts} +1 -421
  184. package/dist/{user.d-L-C7_K84.d.ts → user.d-D18fe97W.d.ts} +1 -421
  185. package/docs/access-token.md +3 -111
  186. package/docs/automation.md +37 -180
  187. package/docs/blueprint-manifest.md +95 -421
  188. package/docs/integration-toolkit.md +13 -0
  189. package/docs/journey.md +8 -28
  190. package/docs/targeting.md +3 -6
  191. package/docs/user.md +8 -321
  192. package/package.json +12 -20
  193. package/LICENSE +0 -21
  194. package/definitions/snapshot-runtime.json +0 -1
  195. package/definitions/snapshot.json +0 -966
  196. package/dist/README-NBWAQWQS.js +0 -7
  197. package/dist/README-XCIDDEAE.cjs +0 -7
  198. package/dist/access-token-GD6REL4U.js +0 -7
  199. package/dist/access-token-NQ5BLMOW.cjs +0 -7
  200. package/dist/apis/snapshot.cjs +0 -38
  201. package/dist/apis/snapshot.d.cts +0 -18
  202. package/dist/apis/snapshot.d.ts +0 -18
  203. package/dist/apis/snapshot.js +0 -38
  204. package/dist/automation-S6NFS5KU.cjs +0 -7
  205. package/dist/automation-W75XZG7B.js +0 -7
  206. package/dist/blueprint-manifest-WHYSBU66.cjs +0 -7
  207. package/dist/blueprint-manifest-WZVBTKUL.js +0 -7
  208. package/dist/chunk-54QNWEPZ.js +0 -14
  209. package/dist/chunk-NFIYEMMM.js +0 -14
  210. package/dist/chunk-OWXEZ56F.cjs +0 -14
  211. package/dist/chunk-YXJ4PBFQ.cjs +0 -14
  212. package/dist/integration-toolkit-27Z3VZBZ.cjs +0 -7
  213. package/dist/integration-toolkit-NRLZZFVS.js +0 -7
  214. package/dist/journey-LHVSSVTG.cjs +0 -7
  215. package/dist/journey-NXL264XW.js +0 -7
  216. package/dist/snapshot-HFVQTHYF.cjs +0 -7
  217. package/dist/snapshot-Y6A7QUYS.js +0 -7
  218. package/dist/snapshot-runtime-6DV42FVY.cjs +0 -5
  219. package/dist/snapshot-runtime-IW57MINC.js +0 -5
  220. package/dist/snapshot.d-CPTXg4xN.d.cts +0 -751
  221. package/dist/snapshot.d-CPTXg4xN.d.ts +0 -751
  222. package/dist/user-3SLAEEVD.cjs +0 -7
  223. package/dist/user-PRUYBXQV.js +0 -7
  224. package/dist/user-runtime-Y3227ETX.cjs +0 -5
  225. package/docs/snapshot.md +0 -654
@@ -41,10 +41,6 @@
41
41
  {
42
42
  "name": "Patches",
43
43
  "description": "Manage blueprint patches for mass rollouts"
44
- },
45
- {
46
- "name": "Uniqueness Criteria",
47
- "description": "Configure per-org field sets used to match existing resources during install"
48
44
  }
49
45
  ],
50
46
  "security": [
@@ -2968,118 +2964,6 @@
2968
2964
  }
2969
2965
  }
2970
2966
  },
2971
- "/v3/blueprint-manifest/blueprints/{blueprint_id}/deployments/{job_id}:restore": {
2972
- "post": {
2973
- "operationId": "restoreBlueprintDeploymentV3",
2974
- "summary": "Restore a specific deployment by job_id",
2975
- "description": "Roll a deployment back to its pre-install state. Two phases:\n\n 1. Upsert — re-applies the captured payloads via snapshot-api's\n `:restore` (server-side; runs config-engine.apply with captured\n target ids pre-seeded). Skipped for pure-create deployments\n whose snapshot was empty.\n 2. Delete sweep — for lineage rows of this blueprint instance not\n present in the snapshot's captured set, deletes the live\n resource via the type's adapter. Co-ownership / drift /\n no-delete-capability skip the entry with the corresponding\n reason.\n\nResolves `(blueprint_id, job_id)` to the entry in\n`Blueprint.deployments[]` and reads its `snapshot_id` and\n`destination_blueprint_id` — the caller never needs to handle\nsnapshot ids directly.\n\nAsync — returns 202 with a job id. Poll the job to track progress.\nThe per-instance lock (`installation_status === 'IN_PROGRESS'`)\nrejects concurrent installs or restores with 409.\n",
2976
- "tags": [
2977
- "Blueprints"
2978
- ],
2979
- "parameters": [
2980
- {
2981
- "in": "path",
2982
- "name": "blueprint_id",
2983
- "required": true,
2984
- "schema": {
2985
- "$ref": "#/components/schemas/BlueprintID"
2986
- }
2987
- },
2988
- {
2989
- "in": "path",
2990
- "name": "job_id",
2991
- "required": true,
2992
- "schema": {
2993
- "$ref": "#/components/schemas/BlueprintJobID"
2994
- }
2995
- }
2996
- ],
2997
- "responses": {
2998
- "202": {
2999
- "description": "Restore job started",
3000
- "headers": {
3001
- "Location": {
3002
- "description": "URL to poll the job",
3003
- "schema": {
3004
- "type": "string"
3005
- }
3006
- }
3007
- },
3008
- "content": {
3009
- "application/json": {
3010
- "schema": {
3011
- "type": "object",
3012
- "properties": {
3013
- "job_id": {
3014
- "$ref": "#/components/schemas/BlueprintJobID"
3015
- },
3016
- "blueprint_instance_id": {
3017
- "$ref": "#/components/schemas/BlueprintID"
3018
- },
3019
- "snapshot_id": {
3020
- "type": "string"
3021
- }
3022
- }
3023
- }
3024
- }
3025
- }
3026
- },
3027
- "400": {
3028
- "description": "Deployment has no snapshot, or the snapshot is not in a `completed` state."
3029
- },
3030
- "404": {
3031
- "description": "Blueprint not found, or no deployment with the given job_id on this blueprint."
3032
- },
3033
- "409": {
3034
- "description": "Another install or restore is in flight for this blueprint instance."
3035
- }
3036
- }
3037
- }
3038
- },
3039
- "/v3/blueprint-manifest/blueprints/{blueprint_id}/deployments/{job_id}/restore-preview": {
3040
- "get": {
3041
- "operationId": "getRestorePreview",
3042
- "summary": "Predicted outcome of reverting a deployment",
3043
- "description": "Computes what would happen if the user triggered a restore on this\ndeployment, without performing any writes. The forecast uses the\nsnapshot's captured resources (when present) plus the current lineage\nstate plus per-adapter gates (co-ownership, no-delete-capability,\nheuristic-match, drift when wired).\n\nIdempotent and side-effect free. Safe to call repeatedly. The result\nmay shift between calls if operators edit destination resources or\nanother blueprint adopts a shared resource in the meantime.\n",
3044
- "tags": [
3045
- "Blueprints"
3046
- ],
3047
- "parameters": [
3048
- {
3049
- "in": "path",
3050
- "name": "blueprint_id",
3051
- "required": true,
3052
- "schema": {
3053
- "$ref": "#/components/schemas/BlueprintID"
3054
- }
3055
- },
3056
- {
3057
- "in": "path",
3058
- "name": "job_id",
3059
- "required": true,
3060
- "description": "The install job whose deployment is being previewed.",
3061
- "schema": {
3062
- "$ref": "#/components/schemas/BlueprintJobID"
3063
- }
3064
- }
3065
- ],
3066
- "responses": {
3067
- "200": {
3068
- "description": "Predicted outcome. `failed`-action items are absent here — the\npreview can't forecast errors.\n",
3069
- "content": {
3070
- "application/json": {
3071
- "schema": {
3072
- "$ref": "#/components/schemas/RestoreOutcome"
3073
- }
3074
- }
3075
- }
3076
- },
3077
- "404": {
3078
- "description": "Blueprint or deployment not found."
3079
- }
3080
- }
3081
- }
3082
- },
3083
2967
  "/v3/blueprint-manifest/blueprints/{blueprint_id}/lineage": {
3084
2968
  "get": {
3085
2969
  "operationId": "getBlueprintLineageV3",
@@ -3122,184 +3006,10 @@
3122
3006
  }
3123
3007
  }
3124
3008
  }
3125
- },
3126
- "/v1/blueprint-manifest/uniqueness-criteria": {
3127
- "get": {
3128
- "operationId": "listUniquenessCriteria",
3129
- "summary": "listUniquenessCriteria",
3130
- "description": "List all custom uniqueness criteria configured for the caller's organization.\nThese overrides are applied during install (V2 and V3) when matching incoming\nresources against existing ones in the destination org, replacing the default\nper-resource-type field set with the caller's chosen fields (AND-combined).\n",
3131
- "tags": [
3132
- "Uniqueness Criteria"
3133
- ],
3134
- "responses": {
3135
- "200": {
3136
- "description": "All configured criteria for the org",
3137
- "content": {
3138
- "application/json": {
3139
- "schema": {
3140
- "type": "object",
3141
- "properties": {
3142
- "results": {
3143
- "type": "array",
3144
- "items": {
3145
- "$ref": "#/components/schemas/UniquenessCriteria"
3146
- }
3147
- }
3148
- }
3149
- }
3150
- }
3151
- }
3152
- }
3153
- }
3154
- }
3155
- },
3156
- "/v1/blueprint-manifest/uniqueness-criteria/{resource_type}": {
3157
- "parameters": [
3158
- {
3159
- "in": "path",
3160
- "required": true,
3161
- "name": "resource_type",
3162
- "schema": {
3163
- "$ref": "#/components/schemas/UniquenessCriteriaResourceType"
3164
- }
3165
- }
3166
- ],
3167
- "get": {
3168
- "operationId": "getUniquenessCriteria",
3169
- "summary": "getUniquenessCriteria",
3170
- "description": "Get the configured uniqueness criteria for a specific resource type, if any.",
3171
- "tags": [
3172
- "Uniqueness Criteria"
3173
- ],
3174
- "responses": {
3175
- "200": {
3176
- "description": "Configured criteria for the resource type",
3177
- "content": {
3178
- "application/json": {
3179
- "schema": {
3180
- "$ref": "#/components/schemas/UniquenessCriteria"
3181
- }
3182
- }
3183
- }
3184
- },
3185
- "404": {
3186
- "description": "No custom criteria configured (defaults will be used)"
3187
- }
3188
- }
3189
- },
3190
- "put": {
3191
- "operationId": "putUniquenessCriteria",
3192
- "summary": "putUniquenessCriteria",
3193
- "description": "Set or replace the uniqueness criteria for a resource type. The provided fields\nmust be valid attributes on the resource's schema (the UI typically loads the\nschema to populate options). All listed fields are AND-combined during matching.\n",
3194
- "tags": [
3195
- "Uniqueness Criteria"
3196
- ],
3197
- "requestBody": {
3198
- "required": true,
3199
- "content": {
3200
- "application/json": {
3201
- "schema": {
3202
- "type": "object",
3203
- "required": [
3204
- "fields"
3205
- ],
3206
- "properties": {
3207
- "fields": {
3208
- "type": "array",
3209
- "minItems": 1,
3210
- "items": {
3211
- "type": "string"
3212
- }
3213
- }
3214
- }
3215
- }
3216
- }
3217
- }
3218
- },
3219
- "responses": {
3220
- "200": {
3221
- "description": "Stored criteria",
3222
- "content": {
3223
- "application/json": {
3224
- "schema": {
3225
- "$ref": "#/components/schemas/UniquenessCriteria"
3226
- }
3227
- }
3228
- }
3229
- },
3230
- "400": {
3231
- "description": "Invalid resource type or field list"
3232
- }
3233
- }
3234
- },
3235
- "delete": {
3236
- "operationId": "deleteUniquenessCriteria",
3237
- "summary": "deleteUniquenessCriteria",
3238
- "description": "Remove the custom criteria for a resource type, reverting to the default fields.",
3239
- "tags": [
3240
- "Uniqueness Criteria"
3241
- ],
3242
- "responses": {
3243
- "204": {
3244
- "description": "Criteria deleted (defaults will be used)"
3245
- }
3246
- }
3247
- }
3248
3009
  }
3249
3010
  },
3250
3011
  "components": {
3251
3012
  "schemas": {
3252
- "UniquenessCriteriaResourceType": {
3253
- "type": "string",
3254
- "description": "Resource type for which custom uniqueness criteria can be configured.",
3255
- "enum": [
3256
- "emailtemplate",
3257
- "product",
3258
- "price",
3259
- "tax",
3260
- "coupon",
3261
- "product_recommendation",
3262
- "file",
3263
- "document_template",
3264
- "schema",
3265
- "taxonomy",
3266
- "notification_template",
3267
- "family",
3268
- "permission",
3269
- "journey"
3270
- ]
3271
- },
3272
- "UniquenessCriteria": {
3273
- "type": "object",
3274
- "required": [
3275
- "org_id",
3276
- "resource_type",
3277
- "fields",
3278
- "updated_at"
3279
- ],
3280
- "properties": {
3281
- "org_id": {
3282
- "type": "string"
3283
- },
3284
- "resource_type": {
3285
- "$ref": "#/components/schemas/UniquenessCriteriaResourceType"
3286
- },
3287
- "fields": {
3288
- "type": "array",
3289
- "minItems": 1,
3290
- "items": {
3291
- "type": "string"
3292
- }
3293
- },
3294
- "updated_at": {
3295
- "type": "string",
3296
- "format": "date-time"
3297
- },
3298
- "updated_by": {
3299
- "type": "string"
3300
- }
3301
- }
3302
- },
3303
3013
  "LineageEntry": {
3304
3014
  "type": "object",
3305
3015
  "properties": {
@@ -3582,104 +3292,6 @@
3582
3292
  "PARTIAL_SUCCESS",
3583
3293
  "FAILED"
3584
3294
  ]
3585
- },
3586
- "restore_details": {
3587
- "type": "object",
3588
- "description": "Restore lifecycle metadata for this deployment.",
3589
- "properties": {
3590
- "has_revertible_changes": {
3591
- "type": "boolean",
3592
- "description": "Whether this sync changed destination resources in a way that can\nbe reverted. `false` means the sync completed without create,\nupdate, internal-update, or delete impacts, so there is no revert\naction to offer.\n"
3593
- },
3594
- "resource_impact_summary": {
3595
- "type": "object",
3596
- "description": "Counts of resource impact values from the V3 apply result.",
3597
- "properties": {
3598
- "create": {
3599
- "type": "integer",
3600
- "minimum": 0
3601
- },
3602
- "update": {
3603
- "type": "integer",
3604
- "minimum": 0
3605
- },
3606
- "internal_update": {
3607
- "type": "integer",
3608
- "minimum": 0
3609
- },
3610
- "delete": {
3611
- "type": "integer",
3612
- "minimum": 0
3613
- },
3614
- "no_op": {
3615
- "type": "integer",
3616
- "minimum": 0
3617
- },
3618
- "ignored": {
3619
- "type": "integer",
3620
- "minimum": 0
3621
- }
3622
- }
3623
- },
3624
- "last_restore_job_id": {
3625
- "type": "string",
3626
- "description": "BlueprintInstallationJob id of the most recent restore that ran\nagainst this deployment. Used by the FE to keep the restore-status\nbadge visible across page reloads. Frontends poll this job to\nrender the latest restore outcome.\n"
3627
- },
3628
- "last_restore_at": {
3629
- "type": "string",
3630
- "format": "date-time",
3631
- "description": "Timestamp of the most recent restore that ran against this\ndeployment. Stamped when the restore sweep finishes. Used by the\nFE to show when a sync was reverted.\n"
3632
- },
3633
- "last_restored_by": {
3634
- "type": "object",
3635
- "description": "Identity of the caller who triggered the most recent restore.\nStamped when the restore sweep finishes. Used by the FE to show\nwho reverted a sync.\n",
3636
- "properties": {
3637
- "name": {
3638
- "type": "string",
3639
- "description": "Display name (email or token name) of the restorer."
3640
- },
3641
- "user_id": {
3642
- "type": "string",
3643
- "description": "User id of the restorer, when triggered by a user."
3644
- }
3645
- }
3646
- },
3647
- "status": {
3648
- "type": "string",
3649
- "description": "Computed server-side from `(job_id, restore_details.last_restore_job_id, installation_status)`.\n`available` when the deployment is restorable but has no prior\nrestore (including pure-create deployments without `snapshot_id`,\nreverted via sweep-only);\n`in_progress` while an install or restore is running on this\nblueprint instance;\n`restored` / `partially_restored` / `restore_failed` reflect the\nterminal status of the job referenced by `last_restore_job_id`;\n`unavailable` means there is no revert action, for example\nmalformed deployment rows missing `job_id` or no-change syncs.\n",
3650
- "enum": [
3651
- "available",
3652
- "in_progress",
3653
- "restored",
3654
- "partially_restored",
3655
- "restore_failed",
3656
- "unavailable"
3657
- ]
3658
- }
3659
- }
3660
- },
3661
- "has_revertible_changes": {
3662
- "type": "boolean",
3663
- "deprecated": true,
3664
- "description": "Deprecated. Use `restore_details.has_revertible_changes`.\n"
3665
- },
3666
- "last_restore_job_id": {
3667
- "type": "string",
3668
- "deprecated": true,
3669
- "description": "Deprecated. Use `restore_details.last_restore_job_id`.\n"
3670
- },
3671
- "restore_status": {
3672
- "type": "string",
3673
- "deprecated": true,
3674
- "description": "Deprecated. Use `restore_details.status`.\n",
3675
- "enum": [
3676
- "available",
3677
- "in_progress",
3678
- "restored",
3679
- "partially_restored",
3680
- "restore_failed",
3681
- "unavailable"
3682
- ]
3683
3295
  }
3684
3296
  }
3685
3297
  }
@@ -4272,12 +3884,6 @@
4272
3884
  {
4273
3885
  "type": "object",
4274
3886
  "properties": {
4275
- "job_type": {
4276
- "type": "string",
4277
- "enum": [
4278
- "export"
4279
- ]
4280
- },
4281
3887
  "blueprint_id": {
4282
3888
  "$ref": "#/components/schemas/BlueprintID"
4283
3889
  },
@@ -4305,12 +3911,6 @@
4305
3911
  {
4306
3912
  "type": "object",
4307
3913
  "properties": {
4308
- "job_type": {
4309
- "type": "string",
4310
- "enum": [
4311
- "install"
4312
- ]
4313
- },
4314
3914
  "source_blueprint_id": {
4315
3915
  "$ref": "#/components/schemas/BlueprintID"
4316
3916
  },
@@ -4370,64 +3970,6 @@
4370
3970
  }
4371
3971
  ]
4372
3972
  },
4373
- "BlueprintRestoreJob": {
4374
- "allOf": [
4375
- {
4376
- "$ref": "#/components/schemas/CommonBlueprintJobFields"
4377
- },
4378
- {
4379
- "type": "object",
4380
- "properties": {
4381
- "job_type": {
4382
- "type": "string",
4383
- "enum": [
4384
- "restore"
4385
- ]
4386
- },
4387
- "destination_blueprint_id": {
4388
- "$ref": "#/components/schemas/BlueprintID"
4389
- },
4390
- "destination_org_id": {
4391
- "type": "string"
4392
- },
4393
- "install_job_id": {
4394
- "type": "string",
4395
- "nullable": true,
4396
- "description": "The install job whose deployment is being reverted. Maps back\nto the entry in `Blueprint.deployments[]`.\n"
4397
- },
4398
- "snapshot_id": {
4399
- "type": "string",
4400
- "nullable": true,
4401
- "description": "The snapshot driving Phase 1 of the restore. Null for sweep-only\nrestores (pure-create deployments with no captured manifest).\n"
4402
- },
4403
- "sync_engine": {
4404
- "type": "string",
4405
- "enum": [
4406
- "v3"
4407
- ]
4408
- },
4409
- "status": {
4410
- "type": "string",
4411
- "enum": [
4412
- "IN_PROGRESS",
4413
- "SUCCESS",
4414
- "PARTIAL_SUCCESS",
4415
- "FAILED"
4416
- ]
4417
- },
4418
- "restore_result": {
4419
- "nullable": true,
4420
- "description": "Absent while the job is still IN_PROGRESS.",
4421
- "allOf": [
4422
- {
4423
- "$ref": "#/components/schemas/RestoreOutcome"
4424
- }
4425
- ]
4426
- }
4427
- }
4428
- }
4429
- ]
4430
- },
4431
3973
  "V3ResourceProgressEntry": {
4432
3974
  "type": "object",
4433
3975
  "required": [
@@ -4467,84 +4009,6 @@
4467
4009
  }
4468
4010
  }
4469
4011
  },
4470
- "RestoreOutcomeItem": {
4471
- "type": "object",
4472
- "required": [
4473
- "lineage_id",
4474
- "type",
4475
- "action"
4476
- ],
4477
- "properties": {
4478
- "lineage_id": {
4479
- "type": "string"
4480
- },
4481
- "type": {
4482
- "type": "string"
4483
- },
4484
- "name": {
4485
- "type": "string",
4486
- "nullable": true
4487
- },
4488
- "target_id": {
4489
- "type": "string",
4490
- "nullable": true
4491
- },
4492
- "action": {
4493
- "type": "string",
4494
- "description": "On `restore-preview`: the action the restore would take.\nOn `restore_result`: the action that was applied.\n`failed` only appears on `restore_result`.\n",
4495
- "enum": [
4496
- "restore",
4497
- "delete",
4498
- "skip",
4499
- "failed"
4500
- ]
4501
- },
4502
- "reason": {
4503
- "type": "string",
4504
- "nullable": true,
4505
- "description": "Only set when `action == skip`.",
4506
- "enum": [
4507
- "modified",
4508
- "co_owned",
4509
- "delete_unsupported",
4510
- "heuristic_match"
4511
- ]
4512
- },
4513
- "last_synced_at": {
4514
- "type": "string",
4515
- "format": "date-time",
4516
- "nullable": true,
4517
- "description": "Only set when `reason == modified`. From the lineage row's last install write."
4518
- },
4519
- "current_updated_at": {
4520
- "type": "string",
4521
- "format": "date-time",
4522
- "nullable": true,
4523
- "description": "Only set when `reason == modified`. From the destination resource's current state."
4524
- },
4525
- "error_message": {
4526
- "type": "string",
4527
- "nullable": true,
4528
- "description": "Only set when `action == failed`."
4529
- }
4530
- }
4531
- },
4532
- "RestoreOutcome": {
4533
- "type": "object",
4534
- "properties": {
4535
- "snapshot_id": {
4536
- "type": "string",
4537
- "nullable": true,
4538
- "description": "The snapshot driving Phase 1 of the restore. Null/absent for\nsweep-only restores (pure-create deployments with no captured\nmanifest).\n"
4539
- },
4540
- "resources": {
4541
- "type": "array",
4542
- "items": {
4543
- "$ref": "#/components/schemas/RestoreOutcomeItem"
4544
- }
4545
- }
4546
- }
4547
- },
4548
4012
  "BlueprintJob": {
4549
4013
  "oneOf": [
4550
4014
  {
@@ -4553,9 +4017,6 @@
4553
4017
  {
4554
4018
  "$ref": "#/components/schemas/BlueprintInstallationJob"
4555
4019
  },
4556
- {
4557
- "$ref": "#/components/schemas/BlueprintRestoreJob"
4558
- },
4559
4020
  {
4560
4021
  "$ref": "#/components/schemas/BlueprintDependenciesSyncJob"
4561
4022
  },
@@ -4565,18 +4026,7 @@
4565
4026
  {
4566
4027
  "$ref": "#/components/schemas/BlueprintVerificationJob"
4567
4028
  }
4568
- ],
4569
- "discriminator": {
4570
- "propertyName": "job_type",
4571
- "mapping": {
4572
- "export": "#/components/schemas/BlueprintExportJob",
4573
- "install": "#/components/schemas/BlueprintInstallationJob",
4574
- "restore": "#/components/schemas/BlueprintRestoreJob",
4575
- "dependencies_sync": "#/components/schemas/BlueprintDependenciesSyncJob",
4576
- "validate": "#/components/schemas/BlueprintValidateJob",
4577
- "verification": "#/components/schemas/BlueprintVerificationJob"
4578
- }
4579
- }
4029
+ ]
4580
4030
  },
4581
4031
  "BlueprintDependenciesSyncJob": {
4582
4032
  "allOf": [
@@ -4586,12 +4036,6 @@
4586
4036
  {
4587
4037
  "type": "object",
4588
4038
  "properties": {
4589
- "job_type": {
4590
- "type": "string",
4591
- "enum": [
4592
- "dependencies_sync"
4593
- ]
4594
- },
4595
4039
  "blueprint_id": {
4596
4040
  "$ref": "#/components/schemas/BlueprintID"
4597
4041
  },
@@ -4616,12 +4060,6 @@
4616
4060
  {
4617
4061
  "type": "object",
4618
4062
  "properties": {
4619
- "job_type": {
4620
- "type": "string",
4621
- "enum": [
4622
- "validate"
4623
- ]
4624
- },
4625
4063
  "blueprint_id": {
4626
4064
  "$ref": "#/components/schemas/BlueprintID"
4627
4065
  },
@@ -4656,12 +4094,6 @@
4656
4094
  {
4657
4095
  "type": "object",
4658
4096
  "properties": {
4659
- "job_type": {
4660
- "type": "string",
4661
- "enum": [
4662
- "verification"
4663
- ]
4664
- },
4665
4097
  "source_org_id": {
4666
4098
  "type": "string"
4667
4099
  },
@@ -4679,7 +4111,6 @@
4679
4111
  "enum": [
4680
4112
  "IN_PROGRESS",
4681
4113
  "SUCCESS",
4682
- "PARTIAL_SUCCESS",
4683
4114
  "FAILED"
4684
4115
  ]
4685
4116
  },
@@ -4711,7 +4142,6 @@
4711
4142
  "enum": [
4712
4143
  "IN_PROGRESS",
4713
4144
  "SUCCESS",
4714
- "PARTIAL_SUCCESS",
4715
4145
  "FAILED"
4716
4146
  ]
4717
4147
  },
@@ -0,0 +1 @@
1
+ {"s":"https://focus-pocus.dev.sls.epilot.io","o":[["getHealth","get","/v1/health"],["listAchievements","get","/v1/achievements"],["getAchievement","get","/v1/achievements/{id}",[["AchievementOrChallengeId"]]],["getSuggestedChallenge","get","/v1/challenges/suggest",[["route","q"],["entity_type","q"],["category_hint","q"]]],["acceptChallenge","post","/v1/challenges/{id}/accept",[["ChallengeId"]]],["dismissChallenge","post","/v1/challenges/{id}/dismiss",[["ChallengeId"]]],["listActiveChallenges","get","/v1/challenges/active"],["postEvent","post","/v1/events",null,1]],"v":"3.0.3","cp":{"AchievementId":["id","p",true],"AchievementOrChallengeId":["id","p",true],"ChallengeId":["id","p",true],"Cursor":["cursor","q"],"Size":["size","q"]}}