@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 +1 @@
1
- {"s":"https://data-management.sls.epilot.io","o":[["queryEntities","post","/data-management/v1/{entity_schema}/query",[["entity_schema","p",true]],1],["createJob","post","/data-management/v1/{entity_schema}/jobs",[["entity_schema","p",true]],1],["updateJob","patch","/data-management/v1/{entity_schema}/jobs/{job_id}",[["entity_schema","p",true],["job_id","p",true]],1],["getJob","get","/data-management/v1/jobs/{job_id}",[["job_id","p",true]]],["getJobReportUrl","get","/data-management/v1/jobs/{job_id}/report-url",[["job_id","p",true]]],["getConfig","get","/data-management/v1/configs/{config_id}",[["config_id","p",true]]],["createJobForConfig","post","/data-management/v1/configs/{config_id}/jobs",[["config_id","p",true]]],["upsertConfig","post","/data-management/v1/{entity_schema}/configs",[["entity_schema","p",true]],1],["listConfigs","get","/data-management/v1/configs",[["limit","q"],["cursor","q"],["entity_schema","q"],["type","q"],["next_run_at","q"],["enabled","q"]]],["listJobs","get","/data-management/v1/jobs",[["limit","q"],["cursor","q"],["entity_schema","q"],["type","q"],["status","q"],["config_id","q"]]]],"v":"3.0.3"}
1
+ {"s":"","o":[["queryEntities","post","/data-management/v1/{entity_schema}/query",[["entity_schema","p",true]],1],["createJob","post","/data-management/v1/{entity_schema}/jobs",[["entity_schema","p",true]],1],["updateJob","patch","/data-management/v1/{entity_schema}/jobs/{job_id}",[["entity_schema","p",true],["job_id","p",true]],1],["getJob","get","/data-management/v1/jobs/{job_id}",[["job_id","p",true]]],["getJobReportUrl","get","/data-management/v1/jobs/{job_id}/report-url",[["job_id","p",true]]],["getConfig","get","/data-management/v1/configs/{config_id}",[["config_id","p",true]]],["createJobForConfig","post","/data-management/v1/configs/{config_id}/jobs",[["config_id","p",true]]],["upsertConfig","post","/data-management/v1/{entity_schema}/configs",[["entity_schema","p",true]],1],["listConfigs","get","/data-management/v1/configs",[["limit","q"],["cursor","q"],["entity_schema","q"],["type","q"],["next_run_at","q"],["enabled","q"]]],["listJobs","get","/data-management/v1/jobs",[["limit","q"],["cursor","q"],["entity_schema","q"],["type","q"],["status","q"],["config_id","q"]]]],"v":"3.0.3"}
@@ -749,6 +749,16 @@
749
749
  "RECEIVED"
750
750
  ]
751
751
  }
752
+ },
753
+ "workflow_status": {
754
+ "type": "array",
755
+ "items": {
756
+ "type": "string",
757
+ "enum": [
758
+ "CLOSED",
759
+ "DONE"
760
+ ]
761
+ }
752
762
  }
753
763
  }
754
764
  },
@@ -964,9 +974,5 @@
964
974
  }
965
975
  }
966
976
  },
967
- "servers": [
968
- {
969
- "url": "https://data-management.sls.epilot.io"
970
- }
971
- ]
977
+ "servers": []
972
978
  }
