@epilot/sdk 2.20.45 → 2.20.47

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 (125) hide show
  1. package/definitions/integration-toolkit.json +18 -7
  2. package/dist/apis/access-token.cjs +6 -6
  3. package/dist/apis/access-token.js +1 -1
  4. package/dist/apis/address-suggestions.cjs +6 -6
  5. package/dist/apis/address-suggestions.js +1 -1
  6. package/dist/apis/address.cjs +6 -6
  7. package/dist/apis/address.js +1 -1
  8. package/dist/apis/ai-agents.cjs +6 -6
  9. package/dist/apis/ai-agents.js +1 -1
  10. package/dist/apis/app.cjs +6 -6
  11. package/dist/apis/app.js +1 -1
  12. package/dist/apis/audit-logs.cjs +6 -6
  13. package/dist/apis/audit-logs.js +1 -1
  14. package/dist/apis/automation.cjs +6 -6
  15. package/dist/apis/automation.js +1 -1
  16. package/dist/apis/billing.cjs +6 -6
  17. package/dist/apis/billing.js +1 -1
  18. package/dist/apis/blueprint-manifest.cjs +6 -6
  19. package/dist/apis/blueprint-manifest.js +1 -1
  20. package/dist/apis/calendar.cjs +6 -6
  21. package/dist/apis/calendar.js +1 -1
  22. package/dist/apis/chat.cjs +6 -6
  23. package/dist/apis/chat.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.js +1 -1
  50. package/dist/apis/event-catalog.cjs +6 -6
  51. package/dist/apis/event-catalog.js +1 -1
  52. package/dist/apis/file.cjs +6 -6
  53. package/dist/apis/file.js +1 -1
  54. package/dist/apis/iban.cjs +6 -6
  55. package/dist/apis/iban.js +1 -1
  56. package/dist/apis/identity.cjs +6 -6
  57. package/dist/apis/identity.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 +3 -3
  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/{chunk-5VZDYAPQ.cjs → chunk-5NZXNIBE.cjs} +1 -1
  113. package/dist/{chunk-FEW7BLOY.js → chunk-KHQACGLY.js} +1 -1
  114. package/dist/index.cjs +8 -8
  115. package/dist/index.d.cts +1 -1
  116. package/dist/index.d.ts +1 -1
  117. package/dist/index.js +1 -1
  118. package/dist/integration-toolkit-GGXTCIBG.cjs +7 -0
  119. package/dist/integration-toolkit-XPSFIGHA.js +7 -0
  120. package/dist/{integration-toolkit.d-D4CzSBOS.d.cts → integration-toolkit.d-93TYFohH.d.cts} +16 -6
  121. package/dist/{integration-toolkit.d-D4CzSBOS.d.ts → integration-toolkit.d-93TYFohH.d.ts} +16 -6
  122. package/docs/integration-toolkit.md +15 -10
  123. package/package.json +1 -1
  124. package/dist/integration-toolkit-EIVEAO4Z.cjs +0 -7
  125. package/dist/integration-toolkit-NIA5DND5.js +0 -7
@@ -2940,9 +2940,23 @@ declare namespace Components {
2940
2940
  */
2941
2941
  variants?: number;
2942
2942
  /**
2943
- * Version writes — one per variant per effective date. Absent when the entity is not conditional.
2943
+ * Version writes — one per variant per effective date. Absent when the entity is not conditional. A total across variants that need not have the same number of dates each, so it says nothing about any one variant; use `version_attribute` to tell dated variants from ones effective now.
2944
2944
  */
2945
2945
  versions?: number;
2946
+ /**
2947
+ * The schema conditions this entity's variants are split by — those the mapping reads from the file, in schema order. A condition left unmapped matches any value and one mapped as a constant pins every variant alike, so neither is listed. Absent when the entity is not conditional.
2948
+ * example:
2949
+ * [
2950
+ * "grid_area"
2951
+ * ]
2952
+ */
2953
+ condition_attributes?: string[];
2954
+ /**
2955
+ * The attribute versions are dated by (`valid_from`) when the mapping sets it. Absent when the entity is not conditional, or when every variant is effective now.
2956
+ * example:
2957
+ * valid_from
2958
+ */
2959
+ version_attribute?: string;
2946
2960
  }
2947
2961
  /**
2948
2962
  * Why the import failed — present if and only if status = FAILED. `code` is the translation key; for VALIDATION_BLOCKED the specifics are in `validation`.
@@ -3133,13 +3147,9 @@ declare namespace Components {
3133
3147
  [name: string]: number;
3134
3148
  };
3135
3149
  /**
3136
- * What this import will write, one entry per entity instance, capped at 20 in first-appearance order. `entities` stays exact regardless.
3150
+ * What this import will write, one entry per entity instance, capped at 6 per mapping target in first-appearance order, so no target crowds another out. `entities` stays exact regardless: `entities[slug]` minus the entries listed for that slug is how many are not shown.
3137
3151
  */
3138
3152
  entity_details?: /* One entity instance the import will write, attributed to the mapping target that produces it. */ ErpImportEntityDetail[];
3139
- /**
3140
- * More entities exist than `entity_details` lists.
3141
- */
3142
- entity_details_truncated?: boolean;
3143
3153
  /**
3144
3154
  * 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.
3145
3155
  */
