@epilot/sdk 2.20.5 → 2.20.7-alpha.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 (138) hide show
  1. package/definitions/environments.json +63 -8
  2. package/definitions/integration-toolkit-runtime.json +1 -1
  3. package/definitions/integration-toolkit.json +211 -14
  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.js +1 -1
  14. package/dist/apis/audit-logs.cjs +6 -6
  15. package/dist/apis/audit-logs.js +1 -1
  16. package/dist/apis/automation.cjs +6 -6
  17. package/dist/apis/automation.js +1 -1
  18. package/dist/apis/billing.cjs +6 -6
  19. package/dist/apis/billing.js +1 -1
  20. package/dist/apis/blueprint-manifest.cjs +6 -6
  21. package/dist/apis/blueprint-manifest.js +1 -1
  22. package/dist/apis/calendar.cjs +6 -6
  23. package/dist/apis/calendar.js +1 -1
  24. package/dist/apis/configuration-hub.cjs +6 -6
  25. package/dist/apis/configuration-hub.js +1 -1
  26. package/dist/apis/consent.cjs +6 -6
  27. package/dist/apis/consent.js +1 -1
  28. package/dist/apis/customer-portal.cjs +6 -6
  29. package/dist/apis/customer-portal.js +1 -1
  30. package/dist/apis/dashboard.cjs +6 -6
  31. package/dist/apis/dashboard.js +1 -1
  32. package/dist/apis/data-governance.cjs +6 -6
  33. package/dist/apis/data-governance.js +1 -1
  34. package/dist/apis/deduplication.cjs +6 -6
  35. package/dist/apis/deduplication.js +1 -1
  36. package/dist/apis/design.cjs +6 -6
  37. package/dist/apis/design.js +1 -1
  38. package/dist/apis/document.cjs +6 -6
  39. package/dist/apis/document.js +1 -1
  40. package/dist/apis/email-settings.cjs +6 -6
  41. package/dist/apis/email-settings.js +1 -1
  42. package/dist/apis/email-template.cjs +6 -6
  43. package/dist/apis/email-template.js +1 -1
  44. package/dist/apis/entity-mapping.cjs +6 -6
  45. package/dist/apis/entity-mapping.js +1 -1
  46. package/dist/apis/entity.cjs +6 -6
  47. package/dist/apis/entity.js +1 -1
  48. package/dist/apis/environments.cjs +6 -6
  49. package/dist/apis/environments.d.cts +2 -2
  50. package/dist/apis/environments.d.ts +2 -2
  51. package/dist/apis/environments.js +1 -1
  52. package/dist/apis/event-catalog.cjs +6 -6
  53. package/dist/apis/event-catalog.js +1 -1
  54. package/dist/apis/file.cjs +6 -6
  55. package/dist/apis/file.js +1 -1
  56. package/dist/apis/iban.cjs +6 -6
  57. package/dist/apis/iban.js +1 -1
  58. package/dist/apis/integration-toolkit.cjs +8 -8
  59. package/dist/apis/integration-toolkit.d.cts +2 -2
  60. package/dist/apis/integration-toolkit.d.ts +2 -2
  61. package/dist/apis/integration-toolkit.js +2 -2
  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/bin/cli.js +1 -1
  113. package/dist/{chunk-HMYZRD6E.cjs → chunk-22IGZ7VQ.cjs} +3 -3
  114. package/dist/{chunk-2WGN6U22.cjs → chunk-4DTTVPUM.cjs} +1 -1
  115. package/dist/{chunk-GFIWLJA6.js → chunk-QRC6XEXV.js} +3 -3
  116. package/dist/{chunk-ECZ337CC.js → chunk-WE4C7GER.js} +1 -1
  117. package/dist/environments-EAVUY4FC.cjs +7 -0
  118. package/dist/environments-RNOROUFZ.js +7 -0
  119. package/dist/{environments.d-DVgvq0wo.d.cts → environments.d-C_BTxz4W.d.cts} +175 -26
  120. package/dist/{environments.d-DVgvq0wo.d.ts → environments.d-C_BTxz4W.d.ts} +175 -26
  121. package/dist/index.cjs +10 -10
  122. package/dist/index.d.cts +2 -2
  123. package/dist/index.d.ts +2 -2
  124. package/dist/index.js +2 -2
  125. package/dist/integration-toolkit-BHVL3SDT.js +7 -0
  126. package/dist/integration-toolkit-WWHOAH3S.cjs +7 -0
  127. package/dist/{integration-toolkit-runtime-AL7GHT6B.cjs → integration-toolkit-runtime-57I2O6DI.cjs} +2 -2
  128. package/dist/{integration-toolkit-runtime-M3GLLRLF.js → integration-toolkit-runtime-TNDJH6HK.js} +1 -1
  129. package/dist/{integration-toolkit.d-CLVwmd8s.d.cts → integration-toolkit.d-rpj1kvB_.d.cts} +249 -21
  130. package/dist/{integration-toolkit.d-CLVwmd8s.d.ts → integration-toolkit.d-rpj1kvB_.d.ts} +249 -21
  131. package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
  132. package/docs/environments.md +74 -13
  133. package/docs/integration-toolkit.md +295 -22
  134. package/package.json +1 -1
  135. package/dist/environments-4YS2MZ3G.js +0 -7
  136. package/dist/environments-EJSSTDDU.cjs +0 -7
  137. package/dist/integration-toolkit-6SBBMBPK.cjs +0 -7
  138. package/dist/integration-toolkit-AWMCD2KB.js +0 -7
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2WGN6U22cjs = require('./chunk-2WGN6U22.cjs');
3
+ var _chunk4DTTVPUMcjs = require('./chunk-4DTTVPUM.cjs');
4
4
  require('./chunk-NJK5F5TF.cjs');
5
- exports. default = _chunk2WGN6U22cjs.require_integration_toolkit_runtime.call(void 0, );
5
+ exports. default = _chunk4DTTVPUMcjs.require_integration_toolkit_runtime.call(void 0, );
@@ -1,5 +1,5 @@
1
1
  import {
2
2
  require_integration_toolkit_runtime
3
- } from "./chunk-ECZ337CC.js";
3
+ } from "./chunk-WE4C7GER.js";
4
4
  import "./chunk-YPSWSI3M.js";
5
5
  export default require_integration_toolkit_runtime();