@@ -1 +1 @@
1
- {"s":"https://workflows-definition.sls.epilot.io","o":[["getMaxAllowedLimit","get","/v1/workflows/limits/max-allowed"],["getDefinitions","get","/v1/workflows/definitions"],["createDefinition","post","/v1/workflows/definitions",null,1],["listFlowTemplates","get","/v2/flows/templates",[["trigger_type","q"],["trigger_source_id","q"],["trigger_schema","q"]]],["createFlowTemplate","post","/v2/flows/templates",null,1],["searchFlowTemplates","post","/v2/flows/templates:search",null,1],["getFlowTemplate","get","/v2/flows/templates/{flowId}",[["flowId","p",true]]],["updateFlowTemplate","put","/v2/flows/templates/{flowId}",[["flowId","p",true]],1],["deleteFlowTemplate","delete","/v2/flows/templates/{flowId}",[["flowId","p",true]]],["duplicateFlowTemplate","post","/v2/flows/templates/{flowId}/duplicate",[["flowId","p",true]]],["exportFlowTemplate","get","/v2/flows/templates/{flowId}/export",[["flowId","p",true]]],["importFlowTemplate","post","/v2/flows/templates/import",null,1],["getDefinition","get","/v1/workflows/definitions/{definitionId}",[["definitionId","p",true]]],["updateDefinition","put","/v1/workflows/definitions/{definitionId}",[["definitionId","p",true]],1],["deleteDefinition","delete","/v1/workflows/definitions/{definitionId}",[["definitionId","p",true]]],["getAllClosingReasons","get","/v1/workflows/closing-reasons",[["includeInactive","q"]]],["createClosingReason","post","/v1/workflows/closing-reasons",null,1],["getClosingReason","get","/v2/workflows/closing-reasons/{reasonId}",[["reasonId","p",true]]],["updateClosingReason","patch","/v2/workflows/closing-reasons/{reasonId}",[["reasonId","p",true]],1],["deleteClosingReason","delete","/v2/workflows/closing-reasons/{reasonId}",[["reasonId","p",true]]],["getClosingReasonV1","get","/v1/workflows/closing-reasons/{reasonId}",[["reasonId","p",true]]],["changeReasonStatus","patch","/v1/workflows/closing-reasons/{reasonId}",[["reasonId","p",true]],1],["getWorkflowClosingReasons","get","/v1/workflows/definitions/{definitionId}/closing-reasons",[["definitionId","p",true]]],["setWorkflowClosingReasons","patch","/v1/workflows/definitions/{definitionId}/closing-reasons",[["definitionId","p",true]],1]],"v":"3.0.0"}
1
+ {"s":"https://workflows-definition.sls.epilot.io","o":[["getMaxAllowedLimit","get","/v1/workflows/limits/max-allowed"],["getDefinitions","get","/v1/workflows/definitions"],["createDefinition","post","/v1/workflows/definitions",null,1],["listFlowTemplates","get","/v2/flows/templates",[["trigger_type","q"],["trigger_source_id","q"],["trigger_schema","q"]]],["createFlowTemplate","post","/v2/flows/templates",null,1],["searchFlowTemplates","post","/v2/flows/templates:search",null,1],["getFlowTemplate","get","/v2/flows/templates/{flowId}",[["flowId","p",true]]],["updateFlowTemplate","put","/v2/flows/templates/{flowId}",[["flowId","p",true]],1],["deleteFlowTemplate","delete","/v2/flows/templates/{flowId}",[["flowId","p",true]]],["duplicateFlowTemplate","post","/v2/flows/templates/{flowId}/duplicate",[["flowId","p",true]]],["getDefinition","get","/v1/workflows/definitions/{definitionId}",[["definitionId","p",true]]],["updateDefinition","put","/v1/workflows/definitions/{definitionId}",[["definitionId","p",true]],1],["deleteDefinition","delete","/v1/workflows/definitions/{definitionId}",[["definitionId","p",true]]],["getAllClosingReasons","get","/v1/workflows/closing-reasons",[["includeInactive","q"]]],["createClosingReason","post","/v1/workflows/closing-reasons",null,1],["getClosingReason","get","/v2/workflows/closing-reasons/{reasonId}",[["reasonId","p",true]]],["updateClosingReason","patch","/v2/workflows/closing-reasons/{reasonId}",[["reasonId","p",true]],1],["deleteClosingReason","delete","/v2/workflows/closing-reasons/{reasonId}",[["reasonId","p",true]]],["getClosingReasonV1","get","/v1/workflows/closing-reasons/{reasonId}",[["reasonId","p",true]]],["changeReasonStatus","patch","/v1/workflows/closing-reasons/{reasonId}",[["reasonId","p",true]],1],["getWorkflowClosingReasons","get","/v1/workflows/definitions/{definitionId}/closing-reasons",[["definitionId","p",true]]],["setWorkflowClosingReasons","patch","/v1/workflows/definitions/{definitionId}/closing-reasons",[["definitionId","p",true]],1]],"v":"3.0.0"}
@@ -750,131 +750,6 @@
750
750
  }
751
751
  }
752
752
  },
