@epilot/sdk 2.0.0-beta.6 → 2.0.4

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 (142) hide show
  1. package/definitions/entity-runtime.json +1 -1
  2. package/dist/apis/access-token.cjs +7 -7
  3. package/dist/apis/access-token.js +1 -1
  4. package/dist/apis/address-suggestions.cjs +7 -7
  5. package/dist/apis/address-suggestions.js +1 -1
  6. package/dist/apis/address.cjs +7 -7
  7. package/dist/apis/address.js +1 -1
  8. package/dist/apis/ai-agents.cjs +7 -7
  9. package/dist/apis/ai-agents.js +1 -1
  10. package/dist/apis/app.cjs +7 -7
  11. package/dist/apis/app.js +1 -1
  12. package/dist/apis/audit-logs.cjs +7 -7
  13. package/dist/apis/audit-logs.js +1 -1
  14. package/dist/apis/automation.cjs +7 -7
  15. package/dist/apis/automation.d.cts +2 -2
  16. package/dist/apis/automation.d.ts +2 -2
  17. package/dist/apis/automation.js +1 -1
  18. package/dist/apis/billing.cjs +7 -7
  19. package/dist/apis/billing.js +1 -1
  20. package/dist/apis/blueprint-manifest.cjs +7 -7
  21. package/dist/apis/blueprint-manifest.js +1 -1
  22. package/dist/apis/consent.cjs +7 -7
  23. package/dist/apis/consent.js +1 -1
  24. package/dist/apis/customer-portal.cjs +8 -8
  25. package/dist/apis/customer-portal.d.cts +2 -2
  26. package/dist/apis/customer-portal.d.ts +2 -2
  27. package/dist/apis/customer-portal.js +2 -2
  28. package/dist/apis/dashboard.cjs +7 -7
  29. package/dist/apis/dashboard.js +1 -1
  30. package/dist/apis/data-management.cjs +7 -7
  31. package/dist/apis/data-management.d.cts +2 -2
  32. package/dist/apis/data-management.d.ts +2 -2
  33. package/dist/apis/data-management.js +1 -1
  34. package/dist/apis/deduplication.cjs +7 -7
  35. package/dist/apis/deduplication.js +1 -1
  36. package/dist/apis/design.cjs +7 -7
  37. package/dist/apis/design.js +1 -1
  38. package/dist/apis/document.cjs +7 -7
  39. package/dist/apis/document.js +1 -1
  40. package/dist/apis/email-settings.cjs +7 -7
  41. package/dist/apis/email-settings.js +1 -1
  42. package/dist/apis/email-template.cjs +7 -7
  43. package/dist/apis/email-template.js +1 -1
  44. package/dist/apis/entity-mapping.cjs +7 -7
  45. package/dist/apis/entity-mapping.js +1 -1
  46. package/dist/apis/entity.cjs +8 -8
  47. package/dist/apis/entity.d.cts +2 -2
  48. package/dist/apis/entity.d.ts +2 -2
  49. package/dist/apis/entity.js +2 -2
  50. package/dist/apis/environments.cjs +7 -7
  51. package/dist/apis/environments.js +1 -1
  52. package/dist/apis/erp-integration.cjs +8 -8
  53. package/dist/apis/erp-integration.d.cts +2 -2
  54. package/dist/apis/erp-integration.d.ts +2 -2
  55. package/dist/apis/erp-integration.js +2 -2
  56. package/dist/apis/event-catalog.cjs +7 -7
  57. package/dist/apis/event-catalog.js +1 -1
  58. package/dist/apis/file.cjs +7 -7
  59. package/dist/apis/file.js +1 -1
  60. package/dist/apis/iban.cjs +7 -7
  61. package/dist/apis/iban.js +1 -1
  62. package/dist/apis/journey.cjs +7 -7
  63. package/dist/apis/journey.d.cts +2 -2
  64. package/dist/apis/journey.d.ts +2 -2
  65. package/dist/apis/journey.js +1 -1
  66. package/dist/apis/kanban.cjs +7 -7
  67. package/dist/apis/kanban.d.cts +2 -2
  68. package/dist/apis/kanban.d.ts +2 -2
  69. package/dist/apis/kanban.js +1 -1
  70. package/dist/apis/message.cjs +7 -7
  71. package/dist/apis/message.js +1 -1
  72. package/dist/apis/metering.cjs +7 -7
  73. package/dist/apis/metering.js +1 -1
  74. package/dist/apis/notes.cjs +7 -7
  75. package/dist/apis/notes.js +1 -1
  76. package/dist/apis/notification.cjs +7 -7
  77. package/dist/apis/notification.js +1 -1
  78. package/dist/apis/organization.cjs +8 -8
  79. package/dist/apis/organization.d.cts +2 -2
  80. package/dist/apis/organization.d.ts +2 -2
  81. package/dist/apis/organization.js +2 -2
  82. package/dist/apis/partner-directory.cjs +7 -7
  83. package/dist/apis/partner-directory.js +1 -1
  84. package/dist/apis/permissions.cjs +7 -7
  85. package/dist/apis/permissions.js +1 -1
  86. package/dist/apis/pricing-tier.cjs +7 -7
  87. package/dist/apis/pricing-tier.js +1 -1
  88. package/dist/apis/pricing.cjs +7 -7
  89. package/dist/apis/pricing.js +1 -1
  90. package/dist/apis/purpose.cjs +7 -7
  91. package/dist/apis/purpose.js +1 -1
  92. package/dist/apis/sandbox.cjs +7 -7
  93. package/dist/apis/sandbox.js +1 -1
  94. package/dist/apis/submission.cjs +7 -7
  95. package/dist/apis/submission.js +1 -1
  96. package/dist/apis/targeting.cjs +7 -7
  97. package/dist/apis/targeting.js +1 -1
  98. package/dist/apis/template-variables.cjs +7 -7
  99. package/dist/apis/template-variables.js +1 -1
  100. package/dist/apis/user.cjs +7 -7
  101. package/dist/apis/user.js +1 -1
  102. package/dist/apis/validation-rules.cjs +7 -7
  103. package/dist/apis/validation-rules.js +1 -1
  104. package/dist/apis/webhooks.cjs +7 -7
  105. package/dist/apis/webhooks.js +1 -1
  106. package/dist/apis/workflow-definition.cjs +7 -7
  107. package/dist/apis/workflow-definition.js +1 -1
  108. package/dist/apis/workflow.cjs +7 -7
  109. package/dist/apis/workflow.d.cts +2 -2
  110. package/dist/apis/workflow.d.ts +2 -2
  111. package/dist/apis/workflow.js +1 -1
  112. package/dist/{automation.d-sRCRiHKf.d.cts → automation.d-KOiZ6ru5.d.cts} +2 -24
  113. package/dist/{automation.d-sRCRiHKf.d.ts → automation.d-KOiZ6ru5.d.ts} +2 -24
  114. package/dist/bin/cli.js +123 -25
  115. package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
  116. package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
  117. package/dist/{customer-portal.d-D7cJvhBK.d.cts → customer-portal.d-Bh9NF8cY.d.cts} +598 -99
  118. package/dist/{customer-portal.d-D7cJvhBK.d.ts → customer-portal.d-Bh9NF8cY.d.ts} +598 -99
  119. package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.cts} +1 -2
  120. package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.ts} +1 -2
  121. package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
  122. package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
  123. package/dist/{erp-integration.d-3LmxMirP.d.cts → erp-integration.d-DOhxy4P5.d.cts} +409 -15
  124. package/dist/{erp-integration.d-3LmxMirP.d.ts → erp-integration.d-DOhxy4P5.d.ts} +409 -15
  125. package/dist/index.cjs +7 -7
  126. package/dist/index.d.cts +9 -9
  127. package/dist/index.d.ts +9 -9
  128. package/dist/index.js +1 -1
  129. package/dist/{journey.d-DkBvO_Wa.d.cts → journey.d-C4N4t1Rh.d.cts} +122 -4
  130. package/dist/{journey.d-DkBvO_Wa.d.ts → journey.d-C4N4t1Rh.d.ts} +122 -4
  131. package/dist/js-yaml-UPZKYVRY.js +2645 -0
  132. package/dist/kanban.d-CtSt3uX2.d.cts +745 -0
  133. package/dist/kanban.d-CtSt3uX2.d.ts +745 -0
  134. package/dist/organization.d-Bd2Hmk8v.d.cts +1244 -0
  135. package/dist/organization.d-Bd2Hmk8v.d.ts +1244 -0
  136. package/dist/{workflow.d-EPa2OdVW.d.cts → workflow.d-DvhTpEtU.d.cts} +45 -3
  137. package/dist/{workflow.d-EPa2OdVW.d.ts → workflow.d-DvhTpEtU.d.ts} +45 -3
  138. package/package.json +1 -1
  139. package/dist/kanban.d-DUClxyBG.d.cts +0 -630
  140. package/dist/kanban.d-DUClxyBG.d.ts +0 -630
  141. package/dist/organization.d-BOLK3v9o.d.cts +0 -628
  142. package/dist/organization.d-BOLK3v9o.d.ts +0 -628
