@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.
- package/definitions/entity-runtime.json +1 -1
- package/dist/apis/access-token.cjs +7 -7
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +7 -7
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +7 -7
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +7 -7
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +7 -7
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +7 -7
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +7 -7
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +7 -7
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +7 -7
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/consent.cjs +7 -7
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +7 -7
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-management.cjs +7 -7
- package/dist/apis/data-management.d.cts +2 -2
- package/dist/apis/data-management.d.ts +2 -2
- package/dist/apis/data-management.js +1 -1
- package/dist/apis/deduplication.cjs +7 -7
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +7 -7
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +7 -7
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +7 -7
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +7 -7
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +7 -7
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +8 -8
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +7 -7
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +8 -8
- package/dist/apis/erp-integration.d.cts +2 -2
- package/dist/apis/erp-integration.d.ts +2 -2
- package/dist/apis/erp-integration.js +2 -2
- package/dist/apis/event-catalog.cjs +7 -7
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +7 -7
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +7 -7
- package/dist/apis/iban.js +1 -1
- package/dist/apis/journey.cjs +7 -7
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +7 -7
- package/dist/apis/kanban.d.cts +2 -2
- package/dist/apis/kanban.d.ts +2 -2
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +7 -7
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +7 -7
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +7 -7
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +7 -7
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +8 -8
- package/dist/apis/organization.d.cts +2 -2
- package/dist/apis/organization.d.ts +2 -2
- package/dist/apis/organization.js +2 -2
- package/dist/apis/partner-directory.cjs +7 -7
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +7 -7
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +7 -7
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +7 -7
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +7 -7
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/sandbox.cjs +7 -7
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +7 -7
- package/dist/apis/submission.js +1 -1
- package/dist/apis/targeting.cjs +7 -7
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +7 -7
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +7 -7
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +7 -7
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +7 -7
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +7 -7
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +7 -7
- package/dist/apis/workflow.d.cts +2 -2
- package/dist/apis/workflow.d.ts +2 -2
- package/dist/apis/workflow.js +1 -1
- package/dist/{automation.d-sRCRiHKf.d.cts → automation.d-KOiZ6ru5.d.cts} +2 -24
- package/dist/{automation.d-sRCRiHKf.d.ts → automation.d-KOiZ6ru5.d.ts} +2 -24
- package/dist/bin/cli.js +123 -25
- package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
- package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
- package/dist/{customer-portal.d-D7cJvhBK.d.cts → customer-portal.d-Bh9NF8cY.d.cts} +598 -99
- package/dist/{customer-portal.d-D7cJvhBK.d.ts → customer-portal.d-Bh9NF8cY.d.ts} +598 -99
- package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.cts} +1 -2
- package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.ts} +1 -2
- package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
- package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
- package/dist/{erp-integration.d-3LmxMirP.d.cts → erp-integration.d-DOhxy4P5.d.cts} +409 -15
- package/dist/{erp-integration.d-3LmxMirP.d.ts → erp-integration.d-DOhxy4P5.d.ts} +409 -15
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +1 -1
- package/dist/{journey.d-DkBvO_Wa.d.cts → journey.d-C4N4t1Rh.d.cts} +122 -4
- package/dist/{journey.d-DkBvO_Wa.d.ts → journey.d-C4N4t1Rh.d.ts} +122 -4
- package/dist/js-yaml-UPZKYVRY.js +2645 -0
- package/dist/kanban.d-CtSt3uX2.d.cts +745 -0
- package/dist/kanban.d-CtSt3uX2.d.ts +745 -0
- package/dist/organization.d-Bd2Hmk8v.d.cts +1244 -0
- package/dist/organization.d-Bd2Hmk8v.d.ts +1244 -0
- package/dist/{workflow.d-EPa2OdVW.d.cts → workflow.d-DvhTpEtU.d.cts} +45 -3
- package/dist/{workflow.d-EPa2OdVW.d.ts → workflow.d-DvhTpEtU.d.ts} +45 -3
- package/package.json +1 -1
- package/dist/kanban.d-DUClxyBG.d.cts +0 -630
- package/dist/kanban.d-DUClxyBG.d.ts +0 -630
- package/dist/organization.d-BOLK3v9o.d.cts +0 -628
- 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:
|
|
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:
|
|
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)
|