753
- "/v2/flows/templates/{flowId}/export": {
754
- "get": {
755
- "operationId": "exportFlowTemplate",
756
- "summary": "exportFlowTemplate",
757
- "description": "Export a Flow Template with all referenced automations resolved and bundled alongside.",
758
- "tags": [
759
- "Flows V2"
760
- ],
761
- "parameters": [
762
- {
763
- "in": "path",
764
- "name": "flowId",
765
- "schema": {
766
- "$ref": "#/components/schemas/FlowTemplateId"
767
- },
768
- "required": true
769
- }
770
- ],
771
- "responses": {
772
- "200": {
773
- "description": "Exported flow template with resolved automations",
774
- "content": {
775
- "application/json": {
776
- "schema": {
777
- "$ref": "#/components/schemas/FlowTemplateExport"
778
- }
779
- }
780
- }
781
- },
782
- "401": {
783
- "description": "Authentication Errors",
784
- "content": {
785
- "application/json": {
786
- "schema": {
787
- "$ref": "#/components/schemas/ErrorResp"
788
- }
789
- }
790
- }
791
- },
792
- "404": {
793
- "description": "Flow template not found",
794
- "content": {
795
- "application/json": {
796
- "schema": {
797
- "$ref": "#/components/schemas/ErrorResp"
798
- }
799
- }
800
- }
801
- },
802
- "500": {
803
- "description": "Other errors",
804
- "content": {
805
- "application/json": {
806
- "schema": {
807
- "$ref": "#/components/schemas/ErrorResp"
808
- }
809
- }
810
- }
811
- }
812
- }
813
- }
814
- },
815
- "/v2/flows/templates/import": {
816
- "post": {
817
- "operationId": "importFlowTemplate",
818
- "summary": "importFlowTemplate",
819
- "description": "Import a Flow Template from an export payload. Creates all automations and the flow in the caller's organization.",
820
- "tags": [
821
- "Flows V2"
822
- ],
823
- "requestBody": {
824
- "description": "Export payload containing the flow template and resolved automations",
825
- "required": true,
826
- "content": {
827
- "application/json": {
828
- "schema": {
829
- "$ref": "#/components/schemas/FlowTemplateExport"
830
- }
831
- }
832
- }
833
- },
834
- "responses": {
835
- "201": {
836
- "description": "Flow template imported successfully",
837
- "content": {
838
- "application/json": {
839
- "schema": {
840
- "$ref": "#/components/schemas/FlowTemplateImportResult"
841
- }
842
- }
843
- }
844
- },
845
- "400": {
846
- "description": "Validation Errors",
847
- "content": {
848
- "application/json": {
849
- "schema": {
850
- "$ref": "#/components/schemas/ErrorResp"
851
- }
852
- }
853
- }
854
- },
855
- "401": {
856
- "description": "Authentication Errors",
857
- "content": {
858
- "application/json": {
859
- "schema": {
860
- "$ref": "#/components/schemas/ErrorResp"
861
- }
862
- }
863
- }
864
- },
865
- "500": {
866
- "description": "Other errors",
867
- "content": {
868
- "application/json": {
869
- "schema": {
870
- "$ref": "#/components/schemas/ErrorResp"
871
- }
872
- }
873
- }
874
- }
875
- }
876
- }
877
- },
878
753
  "/v1/workflows/definitions/{definitionId}": {
879
754
  "get": {
880
755
  "operationId": "getDefinition",
@@ -1851,7 +1726,7 @@
1851
1726
  "v2",
1852
1727
  "v3"
1853
1728
  ],
1854
- "description": "Version of the workflow schema.\n\n- `v1` – *Deprecated*. The initial version of workflows with limited structure and automation capabilities. \n- `v2` – Linear workflows. Supports sequential task execution with basic automation triggers. \n- `v3` – Advanced workflows. Adds support for branching logic (conditions), parallel paths, and enhanced automation features such as dynamic triggers and flow control.\n",
1729
+ "description": "Version of the workflow schema.\n\n- `v1` – *Deprecated*. The initial version of workflows with limited structure and automation capabilities.\n- `v2` – Linear workflows. Supports sequential task execution with basic automation triggers.\n- `v3` – Advanced workflows. Adds support for branching logic (conditions), parallel paths, and enhanced automation features such as dynamic triggers and flow control.\n",
1855
1730
  "example": 2
1856
1731
  },
