@epilot/sdk 2.2.3 → 2.2.5

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 (133) hide show
  1. package/definitions/data-management-runtime.json +1 -1
  2. package/definitions/data-management.json +11 -5
  3. package/definitions/workflow-definition-runtime.json +1 -1
  4. package/definitions/workflow-definition.json +72 -201
  5. package/dist/apis/access-token.cjs +6 -6
  6. package/dist/apis/access-token.js +1 -1
  7. package/dist/apis/address-suggestions.cjs +6 -6
  8. package/dist/apis/address-suggestions.js +1 -1
  9. package/dist/apis/address.cjs +6 -6
  10. package/dist/apis/address.js +1 -1
  11. package/dist/apis/ai-agents.cjs +6 -6
  12. package/dist/apis/ai-agents.js +1 -1
  13. package/dist/apis/app.cjs +6 -6
  14. package/dist/apis/app.js +1 -1
  15. package/dist/apis/audit-logs.cjs +6 -6
  16. package/dist/apis/audit-logs.js +1 -1
  17. package/dist/apis/automation.cjs +6 -6
  18. package/dist/apis/automation.js +1 -1
  19. package/dist/apis/billing.cjs +6 -6
  20. package/dist/apis/billing.js +1 -1
  21. package/dist/apis/blueprint-manifest.cjs +6 -6
  22. package/dist/apis/blueprint-manifest.js +1 -1
  23. package/dist/apis/consent.cjs +6 -6
  24. package/dist/apis/consent.js +1 -1
  25. package/dist/apis/customer-portal.cjs +6 -6
  26. package/dist/apis/customer-portal.js +1 -1
  27. package/dist/apis/dashboard.cjs +6 -6
  28. package/dist/apis/dashboard.js +1 -1
  29. package/dist/apis/data-management.cjs +8 -8
  30. package/dist/apis/data-management.d.cts +2 -2
  31. package/dist/apis/data-management.d.ts +2 -2
  32. package/dist/apis/data-management.js +2 -2
  33. package/dist/apis/deduplication.cjs +6 -6
  34. package/dist/apis/deduplication.js +1 -1
  35. package/dist/apis/design.cjs +6 -6
  36. package/dist/apis/design.js +1 -1
  37. package/dist/apis/document.cjs +6 -6
  38. package/dist/apis/document.js +1 -1
  39. package/dist/apis/email-settings.cjs +6 -6
  40. package/dist/apis/email-settings.js +1 -1
  41. package/dist/apis/email-template.cjs +6 -6
  42. package/dist/apis/email-template.js +1 -1
  43. package/dist/apis/entity-mapping.cjs +6 -6
  44. package/dist/apis/entity-mapping.js +1 -1
  45. package/dist/apis/entity.cjs +6 -6
  46. package/dist/apis/entity.js +1 -1
  47. package/dist/apis/environments.cjs +6 -6
  48. package/dist/apis/environments.js +1 -1
  49. package/dist/apis/erp-integration.cjs +6 -6
  50. package/dist/apis/erp-integration.js +1 -1
  51. package/dist/apis/event-catalog.cjs +6 -6
  52. package/dist/apis/event-catalog.js +1 -1
  53. package/dist/apis/file.cjs +6 -6
  54. package/dist/apis/file.js +1 -1
  55. package/dist/apis/iban.cjs +6 -6
  56. package/dist/apis/iban.js +1 -1
  57. package/dist/apis/journey.cjs +6 -6
  58. package/dist/apis/journey.js +1 -1
  59. package/dist/apis/kanban.cjs +6 -6
  60. package/dist/apis/kanban.js +1 -1
  61. package/dist/apis/message.cjs +6 -6
  62. package/dist/apis/message.js +1 -1
  63. package/dist/apis/metering.cjs +6 -6
  64. package/dist/apis/metering.js +1 -1
  65. package/dist/apis/notes.cjs +6 -6
  66. package/dist/apis/notes.js +1 -1
  67. package/dist/apis/notification.cjs +6 -6
  68. package/dist/apis/notification.js +1 -1
  69. package/dist/apis/organization.cjs +6 -6
  70. package/dist/apis/organization.js +1 -1
  71. package/dist/apis/partner-directory.cjs +6 -6
  72. package/dist/apis/partner-directory.js +1 -1
  73. package/dist/apis/permissions.cjs +6 -6
  74. package/dist/apis/permissions.js +1 -1
  75. package/dist/apis/pricing-tier.cjs +6 -6
  76. package/dist/apis/pricing-tier.js +1 -1
  77. package/dist/apis/pricing.cjs +6 -6
  78. package/dist/apis/pricing.js +1 -1
  79. package/dist/apis/purpose.cjs +6 -6
  80. package/dist/apis/purpose.js +1 -1
  81. package/dist/apis/sandbox.cjs +6 -6
  82. package/dist/apis/sandbox.js +1 -1
  83. package/dist/apis/submission.cjs +6 -6
  84. package/dist/apis/submission.js +1 -1
  85. package/dist/apis/targeting.cjs +6 -6
  86. package/dist/apis/targeting.js +1 -1
  87. package/dist/apis/template-variables.cjs +6 -6
  88. package/dist/apis/template-variables.js +1 -1
  89. package/dist/apis/user.cjs +6 -6
  90. package/dist/apis/user.js +1 -1
  91. package/dist/apis/validation-rules.cjs +6 -6
  92. package/dist/apis/validation-rules.js +1 -1
  93. package/dist/apis/webhooks.cjs +6 -6
  94. package/dist/apis/webhooks.js +1 -1
  95. package/dist/apis/workflow-definition.cjs +8 -8
  96. package/dist/apis/workflow-definition.d.cts +2 -2
  97. package/dist/apis/workflow-definition.d.ts +2 -2
  98. package/dist/apis/workflow-definition.js +2 -2
  99. package/dist/apis/workflow.cjs +6 -6
  100. package/dist/apis/workflow.js +1 -1
  101. package/dist/chunk-43GJY2EB.js +14 -0
  102. package/dist/chunk-4BCQGZJB.cjs +14 -0
  103. package/dist/chunk-6GC363VV.js +14 -0
  104. package/dist/chunk-CYS6QBW6.cjs +14 -0
  105. package/dist/{chunk-TUSCE6W2.js → chunk-OTSGPLDM.js} +4 -4
  106. package/dist/{chunk-EH7KVFLO.cjs → chunk-ZXLTSQYE.cjs} +4 -4
  107. package/dist/data-management-3N3A3XBM.js +7 -0
  108. package/dist/data-management-YXFLQWLV.cjs +7 -0
  109. package/dist/{data-management-runtime-XZ347IUB.js → data-management-runtime-DN7FGK7G.js} +1 -1
  110. package/dist/{data-management-runtime-PAC7UFGT.cjs → data-management-runtime-J5IS7T47.cjs} +2 -2
  111. package/dist/{data-management.d-CkDmJwpx.d.cts → data-management.d-BXS5jbJY.d.cts} +1 -0
  112. package/dist/{data-management.d-CkDmJwpx.d.ts → data-management.d-BXS5jbJY.d.ts} +1 -0
  113. package/dist/index.cjs +12 -12
  114. package/dist/index.d.cts +2 -2
  115. package/dist/index.d.ts +2 -2
  116. package/dist/index.js +3 -3
  117. package/dist/workflow-definition-MBOMPMCG.js +7 -0
  118. package/dist/workflow-definition-SPAHD3HS.cjs +7 -0
  119. package/dist/{workflow-definition-runtime-VRND6VQR.cjs → workflow-definition-runtime-GACBV4WM.cjs} +2 -2
  120. package/dist/{workflow-definition-runtime-S7AZHOU7.js → workflow-definition-runtime-OVXRSE34.js} +1 -1
  121. package/dist/{workflow-definition.d-CE3kk9gl.d.cts → workflow-definition.d-CtmE-ymB.d.cts} +52 -211
  122. package/dist/{workflow-definition.d-CE3kk9gl.d.ts → workflow-definition.d-CtmE-ymB.d.ts} +52 -211
  123. package/docs/data-management.md +15 -6
  124. package/docs/workflow-definition.md +121 -487
  125. package/package.json +1 -1
  126. package/dist/chunk-46HU6232.cjs +0 -14
  127. package/dist/chunk-5JPM6YUD.js +0 -14
  128. package/dist/chunk-JICWF5VI.cjs +0 -14
  129. package/dist/chunk-QT44OHHL.js +0 -14
  130. package/dist/data-management-QH2IJ5QV.js +0 -7
  131. package/dist/data-management-TEFRLGSU.cjs +0 -7
  132. package/dist/workflow-definition-B6ELOZUR.cjs +0 -7
  133. package/dist/workflow-definition-D24CRCK2.js +0 -7