@@ -2940,9 +2940,23 @@ declare namespace Components {
2940
2940
  */
2941
2941
  variants?: number;
2942
2942
  /**
2943
- * Version writes — one per variant per effective date. Absent when the entity is not conditional.
2943
+ * Version writes — one per variant per effective date. Absent when the entity is not conditional. A total across variants that need not have the same number of dates each, so it says nothing about any one variant; use `version_attribute` to tell dated variants from ones effective now.
2944
2944
  */
2945
2945
  versions?: number;
2946
+ /**
2947
+ * The schema conditions this entity's variants are split by — those the mapping reads from the file, in schema order. A condition left unmapped matches any value and one mapped as a constant pins every variant alike, so neither is listed. Absent when the entity is not conditional.
2948
+ * example:
2949
+ * [
2950
+ * "grid_area"
2951
+ * ]
2952
+ */
2953
+ condition_attributes?: string[];
2954
+ /**
2955
+ * The attribute versions are dated by (`valid_from`) when the mapping sets it. Absent when the entity is not conditional, or when every variant is effective now.
2956
+ * example:
2957
+ * valid_from
2958
+ */
2959
+ version_attribute?: string;
2946
2960
  }
2947
2961
  /**
2948
2962
  * Why the import failed — present if and only if status = FAILED. `code` is the translation key; for VALIDATION_BLOCKED the specifics are in `validation`.
@@ -3133,13 +3147,9 @@ declare namespace Components {
3133
3147
  [name: string]: number;
3134
3148
  };
3135
3149
  /**
3136
- * What this import will write, one entry per entity instance, capped at 20 in first-appearance order. `entities` stays exact regardless.
3150
+ * What this import will write, one entry per entity instance, capped at 6 per mapping target in first-appearance order, so no target crowds another out. `entities` stays exact regardless: `entities[slug]` minus the entries listed for that slug is how many are not shown.
3137
3151
  */
3138
3152
  entity_details?: /* One entity instance the import will write, attributed to the mapping target that produces it. */ ErpImportEntityDetail[];
3139
- /**
3140
- * More entities exist than `entity_details` lists.
3141
- */
3142
- entity_details_truncated?: boolean;
3143
3153
  /**
3144
3154
  * 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.
3145
3155
  */
@@ -3707,10 +3707,11 @@ const { data } = await client.createErpImport(
3707
3707
  "entity_schema": "string",
3708
3708
  "business_key": {},
3709
3709
  "variants": 0,
3710
- "versions": 0
3710
+ "versions": 0,
3711
+ "condition_attributes": ["grid_area"],
3712
+ "version_attribute": "valid_from"
3711
3713
  }
3712
3714
  ],
3713
- "entity_details_truncated": true,
3714
3715
  "issues": [
3715
3716
  {
3716
3717
  "code": "UNIQUE_ID_COLUMN_MISSING",
@@ -3796,10 +3797,11 @@ const { data } = await client.listErpImports({
3796
3797
  "entity_schema": "string",
3797
3798
  "business_key": {},
3798
3799
  "variants": 0,
3799
- "versions": 0
3800
+ "versions": 0,
3801
+ "condition_attributes": ["grid_area"],
3802
+ "version_attribute": "valid_from"
3800
3803
  }
3801
3804
  ],
3802
- "entity_details_truncated": true,
3803
3805
  "issues": [
3804
3806
  {
3805
3807
  "code": "UNIQUE_ID_COLUMN_MISSING",
@@ -3878,10 +3880,11 @@ const { data } = await client.getErpImport({
3878
3880
  "entity_schema": "string",
3879
3881
  "business_key": {},
3880
3882
  "variants": 0,
3881
- "versions": 0
3883
+ "versions": 0,
3884
+ "condition_attributes": ["grid_area"],
3885
+ "version_attribute": "valid_from"
3882
3886
  }
3883
3887
  ],
3884
- "entity_details_truncated": true,
3885
3888
  "issues": [
3886
3889
  {
3887
3890
  "code": "UNIQUE_ID_COLUMN_MISSING",
@@ -4188,8 +4191,9 @@ type ErpImportValidation = {
4188
4191
  business_key: Record<string, string>
4189
4192
  variants?: number
4190
4193
  versions?: number
4194
+ condition_attributes?: string[]
4195
+ version_attribute?: string
4191
4196
  }>
4192
- entity_details_truncated?: boolean
4193
4197
  issues?: Array<{
4194
4198
  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_SORT_COLUMN" | "CONDITIONAL_TARGET_MODE_UNSUPPORTED"
4195
4199
  severity: "warning" | "blocking"
@@ -4214,6 +4218,8 @@ type ErpImportEntityDetail = {
4214
4218
  business_key: Record<string, string>
4215
4219
  variants?: number
4216
4220
  versions?: number
4221
+ condition_attributes?: string[]
4222
+ version_attribute?: string
4217
4223
  }
4218
4224
  ```
4219
4225
 
@@ -4285,7 +4291,6 @@ type CreateErpImportResponse = {
4285
4291
  warnings: { ... }
4286
4292
  entities: { ... }
4287
4293
  entity_details?: { ... }
4288
- entity_details_truncated?: { ... }
4289
4294
  issues?: { ... }
4290
4295
  }
4291
4296
  progress?: {
@@ -4336,8 +4341,9 @@ type ErpImportJob = {
4336
4341
  business_key: { ... }
4337
4342
  variants?: { ... }
4338
4343
  versions?: { ... }
4344
+ condition_attributes?: { ... }
4345
+ version_attribute?: { ... }
4339
4346
  }>
4340
- entity_details_truncated?: boolean
4341
4347
  issues?: Array<{
4342
4348
  code: { ... }
4343
4349
  severity: { ... }
@@ -4385,7 +4391,6 @@ type ErpImportList = {
4385
4391
  warnings: { ... }
4386
4392
  entities: { ... }
4387
4393
  entity_details?: { ... }
4388
- entity_details_truncated?: { ... }
4389
4394
  issues?: { ... }
4390
4395
  }
4391
4396
  progress?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.20.45",
3
+ "version": "2.20.47",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",