1857
1732
  "Trigger": {
@@ -2267,14 +2142,15 @@
2267
2142
  "properties": {
2268
2143
  "id": {
2269
2144
  "type": "string",
2270
- "description": "The id of the entity / workflow / task, based on the origin of the schedule"
2145
+ "description": "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\"."
2271
2146
  },
2272
2147
  "origin": {
2273
2148
  "type": "string",
2274
2149
  "enum": [
2275
2150
  "flow_started",
2276
2151
  "task_completed",
2277
- "trigger_entity_attribute"
2152
+ "trigger_entity_attribute",
2153
+ "all_preceding_tasks_completed"
2278
2154
  ]
2279
2155
  },
2280
2156
  "schema": {
@@ -2339,7 +2215,7 @@
2339
2215
  "description": "Maximum number of iterations for the loop branch",
2340
2216
  "default": 3,
2341
2217
  "minimum": 1,
2342
- "maximum": 10
2218
+ "maximum": 100
2343
2219
  }
2344
2220
  },
2345
2221
  "required": [
@@ -2404,6 +2280,10 @@
2404
2280
  "installer": {
2405
2281
  "$ref": "#/components/schemas/ECPDetails"
2406
2282
  },
2283
+ "partner": {
2284
+ "$ref": "#/components/schemas/PartnerDetails",
2285
+ "description": "Partner-specific task details shown to partner org users viewing shared resources"
2286
+ },
2407
2287
  "taxonomies": {
2408
2288
  "type": "array",
2409
2289
  "items": {
@@ -2476,9 +2356,14 @@
2476
2356
  "example": "{{entity.owner}}"
2477
2357
  },
2478
2358
  "value": {
2479
- "type": "string",
2480
- "description": "The resolved value after variable evaluation (populated during execution)",
2481
- "example": "user_12345"
2359
+ "type": "array",
2360
+ "items": {
2361
+ "type": "string"
2362
+ },
2363
+ "description": "The resolved values after variable evaluation (populated during execution)",
2364
+ "example": [
2365
+ "user_12345"
2366
+ ]
2482
2367
  }
2483
2368
  },
2484
2369
  "required": [
@@ -2504,7 +2389,8 @@
2504
2389
  "type": "string"
2505
2390
  },
2506
2391
  "to_id": {
2507
- "type": "string"
2392
+ "type": "string",
2393
+ "nullable": true
2508
2394
  },
2509
2395
  "condition_id": {
2510
2396
  "type": "string"
@@ -2516,8 +2402,7 @@
2516
2402
  },
2517
2403
  "required": [
2518
2404
  "id",
2519
- "from_id",
2520
- "to_id"
2405
+ "from_id"
2521
2406
  ]
2522
2407
  },
2523
2408
  "Condition": {
@@ -2541,6 +2426,7 @@
2541
2426
  },
2542
2427
  "statements": {
2543
2428
  "type": "array",
2429
+ "nullable": true,
2544
2430
  "items": {
2545
2431
  "$ref": "#/components/schemas/Statement"
2546
2432
  }
@@ -2570,6 +2456,14 @@
2570
2456
  "items": {
2571
2457
  "type": "string"
2572
2458
  }
2459
+ },
2460
+ "value_type": {
2461
+ "type": "string",
2462
+ "enum": [
2463
+ "static",
2464
+ "relative_date"
2465
+ ],
2466
+ "description": "How to interpret values. \"static\" (default) means literal values. \"relative_date\" means values[0] is a dynamic date token like \"today\"."
2573
2467
  }
2574
2468
  },
2575
2469
  "required": [
@@ -2646,7 +2540,26 @@
2646
2540
  },
2647
2541
  "attribute_sub_field": {
2648
2542
  "type": "string",
2649
- "description": "For complex attribute types, specifies which sub-field to extract (e.g., 'address', 'name', 'email_type')"
2543
+ "description": "For complex attribute types, specifies which sub-field to extract (e.g., \"address\", \"name\", \"email_type\")"
2544
+ },
2545
+ "date_offset": {
2546
+ "type": "object",
2547
+ "description": "Offset to apply to the source date value before comparison (e.g., +18 years for age check, +30 days for expiry)",
2548
+ "properties": {
2549
+ "amount": {
2550
+ "type": "integer",
2551
+ "description": "Number of units to offset"
2552
+ },
2553
+ "unit": {
2554
+ "type": "string",
2555
+ "enum": [
2556
+ "days",
2557
+ "months",
2558
+ "years"
2559
+ ],
2560
+ "description": "Unit of the offset"
2561
+ }
2562
+ }
2650
2563
  }
2651
2564
  }
2652
2565
  },
