@epilot/sdk 2.18.16 → 2.18.18

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 (138) hide show
  1. package/definitions/app.json +34 -17
  2. package/definitions/configuration-hub-runtime.json +1 -1
  3. package/definitions/configuration-hub.json +1064 -48
  4. package/dist/apis/access-token.cjs +6 -6
  5. package/dist/apis/access-token.js +1 -1
  6. package/dist/apis/address-suggestions.cjs +6 -6
  7. package/dist/apis/address-suggestions.js +1 -1
  8. package/dist/apis/address.cjs +6 -6
  9. package/dist/apis/address.js +1 -1
  10. package/dist/apis/ai-agents.cjs +6 -6
  11. package/dist/apis/ai-agents.js +1 -1
  12. package/dist/apis/app.cjs +6 -6
  13. package/dist/apis/app.d.cts +2 -2
  14. package/dist/apis/app.d.ts +2 -2
  15. package/dist/apis/app.js +1 -1
  16. package/dist/apis/audit-logs.cjs +6 -6
  17. package/dist/apis/audit-logs.js +1 -1
  18. package/dist/apis/automation.cjs +6 -6
  19. package/dist/apis/automation.js +1 -1
  20. package/dist/apis/billing.cjs +6 -6
  21. package/dist/apis/billing.js +1 -1
  22. package/dist/apis/blueprint-manifest.cjs +6 -6
  23. package/dist/apis/blueprint-manifest.js +1 -1
  24. package/dist/apis/calendar.cjs +6 -6
  25. package/dist/apis/calendar.js +1 -1
  26. package/dist/apis/configuration-hub.cjs +8 -8
  27. package/dist/apis/configuration-hub.d.cts +2 -2
  28. package/dist/apis/configuration-hub.d.ts +2 -2
  29. package/dist/apis/configuration-hub.js +2 -2
  30. package/dist/apis/consent.cjs +6 -6
  31. package/dist/apis/consent.js +1 -1
  32. package/dist/apis/customer-portal.cjs +6 -6
  33. package/dist/apis/customer-portal.js +1 -1
  34. package/dist/apis/dashboard.cjs +6 -6
  35. package/dist/apis/dashboard.js +1 -1
  36. package/dist/apis/data-governance.cjs +6 -6
  37. package/dist/apis/data-governance.js +1 -1
  38. package/dist/apis/deduplication.cjs +6 -6
  39. package/dist/apis/deduplication.js +1 -1
  40. package/dist/apis/design.cjs +6 -6
  41. package/dist/apis/design.js +1 -1
  42. package/dist/apis/document.cjs +6 -6
  43. package/dist/apis/document.js +1 -1
  44. package/dist/apis/email-settings.cjs +6 -6
  45. package/dist/apis/email-settings.js +1 -1
  46. package/dist/apis/email-template.cjs +6 -6
  47. package/dist/apis/email-template.js +1 -1
  48. package/dist/apis/entity-mapping.cjs +6 -6
  49. package/dist/apis/entity-mapping.js +1 -1
  50. package/dist/apis/entity.cjs +6 -6
  51. package/dist/apis/entity.js +1 -1
  52. package/dist/apis/environments.cjs +6 -6
  53. package/dist/apis/environments.js +1 -1
  54. package/dist/apis/event-catalog.cjs +6 -6
  55. package/dist/apis/event-catalog.js +1 -1
  56. package/dist/apis/file.cjs +6 -6
  57. package/dist/apis/file.js +1 -1
  58. package/dist/apis/iban.cjs +6 -6
  59. package/dist/apis/iban.js +1 -1
  60. package/dist/apis/integration-toolkit.cjs +6 -6
  61. package/dist/apis/integration-toolkit.js +1 -1
  62. package/dist/apis/journey.cjs +6 -6
  63. package/dist/apis/journey.js +1 -1
  64. package/dist/apis/kanban.cjs +6 -6
  65. package/dist/apis/kanban.js +1 -1
  66. package/dist/apis/message.cjs +6 -6
  67. package/dist/apis/message.js +1 -1
  68. package/dist/apis/metering.cjs +6 -6
  69. package/dist/apis/metering.js +1 -1
  70. package/dist/apis/notes.cjs +6 -6
  71. package/dist/apis/notes.js +1 -1
  72. package/dist/apis/notification.cjs +6 -6
  73. package/dist/apis/notification.js +1 -1
  74. package/dist/apis/organization.cjs +6 -6
  75. package/dist/apis/organization.js +1 -1
  76. package/dist/apis/partner-directory.cjs +6 -6
  77. package/dist/apis/partner-directory.js +1 -1
  78. package/dist/apis/permissions.cjs +6 -6
  79. package/dist/apis/permissions.js +1 -1
  80. package/dist/apis/pricing-tier.cjs +6 -6
  81. package/dist/apis/pricing-tier.js +1 -1
  82. package/dist/apis/pricing.cjs +6 -6
  83. package/dist/apis/pricing.js +1 -1
  84. package/dist/apis/purpose.cjs +6 -6
  85. package/dist/apis/purpose.js +1 -1
  86. package/dist/apis/query.cjs +6 -6
  87. package/dist/apis/query.js +1 -1
  88. package/dist/apis/sandbox.cjs +6 -6
  89. package/dist/apis/sandbox.js +1 -1
  90. package/dist/apis/sharing.cjs +6 -6
  91. package/dist/apis/sharing.js +1 -1
  92. package/dist/apis/snapshot.cjs +6 -6
  93. package/dist/apis/snapshot.js +1 -1
  94. package/dist/apis/submission.cjs +6 -6
  95. package/dist/apis/submission.js +1 -1
  96. package/dist/apis/target.cjs +6 -6
  97. package/dist/apis/target.js +1 -1
  98. package/dist/apis/targeting.cjs +6 -6
  99. package/dist/apis/targeting.js +1 -1
  100. package/dist/apis/template-variables.cjs +6 -6
  101. package/dist/apis/template-variables.js +1 -1
  102. package/dist/apis/user.cjs +6 -6
  103. package/dist/apis/user.js +1 -1
  104. package/dist/apis/validation-rules.cjs +6 -6
  105. package/dist/apis/validation-rules.js +1 -1
  106. package/dist/apis/webhooks.cjs +6 -6
  107. package/dist/apis/webhooks.js +1 -1
  108. package/dist/apis/workflow-definition.cjs +6 -6
  109. package/dist/apis/workflow-definition.js +1 -1
  110. package/dist/apis/workflow.cjs +6 -6
  111. package/dist/apis/workflow.js +1 -1
  112. package/dist/app-IXCUVIHD.js +7 -0
  113. package/dist/app-RKHOTF7Z.cjs +7 -0
  114. package/dist/{app.d-vPrbhe5h.d.cts → app.d-CZDjyxee.d.cts} +22 -15
  115. package/dist/{app.d-vPrbhe5h.d.ts → app.d-CZDjyxee.d.ts} +22 -15
  116. package/dist/chunk-2674L26S.cjs +14 -0
  117. package/dist/{chunk-WCFT56OJ.cjs → chunk-GZMYWGJR.cjs} +3 -3
  118. package/dist/chunk-TH4IM6Q6.js +14 -0
  119. package/dist/{chunk-S7LXTIGZ.js → chunk-WCF2QVZE.js} +3 -3
  120. package/dist/configuration-hub-6TSL5AGX.cjs +7 -0
  121. package/dist/configuration-hub-ZYOLN7ZX.js +7 -0
  122. package/dist/{configuration-hub-runtime-QVLJKEZD.cjs → configuration-hub-runtime-3RFJBODE.cjs} +2 -2
  123. package/dist/{configuration-hub-runtime-CXME7TCX.js → configuration-hub-runtime-EG2OIBXX.js} +1 -1
  124. package/dist/{configuration-hub.d-CbSJDa7k.d.cts → configuration-hub.d-Dv41yC3b.d.cts} +929 -84
  125. package/dist/{configuration-hub.d-CbSJDa7k.d.ts → configuration-hub.d-Dv41yC3b.d.ts} +929 -84
  126. package/dist/index.cjs +10 -10
  127. package/dist/index.d.cts +2 -2
  128. package/dist/index.d.ts +2 -2
  129. package/dist/index.js +2 -2
  130. package/docs/app.md +43 -88
  131. package/docs/configuration-hub.md +967 -40
  132. package/package.json +1 -1
  133. package/dist/app-A7P5LKNL.cjs +0 -7
  134. package/dist/app-EEEBOCVZ.js +0 -7
  135. package/dist/chunk-MOLFG5L4.cjs +0 -14
  136. package/dist/chunk-WW6DVKJR.js +0 -14
  137. package/dist/configuration-hub-E7S4JB2T.js +0 -7
  138. package/dist/configuration-hub-Q5JBYB52.cjs +0 -7