@@ -1349,7 +1349,7 @@ declare namespace Components {
1349
1349
  include_preview?: boolean;
1350
1350
  /**
1351
1351
  * Repoint an EXISTING import at this file instead of registering a new one — same row, same id, so iterating on which file to import leaves one entry in the history rather than one per attempt.
1352
- * Only a PENDING import may be repointed; any other status returns 409 with code `IMPORT_NOT_REPLACEABLE`. Past the first check the previous verdict is what tells the user what to fix, and a job that reached the execute phase may already have published rows under `correlation_id`.
1352
+ * Repointing is allowed exactly while the import has written nothing: from PENDING and READY, and from FAILED when `error.code` is one of `VALIDATION_BLOCKED`, `VALIDATE_TIMEOUT` or `FILE_FORMAT_UNSUPPORTED`. Anything else returns 409 with code `IMPORT_NOT_REPLACEABLE`. The repoint clears any verdict the import had.
1353
1353
  * An id that names nothing returns 404. It never falls back to registering a new import: a stale id must fail loudly rather than quietly produce a second one.
1354
1354
  */
1355
1355
  import_id?: string;
@@ -1464,6 +1464,15 @@ declare namespace Components {
1464
1464
  * Configuration defining environment variables needed by this integration. Values are stored in the Environments API.
1465
1465
  */
1466
1466
  environment_config?: EnvironmentFieldConfig[];
1467
+ /**
1468
+ * Re-usable key/value maps (e.g. salutation codes) declared by this integration (max 50). Each map is synced to the Environments API as a non-secret variable of type `JSON` and is available in JSONata mappings as `$env.<key>`, together with the `$mapValue(map, key, default)` and `$mapKey(map, value, default)` helpers.
1469
+ *
1470
+ */
1471
+ maps?: /**
1472
+ * A flat key/value map stored as an Environments API variable of type `JSON`. Values must be strings, numbers, booleans or null; the serialised map must not exceed 32 KB.
1473
+ *
1474
+ */
1475
+ IntegrationMap[];
1467
1476
  settings?: /* Settings for the integration */ IntegrationSettings;
1468
1477
  /**
1469
1478
  * Type of integration. "erp" is the ERP integration with inbound/outbound use cases. "connector" is for complex proxy integrations with external APIs.
@@ -1774,10 +1783,10 @@ declare namespace Components {
1774
1783
  * entity verbatim (except `$relation` / `$relation_ref` envelopes, which are validated and
1775
1784
  * resolved).
1776
1785
  *
1777
- * One event lands as one queue message, so the whole event (including this payload) must
1778
- * stay within the 256 KiB message budget. Identical consecutive payloads within 5 minutes
1779
- * can be deduplicated by the queue - use the event's `deduplication_id` deliberately when
1780
- * re-sending identical data.
1786
+ * One event lands as one queue message, so the whole serialized event (including this
1787
+ * payload and its internal envelope) must stay within the 1 MiB message budget. Identical
1788
+ * consecutive payloads within 5 minutes can be deduplicated by the queue - use the event's
1789
+ * `deduplication_id` deliberately when re-sending identical data.
1781
1790
  *
1782
1791
  */
1783
1792
  export interface DirectPayload {
@@ -2029,10 +2038,10 @@ declare namespace Components {
2029
2038
  * entity verbatim (except `$relation` / `$relation_ref` envelopes, which are validated and
2030
2039
  * resolved).
2031
2040
  *
2032
- * One event lands as one queue message, so the whole event (including this payload) must
2033
- * stay within the 256 KiB message budget. Identical consecutive payloads within 5 minutes
2034
- * can be deduplicated by the queue - use the event's `deduplication_id` deliberately when
2035
- * re-sending identical data.
2041
+ * One event lands as one queue message, so the whole serialized event (including this
2042
+ * payload and its internal envelope) must stay within the 1 MiB message budget. Identical
2043
+ * consecutive payloads within 5 minutes can be deduplicated by the queue - use the event's
2044
+ * `deduplication_id` deliberately when re-sending identical data.
2036
2045
  *
2037
2046
  */
2038
2047
  DirectPayload;
@@ -2887,6 +2896,30 @@ declare namespace Components {
2887
2896
  */
2888
2897
  correlation_id?: string;
2889
2898
  };
2899
+ /**
2900
+ * One entity instance the import will write, attributed to the mapping target that produces it.
2901
+ */
2902
+ export interface ErpImportEntityDetail {
2903
+ /**
2904
+ * Which `config.entities[]` target produced this entity — the join key back to the mapping.
2905
+ */
2906
+ mapping_index: number;
2907
+ entity_schema: string;
2908
+ /**
2909
+ * The entity's identity: its `unique_ids` as the mapping resolved them, keyed by attribute name in the order the target declares them. Values are strings, as they arrive from CSV.
2910
+ */
2911
+ business_key: {
2912
+ [name: string]: string;
2913
+ };
2914
+ /**
2915
+ * Distinct condition tuples. Absent when the entity is not conditional.
2916
+ */
2917
+ variants?: number;
2918
+ /**
2919
+ * Version writes — one per variant per effective date. Absent when the entity is not conditional.
2920
+ */
2921
+ versions?: number;
2922
+ }
2890
2923
  /**
2891
2924
  * Why the import failed — present if and only if status = FAILED. `code` is the translation key; for VALIDATION_BLOCKED the specifics are in `validation`.
2892
2925
  */
@@ -2895,7 +2928,7 @@ declare namespace Components {
2895
2928
  * Enum of possible error codes.
2896
2929
  *
2897
2930
  */
2898
- code: "VALIDATION_BLOCKED" | "FILE_FORMAT_UNSUPPORTED" | "FILE_UNAVAILABLE" | "VALIDATE_TIMEOUT" | "IMPORT_TIMEOUT" | "USE_CASE_NOT_USABLE" | "IMPORT_NO_PROGRESS" | "INTERNAL_ERROR";
2931
+ code: "VALIDATION_BLOCKED" | "FILE_FORMAT_UNSUPPORTED" | "FILE_UNAVAILABLE" | "VALIDATE_TIMEOUT" | "IMPORT_TIMEOUT" | "USE_CASE_NOT_USABLE" | "IMPORT_NO_PROGRESS" | "TIER_ROWS_NOT_GROUPED" | "INTERNAL_ERROR";
2899
2932
  /**
2900
2933
  * One English sentence, derived from `code` so the two always agree. A fallback for a client that has no translation for this code — prefer translating `code`, and never parse this. It deliberately does NOT restate `validation.issues`.
2901
2934
  */
@@ -2915,15 +2948,36 @@ declare namespace Components {
2915
2948
  rows: string[][];
2916
2949
  }
2917
2950
  /**
2918
- * A problem found during validation, scoped to the file as a whole rather than to individual rows.
2919
- * `code` is the translation key and the other fields are its parameters — there is deliberately no message to display. Each code appears at most once, with everything it has to say aggregated into that one entry.
2951
+ * A problem found during validation, scoped to the file as a whole rather than to
2952
+ * individual rows.
2953
+ *
2954
+ * `code` is the translation key and the other fields are its parameters — there is
2955
+ * deliberately no message to display. Each code appears at most once, with
2956
+ * everything it has to say aggregated into that one entry.
2957
+ *
2958
+ * The conditional codes describe a file that cannot be written as variants:
2959
+ *
2960
+ * - `TIER_ROWS_NOT_GROUPED` — rows of one variant are spread through the file;
2961
+ * `columns` names what to group by.
2962
+ * - `TIER_BANDS_CONFLICT` — two rows of one variant claim the same band.
2963
+ * - `CONDITION_VALUE_MISSING` — a condition column is blank in every row.
2964
+ * - `VARIANT_VALUE_CONFLICT` — rows of one variant disagree on a value that is not
2965
+ * the one being folded; the first row's value is what would be written.
2966
+ * - `ATTRIBUTE_NOT_OVERRIDABLE` — the schema does not let a variant override this
2967
+ * attribute, so the mapped value would be discarded.
2968
+ * - `ATTRIBUTE_NOT_IN_SCHEMA` — the schema does not have the attribute at all.
2969
+ *
2970
+ * The rest reject the mapping against the entity schemas, before the file is read, and
2971
+ * name the thing at fault in `subject`: `IS_CONDITIONAL_NOT_CONSTANT`,
2972
+ * `SCHEMA_NOT_CONDITIONABLE`, `SCHEMA_NOT_FOUND`, `SCHEMA_DECLARES_NO_CONDITIONS`,
2973
+ * `GROUPING_KEY_NOT_A_COLUMN`, `GROUPING_KEY_IS_FOLD_COLUMN`.
2920
2974
  */
2921
2975
  export interface ErpImportIssue {
2922
2976
  /**
2923
2977
  * Enum of possible issue codes.
2924
2978
  *
2925
2979
  */
2926
- code: "UNIQUE_ID_COLUMN_MISSING" | "MAPPED_COLUMN_MISSING" | "MALFORMED_ROW" | "INVALID_ENCODING" | "EMPTY_FILE" | "TOO_MANY_ROWS" | "BLANK_ROWS_SKIPPED";
2980
+ code: "UNIQUE_ID_COLUMN_MISSING" | "MAPPED_COLUMN_MISSING" | "MALFORMED_ROW" | "INVALID_ENCODING" | "EMPTY_FILE" | "TOO_MANY_ROWS" | "BLANK_ROWS_SKIPPED" | "TIER_ROWS_NOT_GROUPED" | "TIER_BANDS_CONFLICT" | "CONDITION_VALUE_MISSING" | "VARIANT_VALUE_CONFLICT" | "ATTRIBUTE_NOT_OVERRIDABLE" | "ATTRIBUTE_NOT_IN_SCHEMA" | "IS_CONDITIONAL_NOT_CONSTANT" | "SCHEMA_NOT_CONDITIONABLE" | "SCHEMA_NOT_FOUND" | "SCHEMA_DECLARES_NO_CONDITIONS" | "GROUPING_KEY_NOT_A_COLUMN" | "GROUPING_KEY_IS_FOLD_COLUMN";
2927
2981
  severity: "warning" | "blocking";
2928
2982
  /**
2929
2983
  * The columns this issue is about, at most one entry per column per entity.
@@ -2939,6 +2993,10 @@ declare namespace Components {
2939
2993
  */
2940
2994
  entity?: string;
2941
2995
  }[];
2996
+ /**
2997
+ * What the issue is about — an attribute, an entity type slug, or an "attribute reads column" pair — to substitute into the client's copy for the code. Independent of `columns`; a code can carry both.
2998
+ */
2999
+ subject?: string;
2942
3000
  /**
2943
3001
  * The offending data row, 1-based as the user counts rows. MALFORMED_ROW only.
2944
3002
  */
@@ -3032,8 +3090,9 @@ declare namespace Components {
3032
3090
  export interface ErpImportValidation {
3033
3091
  /**
3034
3092
  * Data rows the import will act on. Rows with no value in any column are dropped before they are counted, and reported as BLANK_ROWS_SKIPPED — so this can be lower than the line count of the file.
3093
+ * ABSENT when the verdict was reached without reading the file, as a mapping refused against the entity schemas alone is. Do not default it to zero.
3035
3094
  */
3036
- total_rows: number;
3095
+ total_rows?: number;
3037
3096
  /**
3038
3097
  * Blocking problems found, counting per-row ones that are not listed in `issues`.
3039
3098
  */
@@ -3045,12 +3104,41 @@ declare namespace Components {
3045
3104
  entities: {
3046
3105
  [name: string]: number;
3047
3106
  };
3107
+ /**
3108
+ * What this import will write, one entry per entity instance, capped at 20 in first-appearance order. `entities` stays exact regardless.
3109
+ */
3110
+ entity_details?: /* One entity instance the import will write, attributed to the mapping target that produces it. */ ErpImportEntityDetail[];
3111
+ /**
3112
+ * More entities exist than `entity_details` lists.
3113
+ */
3114
+ entity_details_truncated?: boolean;
3048
3115
  /**
3049
3116
  * Whole-file issues, at most one per `code`. Do not expect the length to match blocking + warnings: those also count per-row problems, which are recorded for support but never listed here. Warnings here are what `ack_warnings` on `:execute` acknowledges.
3050
3117
  */
3051
3118
  issues?: /**
3052
- * A problem found during validation, scoped to the file as a whole rather than to individual rows.
3053
- * `code` is the translation key and the other fields are its parameters — there is deliberately no message to display. Each code appears at most once, with everything it has to say aggregated into that one entry.
3119
+ * A problem found during validation, scoped to the file as a whole rather than to
3120
+ * individual rows.
3121
+ *
3122
+ * `code` is the translation key and the other fields are its parameters — there is
3123
+ * deliberately no message to display. Each code appears at most once, with
3124
+ * everything it has to say aggregated into that one entry.
3125
+ *
3126
+ * The conditional codes describe a file that cannot be written as variants:
3127
+ *
3128
+ * - `TIER_ROWS_NOT_GROUPED` — rows of one variant are spread through the file;
3129
+ * `columns` names what to group by.
3130
+ * - `TIER_BANDS_CONFLICT` — two rows of one variant claim the same band.
3131
+ * - `CONDITION_VALUE_MISSING` — a condition column is blank in every row.
3132
+ * - `VARIANT_VALUE_CONFLICT` — rows of one variant disagree on a value that is not
3133
+ * the one being folded; the first row's value is what would be written.
3134
+ * - `ATTRIBUTE_NOT_OVERRIDABLE` — the schema does not let a variant override this
3135
+ * attribute, so the mapped value would be discarded.
3136
+ * - `ATTRIBUTE_NOT_IN_SCHEMA` — the schema does not have the attribute at all.
3137
+ *
3138
+ * The rest reject the mapping against the entity schemas, before the file is read, and
3139
+ * name the thing at fault in `subject`: `IS_CONDITIONAL_NOT_CONSTANT`,
3140
+ * `SCHEMA_NOT_CONDITIONABLE`, `SCHEMA_NOT_FOUND`, `SCHEMA_DECLARES_NO_CONDITIONS`,
3141
+ * `GROUPING_KEY_NOT_A_COLUMN`, `GROUPING_KEY_IS_FOLD_COLUMN`.
3054
3142
  */
3055
3143
  ErpImportIssue[];
3056
3144
  }
@@ -4770,6 +4858,15 @@ declare namespace Components {
4770
4858
  * Configuration defining environment variables needed by this integration. Values are stored in the Environments API.
4771
4859
  */
4772
4860
  environment_config?: EnvironmentFieldConfig[];
4861
+ /**
4862
+ * Re-usable key/value maps (e.g. salutation codes) declared by this integration (max 50). Each map is synced to the Environments API as a non-secret variable of type `JSON` and is available in JSONata mappings as `$env.<key>`, together with the `$mapValue(map, key, default)` and `$mapKey(map, value, default)` helpers.
4863
+ *
4864
+ */
4865
+ maps?: /**
4866
+ * A flat key/value map stored as an Environments API variable of type `JSON`. Values must be strings, numbers, booleans or null; the serialised map must not exceed 32 KB.
4867
+ *
4868
+ */
4869
+ IntegrationMap[];
4773
4870
  settings?: /* Settings for the integration */ IntegrationSettings;
4774
4871
  /**
4775
4872
  * Type of integration. "erp" is the ERP integration with inbound/outbound use cases. "connector" is for complex proxy integrations with external APIs.
@@ -4841,6 +4938,15 @@ declare namespace Components {
4841
4938
  * Configuration defining environment variables needed by this integration. Values are stored in the Environments API.
4842
4939
  */
4843
4940
  environment_config?: EnvironmentFieldConfig[];
4941
+ /**
4942
+ * Re-usable key/value maps (e.g. salutation codes) declared by this integration (max 50). Each map is synced to the Environments API as a non-secret variable of type `JSON` and is available in JSONata mappings as `$env.<key>`, together with the `$mapValue(map, key, default)` and `$mapKey(map, value, default)` helpers.
4943
+ *
4944
+ */
4945
+ maps?: /**
4946
+ * A flat key/value map stored as an Environments API variable of type `JSON`. Values must be strings, numbers, booleans or null; the serialised map must not exceed 32 KB.
4947
+ *
4948
+ */
4949
+ IntegrationMap[];
4844
4950
  settings?: /* Settings for the integration */ IntegrationSettings;
4845
4951
  /**
4846
4952
  * Type of integration. "erp" is the ERP integration with inbound/outbound use cases. "connector" is for complex proxy integrations with external APIs.
@@ -4900,6 +5006,18 @@ declare namespace Components {
4900
5006
  *
4901
5007
  */
4902
5008
  fields?: IntegrationEntityField[];
5009
+ conditional?: /* Conditional Pricing extras for this target, used when it writes a conditional entity (a Product, Price or Coupon carrying context-dependent variants). The conditions themselves are declared on the entity schema, not here. */ IntegrationEntityConditional;
5010
+ }
5011
+ /**
5012
+ * Conditional Pricing extras for this target, used when it writes a conditional entity (a Product, Price or Coupon carrying context-dependent variants). The conditions themselves are declared on the entity schema, not here.
5013
+ */
5014
+ export interface IntegrationEntityConditional {
5015
+ /**
5016
+ * Row folds for this target. Exactly one is supported; the array is the shape for later, not a capability claim.
5017
+ */
5018
+ folds: [
5019
+ /* Collapse the rows of one variant-version into a single array attribute, ordered by a column. A commodity file carries one row per consumption band, while a variant-version holds exactly one `tiers` array. */ IntegrationEntityFold
5020
+ ];
4903
5021
  }
4904
5022
  export interface IntegrationEntityField {
4905
5023
  /**
@@ -4952,6 +5070,40 @@ declare namespace Components {
4952
5070
  */
4953
5071
  EnvVarRefConfig;
4954
5072
  }
5073
+ /**
5074
+ * Collapse the rows of one variant-version into a single array attribute, ordered by a column. A commodity file carries one row per consumption band, while a variant-version holds exactly one `tiers` array.
5075
+ */
5076
+ export interface IntegrationEntityFold {
5077
+ /**
5078
+ * The array attribute this fold builds, e.g. `tiers`.
5079
+ */
5080
+ attribute: string;
5081
+ /**
5082
+ * Orders the group's rows. Coerced to a number, so `10000` sorts after `5000` rather than before it as strings.
5083
+ */
5084
+ sort_by: /* Orders the group's rows. Coerced to a number, so `10000` sorts after `5000` rather than before it as strings. */ {
5085
+ /**
5086
+ * Source column name, or a JSONPath expression when it starts with $
5087
+ */
5088
+ field: string;
5089
+ } | {
5090
+ /**
5091
+ * Constant value, of any type
5092
+ */
5093
+ constant: any;
5094
+ } | {
5095
+ /**
5096
+ * JSONata expression evaluated against the row
5097
+ */
5098
+ jsonataExpression: string;
5099
+ };
5100
+ /**
5101
+ * Attribute name to field value, shaping one array item from one row. `jsonataExpression` is often needed here: German ERP exports carry decimal commas (`31,25`) that `Number()` cannot parse.
5102
+ */
5103
+ item: {
5104
+ [name: string]: /* One mapped value. Exactly one of field, constant or jsonataExpression must be set — the same three forms `IntegrationEntityField` accepts. */ MappedFieldValue;
5105
+ };
5106
+ }
4955
5107
  export interface IntegrationFieldV1 {
4956
5108
  /**
4957
5109
  * Target entity slug
@@ -4970,6 +5122,30 @@ declare namespace Components {
4970
5122
  */
4971
5123
  jsonataExpression?: string;
4972
5124
  }
5125
+ /**
5126
+ * A flat key/value map stored as an Environments API variable of type `JSON`. Values must be strings, numbers, booleans or null; the serialised map must not exceed 32 KB.
5127
+ *
5128
+ */
5129
+ export interface IntegrationMap {
5130
+ /**
5131
+ * Environment variable key the map is synced to (`$env.<key>` in JSONata).
5132
+ */
5133
+ key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
5134
+ /**
5135
+ * Display label for the map in the UI
5136
+ */
5137
+ label: string;
5138
+ /**
5139
+ * Help text shown for the map
5140
+ */
5141
+ description?: string;
5142
+ /**
5143
+ * The map itself, e.g. `{"Mr.": 1, "Ms. / Mrs.": 2}`
5144
+ */
5145
+ value: {
5146
+ [name: string]: any;
5147
+ };
5148
+ }
4973
5149
  export interface IntegrationMeterReading {
4974
5150
  /**
4975
5151
  * Optional JSONata expression to extract meter reading items from the event data.
@@ -5099,6 +5275,15 @@ declare namespace Components {
5099
5275
  * Configuration defining environment variables needed by this integration. Values are stored in the Environments API.
5100
5276
  */
5101
5277
  environment_config?: EnvironmentFieldConfig[];
5278
+ /**
5279
+ * Re-usable key/value maps (e.g. salutation codes) declared by this integration (max 50). Each map is synced to the Environments API as a non-secret variable of type `JSON` and is available in JSONata mappings as `$env.<key>`, together with the `$mapValue(map, key, default)` and `$mapKey(map, value, default)` helpers.
5280
+ *
5281
+ */
5282
+ maps?: /**
5283
+ * A flat key/value map stored as an Environments API variable of type `JSON`. Values must be strings, numbers, booleans or null; the serialised map must not exceed 32 KB.
5284
+ *
5285
+ */
5286
+ IntegrationMap[];
5102
5287
  settings?: /* Settings for the integration */ IntegrationSettings;
5103
5288
  /**
5104
5289
  * Type of integration. "erp" is the ERP integration with inbound/outbound use cases. "connector" is for complex proxy integrations with external APIs.
@@ -5374,6 +5559,25 @@ declare namespace Components {
5374
5559
  */
5375
5560
  types_locked?: boolean;
5376
5561
  }
5562
+ /**
5563
+ * One mapped value. Exactly one of field, constant or jsonataExpression must be set — the same three forms `IntegrationEntityField` accepts.
5564
+ */
5565
+ export type MappedFieldValue = /* One mapped value. Exactly one of field, constant or jsonataExpression must be set — the same three forms `IntegrationEntityField` accepts. */ {
5566
+ /**
5567
+ * Source column name, or a JSONPath expression when it starts with $
5568
+ */
5569
+ field: string;
5570
+ } | {
5571
+ /**
5572
+ * Constant value, of any type
5573
+ */
5574
+ constant: any;
5575
+ } | {
5576
+ /**
5577
+ * JSONata expression evaluated against the row
5578
+ */
5579
+ jsonataExpression: string;
5580
+ };
5377
5581
  export interface MappingSimulationRequest {
5378
5582
  mapping_configuration: IntegrationConfigurationV1 | IntegrationConfigurationV2;
5379
5583
  /**
@@ -8027,6 +8231,15 @@ declare namespace Components {
8027
8231
  * Configuration defining environment variables needed by this integration. Values are stored in the Environments API.
8028
8232
  */
8029
8233
  environment_config?: EnvironmentFieldConfig[];
8234
+ /**
8235
+ * Re-usable key/value maps (e.g. salutation codes) declared by this integration (max 50). Each map is synced to the Environments API as a non-secret variable of type `JSON` and is available in JSONata mappings as `$env.<key>`, together with the `$mapValue(map, key, default)` and `$mapKey(map, value, default)` helpers.
8236
+ *
8237
+ */
8238
+ maps?: /**
8239
+ * A flat key/value map stored as an Environments API variable of type `JSON`. Values must be strings, numbers, booleans or null; the serialised map must not exceed 32 KB.
8240
+ *
8241
+ */
8242
+ IntegrationMap[];
8030
8243
  settings?: /* Settings for the integration */ IntegrationSettings;
8031
8244
  /**
8032
8245
  * Type of integration. "erp" is the ERP integration with inbound/outbound use cases. "connector" is for complex proxy integrations with external APIs.
@@ -8436,7 +8649,7 @@ declare namespace Paths {
8436
8649
  export type $202 = Components.Schemas.ErpImportJob;
8437
8650
  export type $403 = Components.Responses.Forbidden;
8438
8651
  export type $404 = Components.Responses.NotFound;
8439
- export type $409 = Components.Responses.Conflict;
8652
+ export type $409 = Components.Schemas.ErrorResponseBase;
8440
8653
  export type $422 = Components.Schemas.ErrorResponseBase;
8441
8654
  export type $500 = Components.Responses.InternalServerError;
8442
8655
  }
@@ -9935,6 +10148,10 @@ interface OperationMethods {
9935
10148
  * the ERP. Returns an empty list for entities no inbound use case has
9936
10149
  * processed. Org-scoped via the caller's token.
9937
10150
  *
10151
+ * Deprecated alias: `GET /v1/entities/{entityId}/sync-status` is still
10152
+ * served (rewritten to this path in the API handler) but will be removed —
10153
+ * migrate callers to this path.
10154
+ *
9938
10155
  */
9939
10156
  'getEntitySyncStatus'(
9940
10157
  parameters?: Parameters<Paths.GetEntitySyncStatus.QueryParameters & Paths.GetEntitySyncStatus.PathParameters> | null,
@@ -10235,7 +10452,7 @@ interface OperationMethods {
10235
10452
  * createErpImport - createErpImport
10236
10453
  *
10237
10454
  * Register an already-uploaded file (S3 ref) as a pricing-file import job. Returns the job and a file preview. Nothing runs yet: no use case is chosen and no validation starts here. Optionally rank candidates with POST /v2/erp/imports/{importId}:suggest-use-cases, then start validation with POST /v2/erp/imports/{importId}:validate.
10238
- * Pass `import_id` to repoint an existing PENDING import at a different file instead, keeping its id and its place in the history.
10455
+ * Pass `import_id` to repoint an existing import at a different file instead, keeping its id and its place in the history — allowed while the import has written nothing.
10239
10456
  */
10240
10457
  'createErpImport'(
10241
10458
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10289,6 +10506,7 @@ interface OperationMethods {
10289
10506
  * executeErpImport - executeErpImport
10290
10507
  *
10291
10508
  * Confirm and run the write phase of a validated import. Only a READY job may be executed; any other status returns 409.
10509
+ * The verdict is re-checked against live inputs first: if the mapping or an entity schema changed since the check, this returns 409 `VALIDATION_STALE` and leaves the verdict untouched for `:validate` to re-form.
10292
10510
  */
10293
10511
  'executeErpImport'(
10294
10512
  parameters?: Parameters<Paths.ExecuteErpImport.PathParameters> | null,
@@ -10890,7 +11108,7 @@ interface PathsDictionary {
10890
11108
  config?: AxiosRequestConfig
10891
11109
  ): OperationResponse<Paths.GetOutboundStatus.Responses.$200>
10892
11110
  }
10893
- ['/v1/entities/{entityId}/sync-status']: {
11111
+ ['/v1/integrations/entities/{entityId}/sync-status']: {
10894
11112
  /**
10895
11113
  * getEntitySyncStatus - getEntitySyncStatus
10896
11114
  *
@@ -10903,6 +11121,10 @@ interface PathsDictionary {
10903
11121
  * the ERP. Returns an empty list for entities no inbound use case has
10904
11122
  * processed. Org-scoped via the caller's token.
10905
11123
  *
11124
+ * Deprecated alias: `GET /v1/entities/{entityId}/sync-status` is still
11125
+ * served (rewritten to this path in the API handler) but will be removed —
11126
+ * migrate callers to this path.
11127
+ *
10906
11128
  */
10907
11129
  'get'(
10908
11130
  parameters?: Parameters<Paths.GetEntitySyncStatus.QueryParameters & Paths.GetEntitySyncStatus.PathParameters> | null,
@@ -11228,7 +11450,7 @@ interface PathsDictionary {
11228
11450
  * createErpImport - createErpImport
11229
11451
  *
11230
11452
  * Register an already-uploaded file (S3 ref) as a pricing-file import job. Returns the job and a file preview. Nothing runs yet: no use case is chosen and no validation starts here. Optionally rank candidates with POST /v2/erp/imports/{importId}:suggest-use-cases, then start validation with POST /v2/erp/imports/{importId}:validate.
11231
- * Pass `import_id` to repoint an existing PENDING import at a different file instead, keeping its id and its place in the history.
11453
+ * Pass `import_id` to repoint an existing import at a different file instead, keeping its id and its place in the history — allowed while the import has written nothing.
11232
11454
  */
11233
11455
  'post'(
11234
11456
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -11305,6 +11527,7 @@ interface PathsDictionary {
11305
11527
  * executeErpImport - executeErpImport
11306
11528
  *
11307
11529
  * Confirm and run the write phase of a validated import. Only a READY job may be executed; any other status returns 409.
11530
+ * The verdict is re-checked against live inputs first: if the mapping or an entity schema changed since the check, this returns 409 `VALIDATION_STALE` and leaves the verdict untouched for `:validate` to re-form.
11308
11531
  */
11309
11532
  'post'(
11310
11533
  parameters?: Parameters<Paths.ExecuteErpImport.PathParameters> | null,
@@ -11378,6 +11601,7 @@ type EnvVarRefConfig = Components.Schemas.EnvVarRefConfig;
11378
11601
  type EnvironmentFieldConfig = Components.Schemas.EnvironmentFieldConfig;
11379
11602
  type ErpEvent = Components.Schemas.ErpEvent;
11380
11603
  type ErpEventV3 = Components.Schemas.ErpEventV3;
11604
+ type ErpImportEntityDetail = Components.Schemas.ErpImportEntityDetail;
11381
11605
  type ErpImportError = Components.Schemas.ErpImportError;
11382
11606
  type ErpImportFilePreview = Components.Schemas.ErpImportFilePreview;
11383
11607
  type ErpImportIssue = Components.Schemas.ErpImportIssue;
@@ -11424,8 +11648,11 @@ type IntegrationConfigurationV1 = Components.Schemas.IntegrationConfigurationV1;
11424
11648
  type IntegrationConfigurationV2 = Components.Schemas.IntegrationConfigurationV2;
11425
11649
  type IntegrationEditableFields = Components.Schemas.IntegrationEditableFields;
11426
11650
  type IntegrationEntity = Components.Schemas.IntegrationEntity;
11651
+ type IntegrationEntityConditional = Components.Schemas.IntegrationEntityConditional;
11427
11652
  type IntegrationEntityField = Components.Schemas.IntegrationEntityField;
11653
+ type IntegrationEntityFold = Components.Schemas.IntegrationEntityFold;
11428
11654
  type IntegrationFieldV1 = Components.Schemas.IntegrationFieldV1;
11655
+ type IntegrationMap = Components.Schemas.IntegrationMap;
11429
11656
  type IntegrationMeterReading = Components.Schemas.IntegrationMeterReading;
11430
11657
  type IntegrationNotificationConfig = Components.Schemas.IntegrationNotificationConfig;
11431
11658
  type IntegrationObjectV1 = Components.Schemas.IntegrationObjectV1;
@@ -11439,6 +11666,7 @@ type ManagedCallOperation = Components.Schemas.ManagedCallOperation;
11439
11666
  type ManagedCallOperationConfig = Components.Schemas.ManagedCallOperationConfig;
11440
11667
  type ManagedCallUseCase = Components.Schemas.ManagedCallUseCase;
11441
11668
  type ManagedCallUseCaseHistoryEntry = Components.Schemas.ManagedCallUseCaseHistoryEntry;
11669
+ type MappedFieldValue = Components.Schemas.MappedFieldValue;
11442
11670
  type MappingSimulationRequest = Components.Schemas.MappingSimulationRequest;
11443
11671
  type MappingSimulationResponse = Components.Schemas.MappingSimulationResponse;
11444
11672
  type MappingSimulationV2Request = Components.Schemas.MappingSimulationV2Request;
@@ -11539,4 +11767,4 @@ type ValidateErpImportRequest = Components.Schemas.ValidateErpImportRequest;
11539
11767
  type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
11540
11768
  type WebhookStatus = Components.Schemas.WebhookStatus;
11541
11769
 
11542
- export { type ErpImportFilePreview as $, type AccessLogEntry as A, type DirectRelationValue as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectSimulationError as E, type DirectSimulationRequest as F, type DirectSimulationResponse as G, type DocumentationPage as H, type DocumentationPageSummary as I, type EmbeddedFileProxyUseCaseRequest as J, type EmbeddedInboundUseCaseRequest as K, type EmbeddedManagedCallUseCaseRequest as L, type EmbeddedOutboundUseCaseRequest as M, type EmbeddedSecureProxyUseCaseRequest as N, type OperationMethods as O, Paths as P, type EmbeddedUseCaseRequest as Q, type EmbeddedUseCaseRequestBase as R, type EntityPruneScopeUpdate as S, type EntitySyncState as T, type EntitySyncStatusResponse as U, type EntityUpdate as V, type EnvVarRefConfig as W, type EnvironmentFieldConfig as X, type ErpEvent as Y, type ErpEventV3 as Z, type ErpImportError as _, Components as a, type MeterReadingPruneScopeConfig as a$, type ErpImportIssue as a0, type ErpImportJob as a1, type ErpImportList as a2, type ErpImportProgress as a3, type ErpImportUseCaseSuggestion as a4, type ErpImportValidation as a5, type ErpUpdatesEventsV2Request as a6, type ErpUpdatesEventsV3Request as a7, type ErrorResponseBase as a8, type ExecuteErpImportRequest as a9, type IngestExternalMonitoringEventsRequest as aA, type IngestExternalMonitoringEventsResponse as aB, type Integration as aC, type IntegrationAppMapping as aD, type IntegrationConfigurationV1 as aE, type IntegrationConfigurationV2 as aF, type IntegrationEditableFields as aG, type IntegrationEntity as aH, type IntegrationEntityField as aI, type IntegrationFieldV1 as aJ, type IntegrationMeterReading as aK, type IntegrationNotificationConfig as aL, type IntegrationObjectV1 as aM, type IntegrationSettings as aN, type IntegrationWithUseCases as aO, type ManagedCallAuth as aP, type ManagedCallErrorResponse as aQ, type ManagedCallExecuteRequest as aR, type ManagedCallExecuteResponse as aS, type ManagedCallOperation as aT, type ManagedCallOperationConfig as aU, type ManagedCallUseCase as aV, type ManagedCallUseCaseHistoryEntry as aW, type MappingSimulationRequest as aX, type MappingSimulationResponse as aY, type MappingSimulationV2Request as aZ, type MappingSimulationWarning as a_, type ExternalMonitoringSpan as aa, type FileProxyAuth as ab, type FileProxyDeliveryConfig as ac, type FileProxyFanOutConfig as ad, type FileProxyParam as ae, type FileProxyResponseConfig as af, type FileProxySecureProxyAttachment as ag, type FileProxyStep as ah, type FileProxyUploadConfig as ai, type FileProxyUrlConfig as aj, type FileProxyUrlParam as ak, type FileProxyUrlParams as al, type FileProxyUseCase as am, type FileProxyUseCaseConfiguration as an, type FileProxyUseCaseHistoryEntry as ao, type GenerateTypesPreviewResponse as ap, type GenerateTypesRequest as aq, type GenerateTypesResponse as ar, type GetMonitoringStatsRequest as as, type GetMonitoringStatsV2Request as at, type GetMonitoringTimeSeriesRequest as au, type GetMonitoringTimeSeriesV2Request as av, type InboundIntegrationEventConfiguration as aw, type InboundMonitoringEvent as ax, type InboundUseCase as ay, type InboundUseCaseHistoryEntry as az, type PathsDictionary as b, type SetIntegrationAppMappingRequest as b$, type MeterReadingPruneScopeUpdate as b0, type MeterReadingUpdate as b1, type MeterUniqueIdsConfig as b2, type MonitoringEventV2 as b3, type MonitoringStats as b4, type MonitoringStatsV2 as b5, type MonitoringTraceResponse as b6, type NotificationChannelSet as b7, type NotificationDigestConfig as b8, type NotificationHistoryItem as b9, type QueryEventsRequest as bA, type QueryInboundMonitoringEventsRequest as bB, type QueryMonitoringEventsV2Request as bC, type QueryOutboundMonitoringEventsRequest as bD, type RedriveOutboundDlqRequest as bE, type RedriveOutboundDlqResponse as bF, type RedriveOutboundDlqResult as bG, type RelationConfig as bH, type RelationItemConfig as bI, type RelationRefItemConfig as bJ, type RelationRefValueConfig as bK, type RelationRefsConfig as bL, type RelationUniqueIdField as bM, type RepeatableFieldType as bN, type ReplayEventsRequest as bO, type RuleBaselineBucket as bP, type RuleBaselineStatus as bQ, type S3Reference as bR, type SecureProxyRequest as bS, type SecureProxyResponse as bT, type SecureProxySummary as bU, type SecureProxyUpstreamError as bV, type SecureProxyUseCase as bW, type SecureProxyUseCaseConfiguration as bX, type SecureProxyUseCaseHistoryEntry as bY, type SecureProxyWhitelist as bZ, type SecureProxyWhitelistUpdate as b_, type NotificationHistoryResponse as ba, type NotificationRecipient as bb, type NotificationRule as bc, type NotificationRuleStatus as bd, type NotificationStatusResponse as be, type OutboundConflict as bf, type OutboundDlqListResponse as bg, type OutboundDlqMessage as bh, type OutboundFileProxyTargetStatus as bi, type OutboundIntegrationEventConfiguration as bj, type OutboundMapping as bk, type OutboundMessage as bl, type OutboundMonitoringEvent as bm, type OutboundPollStatus as bn, type OutboundStatusResponse as bo, type OutboundUseCase as bp, type OutboundUseCaseHistoryEntry as bq, type OutboundUseCaseStatus as br, type PollDeliveryConfig as bs, type PollOutboundMessagesRequest as bt, type PollOutboundMessagesResponse as bu, type PortalOrigin as bv, type PortalRefConfig as bw, type PortalRefFilter as bx, type PruneScopeConfig as by, type QueryAccessLogsRequest as bz, type AckOutboundMessagesRequest as c, type SuggestErpImportUseCasesResponse as c0, type TestNotificationRequest as c1, type TestNotificationResponse as c2, type TimeSeriesBreakdownItemV2 as c3, type TimeSeriesBucket as c4, type TimeSeriesBucketV2 as c5, type TriggerErpActionRequest as c6, type TriggerWebhookResp as c7, type TypeAnnotations as c8, type TypeDescriptor as c9, type UnblockOutboundStreamRequest as ca, type UnblockOutboundStreamResponse as cb, type UpdateFileProxyUseCaseRequest as cc, type UpdateInboundUseCaseRequest as cd, type UpdateIntegrationRequest as ce, type UpdateManagedCallUseCaseRequest as cf, type UpdateOutboundUseCaseRequest as cg, type UpdateSecureProxyUseCaseRequest as ch, type UpdateUseCaseRequest as ci, type UpdateUseCaseRequestBase as cj, type UpsertDocumentationPageRequest as ck, type UpsertIntegrationWithUseCasesRequest as cl, type UseCase as cm, type UseCaseBase as cn, type UseCaseHistoryEntry as co, type UseCaseHistoryEntryBase as cp, type UseCaseTypePreview as cq, type ValidateErpImportRequest as cr, type WebhookDeliveryConfig as cs, type WebhookStatus as ct, type AckOutboundMessagesResponse as d, type AckResult as e, type AutoRefreshSettings as f, type CommitTypesRequest as g, type CommitTypesResponse as h, type ConnectorConfig as i, type CreateErpImportRequest as j, type CreateErpImportResponse as k, type CreateFileProxyUseCaseRequest as l, type CreateInboundUseCaseRequest as m, type CreateIntegrationRequest as n, type CreateManagedCallUseCaseRequest as o, type CreateOutboundUseCaseRequest as p, type CreateSecureProxyUseCaseRequest as q, type CreateUseCaseRequest as r, type CreateUseCaseRequestBase as s, type DeliveryConfig as t, type DirectEntityOperation as u, type DirectMeterReadingOperation as v, type DirectPayload as w, type DirectRelationItem as x, type DirectRelationRefItem as y, type DirectRelationRefValue as z };
11770
+ export { type ErpImportError as $, type AccessLogEntry as A, type DirectRelationValue as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectSimulationError as E, type DirectSimulationRequest as F, type DirectSimulationResponse as G, type DocumentationPage as H, type DocumentationPageSummary as I, type EmbeddedFileProxyUseCaseRequest as J, type EmbeddedInboundUseCaseRequest as K, type EmbeddedManagedCallUseCaseRequest as L, type EmbeddedOutboundUseCaseRequest as M, type EmbeddedSecureProxyUseCaseRequest as N, type OperationMethods as O, Paths as P, type EmbeddedUseCaseRequest as Q, type EmbeddedUseCaseRequestBase as R, type EntityPruneScopeUpdate as S, type EntitySyncState as T, type EntitySyncStatusResponse as U, type EntityUpdate as V, type EnvVarRefConfig as W, type EnvironmentFieldConfig as X, type ErpEvent as Y, type ErpEventV3 as Z, type ErpImportEntityDetail as _, Components as a, type MappedFieldValue as a$, type ErpImportFilePreview as a0, type ErpImportIssue as a1, type ErpImportJob as a2, type ErpImportList as a3, type ErpImportProgress as a4, type ErpImportUseCaseSuggestion as a5, type ErpImportValidation as a6, type ErpUpdatesEventsV2Request as a7, type ErpUpdatesEventsV3Request as a8, type ErrorResponseBase as a9, type InboundUseCaseHistoryEntry as aA, type IngestExternalMonitoringEventsRequest as aB, type IngestExternalMonitoringEventsResponse as aC, type Integration as aD, type IntegrationAppMapping as aE, type IntegrationConfigurationV1 as aF, type IntegrationConfigurationV2 as aG, type IntegrationEditableFields as aH, type IntegrationEntity as aI, type IntegrationEntityConditional as aJ, type IntegrationEntityField as aK, type IntegrationEntityFold as aL, type IntegrationFieldV1 as aM, type IntegrationMap as aN, type IntegrationMeterReading as aO, type IntegrationNotificationConfig as aP, type IntegrationObjectV1 as aQ, type IntegrationSettings as aR, type IntegrationWithUseCases as aS, type ManagedCallAuth as aT, type ManagedCallErrorResponse as aU, type ManagedCallExecuteRequest as aV, type ManagedCallExecuteResponse as aW, type ManagedCallOperation as aX, type ManagedCallOperationConfig as aY, type ManagedCallUseCase as aZ, type ManagedCallUseCaseHistoryEntry as a_, type ExecuteErpImportRequest as aa, type ExternalMonitoringSpan as ab, type FileProxyAuth as ac, type FileProxyDeliveryConfig as ad, type FileProxyFanOutConfig as ae, type FileProxyParam as af, type FileProxyResponseConfig as ag, type FileProxySecureProxyAttachment as ah, type FileProxyStep as ai, type FileProxyUploadConfig as aj, type FileProxyUrlConfig as ak, type FileProxyUrlParam as al, type FileProxyUrlParams as am, type FileProxyUseCase as an, type FileProxyUseCaseConfiguration as ao, type FileProxyUseCaseHistoryEntry as ap, type GenerateTypesPreviewResponse as aq, type GenerateTypesRequest as ar, type GenerateTypesResponse as as, type GetMonitoringStatsRequest as at, type GetMonitoringStatsV2Request as au, type GetMonitoringTimeSeriesRequest as av, type GetMonitoringTimeSeriesV2Request as aw, type InboundIntegrationEventConfiguration as ax, type InboundMonitoringEvent as ay, type InboundUseCase as az, type PathsDictionary as b, type SecureProxyUseCase as b$, type MappingSimulationRequest as b0, type MappingSimulationResponse as b1, type MappingSimulationV2Request as b2, type MappingSimulationWarning as b3, type MeterReadingPruneScopeConfig as b4, type MeterReadingPruneScopeUpdate as b5, type MeterReadingUpdate as b6, type MeterUniqueIdsConfig as b7, type MonitoringEventV2 as b8, type MonitoringStats as b9, type PortalOrigin as bA, type PortalRefConfig as bB, type PortalRefFilter as bC, type PruneScopeConfig as bD, type QueryAccessLogsRequest as bE, type QueryEventsRequest as bF, type QueryInboundMonitoringEventsRequest as bG, type QueryMonitoringEventsV2Request as bH, type QueryOutboundMonitoringEventsRequest as bI, type RedriveOutboundDlqRequest as bJ, type RedriveOutboundDlqResponse as bK, type RedriveOutboundDlqResult as bL, type RelationConfig as bM, type RelationItemConfig as bN, type RelationRefItemConfig as bO, type RelationRefValueConfig as bP, type RelationRefsConfig as bQ, type RelationUniqueIdField as bR, type RepeatableFieldType as bS, type ReplayEventsRequest as bT, type RuleBaselineBucket as bU, type RuleBaselineStatus as bV, type S3Reference as bW, type SecureProxyRequest as bX, type SecureProxyResponse as bY, type SecureProxySummary as bZ, type SecureProxyUpstreamError as b_, type MonitoringStatsV2 as ba, type MonitoringTraceResponse as bb, type NotificationChannelSet as bc, type NotificationDigestConfig as bd, type NotificationHistoryItem as be, type NotificationHistoryResponse as bf, type NotificationRecipient as bg, type NotificationRule as bh, type NotificationRuleStatus as bi, type NotificationStatusResponse as bj, type OutboundConflict as bk, type OutboundDlqListResponse as bl, type OutboundDlqMessage as bm, type OutboundFileProxyTargetStatus as bn, type OutboundIntegrationEventConfiguration as bo, type OutboundMapping as bp, type OutboundMessage as bq, type OutboundMonitoringEvent as br, type OutboundPollStatus as bs, type OutboundStatusResponse as bt, type OutboundUseCase as bu, type OutboundUseCaseHistoryEntry as bv, type OutboundUseCaseStatus as bw, type PollDeliveryConfig as bx, type PollOutboundMessagesRequest as by, type PollOutboundMessagesResponse as bz, type AckOutboundMessagesRequest as c, type SecureProxyUseCaseConfiguration as c0, type SecureProxyUseCaseHistoryEntry as c1, type SecureProxyWhitelist as c2, type SecureProxyWhitelistUpdate as c3, type SetIntegrationAppMappingRequest as c4, type SuggestErpImportUseCasesResponse as c5, type TestNotificationRequest as c6, type TestNotificationResponse as c7, type TimeSeriesBreakdownItemV2 as c8, type TimeSeriesBucket as c9, type TimeSeriesBucketV2 as ca, type TriggerErpActionRequest as cb, type TriggerWebhookResp as cc, type TypeAnnotations as cd, type TypeDescriptor as ce, type UnblockOutboundStreamRequest as cf, type UnblockOutboundStreamResponse as cg, type UpdateFileProxyUseCaseRequest as ch, type UpdateInboundUseCaseRequest as ci, type UpdateIntegrationRequest as cj, type UpdateManagedCallUseCaseRequest as ck, type UpdateOutboundUseCaseRequest as cl, type UpdateSecureProxyUseCaseRequest as cm, type UpdateUseCaseRequest as cn, type UpdateUseCaseRequestBase as co, type UpsertDocumentationPageRequest as cp, type UpsertIntegrationWithUseCasesRequest as cq, type UseCase as cr, type UseCaseBase as cs, type UseCaseHistoryEntry as ct, type UseCaseHistoryEntryBase as cu, type UseCaseTypePreview as cv, type ValidateErpImportRequest as cw, type WebhookDeliveryConfig as cx, type WebhookStatus as cy, type AckOutboundMessagesResponse as d, type AckResult as e, type AutoRefreshSettings as f, type CommitTypesRequest as g, type CommitTypesResponse as h, type ConnectorConfig as i, type CreateErpImportRequest as j, type CreateErpImportResponse as k, type CreateFileProxyUseCaseRequest as l, type CreateInboundUseCaseRequest as m, type CreateIntegrationRequest as n, type CreateManagedCallUseCaseRequest as o, type CreateOutboundUseCaseRequest as p, type CreateSecureProxyUseCaseRequest as q, type CreateUseCaseRequest as r, type CreateUseCaseRequestBase as s, type DeliveryConfig as t, type DirectEntityOperation as u, type DirectMeterReadingOperation as v, type DirectPayload as w, type DirectRelationItem as x, type DirectRelationRefItem as y, type DirectRelationRefValue as z };