@@ -2684,7 +2597,9 @@
2684
2597
  "enum": [
2685
2598
  "WORKFLOW_STARTED",
2686
2599
  "TASK_FINISHED",
2687
- "PHASE_FINISHED"
2600
+ "PHASE_FINISHED",
2601
+ "A_PRECEDING_TASK_COMPLETED",
2602
+ "ALL_PRECEDING_TASKS_COMPLETED"
2688
2603
  ]
2689
2604
  },
2690
2605
  "task_id": {
@@ -2899,6 +2814,10 @@
2899
2814
  "installer": {
2900
2815
  "$ref": "#/components/schemas/ECPDetails"
2901
2816
  },
2817
+ "partner": {
2818
+ "$ref": "#/components/schemas/PartnerDetails",
2819
+ "description": "Partner-specific task details shown to partner org users viewing shared resources"
2820
+ },
2902
2821
  "taxonomies": {
2903
2822
  "type": "array",
2904
2823
  "items": {
@@ -3021,6 +2940,21 @@
3021
2940
  }
3022
2941
  }
3023
2942
  },
2943
+ "PartnerDetails": {
2944
+ "type": "object",
2945
+ "description": "Details regarding partner for the workflow step",
2946
+ "properties": {
2947
+ "enabled": {
2948
+ "type": "boolean"
2949
+ },
2950
+ "label": {
2951
+ "type": "string"
2952
+ },
2953
+ "description": {
2954
+ "type": "string"
2955
+ }
2956
+ }
2957
+ },
3024
2958
  "StepDescription": {
3025
2959
  "type": "object",
3026
2960
  "description": "Longer information regarding Task",
@@ -3088,14 +3022,9 @@
3088
3022
  "ClosingReason": {
3089
3023
  "type": "object",
3090
3024
  "description": "One Closing reason for a workflow",
3091
- "required": [
3092
- "title",
3093
- "status"
3094
- ],
3095
3025
  "properties": {
3096
3026
  "id": {
3097
- "type": "string",
3098
- "readOnly": true
3027
+ "type": "string"
3099
3028
  },
3100
3029
  "title": {
3101
3030
  "type": "string"
@@ -3353,64 +3282,6 @@
3353
3282
  "type",
3354
3283
  "condition"
3355
3284
  ]
3356
- },
3357
- "FlowTemplateExport": {
3358
- "allOf": [
3359
- {
3360
- "$ref": "#/components/schemas/FlowTemplate"
3361
- },
3362
- {
3363
- "type": "object",
3364
- "properties": {
3365
- "_resolved_automations": {
3366
- "type": "object",
3367
- "description": "Map of automation_id to full AutomationFlow object. Null values indicate automations that could not be resolved.",
3368
- "additionalProperties": {
3369
- "type": "object"
3370
- }
3371
- }
3372
- }
3373
- }
3374
- ]
3375
- },
3376
- "FlowTemplateImportResult": {
3377
- "type": "object",
3378
- "properties": {
3379
- "flow": {
3380
- "$ref": "#/components/schemas/FlowTemplate"
3381
- },
3382
- "_id_mappings": {
3383
- "type": "object",
3384
- "description": "Maps old IDs to new IDs for cross-referencing by callers (e.g. blueprint service)",
3385
- "properties": {
3386
- "flow_id": {
3387
- "type": "object",
3388
- "properties": {
3389
- "old": {
3390
- "type": "string"
3391
- },
3392
- "new": {
3393
- "type": "string"
3394
- }
3395
- }
3396
- },
3397
- "task_ids": {
3398
- "type": "object",
3399
- "additionalProperties": {
3400
- "type": "string"
3401
- },
3402
- "description": "Map of old_task_id to new_task_id"
3403
- },
3404
- "automation_ids": {
3405
- "type": "object",
3406
- "additionalProperties": {
3407
- "type": "string"
3408
- },
3409
- "description": "Map of old_automation_id to new_automation_id"
3410
- }
3411
- }
3412
- }
3413
- }
3414
3285
  }
3415
3286
  }
3416
3287
  }