@@ -1,8 +1,6 @@
1
1
  import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
2
2
 
3
3
  /* Auto-copied from workflow-client */
4
- /* eslint-disable */
5
-
6
4
 
7
5
 
8
6
  declare namespace Components {
@@ -184,6 +182,10 @@ declare namespace Components {
184
182
  * The user which moved the task/phase to SKIPPED state.
185
183
  */
186
184
  skipped_by?: /* The user id */ UserId;
185
+ /**
186
+ * The user which moved the task/phase to ON_HOLD state.
187
+ */
188
+ on_hold_by?: /* The user id */ UserId;
187
189
  }
188
190
  /**
189
191
  * The user ids or variable assignments
@@ -581,6 +583,19 @@ declare namespace Components {
581
583
  * For complex attribute types, specifies which sub-field to extract (e.g., 'address', 'name', 'email_type')
582
584
  */
583
585
  attribute_sub_field?: string;
586
+ /**
587
+ * Offset to apply to the source date value before comparison (e.g., +18 years for age check, +30 days for expiry)
588
+ */
589
+ date_offset?: {
590
+ /**
591
+ * Number of units to offset
592
+ */
593
+ amount?: number;
594
+ /**
595
+ * Unit of the offset
596
+ */
597
+ unit?: "days" | "months" | "years";
598
+ };
584
599
  }