@@ -891,7 +891,7 @@ declare namespace Components {
891
891
  export interface CustomFlowActionComponent {
892
892
  component_type: "CUSTOM_FLOW_ACTION";
893
893
  configuration: /**
894
- * Configuration of an external-integration flow action. Sandboxed code belongs in the app's `functions` (type `workflow`) instead — workflow functions are selectable directly in the flow builder without a component.
894
+ * Configuration of a flow action component. `external_integration` calls an external HTTP endpoint; `function` runs a workflow-type app function in the epilot sandbox.
895
895
  *
896
896
  */
897
897
  CustomFlowConfig;
@@ -900,14 +900,14 @@ declare namespace Components {
900
900
  };
901
901
  }
902
902
  /**
903
- * Configuration of an external-integration flow action. Sandboxed code belongs in the app's `functions` (type `workflow`) instead — workflow functions are selectable directly in the flow builder without a component.
903
+ * Configuration of a flow action component. `external_integration` calls an external HTTP endpoint; `function` runs a workflow-type app function in the epilot sandbox.
904
904
  *
905
905
  */
906
906
  export type CustomFlowConfig = /**
907
- * Configuration of an external-integration flow action. Sandboxed code belongs in the app's `functions` (type `workflow`) instead — workflow functions are selectable directly in the flow builder without a component.
907
+ * Configuration of a flow action component. `external_integration` calls an external HTTP endpoint; `function` runs a workflow-type app function in the epilot sandbox.
908
908
  *
909
909
  */
910
- ExternalIntegrationCustomActionConfig;
910
+ ExternalIntegrationCustomActionConfig | FunctionRefCustomActionConfig;
911
911
  export interface CustomPageComponent {
912
912
  component_type: "CUSTOM_PAGE";
913
913
  configuration: CustomPageConfig;
@@ -1219,13 +1219,10 @@ declare namespace Components {
1219
1219
  */
1220
1220
  name: string; // ^[a-z0-9][a-z0-9-]{0,63}$
1221
1221
  /**
1222
- * Where the function can be used. `workflow` functions are selectable as actions in the flow builder and run with entity context. `scheduled` functions run automatically per installation on their cron schedule.
1222
+ * Where the function can be used. `workflow` functions are referenced by CUSTOM_FLOW_ACTION components (type `function`) and run with entity context. `scheduled` functions run automatically per installation on their cron schedule.
1223
1223
  *
1224
1224
  */
1225
1225
  type: "workflow" | "scheduled";
1226
- /**
1227
- * Human-readable display name, e.g. shown in the flow builder action picker
1228
- */
1229
1226
  label?: {
1230
1227
  /**
1231
1228
  * English translation
@@ -1274,17 +1271,26 @@ declare namespace Components {
1274
1271
  *
1275
1272
  */
1276
1273
  secrets?: string[];
1274
+ }
1275
+ export interface FunctionRefCustomActionConfig {
1277
1276
  /**
1278
- * Workflow functions only — wait for the callback_url to be called before completing the flow action
1279
- *
1277
+ * Name of the custom action
1278
+ */
1279
+ name?: string;
1280
+ /**
1281
+ * Description of the custom action
1282
+ */
1283
+ description?: string;
1284
+ /**
1285
+ * Wait for callback_url to be called before completing the action
1280
1286
  */
1281
1287
  wait_for_callback?: boolean;
1288
+ type: "function";
1282
1289
  /**
1283
- * Workflow functions only optional custom config UI shown in the flow builder
1290
+ * Name of a `workflow`-type function of the same app version. The component provides the org-facing contract (name, options, config surface); the referenced function provides the code.
1291
+ *
1284
1292
  */
1285
- surfaces?: {
1286
- flow_action_config?: AppBridgeSurfaceConfig;
1287
- };
1293
+ function_name: string;
1288
1294
  }
1289
1295
  /**
1290
1296
  * Required grants for the app in order to call APIs for the installing tenant
@@ -4356,6 +4362,7 @@ type ExternalProductCatalogConfig = Components.Schemas.ExternalProductCatalogCon
4356
4362
  type ExternalProductCatalogHookProductRecommendations = Components.Schemas.ExternalProductCatalogHookProductRecommendations;
4357
4363
  type ExternalProductCatalogHookProducts = Components.Schemas.ExternalProductCatalogHookProducts;
4358
4364
  type FunctionDefinition = Components.Schemas.FunctionDefinition;
4365
+ type FunctionRefCustomActionConfig = Components.Schemas.FunctionRefCustomActionConfig;
4359
4366
  type Grants = Components.Schemas.Grants;
4360
4367
  type Installation = Components.Schemas.Installation;
4361
4368
  type InternalReview = Components.Schemas.InternalReview;
@@ -4397,4 +4404,4 @@ type S3Reference = Components.Schemas.S3Reference;
4397
4404
  type TextArg = Components.Schemas.TextArg;
4398
4405
  type TranslatedString = Components.Schemas.TranslatedString;
4399
4406
 
4400
- export { type OptionsRef as $, type Actor as A, type BaseComponent as B, type Client as C, type ErpInformToolkitComponent as D, type EnumArg as E, type EventsQuery as F, type EventsQueryResponse as G, type ExternalIntegrationCustomActionConfig as H, type ExternalProductCatalogAuthBlock as I, type ExternalProductCatalogComponent as J, type ExternalProductCatalogConfig as K, type ExternalProductCatalogHookProductRecommendations as L, type ExternalProductCatalogHookProducts as M, type FunctionDefinition as N, type OperationMethods as O, Paths as P, type Grants as Q, type Installation as R, type InternalReview as S, type JourneyBlockComponent as T, type JourneyBlockComponentArgs as U, type JourneyBlockConfig as V, type NotificationConfig as W, type NotificationEvent as X, type ObjectField as Y, type Option as Z, type Options as _, Components as a, type OverrideDevMode as a0, type PortalBlockComponent as a1, type PortalBlockConfig as a2, type PortalBlockSurfaceConfig as a3, type PortalExtensionAuthBlock as a4, type PortalExtensionComponent as a5, type PortalExtensionConfig as a6, type PortalExtensionHookChangeEmail as a7, type PortalExtensionHookChangePassword as a8, type PortalExtensionHookConsumptionDataRetrieval as a9, type PortalExtensionHookContractIdentification as aa, type PortalExtensionHookCostDataRetrieval as ab, type PortalExtensionHookDataExport as ac, type PortalExtensionHookDeleteAccount as ad, type PortalExtensionHookMeterReadingPlausibilityCheck as ae, type PortalExtensionHookPriceDataRetrieval as af, type PortalExtensionHookRegistrationIdentifiersCheck as ag, type PortalExtensionHookVisualizationMetadata as ah, type PortalExtensionSeamlessLink as ai, type PortalExtensionSecureProxy as aj, type Pricing as ak, type PublicConfiguration as al, type RawEvents as am, type Review as an, type Role as ao, type S3Reference as ap, type TextArg as aq, type TranslatedString as ar, type PathsDictionary as b, type AggregatedEvents as c, type ApiProxyComponent as d, type ApiProxyConfig as e, type AppBridgeSurfaceConfig as f, type AppEventData as g, type Audit as h, type Author as i, type BaseComponentCommon as j, type BaseCustomActionConfig as k, type BatchEventRequest as l, type BillingFrequency as m, type BlockReferenceArg as n, type BlueprintRef as o, type BooleanArg as p, type CallerIdentity as q, type ComponentType as r, type Configuration as s, type ConfigurationMetadata as t, type ConfigurationVersion as u, type CustomCapabilityComponent as v, type CustomFlowActionComponent as w, type CustomFlowConfig as x, type CustomPageComponent as y, type CustomPageConfig as z };
4407
+ export { type Options as $, type Actor as A, type BaseComponent as B, type Client as C, type ErpInformToolkitComponent as D, type EnumArg as E, type EventsQuery as F, type EventsQueryResponse as G, type ExternalIntegrationCustomActionConfig as H, type ExternalProductCatalogAuthBlock as I, type ExternalProductCatalogComponent as J, type ExternalProductCatalogConfig as K, type ExternalProductCatalogHookProductRecommendations as L, type ExternalProductCatalogHookProducts as M, type FunctionDefinition as N, type OperationMethods as O, Paths as P, type FunctionRefCustomActionConfig as Q, type Grants as R, type Installation as S, type InternalReview as T, type JourneyBlockComponent as U, type JourneyBlockComponentArgs as V, type JourneyBlockConfig as W, type NotificationConfig as X, type NotificationEvent as Y, type ObjectField as Z, type Option as _, Components as a, type OptionsRef as a0, type OverrideDevMode as a1, type PortalBlockComponent as a2, type PortalBlockConfig as a3, type PortalBlockSurfaceConfig as a4, type PortalExtensionAuthBlock as a5, type PortalExtensionComponent as a6, type PortalExtensionConfig as a7, type PortalExtensionHookChangeEmail as a8, type PortalExtensionHookChangePassword as a9, type PortalExtensionHookConsumptionDataRetrieval as aa, type PortalExtensionHookContractIdentification as ab, type PortalExtensionHookCostDataRetrieval as ac, type PortalExtensionHookDataExport as ad, type PortalExtensionHookDeleteAccount as ae, type PortalExtensionHookMeterReadingPlausibilityCheck as af, type PortalExtensionHookPriceDataRetrieval as ag, type PortalExtensionHookRegistrationIdentifiersCheck as ah, type PortalExtensionHookVisualizationMetadata as ai, type PortalExtensionSeamlessLink as aj, type PortalExtensionSecureProxy as ak, type Pricing as al, type PublicConfiguration as am, type RawEvents as an, type Review as ao, type Role as ap, type S3Reference as aq, type TextArg as ar, type TranslatedString as as, type PathsDictionary as b, type AggregatedEvents as c, type ApiProxyComponent as d, type ApiProxyConfig as e, type AppBridgeSurfaceConfig as f, type AppEventData as g, type Audit as h, type Author as i, type BaseComponentCommon as j, type BaseCustomActionConfig as k, type BatchEventRequest as l, type BillingFrequency as m, type BlockReferenceArg as n, type BlueprintRef as o, type BooleanArg as p, type CallerIdentity as q, type ComponentType as r, type Configuration as s, type ConfigurationMetadata as t, type ConfigurationVersion as u, type CustomCapabilityComponent as v, type CustomFlowActionComponent as w, type CustomFlowConfig as x, type CustomPageComponent as y, type CustomPageConfig as z };
@@ -891,7 +891,7 @@ declare namespace Components {
891
891
  export interface CustomFlowActionComponent {
892
892
  component_type: "CUSTOM_FLOW_ACTION";
893
893
  configuration: /**
894
- * Configuration of an external-integration flow action. Sandboxed code belongs in the app's `functions` (type `workflow`) instead — workflow functions are selectable directly in the flow builder without a component.
894
+ * Configuration of a flow action component. `external_integration` calls an external HTTP endpoint; `function` runs a workflow-type app function in the epilot sandbox.
895
895
  *
896
896
  */
897
897
  CustomFlowConfig;
@@ -900,14 +900,14 @@ declare namespace Components {
900
900
  };
901
901
  }
902
902
  /**
903
- * Configuration of an external-integration flow action. Sandboxed code belongs in the app's `functions` (type `workflow`) instead — workflow functions are selectable directly in the flow builder without a component.
903
+ * Configuration of a flow action component. `external_integration` calls an external HTTP endpoint; `function` runs a workflow-type app function in the epilot sandbox.
904
904
  *
905
905
  */
906
906
  export type CustomFlowConfig = /**
907
- * Configuration of an external-integration flow action. Sandboxed code belongs in the app's `functions` (type `workflow`) instead — workflow functions are selectable directly in the flow builder without a component.
907
+ * Configuration of a flow action component. `external_integration` calls an external HTTP endpoint; `function` runs a workflow-type app function in the epilot sandbox.
908
908
  *
909
909
  */
910
- ExternalIntegrationCustomActionConfig;
910
+ ExternalIntegrationCustomActionConfig | FunctionRefCustomActionConfig;
911
911
  export interface CustomPageComponent {
912
912
  component_type: "CUSTOM_PAGE";
913
913
  configuration: CustomPageConfig;
@@ -1219,13 +1219,10 @@ declare namespace Components {
1219
1219
  */
1220
1220
  name: string; // ^[a-z0-9][a-z0-9-]{0,63}$
1221
1221
  /**
1222
- * Where the function can be used. `workflow` functions are selectable as actions in the flow builder and run with entity context. `scheduled` functions run automatically per installation on their cron schedule.
1222
+ * Where the function can be used. `workflow` functions are referenced by CUSTOM_FLOW_ACTION components (type `function`) and run with entity context. `scheduled` functions run automatically per installation on their cron schedule.
1223
1223
  *
1224
1224
  */
1225
1225
  type: "workflow" | "scheduled";
1226
- /**
1227
- * Human-readable display name, e.g. shown in the flow builder action picker
1228
- */
1229
1226
  label?: {
1230
1227
  /**
1231
1228
  * English translation
@@ -1274,17 +1271,26 @@ declare namespace Components {
1274
1271
  *
1275
1272
  */
1276
1273
  secrets?: string[];
1274
+ }
1275
+ export interface FunctionRefCustomActionConfig {
1277
1276
  /**
1278
- * Workflow functions only — wait for the callback_url to be called before completing the flow action
1279
- *
1277
+ * Name of the custom action
1278
+ */
1279
+ name?: string;
1280
+ /**
1281
+ * Description of the custom action
1282
+ */
1283
+ description?: string;
1284
+ /**
1285
+ * Wait for callback_url to be called before completing the action
1280
1286
  */
1281
1287
  wait_for_callback?: boolean;
1288
+ type: "function";
1282
1289
  /**
1283
- * Workflow functions only optional custom config UI shown in the flow builder
1290
+ * Name of a `workflow`-type function of the same app version. The component provides the org-facing contract (name, options, config surface); the referenced function provides the code.
1291
+ *
1284
1292
  */
1285
- surfaces?: {
1286
- flow_action_config?: AppBridgeSurfaceConfig;
1287
- };
1293
+ function_name: string;
1288
1294
  }
1289
1295
  /**
1290
1296
  * Required grants for the app in order to call APIs for the installing tenant
@@ -4356,6 +4362,7 @@ type ExternalProductCatalogConfig = Components.Schemas.ExternalProductCatalogCon
4356
4362
  type ExternalProductCatalogHookProductRecommendations = Components.Schemas.ExternalProductCatalogHookProductRecommendations;
4357
4363
  type ExternalProductCatalogHookProducts = Components.Schemas.ExternalProductCatalogHookProducts;
4358
4364
  type FunctionDefinition = Components.Schemas.FunctionDefinition;
4365
+ type FunctionRefCustomActionConfig = Components.Schemas.FunctionRefCustomActionConfig;
4359
4366
  type Grants = Components.Schemas.Grants;
4360
4367
  type Installation = Components.Schemas.Installation;
4361
4368
  type InternalReview = Components.Schemas.InternalReview;
@@ -4397,4 +4404,4 @@ type S3Reference = Components.Schemas.S3Reference;
4397
4404
  type TextArg = Components.Schemas.TextArg;
4398
4405
  type TranslatedString = Components.Schemas.TranslatedString;
4399
4406
 
4400
- export { type OptionsRef as $, type Actor as A, type BaseComponent as B, type Client as C, type ErpInformToolkitComponent as D, type EnumArg as E, type EventsQuery as F, type EventsQueryResponse as G, type ExternalIntegrationCustomActionConfig as H, type ExternalProductCatalogAuthBlock as I, type ExternalProductCatalogComponent as J, type ExternalProductCatalogConfig as K, type ExternalProductCatalogHookProductRecommendations as L, type ExternalProductCatalogHookProducts as M, type FunctionDefinition as N, type OperationMethods as O, Paths as P, type Grants as Q, type Installation as R, type InternalReview as S, type JourneyBlockComponent as T, type JourneyBlockComponentArgs as U, type JourneyBlockConfig as V, type NotificationConfig as W, type NotificationEvent as X, type ObjectField as Y, type Option as Z, type Options as _, Components as a, type OverrideDevMode as a0, type PortalBlockComponent as a1, type PortalBlockConfig as a2, type PortalBlockSurfaceConfig as a3, type PortalExtensionAuthBlock as a4, type PortalExtensionComponent as a5, type PortalExtensionConfig as a6, type PortalExtensionHookChangeEmail as a7, type PortalExtensionHookChangePassword as a8, type PortalExtensionHookConsumptionDataRetrieval as a9, type PortalExtensionHookContractIdentification as aa, type PortalExtensionHookCostDataRetrieval as ab, type PortalExtensionHookDataExport as ac, type PortalExtensionHookDeleteAccount as ad, type PortalExtensionHookMeterReadingPlausibilityCheck as ae, type PortalExtensionHookPriceDataRetrieval as af, type PortalExtensionHookRegistrationIdentifiersCheck as ag, type PortalExtensionHookVisualizationMetadata as ah, type PortalExtensionSeamlessLink as ai, type PortalExtensionSecureProxy as aj, type Pricing as ak, type PublicConfiguration as al, type RawEvents as am, type Review as an, type Role as ao, type S3Reference as ap, type TextArg as aq, type TranslatedString as ar, type PathsDictionary as b, type AggregatedEvents as c, type ApiProxyComponent as d, type ApiProxyConfig as e, type AppBridgeSurfaceConfig as f, type AppEventData as g, type Audit as h, type Author as i, type BaseComponentCommon as j, type BaseCustomActionConfig as k, type BatchEventRequest as l, type BillingFrequency as m, type BlockReferenceArg as n, type BlueprintRef as o, type BooleanArg as p, type CallerIdentity as q, type ComponentType as r, type Configuration as s, type ConfigurationMetadata as t, type ConfigurationVersion as u, type CustomCapabilityComponent as v, type CustomFlowActionComponent as w, type CustomFlowConfig as x, type CustomPageComponent as y, type CustomPageConfig as z };
4407
+ export { type Options as $, type Actor as A, type BaseComponent as B, type Client as C, type ErpInformToolkitComponent as D, type EnumArg as E, type EventsQuery as F, type EventsQueryResponse as G, type ExternalIntegrationCustomActionConfig as H, type ExternalProductCatalogAuthBlock as I, type ExternalProductCatalogComponent as J, type ExternalProductCatalogConfig as K, type ExternalProductCatalogHookProductRecommendations as L, type ExternalProductCatalogHookProducts as M, type FunctionDefinition as N, type OperationMethods as O, Paths as P, type FunctionRefCustomActionConfig as Q, type Grants as R, type Installation as S, type InternalReview as T, type JourneyBlockComponent as U, type JourneyBlockComponentArgs as V, type JourneyBlockConfig as W, type NotificationConfig as X, type NotificationEvent as Y, type ObjectField as Z, type Option as _, Components as a, type OptionsRef as a0, type OverrideDevMode as a1, type PortalBlockComponent as a2, type PortalBlockConfig as a3, type PortalBlockSurfaceConfig as a4, type PortalExtensionAuthBlock as a5, type PortalExtensionComponent as a6, type PortalExtensionConfig as a7, type PortalExtensionHookChangeEmail as a8, type PortalExtensionHookChangePassword as a9, type PortalExtensionHookConsumptionDataRetrieval as aa, type PortalExtensionHookContractIdentification as ab, type PortalExtensionHookCostDataRetrieval as ac, type PortalExtensionHookDataExport as ad, type PortalExtensionHookDeleteAccount as ae, type PortalExtensionHookMeterReadingPlausibilityCheck as af, type PortalExtensionHookPriceDataRetrieval as ag, type PortalExtensionHookRegistrationIdentifiersCheck as ah, type PortalExtensionHookVisualizationMetadata as ai, type PortalExtensionSeamlessLink as aj, type PortalExtensionSecureProxy as ak, type Pricing as al, type PublicConfiguration as am, type RawEvents as an, type Review as ao, type Role as ap, type S3Reference as aq, type TextArg as ar, type TranslatedString as as, type PathsDictionary as b, type AggregatedEvents as c, type ApiProxyComponent as d, type ApiProxyConfig as e, type AppBridgeSurfaceConfig as f, type AppEventData as g, type Audit as h, type Author as i, type BaseComponentCommon as j, type BaseCustomActionConfig as k, type BatchEventRequest as l, type BillingFrequency as m, type BlockReferenceArg as n, type BlueprintRef as o, type BooleanArg as p, type CallerIdentity as q, type ComponentType as r, type Configuration as s, type ConfigurationMetadata as t, type ConfigurationVersion as u, type CustomCapabilityComponent as v, type CustomFlowActionComponent as w, type CustomFlowConfig as x, type CustomPageComponent as y, type CustomPageConfig as z };
@@ -0,0 +1,14 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
4
+
5
+ // src/definitions/configuration-hub-runtime.json
6
+ var require_configuration_hub_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
+ "src/definitions/configuration-hub-runtime.json"(exports, module) {
8
+ module.exports = { s: "https://configuration-hub.sls.epilot.io", o: [["listConfigTypes", "get", "/v1/configs/types"], ["listConfigs", "get", "/v1/configs/{type}", [["ConfigType"], ["CursorParam"], ["SizeParam"], ["q", "q"], ["updated_after", "q"], ["updated_before", "q"], ["purposes", "q"], ["blueprint_ids", "q"], ["sort", "q"], ["active_only", "q"]]], ["getConfigDependencies", "get", "/v1/configs/{type}/{id}/dependencies", [["ConfigType"], ["ConfigId"], ["CursorParam"], ["SizeParam"]]], ["getConfigUsedBy", "get", "/v1/configs/{type}/{id}/used_by", [["ConfigType"], ["ConfigId"]]], ["getIndex", "get", "/v1/configs/index"], ["compareConfigs", "post", "/v1/configs/compare", null, 1], ["suggestMatches", "post", "/v1/configs/compare/suggestions", null, 1], ["confirmLineage", "post", "/v1/configs/lineage", null, 1], ["breakLineage", "delete", "/v1/configs/lineage", [["type", "q", true], ["source_id", "q", true]]], ["createSyncJob", "post", "/v1/configs/sync-jobs", null, 1], ["listSyncJobs", "get", "/v1/configs/sync-jobs", [["CursorParam"], ["SizeParam"], ["status", "q"]]], ["getSyncJob", "get", "/v1/configs/sync-jobs/{id}", [["SyncJobId"]]], ["retrySyncJob", "post", "/v1/configs/sync-jobs/{id}/retry", [["SyncJobId"]], 1], ["cancelSyncJob", "post", "/v1/configs/sync-jobs/{id}/cancel", [["SyncJobId"]]], ["listSyncJobResources", "get", "/v1/configs/sync-jobs/{id}/resources", [["SyncJobId"], ["CursorParam"], ["SizeParam"], ["status", "q"]]], ["createDeleteJob", "post", "/v1/configs/delete-jobs", null, 1], ["listDeleteJobs", "get", "/v1/configs/delete-jobs", [["CursorParam"], ["SizeParam"]]], ["getDeleteJob", "get", "/v1/configs/delete-jobs/{id}", [["DeleteJobId"]]], ["listDeleteJobResources", "get", "/v1/configs/delete-jobs/{id}/resources", [["DeleteJobId"], ["CursorParam"], ["SizeParam"]]], ["rebuildIndex", "post", "/v1/configs/index:rebuild"], ["getConfigInventory", "get", "/v1/configs/inventory", [["include_dependency_only", "q"]]]], v: "3.0.3", cp: { ConfigType: ["type", "p", true], ConfigId: ["id", "p", true], CursorParam: ["cursor", "q"], SizeParam: ["size", "q"], SyncJobId: ["id", "p", true], DeleteJobId: ["id", "p", true] } };
9
+ }
10
+ });
11
+
12
+
13
+
14
+ exports.require_configuration_hub_runtime = require_configuration_hub_runtime;
@@ -33,13 +33,13 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
33
33
  "./docs/address-suggestions.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-suggestions-IUQMYF27.cjs"))),
34
34
  "./docs/address.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-HA4RMRNQ.cjs"))),
35
35
  "./docs/ai-agents.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./ai-agents-XST3YUFA.cjs"))),
36
- "./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-A7P5LKNL.cjs"))),
36
+ "./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-RKHOTF7Z.cjs"))),
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-C45UEPBV.cjs"))),
40
40
  "./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-4DD7CUPX.cjs"))),
41
41
  "./docs/calendar.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-EMNHW6ME.cjs"))),
42
- "./docs/configuration-hub.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-Q5JBYB52.cjs"))),
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
44
  "./docs/customer-portal.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./customer-portal-JDIXJD6C.cjs"))),
45
45
  "./docs/dashboard.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./dashboard-7QJ46I7N.cjs"))),
@@ -119,7 +119,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
119
119
  "./definitions/blueprint-manifest-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-runtime-N5EXZB2K.cjs"))),
120
120
  "./definitions/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-5TNVSDKC.cjs"))),
121
121
  "./definitions/calendar-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-runtime-WMR6GL6I.cjs"))),
122
- "./definitions/configuration-hub-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-runtime-QVLJKEZD.cjs"))),
122
+ "./definitions/configuration-hub-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-runtime-3RFJBODE.cjs"))),
123
123
  "./definitions/consent-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-runtime-KZ5D4XZU.cjs"))),
124
124
  "./definitions/consent.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-6SIH4NQS.cjs"))),
125
125
  "./definitions/customer-portal-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./customer-portal-runtime-7WW3YRWJ.cjs"))),
@@ -0,0 +1,14 @@
1
+ import {
2
+ __commonJS
3
+ } from "./chunk-YPSWSI3M.js";
4
+
5
+ // src/definitions/configuration-hub-runtime.json
6
+ var require_configuration_hub_runtime = __commonJS({
7
+ "src/definitions/configuration-hub-runtime.json"(exports, module) {
8
+ module.exports = { s: "https://configuration-hub.sls.epilot.io", o: [["listConfigTypes", "get", "/v1/configs/types"], ["listConfigs", "get", "/v1/configs/{type}", [["ConfigType"], ["CursorParam"], ["SizeParam"], ["q", "q"], ["updated_after", "q"], ["updated_before", "q"], ["purposes", "q"], ["blueprint_ids", "q"], ["sort", "q"], ["active_only", "q"]]], ["getConfigDependencies", "get", "/v1/configs/{type}/{id}/dependencies", [["ConfigType"], ["ConfigId"], ["CursorParam"], ["SizeParam"]]], ["getConfigUsedBy", "get", "/v1/configs/{type}/{id}/used_by", [["ConfigType"], ["ConfigId"]]], ["getIndex", "get", "/v1/configs/index"], ["compareConfigs", "post", "/v1/configs/compare", null, 1], ["suggestMatches", "post", "/v1/configs/compare/suggestions", null, 1], ["confirmLineage", "post", "/v1/configs/lineage", null, 1], ["breakLineage", "delete", "/v1/configs/lineage", [["type", "q", true], ["source_id", "q", true]]], ["createSyncJob", "post", "/v1/configs/sync-jobs", null, 1], ["listSyncJobs", "get", "/v1/configs/sync-jobs", [["CursorParam"], ["SizeParam"], ["status", "q"]]], ["getSyncJob", "get", "/v1/configs/sync-jobs/{id}", [["SyncJobId"]]], ["retrySyncJob", "post", "/v1/configs/sync-jobs/{id}/retry", [["SyncJobId"]], 1], ["cancelSyncJob", "post", "/v1/configs/sync-jobs/{id}/cancel", [["SyncJobId"]]], ["listSyncJobResources", "get", "/v1/configs/sync-jobs/{id}/resources", [["SyncJobId"], ["CursorParam"], ["SizeParam"], ["status", "q"]]], ["createDeleteJob", "post", "/v1/configs/delete-jobs", null, 1], ["listDeleteJobs", "get", "/v1/configs/delete-jobs", [["CursorParam"], ["SizeParam"]]], ["getDeleteJob", "get", "/v1/configs/delete-jobs/{id}", [["DeleteJobId"]]], ["listDeleteJobResources", "get", "/v1/configs/delete-jobs/{id}/resources", [["DeleteJobId"], ["CursorParam"], ["SizeParam"]]], ["rebuildIndex", "post", "/v1/configs/index:rebuild"], ["getConfigInventory", "get", "/v1/configs/inventory", [["include_dependency_only", "q"]]]], v: "3.0.3", cp: { ConfigType: ["type", "p", true], ConfigId: ["id", "p", true], CursorParam: ["cursor", "q"], SizeParam: ["size", "q"], SyncJobId: ["id", "p", true], DeleteJobId: ["id", "p", true] } };
9
+ }
10
+ });
11
+
12
+ export {
13
+ require_configuration_hub_runtime
14
+ };
@@ -33,13 +33,13 @@ var globImport_docs = __glob({
33
33
  "./docs/address-suggestions.json": () => import("./address-suggestions-74244BAJ.js"),
34
34
  "./docs/address.json": () => import("./address-QVJUGMOG.js"),
35
35
  "./docs/ai-agents.json": () => import("./ai-agents-3JK4UU2G.js"),
36
- "./docs/app.json": () => import("./app-EEEBOCVZ.js"),
36
+ "./docs/app.json": () => import("./app-IXCUVIHD.js"),
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-IV5ABNW4.js"),
40
40
  "./docs/blueprint-manifest.json": () => import("./blueprint-manifest-IP2AU3F3.js"),
41
41
  "./docs/calendar.json": () => import("./calendar-PZFEAXYE.js"),
42
- "./docs/configuration-hub.json": () => import("./configuration-hub-E7S4JB2T.js"),
42
+ "./docs/configuration-hub.json": () => import("./configuration-hub-ZYOLN7ZX.js"),
43
43
  "./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
44
44
  "./docs/customer-portal.json": () => import("./customer-portal-WIRQ7UCN.js"),
45
45
  "./docs/dashboard.json": () => import("./dashboard-ILXUFFF2.js"),
@@ -119,7 +119,7 @@ var globImport_definitions_json = __glob({
119
119
  "./definitions/blueprint-manifest-runtime.json": () => import("./blueprint-manifest-runtime-W526ROPG.js"),
120
120
  "./definitions/blueprint-manifest.json": () => import("./blueprint-manifest-UGGYWGRZ.js"),
121
121
  "./definitions/calendar-runtime.json": () => import("./calendar-runtime-KZPDEYT7.js"),
122
- "./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-CXME7TCX.js"),
122
+ "./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-EG2OIBXX.js"),
123
123
  "./definitions/consent-runtime.json": () => import("./consent-runtime-OAPXBJH2.js"),
124
124
  "./definitions/consent.json": () => import("./consent-7MNRAINV.js"),
125
125
  "./definitions/customer-portal-runtime.json": () => import("./customer-portal-runtime-FZQLCEJQ.js"),
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
2
+
3
+ // src/docs/configuration-hub.json
4
+ var configuration_hub_default = '# Configuration Hub API\n\n- **Base URL:** `https://configuration-hub.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/configuration-hub](https://docs.epilot.io/api/configuration-hub)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.configurationHub.listConfigTypes(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/configuration-hub\'\n\nconst configurationHubClient = getClient()\nauthorize(configurationHubClient, () => \'<token>\')\nconst { data } = await configurationHubClient.listConfigTypes(...)\n```\n\n## Operations\n\n**Configs**\n- [`listConfigTypes`](#listconfigtypes)\n- [`listConfigs`](#listconfigs)\n- [`getConfigDependencies`](#getconfigdependencies)\n- [`getConfigUsedBy`](#getconfigusedby)\n- [`getIndex`](#getindex)\n- [`rebuildIndex`](#rebuildindex)\n- [`getConfigInventory`](#getconfiginventory)\n\n**Compare**\n- [`compareConfigs`](#compareconfigs)\n- [`suggestMatches`](#suggestmatches)\n- [`confirmLineage`](#confirmlineage)\n- [`breakLineage`](#breaklineage)\n\n**Sync**\n- [`createSyncJob`](#createsyncjob)\n- [`listSyncJobs`](#listsyncjobs)\n- [`getSyncJob`](#getsyncjob)\n- [`retrySyncJob`](#retrysyncjob)\n- [`cancelSyncJob`](#cancelsyncjob)\n- [`listSyncJobResources`](#listsyncjobresources)\n\n**Delete**\n- [`createDeleteJob`](#createdeletejob)\n- [`listDeleteJobs`](#listdeletejobs)\n- [`getDeleteJob`](#getdeletejob)\n- [`listDeleteJobResources`](#listdeletejobresources)\n\n**Schemas**\n- [`ResourceType`](#resourcetype)\n- [`ConfigTypeInfo`](#configtypeinfo)\n- [`ConfigNode`](#confignode)\n- [`ConfigListResponse`](#configlistresponse)\n- [`ConfigDependenciesResponse`](#configdependenciesresponse)\n- [`IndexRebuildResponse`](#indexrebuildresponse)\n- [`IndexStatusResponse`](#indexstatusresponse)\n- [`CompareRequest`](#comparerequest)\n- [`CompareLineage`](#comparelineage)\n- [`CompareRow`](#comparerow)\n- [`CompareCounts`](#comparecounts)\n- [`CompareResponse`](#compareresponse)\n- [`SuggestMatchesRequest`](#suggestmatchesrequest)\n- [`MatchSuggestion`](#matchsuggestion)\n- [`SuggestMatchesResponse`](#suggestmatchesresponse)\n- [`ConfirmLineageRequest`](#confirmlineagerequest)\n- [`LineageEntryResponse`](#lineageentryresponse)\n- [`BreakLineageResponse`](#breaklineageresponse)\n- [`ErrorResponse`](#errorresponse)\n- [`SyncJobStatus`](#syncjobstatus)\n- [`SyncDirection`](#syncdirection)\n- [`SyncPhase`](#syncphase)\n- [`SyncJobResourceStatus`](#syncjobresourcestatus)\n- [`SyncJobRequest`](#syncjobrequest)\n- [`SyncJobRetryRequest`](#syncjobretryrequest)\n- [`SyncJobCounts`](#syncjobcounts)\n- [`SyncJobEvent`](#syncjobevent)\n- [`SyncJobBatch`](#syncjobbatch)\n- [`SyncJob`](#syncjob)\n- [`SyncJobListResponse`](#syncjoblistresponse)\n- [`SyncJobResource`](#syncjobresource)\n- [`SyncJobResourceListResponse`](#syncjobresourcelistresponse)\n- [`DeleteJobStatus`](#deletejobstatus)\n- [`DeleteJobResourceStatus`](#deletejobresourcestatus)\n- [`DeleteJobCounts`](#deletejobcounts)\n- [`DeleteJobRequest`](#deletejobrequest)\n- [`DeleteJob`](#deletejob)\n- [`DeleteJobListResponse`](#deletejoblistresponse)\n- [`DeleteJobResource`](#deletejobresource)\n- [`DeleteJobResourceListResponse`](#deletejobresourcelistresponse)\n- [`SnapshotInventoryItem`](#snapshotinventoryitem)\n- [`SnapshotInventorySkippedType`](#snapshotinventoryskippedtype)\n- [`ConfigInventoryResponse`](#configinventoryresponse)\n\n### `listConfigTypes`\n\nReturns the static list of available configuration types with display metadata.\nThis is a cheap call \u2014 no fan-out to downstream APIs. Returns all known types\nwith labels and icons. The frontend should\n\n`GET /v1/configs/types`\n\n```ts\nconst { data } = await client.listConfigTypes()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "type": "journey",\n "label": "Journeys",\n "icon": "Route",\n "source_api": "https://journey.sls.epilot.io",\n "sdk_client": "@epilot/sdk/journey",\n "deletable": true\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `listConfigs`\n\nList configs of a given type with pagination. Returns summary metadata only\n(not full payloads). The frontend calls this per type folder when expanding.\n\n`GET /v1/configs/{type}`\n\n```ts\nconst { data } = await client.listConfigs({\n type: \'example\',\n cursor: \'example\',\n size: 1,\n q: \'example\',\n updated_after: \'example\',\n updated_before: \'example\',\n purposes: \'example\',\n blueprint_ids: \'example\',\n sort: \'example\',\n active_only: true,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "type": "journey",\n "label": "string",\n "icon": "string",\n "total": 0,\n "next_cursor": "string",\n "results": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "aliases": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path",\n "active": true,\n "blueprints": [\n {\n "id": "string",\n "title": "string"\n }\n ],\n "metadata": {}\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getConfigDependencies`\n\nGet configs that are referenced by the given config.\nUsed to render children when expanding a config node in the tree.\n\n`GET /v1/configs/{type}/{id}/dependencies`\n\n```ts\nconst { data } = await client.getConfigDependencies({\n type: \'example\',\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n cursor: \'example\',\n size: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "total": 0,\n "next_cursor": "string",\n "results": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "aliases": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path",\n "active": true,\n "blueprints": [\n {\n "id": "string",\n "title": "string"\n }\n ],\n "metadata": {}\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getConfigUsedBy`\n\nGet configs that reference the given config (reverse dependencies).\nScans the indexed config items for references to this config\'s ID or aliases.\n\n`GET /v1/configs/{type}/{id}/used_by`\n\n```ts\nconst { data } = await client.getConfigUsedBy({\n type: \'example\',\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "total": 0,\n "next_cursor": "string",\n "results": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "aliases": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path",\n "active": true,\n "blueprints": [\n {\n "id": "string",\n "title": "string"\n }\n ],\n "metadata": {}\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getIndex`\n\nReturn the current index build state for the caller\'s organization.\nClients poll this to decide whether to show a "building" indicator\nand when to refetch data.\n\n`GET /v1/configs/index`\n\n```ts\nconst { data } = await client.getIndex()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "status": "missing",\n "org_id": "string",\n "last_built_at": "1970-01-01T00:00:00.000Z",\n "total_items": 0,\n "build_duration_ms": 0\n}\n```\n\n</details>\n\n---\n\n### `compareConfigs`\n\nCompare the caller org\'s configs of a single type against another\n(source) org, side by side. Rows are paired via the lineage registry in\nboth sync directions (caller imported from source, or source i\n\n`POST /v1/configs/compare`\n\n```ts\nconst { data } = await client.compareConfigs(\n null,\n {\n source_org_id: \'string\',\n source_auth_token: \'string\',\n type: \'journey\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "type": "journey",\n "label": "string",\n "icon": "string",\n "rows": [\n {\n "match_status": "matched",\n "current": {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "aliases": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path",\n "active": true,\n "blueprints": [\n {\n "id": "string",\n "title": "string"\n }\n ],\n "metadata": {}\n },\n "source": {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "aliases": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path",\n "active": true,\n "blueprints": [\n {\n "id": "string",\n "title": "string"\n }\n ],\n "metadata": {}\n },\n "lineage": {\n "direction": "pull",\n "last_synced_at": "1970-01-01T00:00:00.000Z",\n "last_sync_job_id": "string",\n "origin": "string"\n }\n }\n ],\n "counts": {\n "matched": 0,\n "only_current": 0,\n "only_source": 0\n }\n}\n```\n\n</details>\n\n---\n\n### `suggestMatches`\n\nRun the sync-grade heuristic match (`lookupByHeuristic` \u2014 name / slug /\nunique key) for a batch of source-org configs that have no lineage\nentry, and return candidate counterparts in the caller\'s org.\n\n`POST /v1/configs/compare/suggestions`\n\n```ts\nconst { data } = await client.suggestMatches(\n null,\n {\n source_org_id: \'string\',\n source_auth_token: \'string\',\n type: \'journey\',\n source_ids: [\'string\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "type": "journey",\n "suggestions": [\n {\n "source_id": "string",\n "candidate": {\n "id": "string",\n "title": "string"\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `confirmLineage`\n\nPersist a lineage entry pairing a source-org config with a config in\nthe caller\'s org \u2014 used to confirm a heuristic suggestion from the\nCompare view. Writes to the caller org\'s lineage partition (call\n\n`POST /v1/configs/lineage`\n\n```ts\nconst { data } = await client.confirmLineage(\n null,\n {\n type: \'journey\',\n source_org_id: \'string\',\n source_id: \'string\',\n target_id: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "type": "journey",\n "target_org_id": "string",\n "source_org_id": "string",\n "source_id": "string",\n "target_id": "string",\n "last_synced_at": "1970-01-01T00:00:00.000Z",\n "origin": "string"\n}\n```\n\n</details>\n\n---\n\n### `breakLineage`\n\nDelete a lineage entry from the caller org\'s partition (caller as sync\ntarget), identified by `type` + `source_id`. Used to break a wrong or\nstale match from the Compare view. Note: a future sync can \n\n`DELETE /v1/configs/lineage`\n\n```ts\nconst { data } = await client.breakLineage({\n type: \'example\',\n source_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "deleted": true\n}\n```\n\n</details>\n\n---\n\n### `createSyncJob`\n\nCreate a new cross-org sync job. The job is enqueued for asynchronous execution\nby the worker Lambda; the response returns the persisted job header with status\n`pending`.\n\n`POST /v1/configs/sync-jobs`\n\n```ts\nconst { data } = await client.createSyncJob(\n null,\n {\n source_org_id: \'string\',\n target_org_id: \'string\',\n target_auth_token: \'string\',\n name: \'string\',\n dry_run: false,\n include_dependencies: true,\n resources: [\n {\n type: \'string\',\n id: \'string\'\n }\n ]\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "name": "string",\n "status": "pending",\n "direction": "push",\n "source_org_id": "string",\n "target_org_id": "string",\n "dry_run": true,\n "counts": {\n "total": 0,\n "pending": 0,\n "in_progress": 0,\n "succeeded": 0,\n "failed": 0,\n "skipped_unchanged": 0\n },\n "current_phase": "phase_0",\n "current_batch": {\n "index": 0,\n "of": 0,\n "level": 0\n },\n "started_at": "1970-01-01T00:00:00.000Z",\n "finished_at": "1970-01-01T00:00:00.000Z",\n "events": [\n {\n "seq": 0,\n "ts": "1970-01-01T00:00:00.000Z",\n "phase": "phase_0",\n "type": "string",\n "source_id": "string",\n "target_id": "string",\n "status": "pending",\n "message": "string",\n "error": "string"\n }\n ],\n "errors_sample": [\n {\n "type": "string",\n "source_id": "string",\n "error": "string"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `listSyncJobs`\n\nList sync jobs scoped to the caller\'s organization, paginated with an opaque\ncursor. Defaults to most-recent first.\n\n`GET /v1/configs/sync-jobs`\n\n```ts\nconst { data } = await client.listSyncJobs({\n cursor: \'example\',\n size: 1,\n status: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "next_cursor": "string",\n "results": [\n {\n "id": "string",\n "name": "string",\n "status": "pending",\n "direction": "push",\n "source_org_id": "string",\n "target_org_id": "string",\n "dry_run": true,\n "counts": {\n "total": 0,\n "pending": 0,\n "in_progress": 0,\n "succeeded": 0,\n "failed": 0,\n "skipped_unchanged": 0\n },\n "current_phase": "phase_0",\n "current_batch": {\n "index": 0,\n "of": 0,\n "level": 0\n },\n "started_at": "1970-01-01T00:00:00.000Z",\n "finished_at": "1970-01-01T00:00:00.000Z",\n "events": [\n {\n "seq": 0,\n "ts": "1970-01-01T00:00:00.000Z",\n "phase": "phase_0",\n "type": "string",\n "source_id": "string",\n "target_id": "string",\n "status": "pending",\n "message": "string",\n "error": "string"\n }\n ],\n "errors_sample": [\n {\n "type": "string",\n "source_id": "string",\n "error": "string"\n }\n ]\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getSyncJob`\n\nFetch a single sync job by ID. Returns the job header, counts summary,\ncurrent phase pointer, and the latest activity events. Frontend polls this\nendpoint with a ramping interval.\n\n`GET /v1/configs/sync-jobs/{id}`\n\n```ts\nconst { data } = await client.getSyncJob({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "name": "string",\n "status": "pending",\n "direction": "push",\n "source_org_id": "string",\n "target_org_id": "string",\n "dry_run": true,\n "counts": {\n "total": 0,\n "pending": 0,\n "in_progress": 0,\n "succeeded": 0,\n "failed": 0,\n "skipped_unchanged": 0\n },\n "current_phase": "phase_0",\n "current_batch": {\n "index": 0,\n "of": 0,\n "level": 0\n },\n "started_at": "1970-01-01T00:00:00.000Z",\n "finished_at": "1970-01-01T00:00:00.000Z",\n "events": [\n {\n "seq": 0,\n "ts": "1970-01-01T00:00:00.000Z",\n "phase": "phase_0",\n "type": "string",\n "source_id": "string",\n "target_id": "string",\n "status": "pending",\n "message": "string",\n "error": "string"\n }\n ],\n "errors_sample": [\n {\n "type": "string",\n "source_id": "string",\n "error": "string"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `retrySyncJob`\n\nRetry the unresolved resources from a prior sync job: `failed` rows, plus\nrows the original run left at `pending`/`in_progress` because it stopped\nearly. Creates a new job whose scope is that `(type, \n\n`POST /v1/configs/sync-jobs/{id}/retry`\n\n```ts\nconst { data } = await client.retrySyncJob(\n {\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n },\n {\n payload_overrides: {}\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "name": "string",\n "status": "pending",\n "direction": "push",\n "source_org_id": "string",\n "target_org_id": "string",\n "dry_run": true,\n "counts": {\n "total": 0,\n "pending": 0,\n "in_progress": 0,\n "succeeded": 0,\n "failed": 0,\n "skipped_unchanged": 0\n },\n "current_phase": "phase_0",\n "current_batch": {\n "index": 0,\n "of": 0,\n "level": 0\n },\n "started_at": "1970-01-01T00:00:00.000Z",\n "finished_at": "1970-01-01T00:00:00.000Z",\n "events": [\n {\n "seq": 0,\n "ts": "1970-01-01T00:00:00.000Z",\n "phase": "phase_0",\n "type": "string",\n "source_id": "string",\n "target_id": "string",\n "status": "pending",\n "message": "string",\n "error": "string"\n }\n ],\n "errors_sample": [\n {\n "type": "string",\n "source_id": "string",\n "error": "string"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `cancelSyncJob`\n\nCancel a running sync job. Marks the job `cancelled` with a `finished_at`\nso it stops being reported as in-flight, and the worker stops at its next\nbatch boundary \u2014 phases re-read the job status and a\n\n`POST /v1/configs/sync-jobs/{id}/cancel`\n\n```ts\nconst { data } = await client.cancelSyncJob({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "name": "string",\n "status": "pending",\n "direction": "push",\n "source_org_id": "string",\n "target_org_id": "string",\n "dry_run": true,\n "counts": {\n "total": 0,\n "pending": 0,\n "in_progress": 0,\n "succeeded": 0,\n "failed": 0,\n "skipped_unchanged": 0\n },\n "current_phase": "phase_0",\n "current_batch": {\n "index": 0,\n "of": 0,\n "level": 0\n },\n "started_at": "1970-01-01T00:00:00.000Z",\n "finished_at": "1970-01-01T00:00:00.000Z",\n "events": [\n {\n "seq": 0,\n "ts": "1970-01-01T00:00:00.000Z",\n "phase": "phase_0",\n "type": "string",\n "source_id": "string",\n "target_id": "string",\n "status": "pending",\n "message": "string",\n "error": "string"\n }\n ],\n "errors_sample": [\n {\n "type": "string",\n "source_id": "string",\n "error": "string"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `listSyncJobResources`\n\nList the per-resource rows for a sync job. Supports filtering by status\n(e.g. `failed`) and cursor pagination. Used by the failures table and the\ndry-run plan view in the frontend.\n\n`GET /v1/configs/sync-jobs/{id}/resources`\n\n```ts\nconst { data } = await client.listSyncJobResources({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n cursor: \'example\',\n size: 1,\n status: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "next_cursor": "string",\n "results": [\n {\n "type": "string",\n "source_id": "string",\n "target_id": "string",\n "title": "string",\n "status": "pending",\n "phase": "phase_0",\n "attempt": 0,\n "error": "string",\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `createDeleteJob`\n\nCreate a bulk-delete job for the caller\'s organization. The selected\nresources are deleted asynchronously by a worker Lambda; the response\nreturns the persisted job header with status `pending`.\n\n`POST /v1/configs/delete-jobs`\n\n```ts\nconst { data } = await client.createDeleteJob(\n null,\n {\n name: \'string\',\n resources: [\n {\n type: \'string\',\n id: \'string\',\n title: \'string\'\n }\n ]\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "name": "string",\n "status": "pending",\n "org_id": "string",\n "counts": {\n "total": 0,\n "pending": 0,\n "in_progress": 0,\n "deleted": 0,\n "skipped": 0,\n "failed": 0\n },\n "started_at": "1970-01-01T00:00:00.000Z",\n "finished_at": "1970-01-01T00:00:00.000Z",\n "rebuild_triggered": true\n}\n```\n\n</details>\n\n---\n\n### `listDeleteJobs`\n\nList bulk-delete jobs scoped to the caller\'s organization, paginated\nwith an opaque cursor. Most-recent first.\n\n`GET /v1/configs/delete-jobs`\n\n```ts\nconst { data } = await client.listDeleteJobs({\n cursor: \'example\',\n size: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "next_cursor": "string",\n "results": [\n {\n "id": "string",\n "name": "string",\n "status": "pending",\n "org_id": "string",\n "counts": {\n "total": 0,\n "pending": 0,\n "in_progress": 0,\n "deleted": 0,\n "skipped": 0,\n "failed": 0\n },\n "started_at": "1970-01-01T00:00:00.000Z",\n "finished_at": "1970-01-01T00:00:00.000Z",\n "rebuild_triggered": true\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getDeleteJob`\n\nFetch a single bulk-delete job by ID. Returns the job header and counts\nsummary. Frontend polls this endpoint while the job runs.\n\n`GET /v1/configs/delete-jobs/{id}`\n\n```ts\nconst { data } = await client.getDeleteJob({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "name": "string",\n "status": "pending",\n "org_id": "string",\n "counts": {\n "total": 0,\n "pending": 0,\n "in_progress": 0,\n "deleted": 0,\n "skipped": 0,\n "failed": 0\n },\n "started_at": "1970-01-01T00:00:00.000Z",\n "finished_at": "1970-01-01T00:00:00.000Z",\n "rebuild_triggered": true\n}\n```\n\n</details>\n\n---\n\n### `listDeleteJobResources`\n\nList the per-resource rows for a delete job, cursor-paginated. Used by\nthe failures view in the frontend.\n\n`GET /v1/configs/delete-jobs/{id}/resources`\n\n```ts\nconst { data } = await client.listDeleteJobResources({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n cursor: \'example\',\n size: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "next_cursor": "string",\n "results": [\n {\n "type": "string",\n "id": "string",\n "title": "string",\n "status": "pending",\n "attempt": 0,\n "error": "string",\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `rebuildIndex`\n\nRebuild the configuration index for the caller\'s organization.\nFire-and-forget: invokes the async worker and returns immediately.\nA new rebuild will cancel any in-flight build (see `build_token`).\n\n`POST /v1/configs/index:rebuild`\n\n```ts\nconst { data } = await client.rebuildIndex()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "status": "ready",\n "last_built_at": "1970-01-01T00:00:00.000Z",\n "total_items": 0,\n "build_duration_ms": 0,\n "failed_types": ["string"]\n}\n```\n\n</details>\n\n---\n\n### `getConfigInventory`\n\nReturns a fresh inventory of an org\'s configuration resources \u2014 `{ type, id }` identities only,\nno full payloads. Calls every adapter\'s `list()` live (bypasses the 7-day DynamoDB index).\nIntended for \n\n`GET /v1/configs/inventory`\n\n```ts\nconst { data } = await client.getConfigInventory({\n include_dependency_only: true,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "inventory_id": "string",\n "org_id": "string",\n "indexed_at": "1970-01-01T00:00:00.000Z",\n "resources_count": 0,\n "resources": [\n {\n "type": "journey",\n "id": "string"\n }\n ],\n "skipped_types": [\n {\n "type": "string",\n "reason": "string"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `ResourceType`\n\nConfiguration resource type identifier.\nMatches blueprint-manifest-api V3 naming conventions.\n\n\n```ts\ntype ResourceType = "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n```\n\n### `ConfigTypeInfo`\n\nStatic metadata for a config type folder in the tree.\nNo downstream API calls \u2014 just type + label + icon + source API info.\n\n\n```ts\ntype ConfigTypeInfo = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n label: string\n icon: string\n source_api: string\n sdk_client: string\n deletable: boolean\n}\n```\n\n### `ConfigNode`\n\nSummary metadata for a single configuration item in the tree\n\n```ts\ntype ConfigNode = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n aliases?: string[]\n purposes?: string[]\n link?: string // uri\n active?: boolean\n blueprints?: Array<{\n id: string\n title: string\n }>\n metadata?: Record<string, unknown>\n}\n```\n\n### `ConfigListResponse`\n\nCursor-paginated list of configs for a specific type\n\n```ts\ntype ConfigListResponse = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n label: string\n icon: string\n total?: number\n next_cursor?: string\n results: Array<{\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n aliases?: string[]\n purposes?: string[]\n link?: string // uri\n active?: boolean\n blueprints?: Array<{\n id: { ... }\n title: { ... }\n }>\n metadata?: Record<string, unknown>\n }>\n}\n```\n\n### `ConfigDependenciesResponse`\n\nCursor-paginated list of configs referenced by a given config\n\n```ts\ntype ConfigDependenciesResponse = {\n total?: number\n next_cursor?: string\n results: Array<{\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n aliases?: string[]\n purposes?: string[]\n link?: string // uri\n active?: boolean\n blueprints?: Array<{\n id: { ... }\n title: { ... }\n }>\n metadata?: Record<string, unknown>\n }>\n}\n```\n\n### `IndexRebuildResponse`\n\nResult of an index rebuild operation\n\n```ts\ntype IndexRebuildResponse = {\n status: "ready" | "building" | "failed" | "already_building"\n last_built_at?: string // date-time\n total_items?: number\n build_duration_ms?: number\n failed_types?: string[]\n}\n```\n\n### `IndexStatusResponse`\n\nCurrent index build state\n\n```ts\ntype IndexStatusResponse = {\n status: "missing" | "building" | "ready" | "failed"\n org_id?: string\n last_built_at?: string // date-time\n total_items?: number\n build_duration_ms?: number\n}\n```\n\n### `CompareRequest`\n\nRequest body for a per-type cross-org comparison\n\n```ts\ntype CompareRequest = {\n source_org_id: string\n source_auth_token: string\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n}\n```\n\n### `CompareLineage`\n\nProvenance of a lineage-backed match\n\n```ts\ntype CompareLineage = {\n direction: "pull" | "push"\n last_synced_at?: string // date-time\n last_sync_job_id?: string\n origin?: string\n}\n```\n\n### `CompareRow`\n\nOne row of the side-by-side comparison. `matched` rows carry both\nconfigs plus lineage provenance; one-sided rows carry only the side\nthe config exists on.\n\n\n```ts\ntype CompareRow = {\n match_status: "matched" | "only_current" | "only_source"\n current?: {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n aliases?: string[]\n purposes?: string[]\n link?: string // uri\n active?: boolean\n blueprints?: Array<{\n id: { ... }\n title: { ... }\n }>\n metadata?: Record<string, unknown>\n }\n source?: {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n aliases?: string[]\n purposes?: string[]\n link?: string // uri\n active?: boolean\n blueprints?: Array<{\n id: { ... }\n title: { ... }\n }>\n metadata?: Record<string, unknown>\n }\n lineage?: {\n direction: "pull" | "push"\n last_synced_at?: string // date-time\n last_sync_job_id?: string\n origin?: string\n }\n}\n```\n\n### `CompareCounts`\n\nRow counts per match status\n\n```ts\ntype CompareCounts = {\n matched: number\n only_current: number\n only_source: number\n}\n```\n\n### `CompareResponse`\n\nSide-by-side comparison of one config type across two orgs\n\n```ts\ntype CompareResponse = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n label: string\n icon: string\n rows: Array<{\n match_status: "matched" | "only_current" | "only_source"\n current?: {\n type: { ... }\n id: { ... }\n title: { ... }\n updated_at?: { ... }\n updated_by?: { ... }\n tags?: { ... }\n aliases?: { ... }\n purposes?: { ... }\n link?: { ... }\n active?: { ... }\n blueprints?: { ... }\n metadata?: { ... }\n }\n source?: {\n type: { ... }\n id: { ... }\n title: { ... }\n updated_at?: { ... }\n updated_by?: { ... }\n tags?: { ... }\n aliases?: { ... }\n purposes?: { ... }\n link?: { ... }\n active?: { ... }\n blueprints?: { ... }\n metadata?: { ... }\n }\n lineage?: {\n direction: { ... }\n last_synced_at?: { ... }\n last_sync_job_id?: { ... }\n origin?: { ... }\n }\n }>\n counts: {\n matched: number\n only_current: number\n only_source: number\n }\n}\n```\n\n### `SuggestMatchesRequest`\n\nRequest body for batched heuristic match suggestions\n\n```ts\ntype SuggestMatchesRequest = {\n source_org_id: string\n source_auth_token: string\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n source_ids: string[]\n}\n```\n\n### `MatchSuggestion`\n\nHeuristic candidate for one source config (null candidate = no match)\n\n```ts\ntype MatchSuggestion = {\n source_id: string\n candidate?: {\n id: string\n title?: string\n }\n}\n```\n\n### `SuggestMatchesResponse`\n\n```ts\ntype SuggestMatchesResponse = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n suggestions: Array<{\n source_id: string\n candidate?: {\n id: { ... }\n title?: { ... }\n }\n }>\n}\n```\n\n### `ConfirmLineageRequest`\n\nPersist a source\u2192target lineage pairing (caller org as target)\n\n```ts\ntype ConfirmLineageRequest = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n source_org_id: string\n source_id: string\n target_id: string\n}\n```\n\n### `LineageEntryResponse`\n\nA persisted lineage entry\n\n```ts\ntype LineageEntryResponse = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n target_org_id: string\n source_org_id: string\n source_id: string\n target_id: string\n last_synced_at?: string // date-time\n origin?: string\n}\n```\n\n### `BreakLineageResponse`\n\n```ts\ntype BreakLineageResponse = {\n deleted: boolean\n}\n```\n\n### `ErrorResponse`\n\n```ts\ntype ErrorResponse = {\n status: number\n error: string\n}\n```\n\n### `SyncJobStatus`\n\nLifecycle status of a sync job. See `docs/sync/INTERFACES.md` for state\ntransitions.\n\n\n```ts\ntype SyncJobStatus = "pending" | "in_progress" | "succeeded" | "partial" | "failed" | "cancelled"\n```\n\n### `SyncDirection`\n\nDirection of the sync, derived from the source/target pane selection in the\nconfiguration hub UI.\n\n\n```ts\ntype SyncDirection = "push" | "pull"\n```\n\n### `SyncPhase`\n\nThree-phase orchestrator phase. `phase_0` fetches source payloads,\n`phase_a` creates/matches with topological batches, `phase_a5` resolves\nderived references, `phase_b` patches with the full ID map, `finalize`\nruns cycle-breaking finalizers.\n\n\n```ts\ntype SyncPhase = "phase_0" | "phase_a" | "phase_a5" | "phase_b" | "finalize"\n```\n\n### `SyncJobResourceStatus`\n\nPer-resource status. `would_*` values are produced by dry-run jobs.\n\n\n```ts\ntype SyncJobResourceStatus = "pending" | "in_progress" | "created" | "patched" | "skipped" | "would_create" | "would_patch" | "would_skip_unchanged" | "would_match_heuristic" | "failed"\n```\n\n### `SyncJobRequest`\n\nRequest body for `createSyncJob`. `target_auth_token` is the destination\norg\'s auth token and MUST NOT be persisted or logged \u2014 it is `writeOnly`.\n\n\n```ts\ntype SyncJobRequest = {\n source_org_id: string\n target_org_id: string\n target_auth_token: string\n name?: string\n dry_run?: boolean\n include_dependencies?: boolean\n resources: Array<{\n type: string\n id: string\n }>\n}\n```\n\n### `SyncJobRetryRequest`\n\nOptional body for `retrySyncJob`. Defaults to retrying every unresolved\nresource of the original job (failed, pending or in_progress).\n\n\n```ts\ntype SyncJobRetryRequest = {\n payload_overrides?: Record<string, unknown>\n}\n```\n\n### `SyncJobCounts`\n\nAggregate counters by resource status.\n\n```ts\ntype SyncJobCounts = {\n total: number\n pending: number\n in_progress: number\n succeeded: number\n failed: number\n skipped_unchanged: number\n}\n```\n\n### `SyncJobEvent`\n\nActivity-log entry surfaced to the frontend. Backed by the op-log rows in\nthe index table (`SYNC#`<jobId>`#OP#`<seq>``).\n\n\n```ts\ntype SyncJobEvent = {\n seq: number\n ts: string // date-time\n phase?: "phase_0" | "phase_a" | "phase_a5" | "phase_b" | "finalize"\n type?: string\n source_id?: string\n target_id?: string\n status: "pending" | "in_progress" | "created" | "patched" | "skipped" | "would_create" | "would_patch" | "would_skip_unchanged" | "would_match_heuristic" | "failed"\n message?: string\n error?: string\n}\n```\n\n### `SyncJobBatch`\n\nPosition within the current topological batch for the active phase.\n\n```ts\ntype SyncJobBatch = {\n index: number\n of: number\n level: number\n}\n```\n\n### `SyncJob`\n\nSync job header as surfaced by `getSyncJob` and the create response. The\ncanonical persistence shape is described in `docs/sync/INTERFACES.md`.\n\n\n```ts\ntype SyncJob = {\n id: string\n name?: string\n status: "pending" | "in_progress" | "succeeded" | "partial" | "failed" | "cancelled"\n direction: "push" | "pull"\n source_org_id: string\n target_org_id: string\n dry_run: boolean\n counts: {\n total: number\n pending: number\n in_progress: number\n succeeded: number\n failed: number\n skipped_unchanged: number\n }\n current_phase?: "phase_0" | "phase_a" | "phase_a5" | "phase_b" | "finalize"\n current_batch?: {\n index: number\n of: number\n level: number\n }\n started_at: string // date-time\n finished_at?: string // date-time\n events?: Array<{\n seq: number\n ts: string // date-time\n phase?: "phase_0" | "phase_a" | "phase_a5" | "phase_b" | "finalize"\n type?: string\n source_id?: string\n target_id?: string\n status: "pending" | "in_progress" | "created" | "patched" | "skipped" | "would_create" | "would_patch" | "would_skip_unchanged" | "would_match_heuristic" | "failed"\n message?: string\n error?: string\n }>\n errors_sample?: Array<{\n type: string\n source_id: string\n error: string\n }>\n}\n```\n\n### `SyncJobListResponse`\n\nCursor-paginated list of sync jobs.\n\n```ts\ntype SyncJobListResponse = {\n next_cursor?: string\n results: Array<{\n id: string\n name?: string\n status: "pending" | "in_progress" | "succeeded" | "partial" | "failed" | "cancelled"\n direction: "push" | "pull"\n source_org_id: string\n target_org_id: string\n dry_run: boolean\n counts: {\n total: { ... }\n pending: { ... }\n in_progress: { ... }\n succeeded: { ... }\n failed: { ... }\n skipped_unchanged: { ... }\n }\n current_phase?: "phase_0" | "phase_a" | "phase_a5" | "phase_b" | "finalize"\n current_batch?: {\n index: { ... }\n of: { ... }\n level: { ... }\n }\n started_at: string // date-time\n finished_at?: string // date-time\n events?: Array<{\n seq: { ... }\n ts: { ... }\n phase?: { ... }\n type?: { ... }\n source_id?: { ... }\n target_id?: { ... }\n status: { ... }\n message?: { ... }\n error?: { ... }\n }>\n errors_sample?: Array<{\n type: { ... }\n source_id: { ... }\n error: { ... }\n }>\n }>\n}\n```\n\n### `SyncJobResource`\n\nPer-resource row backed by `SyncResourcesTable`. See\n`docs/sync/INTERFACES.md` for the DDB shape.\n\n\n```ts\ntype SyncJobResource = {\n type: string\n source_id: string\n target_id?: string\n title?: string\n status: "pending" | "in_progress" | "created" | "patched" | "skipped" | "would_create" | "would_patch" | "would_skip_unchanged" | "would_match_heuristic" | "failed"\n phase: "phase_0" | "phase_a" | "phase_a5" | "phase_b" | "finalize"\n attempt: number\n error?: string\n updated_at: string // date-time\n}\n```\n\n### `SyncJobResourceListResponse`\n\nCursor-paginated list of sync job resources.\n\n```ts\ntype SyncJobResourceListResponse = {\n next_cursor?: string\n results: Array<{\n type: string\n source_id: string\n target_id?: string\n title?: string\n status: "pending" | "in_progress" | "created" | "patched" | "skipped" | "would_create" | "would_patch" | "would_skip_unchanged" | "would_match_heuristic" | "failed"\n phase: "phase_0" | "phase_a" | "phase_a5" | "phase_b" | "finalize"\n attempt: number\n error?: string\n updated_at: string // date-time\n }>\n}\n```\n\n### `DeleteJobStatus`\n\nLifecycle status of a bulk-delete job.\n\n```ts\ntype DeleteJobStatus = "pending" | "in_progress" | "succeeded" | "partial" | "failed" | "cancelled"\n```\n\n### `DeleteJobResourceStatus`\n\nPer-resource delete status. `skipped` is used for protected resources\nthat are intentionally not deleted (e.g. built-in schemas).\n\n\n```ts\ntype DeleteJobResourceStatus = "pending" | "in_progress" | "deleted" | "skipped" | "failed"\n```\n\n### `DeleteJobCounts`\n\nAggregate counters by resource delete status.\n\n```ts\ntype DeleteJobCounts = {\n total: number\n pending: number\n in_progress: number\n deleted: number\n skipped: number\n failed: number\n}\n```\n\n### `DeleteJobRequest`\n\nRequest body for `createDeleteJob`.\n\n```ts\ntype DeleteJobRequest = {\n name?: string\n resources: Array<{\n type: string\n id: string\n title?: string\n }>\n}\n```\n\n### `DeleteJob`\n\nBulk-delete job header surfaced by `createDeleteJob`/`getDeleteJob`.\n\n```ts\ntype DeleteJob = {\n id: string\n name?: string\n status: "pending" | "in_progress" | "succeeded" | "partial" | "failed" | "cancelled"\n org_id: string\n counts: {\n total: number\n pending: number\n in_progress: number\n deleted: number\n skipped: number\n failed: number\n }\n started_at: string // date-time\n finished_at?: string // date-time\n rebuild_triggered?: boolean\n}\n```\n\n### `DeleteJobListResponse`\n\nCursor-paginated list of delete jobs.\n\n```ts\ntype DeleteJobListResponse = {\n next_cursor?: string\n results: Array<{\n id: string\n name?: string\n status: "pending" | "in_progress" | "succeeded" | "partial" | "failed" | "cancelled"\n org_id: string\n counts: {\n total: { ... }\n pending: { ... }\n in_progress: { ... }\n deleted: { ... }\n skipped: { ... }\n failed: { ... }\n }\n started_at: string // date-time\n finished_at?: string // date-time\n rebuild_triggered?: boolean\n }>\n}\n```\n\n### `DeleteJobResource`\n\nPer-resource row for a delete job.\n\n```ts\ntype DeleteJobResource = {\n type: string\n id: string\n title?: string\n status: "pending" | "in_progress" | "deleted" | "skipped" | "failed"\n attempt: number\n error?: string\n updated_at: string // date-time\n}\n```\n\n### `DeleteJobResourceListResponse`\n\nCursor-paginated list of delete job resources.\n\n```ts\ntype DeleteJobResourceListResponse = {\n next_cursor?: string\n results: Array<{\n type: string\n id: string\n title?: string\n status: "pending" | "in_progress" | "deleted" | "skipped" | "failed"\n attempt: number\n error?: string\n updated_at: string // date-time\n }>\n}\n```\n\n### `SnapshotInventoryItem`\n\nMinimal identity of a single configuration resource.\n\n```ts\ntype SnapshotInventoryItem = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n}\n```\n\n### `SnapshotInventorySkippedType`\n\nA type that could not be listed during inventory collection.\n\n```ts\ntype SnapshotInventorySkippedType = {\n type: string\n reason: string\n}\n```\n\n### `ConfigInventoryResponse`\n\nFresh inventory of all configuration resources for an org.\n\n```ts\ntype ConfigInventoryResponse = {\n inventory_id: string\n org_id: string\n indexed_at: string // date-time\n resources_count: number\n resources: Array<{\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n }>\n skipped_types: Array<{\n type: string\n reason: string\n }>\n}\n```\n';
5
+
6
+
7
+ exports.default = configuration_hub_default;