@@ -6,25 +6,25 @@ var _chunkOXJOO2YFcjs = require('../chunk-OXJOO2YF.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkEH7KVFLOcjs = require('../chunk-EH7KVFLO.cjs');
9
+ var _chunkZXLTSQYEcjs = require('../chunk-ZXLTSQYE.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/access-token.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkOXJOO2YFcjs.require_access_token_runtime.call(void 0, );
15
- return _chunkEH7KVFLOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkZXLTSQYEcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkEH7KVFLOcjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
21
+ _instance = _chunkZXLTSQYEcjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkEH7KVFLOcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkZXLTSQYEcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkEH7KVFLOcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
27
+ createClient: () => _chunkZXLTSQYEcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
28
28
  apiName: "accessToken"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var accessToken = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.accessToken = accessToken; exports.authorize = _chunkEH7KVFLOcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.accessToken = accessToken; exports.authorize = _chunkZXLTSQYEcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-TUSCE6W2.js";
9
+ } from "../chunk-OTSGPLDM.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/access-token.ts
@@ -6,25 +6,25 @@ var _chunkLKRBFBFNcjs = require('../chunk-LKRBFBFN.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkEH7KVFLOcjs = require('../chunk-EH7KVFLO.cjs');
9
+ var _chunkZXLTSQYEcjs = require('../chunk-ZXLTSQYE.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/address-suggestions.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkLKRBFBFNcjs.require_address_suggestions_runtime.call(void 0, );
15
- return _chunkEH7KVFLOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkZXLTSQYEcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkEH7KVFLOcjs.createApiClient.call(void 0, { definition: def, apiName: "addressSuggestions" });
21
+ _instance = _chunkZXLTSQYEcjs.createApiClient.call(void 0, { definition: def, apiName: "addressSuggestions" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkEH7KVFLOcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkZXLTSQYEcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkEH7KVFLOcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "addressSuggestions" }),
27
+ createClient: () => _chunkZXLTSQYEcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "addressSuggestions" }),
28
28
  apiName: "addressSuggestions"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var addressSuggestions = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.addressSuggestions = addressSuggestions; exports.authorize = _chunkEH7KVFLOcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.addressSuggestions = addressSuggestions; exports.authorize = _chunkZXLTSQYEcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-TUSCE6W2.js";
9
+ } from "../chunk-OTSGPLDM.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/address-suggestions.ts
@@ -6,25 +6,25 @@ var _chunkT67ZXTVGcjs = require('../chunk-T67ZXTVG.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkEH7KVFLOcjs = require('../chunk-EH7KVFLO.cjs');
9
+ var _chunkZXLTSQYEcjs = require('../chunk-ZXLTSQYE.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/address.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkT67ZXTVGcjs.require_address_runtime.call(void 0, );
15
- return _chunkEH7KVFLOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkZXLTSQYEcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkEH7KVFLOcjs.createApiClient.call(void 0, { definition: def, apiName: "address" });
21
+ _instance = _chunkZXLTSQYEcjs.createApiClient.call(void 0, { definition: def, apiName: "address" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkEH7KVFLOcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkZXLTSQYEcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkEH7KVFLOcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "address" }),
27
+ createClient: () => _chunkZXLTSQYEcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "address" }),
28
28
  apiName: "address"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var address = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.address = address; exports.authorize = _chunkEH7KVFLOcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.address = address; exports.authorize = _chunkZXLTSQYEcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-TUSCE6W2.js";
9
+ } from "../chunk-OTSGPLDM.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/address.ts
@@ -6,25 +6,25 @@ var _chunkFARDEGPHcjs = require('../chunk-FARDEGPH.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkEH7KVFLOcjs = require('../chunk-EH7KVFLO.cjs');
9
+ var _chunkZXLTSQYEcjs = require('../chunk-ZXLTSQYE.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/ai-agents.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkFARDEGPHcjs.require_ai_agents_runtime.call(void 0, );
15
- return _chunkEH7KVFLOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkZXLTSQYEcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkEH7KVFLOcjs.createApiClient.call(void 0, { definition: def, apiName: "aiAgents" });
21
+ _instance = _chunkZXLTSQYEcjs.createApiClient.call(void 0, { definition: def, apiName: "aiAgents" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkEH7KVFLOcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkZXLTSQYEcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkEH7KVFLOcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "aiAgents" }),
27
+ createClient: () => _chunkZXLTSQYEcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "aiAgents" }),
28
28
  apiName: "aiAgents"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var aiAgents = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.aiAgents = aiAgents; exports.authorize = _chunkEH7KVFLOcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.aiAgents = aiAgents; exports.authorize = _chunkZXLTSQYEcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-TUSCE6W2.js";
9
+ } from "../chunk-OTSGPLDM.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/ai-agents.ts