585
600
  export interface ExecutionPaginationDynamo {
586
601
  orgId?: string;
@@ -1029,6 +1044,10 @@ declare namespace Components {
1029
1044
  * The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task
1030
1045
  */
1031
1046
  assignedToInProgress?: string;
1047
+ /**
1048
+ * The user which moved the step/task to the ON_HOLD state. The user should also be present in the assignedTo property of the step/task
1049
+ */
1050
+ assignedToOnHold?: string;
1032
1051
  status?: /**
1033
1052
  * **Note**: "UNASSIGNED" and "ASSIGNED" are deprecated and will be removed in a future version. Please use "PENDING" instead. Status values for workflow execution steps/tasks:
1034
1053
  * - **UNASSIGNED**: Step has not been assigned to any user (deprecated - use PENDING instead)
@@ -1124,7 +1143,10 @@ declare namespace Components {
1124
1143
  export interface StartFlowReq {
1125
1144
  flow_template_id: string;
1126
1145
  trigger?: FlowTrigger;
1127
- contexts: FlowContext[];
1146
+ contexts: [
1147
+ FlowContext,
1148
+ ...FlowContext[]
1149
+ ];
1128
1150
  /**
1129
1151
  * An array of purposes to filter workflow phases.
1130
1152
  */
@@ -1135,6 +1157,10 @@ declare namespace Components {
1135
1157
  source: EvaluationSource;
1136
1158
  operator: Operator;
1137
1159
  values: string[];
1160
+ /**
1161
+ * How to interpret values. "static" (default) means literal values. "relative_date" means values[0] is a dynamic date token like "today".
1162
+ */
1163
+ value_type?: "static" | "relative_date";
1138
1164
  }
1139
1165
  export interface Step {
1140
1166
  id: string;
@@ -1165,6 +1191,10 @@ declare namespace Components {
1165
1191
  * The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task
1166
1192
  */
1167
1193
  assignedToInProgress?: string;
1194
+ /**
1195
+ * The user which moved the step/task to the ON_HOLD state. The user should also be present in the assignedTo property of the step/task
1196
+ */
1197
+ assignedToOnHold?: string;
1168
1198
  status?: /**
1169
1199
  * **Note**: "UNASSIGNED" and "ASSIGNED" are deprecated and will be removed in a future version. Please use "PENDING" instead. Status values for workflow execution steps/tasks:
1170
1200
  * - **UNASSIGNED**: Step has not been assigned to any user (deprecated - use PENDING instead)
@@ -1235,6 +1265,10 @@ declare namespace Components {
1235
1265
  * The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task
1236
1266
  */
1237
1267
  assignedToInProgress?: string;
1268
+ /**
1269
+ * The user which moved the step/task to the ON_HOLD state. The user should also be present in the assignedTo property of the step/task
1270
+ */
1271
+ assignedToOnHold?: string;
1238
1272
  status?: /**
1239
1273
  * **Note**: "UNASSIGNED" and "ASSIGNED" are deprecated and will be removed in a future version. Please use "PENDING" instead. Status values for workflow execution steps/tasks:
1240
1274
  * - **UNASSIGNED**: Step has not been assigned to any user (deprecated - use PENDING instead)
@@ -1435,6 +1469,10 @@ declare namespace Components {
1435
1469
  * The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task
1436
1470
  */
1437
1471
  assignedToInProgress?: string;
1472
+ /**
1473
+ * The user which moved the step/task to the ON_HOLD state. The user should also be present in the assignedTo property of the step/task
1474
+ */
1475
+ assignedToOnHold?: string;
1438
1476
  status?: /**
1439
1477
  * **Note**: "UNASSIGNED" and "ASSIGNED" are deprecated and will be removed in a future version. Please use "PENDING" instead. Status values for workflow execution steps/tasks:
1440
1478
  * - **UNASSIGNED**: Step has not been assigned to any user (deprecated - use PENDING instead)
@@ -1495,6 +1533,10 @@ declare namespace Components {
1495
1533
  * The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task
1496
1534
  */
1497
1535
  assignedToInProgress?: string;
1536
+ /**
1537
+ * The user which moved the step/task to the ON_HOLD state. The user should also be present in the assignedTo property of the step/task
1538
+ */
1539
+ assignedToOnHold?: string;
1498
1540
  status?: /**
1499
1541
  * **Note**: "UNASSIGNED" and "ASSIGNED" are deprecated and will be removed in a future version. Please use "PENDING" instead. Status values for workflow execution steps/tasks:
1500
1542
  * - **UNASSIGNED**: Step has not been assigned to any user (deprecated - use PENDING instead)
@@ -1,8 +1,6 @@
1
1
  import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
2
2
 
3
3
  /* Auto-copied from workflow-client */
4
- /* eslint-disable */
5
-
6
4
 
7
5
 
8
6
  declare namespace Components {
@@ -184,6 +182,10 @@ declare namespace Components {
184
182
  * The user which moved the task/phase to SKIPPED state.
185
183
  */
186
184
  skipped_by?: /* The user id */ UserId;
185
+ /**
186
+ * The user which moved the task/phase to ON_HOLD state.
187
+ */
188
+ on_hold_by?: /* The user id */ UserId;
187
189
  }
188
190
  /**
189
191
  * The user ids or variable assignments
@@ -581,6 +583,19 @@ declare namespace Components {
581
583
  * For complex attribute types, specifies which sub-field to extract (e.g., 'address', 'name', 'email_type')
582
584
  */
583
585
  attribute_sub_field?: string;
586
+ /**
587
+ * Offset to apply to the source date value before comparison (e.g., +18 years for age check, +30 days for expiry)
588
+ */
589
+ date_offset?: {
590
+ /**
591
+ * Number of units to offset
592
+ */
593
+ amount?: number;
594
+ /**
595
+ * Unit of the offset
596
+ */
597
+ unit?: "days" | "months" | "years";
598
+ };
584
599
  }
585
600
  export interface ExecutionPaginationDynamo {
586
601
  orgId?: string;
@@ -1029,6 +1044,10 @@ declare namespace Components {
1029
1044
  * The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task
1030
1045
  */
1031
1046
  assignedToInProgress?: string;
1047
+ /**
1048
+ * The user which moved the step/task to the ON_HOLD state. The user should also be present in the assignedTo property of the step/task
1049
+ */
1050
+ assignedToOnHold?: string;
1032
1051
  status?: /**
1033
1052
  * **Note**: "UNASSIGNED" and "ASSIGNED" are deprecated and will be removed in a future version. Please use "PENDING" instead. Status values for workflow execution steps/tasks:
1034
1053
  * - **UNASSIGNED**: Step has not been assigned to any user (deprecated - use PENDING instead)
@@ -1124,7 +1143,10 @@ declare namespace Components {
1124
1143
  export interface StartFlowReq {
1125
1144
  flow_template_id: string;
1126
1145
  trigger?: FlowTrigger;
1127
- contexts: FlowContext[];
1146
+ contexts: [
1147
+ FlowContext,
1148
+ ...FlowContext[]
1149
+ ];
1128
1150
  /**
1129
1151
  * An array of purposes to filter workflow phases.
1130
1152
  */
@@ -1135,6 +1157,10 @@ declare namespace Components {
1135
1157
  source: EvaluationSource;
1136
1158
  operator: Operator;
1137
1159
  values: string[];
1160
+ /**
1161
+ * How to interpret values. "static" (default) means literal values. "relative_date" means values[0] is a dynamic date token like "today".
1162
+ */
1163
+ value_type?: "static" | "relative_date";
1138
1164
  }
1139
1165
  export interface Step {
1140
1166
  id: string;
@@ -1165,6 +1191,10 @@ declare namespace Components {
1165
1191
  * The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task
1166
1192
  */
1167
1193
  assignedToInProgress?: string;
1194
+ /**
1195
+ * The user which moved the step/task to the ON_HOLD state. The user should also be present in the assignedTo property of the step/task
1196
+ */
1197
+ assignedToOnHold?: string;
1168
1198
  status?: /**
1169
1199
  * **Note**: "UNASSIGNED" and "ASSIGNED" are deprecated and will be removed in a future version. Please use "PENDING" instead. Status values for workflow execution steps/tasks:
1170
1200
  * - **UNASSIGNED**: Step has not been assigned to any user (deprecated - use PENDING instead)
@@ -1235,6 +1265,10 @@ declare namespace Components {
1235
1265
  * The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task
1236
1266
  */
1237
1267
  assignedToInProgress?: string;
1268
+ /**
1269
+ * The user which moved the step/task to the ON_HOLD state. The user should also be present in the assignedTo property of the step/task
1270
+ */
1271
+ assignedToOnHold?: string;
1238
1272
  status?: /**
1239
1273
  * **Note**: "UNASSIGNED" and "ASSIGNED" are deprecated and will be removed in a future version. Please use "PENDING" instead. Status values for workflow execution steps/tasks:
1240
1274
  * - **UNASSIGNED**: Step has not been assigned to any user (deprecated - use PENDING instead)
@@ -1435,6 +1469,10 @@ declare namespace Components {
1435
1469
  * The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task
1436
1470
  */
1437
1471
  assignedToInProgress?: string;
1472
+ /**
1473
+ * The user which moved the step/task to the ON_HOLD state. The user should also be present in the assignedTo property of the step/task
1474
+ */
1475
+ assignedToOnHold?: string;
1438
1476
  status?: /**
1439
1477
  * **Note**: "UNASSIGNED" and "ASSIGNED" are deprecated and will be removed in a future version. Please use "PENDING" instead. Status values for workflow execution steps/tasks:
1440
1478
  * - **UNASSIGNED**: Step has not been assigned to any user (deprecated - use PENDING instead)
@@ -1495,6 +1533,10 @@ declare namespace Components {
1495
1533
  * The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task
1496
1534
  */
1497
1535
  assignedToInProgress?: string;
1536
+ /**
1537
+ * The user which moved the step/task to the ON_HOLD state. The user should also be present in the assignedTo property of the step/task
1538
+ */
1539
+ assignedToOnHold?: string;
1498
1540
  status?: /**
1499
1541
  * **Note**: "UNASSIGNED" and "ASSIGNED" are deprecated and will be removed in a future version. Please use "PENDING" instead. Status values for workflow execution steps/tasks:
1500
1542
  * - **UNASSIGNED**: Step has not been assigned to any user (deprecated - use PENDING instead)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.0.0-beta.6",
3
+ "version": "2.0.4",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",