@@ -1,5 +1,5 @@
1
1
  import {
2
2
  require_workflow_definition_runtime
3
- } from "./chunk-5JPM6YUD.js";
3
+ } from "./chunk-43GJY2EB.js";
4
4
  import "./chunk-YPSWSI3M.js";
5
5
  export default require_workflow_definition_runtime();
@@ -1,8 +1,6 @@
1
1
  import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
2
 
3
3
  /* Auto-copied from workflow-definition-client */
4
- /* eslint-disable */
5
-
6
4
 
7
5
 
8
6
  declare namespace Components {
@@ -36,6 +34,7 @@ declare namespace Components {
36
34
  assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
37
35
  ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
38
36
  installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
37
+ partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
39
38
  /**
40
39
  * Taxonomy ids that are associated with this workflow and used for filtering
41
40
  */
@@ -88,6 +87,7 @@ declare namespace Components {
88
87
  assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
89
88
  ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
90
89
  installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
90
+ partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
91
91
  /**
92
92
  * Taxonomy ids that are associated with this workflow and used for filtering
93
93
  */
@@ -135,8 +135,8 @@ declare namespace Components {
135
135
  */
136
136
  export interface ClosingReason {
137
137
  id?: string;
138
- title: string;
139
- status: ClosingReasonsStatus;
138
+ title?: string;
139
+ status?: ClosingReasonsStatus;
140
140
  lastUpdateTime?: string;
141
141
  creationTime?: string;
142
142
  }
@@ -169,7 +169,7 @@ declare namespace Components {
169
169
  */
170
170
  branch_name: string;
171
171
  logical_operator: "AND" | "OR";
172
- statements: Statement[];
172
+ statements: Statement[] | null;
173
173
  }
174
174
  export interface CreateFlowTemplate {
175
175
  id?: string;
@@ -280,6 +280,7 @@ declare namespace Components {
280
280
  assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
281
281
  ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
282
282
  installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
283
+ partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
283
284
  /**
284
285
  * Taxonomy ids that are associated with this workflow and used for filtering
285
286
  */
@@ -321,7 +322,7 @@ declare namespace Components {
321
322
  export interface DueDateConfig {
322
323
  duration: number;
323
324
  unit: TimeUnit;
324
- type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED";
325
+ type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED";
325
326
  task_id?: string;
326
327
  phase_id?: string;
327
328
  }
@@ -347,7 +348,7 @@ declare namespace Components {
347
348
  export interface Edge {
348
349
  id: string;
349
350
  from_id: string;
350
- to_id: string;
351
+ to_id?: string | null;
351
352
  condition_id?: string;
352
353
  /**
353
354
  * Indicates a default case for a decision task. Only decision task edges can have this field and the flow advances using this edge if no conditions are met.
@@ -447,102 +448,24 @@ declare namespace Components {
447
448
  attribute_repeatable?: boolean;
448
449
  attribute_operation?: "all" | "updated" | "added" | "deleted";
449
450
  /**
450
- * For complex attribute types, specifies which sub-field to extract (e.g., 'address', 'name', 'email_type')
451
+ * For complex attribute types, specifies which sub-field to extract (e.g., "address", "name", "email_type")
451
452
  */
452
453
  attribute_sub_field?: string;
453
- }
454
- export interface FlowTemplate {
455
- id?: string;
456
- org_id?: string;
457
- name: string;
458
- description?: string;
459
- trigger?: /**
460
- * example:
461
- * {
462
- * "type": "automation",
463
- * "automation_id": "g92j2-sg9ug92hjt1gh-9s9gajgs-a979gg"
464
- * }
465
- */
466
- Trigger;
467
- /**
468
- * Whether the workflow is enabled or not
469
- */
470
- enabled?: boolean;
471
- version?: /**
472
- * Version of the workflow schema.
473
- *
474
- * - `v1` – *Deprecated*. The initial version of workflows with limited structure and automation capabilities.
475
- * - `v2` – Linear workflows. Supports sequential task execution with basic automation triggers.
476
- * - `v3` – Advanced workflows. Adds support for branching logic (conditions), parallel paths, and enhanced automation features such as dynamic triggers and flow control.
477
- *
478
- * example:
479
- * 2
480
- */
481
- Version;
482
- /**
483
- * ISO String Date & Time
484
- * example:
485
- * 2021-04-27T12:01:13.000Z
486
- */
487
- created_at?: string;
488
454
  /**
489
- * ISO String Date & Time
490
- * example:
491
- * 2021-04-27T12:01:13.000Z
455
+ * Offset to apply to the source date value before comparison (e.g., +18 years for age check, +30 days for expiry)
492
456
  */
493
- updated_at?: string;
494
- /**
495
- * example:
496
- * 2021-04-27T12:00:00.000Z
497
- */
498
- due_date?: string;
499
- due_date_config?: /* Set due date for the task based on a dynamic condition */ DueDateConfig;
500
- assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
501
- /**
502
- * Indicates whether this workflow is available for End Customer Portal or not. By default it's not.
503
- */
504
- available_in_ecp?: boolean;
505
- /**
506
- * Additional trigger configurations that can also start this flow. Useful for flows that should be startable via multiple methods (e.g., both automation AND manual).
507
- */
508
- additional_triggers?: /**
509
- * example:
510
- * {
511
- * "type": "automation",
512
- * "automation_id": "g92j2-sg9ug92hjt1gh-9s9gajgs-a979gg"
513
- * }
514
- */
515
- Trigger[];
516
- phases?: Phase[];
517
- tasks: Task[];
518
- edges: Edge[];
519
- closing_reasons?: /* One Closing reason for a workflow */ ClosingReason[];
520
- entity_sync?: /**
521
- * example:
522
- * {
523
- * "trigger": {
524
- * "event": "FlowStarted"
525
- * },
526
- * "target": {
527
- * "entitySchema": "opportunity",
528
- * "entityAttribute": "title"
529
- * },
530
- * "value": {
531
- * "source": "workflow_name"
532
- * }
533
- * }
534
- */
535
- EntitySync[];
536
- /**
537
- * Taxonomy ids that are associated with this workflow and used for filtering
538
- */
539
- taxonomies?: string[];
540
- /**
541
- * Whether only a single closing reason can be selected
542
- */
543
- singleClosingReasonSelection?: boolean;
457
+ date_offset?: {
458
+ /**
459
+ * Number of units to offset
460
+ */
461
+ amount?: number;
462
+ /**
463
+ * Unit of the offset
464
+ */
465
+ unit?: "days" | "months" | "years";
466
+ };
544
467
  }
545
- export interface FlowTemplateBase {
468
+ export interface FlowTemplate {
546
469
  id?: string;
547
470
  org_id?: string;
548
471
  name: string;
@@ -633,7 +556,7 @@ declare namespace Components {
633
556
  */
634
557
  singleClosingReasonSelection?: boolean;
635
558
  }
636
- export interface FlowTemplateExport {
559
+ export interface FlowTemplateBase {
637
560
  id?: string;
638
561
  org_id?: string;
639
562
  name: string;
@@ -723,14 +646,6 @@ declare namespace Components {
723
646
  * Whether only a single closing reason can be selected
724
647
  */
725
648
  singleClosingReasonSelection?: boolean;
726
- /**
727
- * Map of automation_id to full AutomationFlow object. Null values indicate automations that could not be resolved.
728
- */
729
- _resolved_automations?: {
730
- [name: string]: {
731
- [key: string]: any;
732
- };
733
- };
734
649
  }
735
650
  /**
736
651
  * Short unique id (length 8) to identify the Flow Template.
@@ -738,30 +653,6 @@ declare namespace Components {
738
653
  * 7hj28akg
739
654
  */
740
655
  export type FlowTemplateId = string;
741
- export interface FlowTemplateImportResult {
742
- flow?: FlowTemplate;
743
- /**
744
- * Maps old IDs to new IDs for cross-referencing by callers (e.g. blueprint service)
745
- */
746
- _id_mappings?: {
747
- flow_id?: {
748
- old?: string;
749
- new?: string;
750
- };
751
- /**
752
- * Map of old_task_id to new_task_id
753
- */
754
- task_ids?: {
755
- [name: string]: string;
756
- };
757
- /**
758
- * Map of old_automation_id to new_automation_id
759
- */
760
- automation_ids?: {
761
- [name: string]: string;
762
- };
763
- };
764
- }
765
656
  export interface FlowTemplatesList {
766
657
  results: FlowTemplate[];
767
658
  }
@@ -808,6 +699,7 @@ declare namespace Components {
808
699
  assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
809
700
  ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
810
701
  installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
702
+ partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
811
703
  /**
812
704
  * Taxonomy ids that are associated with this workflow and used for filtering
813
705
  */
@@ -825,6 +717,14 @@ declare namespace Components {
825
717
  maxAllowed?: number;
826
718
  }
827
719
  export type Operator = "equals" | "not_equals" | "any_of" | "none_of" | "contains" | "not_contains" | "starts_with" | "ends_with" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "is_empty" | "is_not_empty";
720
+ /**
721
+ * Details regarding partner for the workflow step
722
+ */
723
+ export interface PartnerDetails {
724
+ enabled?: boolean;
725
+ label?: string;
726
+ description?: string;
727
+ }
828
728
  export interface Phase {
829
729
  id: string;
830
730
  name: string;
@@ -847,10 +747,10 @@ declare namespace Components {
847
747
  unit: TimeUnit;
848
748
  reference: {
849
749
  /**
850
- * The id of the entity / workflow / task, based on the origin of the schedule
750
+ * The id of the entity / workflow / task, based on the origin of the schedule. For all_preceding_tasks_completed, use the sentinel value "all_preceding_tasks_completed".
851
751
  */
852
752
  id: string;
853
- origin: "flow_started" | "task_completed" | "trigger_entity_attribute";
753
+ origin: "flow_started" | "task_completed" | "trigger_entity_attribute" | "all_preceding_tasks_completed";
854
754
  /**
855
755
  * The schema of the entity
856
756
  */
@@ -897,6 +797,10 @@ declare namespace Components {
897
797
  source: EvaluationSource;
898
798
  operator: Operator;
899
799
  values: string[];
800
+ /**
801
+ * How to interpret values. "static" (default) means literal values. "relative_date" means values[0] is a dynamic date token like "today".
802
+ */
803
+ value_type?: "static" | "relative_date";
900
804
  }
901
805
  /**
902
806
  * Action that needs to be done in a Workflow
@@ -932,6 +836,10 @@ declare namespace Components {
932
836
  type: ItemType;
933
837
  ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
934
838
  installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
839
+ /**
840
+ * Partner-specific task details shown to partner org users viewing shared resources
841
+ */
842
+ partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
935
843
  /**
936
844
  * Taxonomy ids that are associated with this workflow and used for filtering
937
845
  */
@@ -981,6 +889,10 @@ declare namespace Components {
981
889
  assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
982
890
  ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
983
891
  installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
892
+ /**
893
+ * Partner-specific task details shown to partner org users viewing shared resources
894
+ */
895
+ partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
984
896
  /**
985
897
  * Taxonomy ids that are associated with this workflow and used for filtering
986
898
  */
@@ -1033,11 +945,13 @@ declare namespace Components {
1033
945
  */
1034
946
  variable: string;
1035
947
  /**
1036
- * The resolved value after variable evaluation (populated during execution)
948
+ * The resolved values after variable evaluation (populated during execution)
1037
949
  * example:
1038
- * user_12345
950
+ * [
951
+ * "user_12345"
952
+ * ]
1039
953
  */
1040
- value?: string;
954
+ value?: string[];
1041
955
  }
1042
956
  /**
1043
957
  * Version of the workflow schema.
@@ -1215,25 +1129,6 @@ declare namespace Paths {
1215
1129
  export type $500 = Components.Schemas.ErrorResp;
1216
1130
  }
1217
1131
  }
1218
- namespace ExportFlowTemplate {
1219
- namespace Parameters {
1220
- export type FlowId = /**
1221
- * Short unique id (length 8) to identify the Flow Template.
1222
- * example:
1223
- * 7hj28akg
1224
- */
1225
- Components.Schemas.FlowTemplateId;
1226
- }
1227
- export interface PathParameters {
1228
- flowId: Parameters.FlowId;
1229
- }
1230
- namespace Responses {
1231
- export type $200 = Components.Schemas.FlowTemplateExport;
1232
- export type $401 = Components.Schemas.ErrorResp;
1233
- export type $404 = Components.Schemas.ErrorResp;
1234
- export type $500 = Components.Schemas.ErrorResp;
1235
- }
1236
- }
1237
1132
  namespace GetAllClosingReasons {
1238
1133
  namespace Parameters {
1239
1134
  export type IncludeInactive = boolean;
@@ -1340,15 +1235,6 @@ declare namespace Paths {
1340
1235
  export type $200 = Components.Schemas.ClosingReasonsIds;
1341
1236
  }
1342
1237
  }
1343
- namespace ImportFlowTemplate {
1344
- export type RequestBody = Components.Schemas.FlowTemplateExport;
1345
- namespace Responses {
1346
- export type $201 = Components.Schemas.FlowTemplateImportResult;
1347
- export type $400 = Components.Schemas.ErrorResp;
1348
- export type $401 = Components.Schemas.ErrorResp;
1349
- export type $500 = Components.Schemas.ErrorResp;
1350
- }
1351
- }
1352
1238
  namespace ListFlowTemplates {
1353
1239
  namespace Parameters {
1354
1240
  export type TriggerSchema = string;
@@ -1550,26 +1436,6 @@ interface OperationMethods {
1550
1436
  data?: any,
1551
1437
  config?: AxiosRequestConfig
1552
1438
  ): OperationResponse<Paths.DuplicateFlowTemplate.Responses.$201>
1553
- /**
1554
- * exportFlowTemplate - exportFlowTemplate
1555
- *
1556
- * Export a Flow Template with all referenced automations resolved and bundled alongside.
1557
- */
1558
- 'exportFlowTemplate'(
1559
- parameters?: Parameters<Paths.ExportFlowTemplate.PathParameters> | null,
1560
- data?: any,
1561
- config?: AxiosRequestConfig
1562
- ): OperationResponse<Paths.ExportFlowTemplate.Responses.$200>
1563
- /**
1564
- * importFlowTemplate - importFlowTemplate
1565
- *
1566
- * Import a Flow Template from an export payload. Creates all automations and the flow in the caller's organization.
1567
- */
1568
- 'importFlowTemplate'(
1569
- parameters?: Parameters<UnknownParamsObject> | null,
1570
- data?: Paths.ImportFlowTemplate.RequestBody,
1571
- config?: AxiosRequestConfig
1572
- ): OperationResponse<Paths.ImportFlowTemplate.Responses.$201>
1573
1439
  /**
1574
1440
  * getDefinition - getDefinition
1575
1441
  *
@@ -1805,30 +1671,6 @@ interface PathsDictionary {
1805
1671
  config?: AxiosRequestConfig
1806
1672
  ): OperationResponse<Paths.DuplicateFlowTemplate.Responses.$201>
1807
1673
  }
1808
- ['/v2/flows/templates/{flowId}/export']: {
1809
- /**
1810
- * exportFlowTemplate - exportFlowTemplate
1811
- *
1812
- * Export a Flow Template with all referenced automations resolved and bundled alongside.
1813
- */
1814
- 'get'(
1815
- parameters?: Parameters<Paths.ExportFlowTemplate.PathParameters> | null,
1816
- data?: any,
1817
- config?: AxiosRequestConfig
1818
- ): OperationResponse<Paths.ExportFlowTemplate.Responses.$200>
1819
- }
1820
- ['/v2/flows/templates/import']: {
1821
- /**
1822
- * importFlowTemplate - importFlowTemplate
1823
- *
1824
- * Import a Flow Template from an export payload. Creates all automations and the flow in the caller's organization.
1825
- */
1826
- 'post'(
1827
- parameters?: Parameters<UnknownParamsObject> | null,
1828
- data?: Paths.ImportFlowTemplate.RequestBody,
1829
- config?: AxiosRequestConfig
1830
- ): OperationResponse<Paths.ImportFlowTemplate.Responses.$201>
1831
- }
1832
1674
  ['/v1/workflows/definitions/{definitionId}']: {
1833
1675
  /**
1834
1676
  * getDefinition - getDefinition
@@ -1992,9 +1834,7 @@ type ErrorResp = Components.Schemas.ErrorResp;
1992
1834
  type EvaluationSource = Components.Schemas.EvaluationSource;
1993
1835
  type FlowTemplate = Components.Schemas.FlowTemplate;
1994
1836
  type FlowTemplateBase = Components.Schemas.FlowTemplateBase;
1995
- type FlowTemplateExport = Components.Schemas.FlowTemplateExport;
1996
1837
  type FlowTemplateId = Components.Schemas.FlowTemplateId;
1997
- type FlowTemplateImportResult = Components.Schemas.FlowTemplateImportResult;
1998
1838
  type FlowTemplatesList = Components.Schemas.FlowTemplatesList;
1999
1839
  type ImmediateSchedule = Components.Schemas.ImmediateSchedule;
2000
1840
  type ItemType = Components.Schemas.ItemType;
@@ -2004,6 +1844,7 @@ type ManualTask = Components.Schemas.ManualTask;
2004
1844
  type ManualTrigger = Components.Schemas.ManualTrigger;
2005
1845
  type MaxAllowedLimit = Components.Schemas.MaxAllowedLimit;
2006
1846
  type Operator = Components.Schemas.Operator;
1847
+ type PartnerDetails = Components.Schemas.PartnerDetails;
2007
1848
  type Phase = Components.Schemas.Phase;
2008
1849
  type RelativeSchedule = Components.Schemas.RelativeSchedule;
2009
1850
  type SearchFlowTemplates = Components.Schemas.SearchFlowTemplates;
@@ -2026,4 +1867,4 @@ type VariableAssignment = Components.Schemas.VariableAssignment;
2026
1867
  type Version = Components.Schemas.Version;
2027
1868
  type WorkflowDefinition = Components.Schemas.WorkflowDefinition;
2028
1869
 
2029
- export { type StepRequirement as $, type ActionSchedule as A, type FlowTemplateExport as B, type Client as C, type DecisionTask as D, type ECPDetails as E, type FlowTemplate as F, type FlowTemplateId as G, type FlowTemplateImportResult as H, type FlowTemplatesList as I, type ImmediateSchedule as J, type ItemType as K, type JourneyAutomationTrigger as L, type JourneySubmissionTrigger as M, type ManualTask as N, type OperationMethods as O, Paths as P, type ManualTrigger as Q, type MaxAllowedLimit as R, type Operator as S, type Phase as T, type RelativeSchedule as U, SearchFlowTemplates as V, type Section as W, type Statement as X, type Step as Y, type StepDescription as Z, type StepJourney as _, Components as a, type StepType as a0, type Task as a1, type TaskBase as a2, type TaskType as a3, type TimeUnit as a4, type Trigger as a5, type TriggerMode as a6, type TriggerType as a7, type UpdateEntityAttributes as a8, type VariableAssignment as a9, type Version as aa, type WorkflowDefinition as ab, type PathsDictionary as b, type AgentConfig as c, type AiAgentTask as d, type AutomationConfig as e, type AutomationTask as f, type AutomationTrigger as g, type ChangeReasonStatusReq as h, type ClosingReason as i, type ClosingReasonId as j, type ClosingReasonNotFoundResp as k, type ClosingReasons as l, type ClosingReasonsIds as m, type ClosingReasonsStatus as n, type Condition as o, CreateFlowTemplate as p, type DefinitionNotFoundResp as q, type DelayedSchedule as r, type DueDateConfig as s, type DynamicDueDate as t, type Edge as u, type EnableRequirement as v, type EntitySync as w, type ErrorResp as x, type EvaluationSource as y, type FlowTemplateBase as z };
1870
+ export { type StepType as $, type ActionSchedule as A, type FlowTemplateId as B, type Client as C, type DecisionTask as D, type ECPDetails as E, type FlowTemplate as F, type FlowTemplatesList as G, type ItemType as H, type ImmediateSchedule as I, type JourneyAutomationTrigger as J, type JourneySubmissionTrigger as K, type ManualTrigger as L, type ManualTask as M, type MaxAllowedLimit as N, type OperationMethods as O, Paths as P, type Operator as Q, type PartnerDetails as R, type Phase as S, type RelativeSchedule as T, SearchFlowTemplates as U, type Section as V, type Statement as W, type Step as X, type StepDescription as Y, type StepJourney as Z, type StepRequirement as _, Components as a, type Task as a0, type TaskBase as a1, type TaskType as a2, type TimeUnit as a3, type Trigger as a4, type TriggerMode as a5, type TriggerType as a6, type UpdateEntityAttributes as a7, type VariableAssignment as a8, type Version as a9, type WorkflowDefinition as aa, type PathsDictionary as b, type AgentConfig as c, type AiAgentTask as d, type AutomationConfig as e, type AutomationTask as f, type AutomationTrigger as g, type ChangeReasonStatusReq as h, type ClosingReason as i, type ClosingReasonId as j, type ClosingReasonNotFoundResp as k, type ClosingReasons as l, type ClosingReasonsIds as m, type ClosingReasonsStatus as n, type Condition as o, CreateFlowTemplate as p, type DefinitionNotFoundResp as q, type DelayedSchedule as r, type DueDateConfig as s, type DynamicDueDate as t, type Edge as u, type EnableRequirement as v, type EntitySync as w, type ErrorResp as x, type EvaluationSource as y, type FlowTemplateBase as z };