syllable-sdk 1.0.13-rc.4 → 1.0.13-rc.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 (152) hide show
  1. package/bin/mcp-server.js +1993 -55
  2. package/bin/mcp-server.js.map +33 -10
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/components/bodyinsightsfolderuploadfile.d.ts +8 -8
  10. package/models/components/bodyinsightsfolderuploadfile.d.ts.map +1 -1
  11. package/models/components/bodyinsightsfolderuploadfile.js +11 -12
  12. package/models/components/bodyinsightsfolderuploadfile.js.map +1 -1
  13. package/models/components/callaction.d.ts +113 -0
  14. package/models/components/callaction.d.ts.map +1 -0
  15. package/models/components/callaction.js +174 -0
  16. package/models/components/callaction.js.map +1 -0
  17. package/models/components/caseexpression.d.ts +18 -0
  18. package/models/components/caseexpression.d.ts.map +1 -0
  19. package/models/components/caseexpression.js +59 -0
  20. package/models/components/caseexpression.js.map +1 -0
  21. package/models/components/celexpression.d.ts +28 -0
  22. package/models/components/celexpression.d.ts.map +1 -0
  23. package/models/components/celexpression.js +60 -0
  24. package/models/components/celexpression.js.map +1 -0
  25. package/models/components/conditionaltext.d.ts +85 -0
  26. package/models/components/conditionaltext.d.ts.map +1 -0
  27. package/models/components/conditionaltext.js +147 -0
  28. package/models/components/conditionaltext.js.map +1 -0
  29. package/models/components/conditionalvalue.d.ts +147 -0
  30. package/models/components/conditionalvalue.d.ts.map +1 -0
  31. package/models/components/conditionalvalue.js +248 -0
  32. package/models/components/conditionalvalue.js.map +1 -0
  33. package/models/components/context.d.ts +122 -8
  34. package/models/components/context.d.ts.map +1 -1
  35. package/models/components/context.js +199 -6
  36. package/models/components/context.js.map +1 -1
  37. package/models/components/contexttaskmetadata.d.ts +22 -0
  38. package/models/components/contexttaskmetadata.d.ts.map +1 -0
  39. package/models/components/contexttaskmetadata.js +69 -0
  40. package/models/components/contexttaskmetadata.js.map +1 -0
  41. package/models/components/contexttoolinfo.d.ts +25 -0
  42. package/models/components/contexttoolinfo.d.ts.map +1 -0
  43. package/models/components/contexttoolinfo.js +60 -0
  44. package/models/components/contexttoolinfo.js.map +1 -0
  45. package/models/components/eventtask.d.ts +42 -0
  46. package/models/components/eventtask.d.ts.map +1 -0
  47. package/models/components/eventtask.js +76 -0
  48. package/models/components/eventtask.js.map +1 -0
  49. package/models/components/eventtaskevents.d.ts +74 -0
  50. package/models/components/eventtaskevents.d.ts.map +1 -0
  51. package/models/components/eventtaskevents.js +139 -0
  52. package/models/components/eventtaskevents.js.map +1 -0
  53. package/models/components/expressiontask.d.ts +109 -0
  54. package/models/components/expressiontask.d.ts.map +1 -0
  55. package/models/components/expressiontask.js +170 -0
  56. package/models/components/expressiontask.js.map +1 -0
  57. package/models/components/expressiontaskevents.d.ts +131 -0
  58. package/models/components/expressiontaskevents.d.ts.map +1 -0
  59. package/models/components/expressiontaskevents.js +219 -0
  60. package/models/components/expressiontaskevents.js.map +1 -0
  61. package/models/components/incrementaction.d.ts +92 -0
  62. package/models/components/incrementaction.d.ts.map +1 -0
  63. package/models/components/incrementaction.js +151 -0
  64. package/models/components/incrementaction.js.map +1 -0
  65. package/models/components/index.d.ts +24 -1
  66. package/models/components/index.d.ts.map +1 -1
  67. package/models/components/index.js +24 -1
  68. package/models/components/index.js.map +1 -1
  69. package/models/components/inputparameter.d.ts +51 -0
  70. package/models/components/inputparameter.d.ts.map +1 -0
  71. package/models/components/inputparameter.js +87 -0
  72. package/models/components/inputparameter.js.map +1 -0
  73. package/models/components/jmespathexpression.d.ts +44 -0
  74. package/models/components/jmespathexpression.d.ts.map +1 -0
  75. package/models/components/jmespathexpression.js +71 -0
  76. package/models/components/jmespathexpression.js.map +1 -0
  77. package/models/components/loadtoolfromfiletask.d.ts +59 -0
  78. package/models/components/loadtoolfromfiletask.d.ts.map +1 -0
  79. package/models/components/loadtoolfromfiletask.js +88 -0
  80. package/models/components/loadtoolfromfiletask.js.map +1 -0
  81. package/models/components/nextstep.d.ts +93 -0
  82. package/models/components/nextstep.d.ts.map +1 -0
  83. package/models/components/nextstep.js +149 -0
  84. package/models/components/nextstep.js.map +1 -0
  85. package/models/components/saveaction.d.ts +92 -0
  86. package/models/components/saveaction.d.ts.map +1 -0
  87. package/models/components/saveaction.js +151 -0
  88. package/models/components/saveaction.js.map +1 -0
  89. package/models/components/sayaction.d.ts +108 -0
  90. package/models/components/sayaction.d.ts.map +1 -0
  91. package/models/components/sayaction.js +162 -0
  92. package/models/components/sayaction.js.map +1 -0
  93. package/models/components/setvalueaction.d.ts +154 -0
  94. package/models/components/setvalueaction.d.ts.map +1 -0
  95. package/models/components/setvalueaction.js +246 -0
  96. package/models/components/setvalueaction.js.map +1 -0
  97. package/models/components/step.d.ts +73 -0
  98. package/models/components/step.d.ts.map +1 -0
  99. package/models/components/step.js +103 -0
  100. package/models/components/step.js.map +1 -0
  101. package/models/components/stepeventactions.d.ts +185 -0
  102. package/models/components/stepeventactions.d.ts.map +1 -0
  103. package/models/components/stepeventactions.js +296 -0
  104. package/models/components/stepeventactions.js.map +1 -0
  105. package/models/components/stepstask.d.ts +42 -0
  106. package/models/components/stepstask.d.ts.map +1 -0
  107. package/models/components/stepstask.js +76 -0
  108. package/models/components/stepstask.js.map +1 -0
  109. package/models/components/steptools.d.ts +33 -0
  110. package/models/components/steptools.d.ts.map +1 -0
  111. package/models/components/{contexttask.js → steptools.js} +24 -22
  112. package/models/components/steptools.js.map +1 -0
  113. package/models/components/variable.d.ts +119 -0
  114. package/models/components/variable.d.ts.map +1 -0
  115. package/models/components/variable.js +186 -0
  116. package/models/components/variable.js.map +1 -0
  117. package/openapi.json +2436 -657
  118. package/package.json +1 -1
  119. package/src/lib/config.ts +2 -2
  120. package/src/mcp-server/mcp-server.ts +1 -1
  121. package/src/mcp-server/server.ts +1 -1
  122. package/src/models/components/bodyinsightsfolderuploadfile.ts +36 -25
  123. package/src/models/components/callaction.ts +331 -0
  124. package/src/models/components/caseexpression.ts +53 -0
  125. package/src/models/components/celexpression.ts +60 -0
  126. package/src/models/components/conditionaltext.ts +280 -0
  127. package/src/models/components/conditionalvalue.ts +477 -0
  128. package/src/models/components/context.ts +413 -16
  129. package/src/models/components/contexttaskmetadata.ts +67 -0
  130. package/src/models/components/contexttoolinfo.ts +59 -0
  131. package/src/models/components/eventtask.ts +102 -0
  132. package/src/models/components/eventtaskevents.ts +257 -0
  133. package/src/models/components/expressiontask.ts +333 -0
  134. package/src/models/components/expressiontaskevents.ts +430 -0
  135. package/src/models/components/incrementaction.ts +291 -0
  136. package/src/models/components/index.ts +24 -1
  137. package/src/models/components/inputparameter.ts +103 -0
  138. package/src/models/components/jmespathexpression.ts +86 -0
  139. package/src/models/components/loadtoolfromfiletask.ts +137 -0
  140. package/src/models/components/nextstep.ts +280 -0
  141. package/src/models/components/saveaction.ts +281 -0
  142. package/src/models/components/sayaction.ts +302 -0
  143. package/src/models/components/setvalueaction.ts +508 -0
  144. package/src/models/components/step.ts +174 -0
  145. package/src/models/components/stepeventactions.ts +619 -0
  146. package/src/models/components/stepstask.ts +102 -0
  147. package/src/models/components/steptools.ts +76 -0
  148. package/src/models/components/variable.ts +332 -0
  149. package/models/components/contexttask.d.ts +0 -32
  150. package/models/components/contexttask.d.ts.map +0 -1
  151. package/models/components/contexttask.js.map +0 -1
  152. package/src/models/components/contexttask.ts +0 -78
package/bin/mcp-server.js CHANGED
@@ -34419,9 +34419,9 @@ var init_config = __esm(() => {
34419
34419
  SDK_METADATA = {
34420
34420
  language: "typescript",
34421
34421
  openapiDocVersion: "0.0.2",
34422
- sdkVersion: "1.0.13-rc.4",
34422
+ sdkVersion: "1.0.13-rc.5",
34423
34423
  genVersion: "2.760.2",
34424
- userAgent: "speakeasy-sdk/typescript 1.0.13-rc.4 2.760.2 0.0.2 syllable-sdk"
34424
+ userAgent: "speakeasy-sdk/typescript 1.0.13-rc.5 2.760.2 0.0.2 syllable-sdk"
34425
34425
  };
34426
34426
  });
34427
34427
 
@@ -35934,27 +35934,6 @@ function safeParse(rawValue, fn, errorMessage) {
35934
35934
  return ERR(new SDKValidationError(errorMessage, err, rawValue));
35935
35935
  }
35936
35936
  }
35937
- function collectExtraKeys(obj, extrasKey, optional2) {
35938
- return obj.transform((val) => {
35939
- const extras = {};
35940
- const { shape } = obj;
35941
- for (const [key] of Object.entries(val)) {
35942
- if (key in shape) {
35943
- continue;
35944
- }
35945
- const v2 = val[key];
35946
- if (typeof v2 === "undefined") {
35947
- continue;
35948
- }
35949
- extras[key] = v2;
35950
- delete val[key];
35951
- }
35952
- if (optional2 && Object.keys(extras).length === 0) {
35953
- return val;
35954
- }
35955
- return { ...val, [extrasKey]: extras };
35956
- });
35957
- }
35958
35937
  var init_schemas = __esm(() => {
35959
35938
  init_sdkvalidationerror();
35960
35939
  });
@@ -36627,42 +36606,1978 @@ var init_toolagentinfo = __esm(() => {
36627
36606
  });
36628
36607
  });
36629
36608
 
36630
- // src/models/components/contexttask.ts
36631
- var ContextTask$inboundSchema, ContextTask$outboundSchema;
36632
- var init_contexttask = __esm(() => {
36609
+ // src/models/components/contexttaskmetadata.ts
36610
+ var ContextTaskMetadata$inboundSchema, ContextTaskMetadata$outboundSchema;
36611
+ var init_contexttaskmetadata = __esm(() => {
36633
36612
  init_v3();
36634
36613
  init_primitives();
36635
- init_schemas();
36636
- ContextTask$inboundSchema = collectExtraKeys(objectType({
36637
- type: nullableType(stringType()).optional(),
36638
- id: nullableType(stringType()).optional()
36639
- }).catchall(anyType()), "additionalProperties", true);
36640
- ContextTask$outboundSchema = objectType({
36641
- type: nullableType(stringType()).optional(),
36614
+ ContextTaskMetadata$inboundSchema = objectType({
36615
+ priority: nullableType(numberType().int()).optional(),
36616
+ parent_tool_name: nullableType(stringType()).optional()
36617
+ }).transform((v2) => {
36618
+ return remap(v2, {
36619
+ parent_tool_name: "parentToolName"
36620
+ });
36621
+ });
36622
+ ContextTaskMetadata$outboundSchema = objectType({
36623
+ priority: nullableType(numberType().int()).optional(),
36624
+ parentToolName: nullableType(stringType()).optional()
36625
+ }).transform((v2) => {
36626
+ return remap(v2, {
36627
+ parentToolName: "parent_tool_name"
36628
+ });
36629
+ });
36630
+ });
36631
+
36632
+ // src/models/components/contexttoolinfo.ts
36633
+ var ContextToolInfo$inboundSchema, ContextToolInfo$outboundSchema;
36634
+ var init_contexttoolinfo = __esm(() => {
36635
+ init_v3();
36636
+ ContextToolInfo$inboundSchema = objectType({
36637
+ name: nullableType(stringType()).optional(),
36638
+ description: nullableType(stringType()).optional()
36639
+ });
36640
+ ContextToolInfo$outboundSchema = objectType({
36641
+ name: nullableType(stringType()).optional(),
36642
+ description: nullableType(stringType()).optional()
36643
+ });
36644
+ });
36645
+
36646
+ // src/models/components/celexpression.ts
36647
+ var CelExpression$inboundSchema, CelExpression$outboundSchema;
36648
+ var init_celexpression = __esm(() => {
36649
+ init_v3();
36650
+ CelExpression$inboundSchema = objectType({
36651
+ expression: stringType(),
36652
+ type: literalType("cel").default("cel")
36653
+ });
36654
+ CelExpression$outboundSchema = objectType({
36655
+ expression: stringType(),
36656
+ type: literalType("cel").default("cel")
36657
+ });
36658
+ });
36659
+
36660
+ // src/models/components/jmespathexpression.ts
36661
+ var JMESPathExpressionType, JMESPathExpressionType$inboundSchema, JMESPathExpressionType$outboundSchema, JMESPathExpression$inboundSchema, JMESPathExpression$outboundSchema;
36662
+ var init_jmespathexpression = __esm(() => {
36663
+ init_v3();
36664
+ JMESPathExpressionType = {
36665
+ Jp: "jp",
36666
+ Jmespath: "jmespath"
36667
+ };
36668
+ JMESPathExpressionType$inboundSchema = nativeEnumType(JMESPathExpressionType);
36669
+ JMESPathExpressionType$outboundSchema = JMESPathExpressionType$inboundSchema;
36670
+ JMESPathExpression$inboundSchema = objectType({
36671
+ expression: stringType(),
36672
+ type: JMESPathExpressionType$inboundSchema.default("jp")
36673
+ });
36674
+ JMESPathExpression$outboundSchema = objectType({
36675
+ expression: stringType(),
36676
+ type: JMESPathExpressionType$outboundSchema.default("jp")
36677
+ });
36678
+ });
36679
+
36680
+ // src/models/components/conditionalvalue.ts
36681
+ var ValueFrom1$inboundSchema, ValueFrom1$outboundSchema, If1$inboundSchema, If1$outboundSchema, If$inboundSchema, If$outboundSchema, ConditionalValue$inboundSchema, ConditionalValue$outboundSchema, ValueFrom$inboundSchema, ValueFrom$outboundSchema;
36682
+ var init_conditionalvalue = __esm(() => {
36683
+ init_v3();
36684
+ init_primitives();
36685
+ init_caseexpression();
36686
+ init_celexpression();
36687
+ init_jmespathexpression();
36688
+ ValueFrom1$inboundSchema = unionType([
36689
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36690
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36691
+ type: v2.type
36692
+ }))),
36693
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36694
+ ]);
36695
+ ValueFrom1$outboundSchema = unionType([
36696
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36697
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36698
+ type: v2.type
36699
+ }))),
36700
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36701
+ ]);
36702
+ If1$inboundSchema = unionType([
36703
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36704
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36705
+ type: v2.type
36706
+ }))),
36707
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36708
+ ]);
36709
+ If1$outboundSchema = unionType([
36710
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36711
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36712
+ type: v2.type
36713
+ }))),
36714
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36715
+ ]);
36716
+ If$inboundSchema = unionType([
36717
+ lazyType(() => CaseExpression$inboundSchema),
36718
+ unionType([
36719
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36720
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36721
+ type: v2.type
36722
+ }))),
36723
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36724
+ ]),
36725
+ stringType()
36726
+ ]);
36727
+ If$outboundSchema = unionType([
36728
+ lazyType(() => CaseExpression$outboundSchema),
36729
+ unionType([
36730
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
36731
+ type: v2.type
36732
+ }))),
36733
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36734
+ type: v2.type
36735
+ }))),
36736
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
36737
+ type: v2.type
36738
+ })))
36739
+ ]),
36740
+ stringType()
36741
+ ]);
36742
+ ConditionalValue$inboundSchema = objectType({
36743
+ value: nullableType(anyType()).optional(),
36744
+ value_from: nullableType(unionType([
36745
+ lazyType(() => CaseExpression$inboundSchema),
36746
+ unionType([
36747
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
36748
+ type: v2.type
36749
+ }))),
36750
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36751
+ type: v2.type
36752
+ }))),
36753
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
36754
+ type: v2.type
36755
+ })))
36756
+ ]),
36757
+ stringType()
36758
+ ])).optional(),
36759
+ if: nullableType(unionType([
36760
+ lazyType(() => CaseExpression$inboundSchema),
36761
+ unionType([
36762
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
36763
+ type: v2.type
36764
+ }))),
36765
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36766
+ type: v2.type
36767
+ }))),
36768
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
36769
+ type: v2.type
36770
+ })))
36771
+ ]),
36772
+ stringType()
36773
+ ])).optional()
36774
+ }).transform((v2) => {
36775
+ return remap(v2, {
36776
+ value_from: "valueFrom"
36777
+ });
36778
+ });
36779
+ ConditionalValue$outboundSchema = objectType({
36780
+ value: nullableType(anyType()).optional(),
36781
+ valueFrom: nullableType(unionType([
36782
+ lazyType(() => CaseExpression$outboundSchema),
36783
+ unionType([
36784
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
36785
+ type: v2.type
36786
+ }))),
36787
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36788
+ type: v2.type
36789
+ }))),
36790
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
36791
+ type: v2.type
36792
+ })))
36793
+ ]),
36794
+ stringType()
36795
+ ])).optional(),
36796
+ if: nullableType(unionType([
36797
+ lazyType(() => CaseExpression$outboundSchema),
36798
+ unionType([
36799
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
36800
+ type: v2.type
36801
+ }))),
36802
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36803
+ type: v2.type
36804
+ }))),
36805
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
36806
+ type: v2.type
36807
+ })))
36808
+ ]),
36809
+ stringType()
36810
+ ])).optional()
36811
+ }).transform((v2) => {
36812
+ return remap(v2, {
36813
+ valueFrom: "value_from"
36814
+ });
36815
+ });
36816
+ ValueFrom$inboundSchema = unionType([
36817
+ lazyType(() => CaseExpression$inboundSchema),
36818
+ unionType([
36819
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36820
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36821
+ type: v2.type
36822
+ }))),
36823
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36824
+ ]),
36825
+ stringType()
36826
+ ]);
36827
+ ValueFrom$outboundSchema = unionType([
36828
+ lazyType(() => CaseExpression$outboundSchema),
36829
+ unionType([
36830
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36831
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36832
+ type: v2.type
36833
+ }))),
36834
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36835
+ ]),
36836
+ stringType()
36837
+ ]);
36838
+ });
36839
+
36840
+ // src/models/components/caseexpression.ts
36841
+ var CaseExpression$inboundSchema, CaseExpression$outboundSchema;
36842
+ var init_caseexpression = __esm(() => {
36843
+ init_v3();
36844
+ init_conditionalvalue();
36845
+ CaseExpression$inboundSchema = objectType({
36846
+ case: arrayType(lazyType(() => ConditionalValue$inboundSchema))
36847
+ });
36848
+ CaseExpression$outboundSchema = objectType({
36849
+ case: arrayType(lazyType(() => ConditionalValue$outboundSchema))
36850
+ });
36851
+ });
36852
+
36853
+ // src/models/components/callaction.ts
36854
+ var CallActionIf1$inboundSchema, CallActionIf1$outboundSchema, CallActionIf$inboundSchema, CallActionIf$outboundSchema, AutoPopulate$inboundSchema, AutoPopulate$outboundSchema, CallAction$inboundSchema, CallAction$outboundSchema;
36855
+ var init_callaction = __esm(() => {
36856
+ init_v3();
36857
+ init_primitives();
36858
+ init_caseexpression();
36859
+ init_celexpression();
36860
+ init_jmespathexpression();
36861
+ CallActionIf1$inboundSchema = unionType([
36862
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36863
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36864
+ type: v2.type
36865
+ }))),
36866
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36867
+ ]);
36868
+ CallActionIf1$outboundSchema = unionType([
36869
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36870
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36871
+ type: v2.type
36872
+ }))),
36873
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36874
+ ]);
36875
+ CallActionIf$inboundSchema = unionType([
36876
+ CaseExpression$inboundSchema,
36877
+ unionType([
36878
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36879
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36880
+ type: v2.type
36881
+ }))),
36882
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36883
+ ]),
36884
+ stringType()
36885
+ ]);
36886
+ CallActionIf$outboundSchema = unionType([
36887
+ CaseExpression$outboundSchema,
36888
+ unionType([
36889
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36890
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36891
+ type: v2.type
36892
+ }))),
36893
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36894
+ ]),
36895
+ stringType()
36896
+ ]);
36897
+ AutoPopulate$inboundSchema = unionType([booleanType(), stringType()]);
36898
+ AutoPopulate$outboundSchema = unionType([booleanType(), stringType()]);
36899
+ CallAction$inboundSchema = objectType({
36900
+ if: nullableType(unionType([
36901
+ CaseExpression$inboundSchema,
36902
+ unionType([
36903
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
36904
+ type: v2.type
36905
+ }))),
36906
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36907
+ type: v2.type
36908
+ }))),
36909
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
36910
+ type: v2.type
36911
+ })))
36912
+ ]),
36913
+ stringType()
36914
+ ])).optional(),
36915
+ action: literalType("call").default("call"),
36916
+ name: stringType(),
36917
+ arguments: nullableType(recordType(anyType())).optional(),
36918
+ auto_populate: unionType([booleanType(), stringType()]).optional()
36919
+ }).transform((v2) => {
36920
+ return remap(v2, {
36921
+ auto_populate: "autoPopulate"
36922
+ });
36923
+ });
36924
+ CallAction$outboundSchema = objectType({
36925
+ if: nullableType(unionType([
36926
+ CaseExpression$outboundSchema,
36927
+ unionType([
36928
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
36929
+ type: v2.type
36930
+ }))),
36931
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36932
+ type: v2.type
36933
+ }))),
36934
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
36935
+ type: v2.type
36936
+ })))
36937
+ ]),
36938
+ stringType()
36939
+ ])).optional(),
36940
+ action: literalType("call").default("call"),
36941
+ name: stringType(),
36942
+ arguments: nullableType(recordType(anyType())).optional(),
36943
+ autoPopulate: unionType([booleanType(), stringType()]).optional()
36944
+ }).transform((v2) => {
36945
+ return remap(v2, {
36946
+ autoPopulate: "auto_populate"
36947
+ });
36948
+ });
36949
+ });
36950
+
36951
+ // src/models/components/incrementaction.ts
36952
+ var IncrementActionIf1$inboundSchema, IncrementActionIf1$outboundSchema, IncrementActionIf$inboundSchema, IncrementActionIf$outboundSchema, IncrementAction$inboundSchema, IncrementAction$outboundSchema;
36953
+ var init_incrementaction = __esm(() => {
36954
+ init_v3();
36955
+ init_caseexpression();
36956
+ init_celexpression();
36957
+ init_jmespathexpression();
36958
+ IncrementActionIf1$inboundSchema = unionType([
36959
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36960
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36961
+ type: v2.type
36962
+ }))),
36963
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36964
+ ]);
36965
+ IncrementActionIf1$outboundSchema = unionType([
36966
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36967
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36968
+ type: v2.type
36969
+ }))),
36970
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36971
+ ]);
36972
+ IncrementActionIf$inboundSchema = unionType([
36973
+ CaseExpression$inboundSchema,
36974
+ unionType([
36975
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36976
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36977
+ type: v2.type
36978
+ }))),
36979
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36980
+ ]),
36981
+ stringType()
36982
+ ]);
36983
+ IncrementActionIf$outboundSchema = unionType([
36984
+ CaseExpression$outboundSchema,
36985
+ unionType([
36986
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
36987
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
36988
+ type: v2.type
36989
+ }))),
36990
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
36991
+ ]),
36992
+ stringType()
36993
+ ]);
36994
+ IncrementAction$inboundSchema = objectType({
36995
+ if: nullableType(unionType([
36996
+ CaseExpression$inboundSchema,
36997
+ unionType([
36998
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
36999
+ type: v2.type
37000
+ }))),
37001
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37002
+ type: v2.type
37003
+ }))),
37004
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37005
+ type: v2.type
37006
+ })))
37007
+ ]),
37008
+ stringType()
37009
+ ])).optional(),
37010
+ action: literalType("inc").default("inc"),
37011
+ name: stringType(),
37012
+ by: numberType().int().default(1)
37013
+ });
37014
+ IncrementAction$outboundSchema = objectType({
37015
+ if: nullableType(unionType([
37016
+ CaseExpression$outboundSchema,
37017
+ unionType([
37018
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37019
+ type: v2.type
37020
+ }))),
37021
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37022
+ type: v2.type
37023
+ }))),
37024
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37025
+ type: v2.type
37026
+ })))
37027
+ ]),
37028
+ stringType()
37029
+ ])).optional(),
37030
+ action: literalType("inc").default("inc"),
37031
+ name: stringType(),
37032
+ by: numberType().int().default(1)
37033
+ });
37034
+ });
37035
+
37036
+ // src/models/components/saveaction.ts
37037
+ var SaveActionIf1$inboundSchema, SaveActionIf1$outboundSchema, SaveActionIf$inboundSchema, SaveActionIf$outboundSchema, SaveAction$inboundSchema, SaveAction$outboundSchema;
37038
+ var init_saveaction = __esm(() => {
37039
+ init_v3();
37040
+ init_caseexpression();
37041
+ init_celexpression();
37042
+ init_jmespathexpression();
37043
+ SaveActionIf1$inboundSchema = unionType([
37044
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37045
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37046
+ type: v2.type
37047
+ }))),
37048
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37049
+ ]);
37050
+ SaveActionIf1$outboundSchema = unionType([
37051
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37052
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37053
+ type: v2.type
37054
+ }))),
37055
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37056
+ ]);
37057
+ SaveActionIf$inboundSchema = unionType([
37058
+ CaseExpression$inboundSchema,
37059
+ unionType([
37060
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37061
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37062
+ type: v2.type
37063
+ }))),
37064
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37065
+ ]),
37066
+ stringType()
37067
+ ]);
37068
+ SaveActionIf$outboundSchema = unionType([
37069
+ CaseExpression$outboundSchema,
37070
+ unionType([
37071
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37072
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37073
+ type: v2.type
37074
+ }))),
37075
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37076
+ ]),
37077
+ stringType()
37078
+ ]);
37079
+ SaveAction$inboundSchema = objectType({
37080
+ if: nullableType(unionType([
37081
+ CaseExpression$inboundSchema,
37082
+ unionType([
37083
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37084
+ type: v2.type
37085
+ }))),
37086
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37087
+ type: v2.type
37088
+ }))),
37089
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37090
+ type: v2.type
37091
+ })))
37092
+ ]),
37093
+ stringType()
37094
+ ])).optional(),
37095
+ action: literalType("save").default("save"),
37096
+ name: nullableType(stringType()).optional(),
37097
+ inputs: nullableType(arrayType(stringType())).optional()
37098
+ });
37099
+ SaveAction$outboundSchema = objectType({
37100
+ if: nullableType(unionType([
37101
+ CaseExpression$outboundSchema,
37102
+ unionType([
37103
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37104
+ type: v2.type
37105
+ }))),
37106
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37107
+ type: v2.type
37108
+ }))),
37109
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37110
+ type: v2.type
37111
+ })))
37112
+ ]),
37113
+ stringType()
37114
+ ])).optional(),
37115
+ action: literalType("save").default("save"),
37116
+ name: nullableType(stringType()).optional(),
37117
+ inputs: nullableType(arrayType(stringType())).optional()
37118
+ });
37119
+ });
37120
+
37121
+ // src/models/components/sayaction.ts
37122
+ var Role, SayActionIf1$inboundSchema, SayActionIf1$outboundSchema, SayActionIf$inboundSchema, SayActionIf$outboundSchema, Role$inboundSchema, Role$outboundSchema, SayAction$inboundSchema, SayAction$outboundSchema;
37123
+ var init_sayaction = __esm(() => {
37124
+ init_v3();
37125
+ init_caseexpression();
37126
+ init_celexpression();
37127
+ init_jmespathexpression();
37128
+ Role = {
37129
+ User: "user",
37130
+ Assistant: "assistant"
37131
+ };
37132
+ SayActionIf1$inboundSchema = unionType([
37133
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37134
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37135
+ type: v2.type
37136
+ }))),
37137
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37138
+ ]);
37139
+ SayActionIf1$outboundSchema = unionType([
37140
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37141
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37142
+ type: v2.type
37143
+ }))),
37144
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37145
+ ]);
37146
+ SayActionIf$inboundSchema = unionType([
37147
+ CaseExpression$inboundSchema,
37148
+ unionType([
37149
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37150
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37151
+ type: v2.type
37152
+ }))),
37153
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37154
+ ]),
37155
+ stringType()
37156
+ ]);
37157
+ SayActionIf$outboundSchema = unionType([
37158
+ CaseExpression$outboundSchema,
37159
+ unionType([
37160
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37161
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37162
+ type: v2.type
37163
+ }))),
37164
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37165
+ ]),
37166
+ stringType()
37167
+ ]);
37168
+ Role$inboundSchema = nativeEnumType(Role);
37169
+ Role$outboundSchema = Role$inboundSchema;
37170
+ SayAction$inboundSchema = objectType({
37171
+ if: nullableType(unionType([
37172
+ CaseExpression$inboundSchema,
37173
+ unionType([
37174
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37175
+ type: v2.type
37176
+ }))),
37177
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37178
+ type: v2.type
37179
+ }))),
37180
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37181
+ type: v2.type
37182
+ })))
37183
+ ]),
37184
+ stringType()
37185
+ ])).optional(),
37186
+ text: stringType(),
37187
+ action: literalType("say").default("say"),
37188
+ role: Role$inboundSchema.default("assistant")
37189
+ });
37190
+ SayAction$outboundSchema = objectType({
37191
+ if: nullableType(unionType([
37192
+ CaseExpression$outboundSchema,
37193
+ unionType([
37194
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37195
+ type: v2.type
37196
+ }))),
37197
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37198
+ type: v2.type
37199
+ }))),
37200
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37201
+ type: v2.type
37202
+ })))
37203
+ ]),
37204
+ stringType()
37205
+ ])).optional(),
37206
+ text: stringType(),
37207
+ action: literalType("say").default("say"),
37208
+ role: Role$outboundSchema.default("assistant")
37209
+ });
37210
+ });
37211
+
37212
+ // src/models/components/setvalueaction.ts
37213
+ var SetValueActionValueFrom1$inboundSchema, SetValueActionValueFrom1$outboundSchema, SetValueActionValueFrom$inboundSchema, SetValueActionValueFrom$outboundSchema, SetValueActionIf1$inboundSchema, SetValueActionIf1$outboundSchema, SetValueActionIf$inboundSchema, SetValueActionIf$outboundSchema, SetValueAction$inboundSchema, SetValueAction$outboundSchema;
37214
+ var init_setvalueaction = __esm(() => {
37215
+ init_v3();
37216
+ init_primitives();
37217
+ init_caseexpression();
37218
+ init_celexpression();
37219
+ init_jmespathexpression();
37220
+ SetValueActionValueFrom1$inboundSchema = unionType([
37221
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37222
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37223
+ type: v2.type
37224
+ }))),
37225
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37226
+ ]);
37227
+ SetValueActionValueFrom1$outboundSchema = unionType([
37228
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37229
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37230
+ type: v2.type
37231
+ }))),
37232
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37233
+ ]);
37234
+ SetValueActionValueFrom$inboundSchema = unionType([
37235
+ CaseExpression$inboundSchema,
37236
+ unionType([
37237
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37238
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37239
+ type: v2.type
37240
+ }))),
37241
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37242
+ ]),
37243
+ stringType()
37244
+ ]);
37245
+ SetValueActionValueFrom$outboundSchema = unionType([
37246
+ CaseExpression$outboundSchema,
37247
+ unionType([
37248
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37249
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37250
+ type: v2.type
37251
+ }))),
37252
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37253
+ ]),
37254
+ stringType()
37255
+ ]);
37256
+ SetValueActionIf1$inboundSchema = unionType([
37257
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37258
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37259
+ type: v2.type
37260
+ }))),
37261
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37262
+ ]);
37263
+ SetValueActionIf1$outboundSchema = unionType([
37264
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37265
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37266
+ type: v2.type
37267
+ }))),
37268
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37269
+ ]);
37270
+ SetValueActionIf$inboundSchema = unionType([
37271
+ CaseExpression$inboundSchema,
37272
+ unionType([
37273
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37274
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37275
+ type: v2.type
37276
+ }))),
37277
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37278
+ ]),
37279
+ stringType()
37280
+ ]);
37281
+ SetValueActionIf$outboundSchema = unionType([
37282
+ CaseExpression$outboundSchema,
37283
+ unionType([
37284
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37285
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37286
+ type: v2.type
37287
+ }))),
37288
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37289
+ ]),
37290
+ stringType()
37291
+ ]);
37292
+ SetValueAction$inboundSchema = objectType({
37293
+ value: nullableType(anyType()).optional(),
37294
+ value_from: nullableType(unionType([
37295
+ CaseExpression$inboundSchema,
37296
+ unionType([
37297
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37298
+ type: v2.type
37299
+ }))),
37300
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37301
+ type: v2.type
37302
+ }))),
37303
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37304
+ type: v2.type
37305
+ })))
37306
+ ]),
37307
+ stringType()
37308
+ ])).optional(),
37309
+ if: nullableType(unionType([
37310
+ CaseExpression$inboundSchema,
37311
+ unionType([
37312
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37313
+ type: v2.type
37314
+ }))),
37315
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37316
+ type: v2.type
37317
+ }))),
37318
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37319
+ type: v2.type
37320
+ })))
37321
+ ]),
37322
+ stringType()
37323
+ ])).optional(),
37324
+ action: literalType("set").default("set"),
37325
+ name: stringType()
37326
+ }).transform((v2) => {
37327
+ return remap(v2, {
37328
+ value_from: "valueFrom"
37329
+ });
37330
+ });
37331
+ SetValueAction$outboundSchema = objectType({
37332
+ value: nullableType(anyType()).optional(),
37333
+ valueFrom: nullableType(unionType([
37334
+ CaseExpression$outboundSchema,
37335
+ unionType([
37336
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37337
+ type: v2.type
37338
+ }))),
37339
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37340
+ type: v2.type
37341
+ }))),
37342
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37343
+ type: v2.type
37344
+ })))
37345
+ ]),
37346
+ stringType()
37347
+ ])).optional(),
37348
+ if: nullableType(unionType([
37349
+ CaseExpression$outboundSchema,
37350
+ unionType([
37351
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37352
+ type: v2.type
37353
+ }))),
37354
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37355
+ type: v2.type
37356
+ }))),
37357
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37358
+ type: v2.type
37359
+ })))
37360
+ ]),
37361
+ stringType()
37362
+ ])).optional(),
37363
+ action: literalType("set").default("set"),
37364
+ name: stringType()
37365
+ }).transform((v2) => {
37366
+ return remap(v2, {
37367
+ valueFrom: "value_from"
37368
+ });
37369
+ });
37370
+ });
37371
+
37372
+ // src/models/components/eventtaskevents.ts
37373
+ var EventTaskEventsStart$inboundSchema, EventTaskEventsStart$outboundSchema, EventTaskEvents$inboundSchema, EventTaskEvents$outboundSchema;
37374
+ var init_eventtaskevents = __esm(() => {
37375
+ init_v3();
37376
+ init_callaction();
37377
+ init_incrementaction();
37378
+ init_saveaction();
37379
+ init_sayaction();
37380
+ init_setvalueaction();
37381
+ EventTaskEventsStart$inboundSchema = unionType([
37382
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37383
+ action: v2.action
37384
+ }))),
37385
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37386
+ action: v2.action
37387
+ }))),
37388
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37389
+ action: v2.action
37390
+ }))),
37391
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37392
+ action: v2.action
37393
+ }))),
37394
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37395
+ action: v2.action
37396
+ })))
37397
+ ]);
37398
+ EventTaskEventsStart$outboundSchema = unionType([
37399
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37400
+ action: v2.action
37401
+ }))),
37402
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37403
+ action: v2.action
37404
+ }))),
37405
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37406
+ action: v2.action
37407
+ }))),
37408
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37409
+ action: v2.action
37410
+ }))),
37411
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37412
+ action: v2.action
37413
+ })))
37414
+ ]);
37415
+ EventTaskEvents$inboundSchema = objectType({
37416
+ start: nullableType(arrayType(unionType([
37417
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37418
+ action: v2.action
37419
+ }))),
37420
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37421
+ action: v2.action
37422
+ }))),
37423
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37424
+ action: v2.action
37425
+ }))),
37426
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37427
+ action: v2.action
37428
+ }))),
37429
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37430
+ action: v2.action
37431
+ })))
37432
+ ]))).optional()
37433
+ });
37434
+ EventTaskEvents$outboundSchema = objectType({
37435
+ start: nullableType(arrayType(unionType([
37436
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37437
+ action: v2.action
37438
+ }))),
37439
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37440
+ action: v2.action
37441
+ }))),
37442
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37443
+ action: v2.action
37444
+ }))),
37445
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37446
+ action: v2.action
37447
+ }))),
37448
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37449
+ action: v2.action
37450
+ })))
37451
+ ]))).optional()
37452
+ });
37453
+ });
37454
+
37455
+ // src/models/components/variable.ts
37456
+ var VariableType, One$inboundSchema, One$outboundSchema, VariableValueFrom$inboundSchema, VariableValueFrom$outboundSchema, VariableType$inboundSchema, VariableType$outboundSchema, Variable$inboundSchema, Variable$outboundSchema;
37457
+ var init_variable = __esm(() => {
37458
+ init_v3();
37459
+ init_primitives();
37460
+ init_caseexpression();
37461
+ init_celexpression();
37462
+ init_jmespathexpression();
37463
+ VariableType = {
37464
+ String: "string",
37465
+ Number: "number",
37466
+ Integer: "integer",
37467
+ Boolean: "boolean",
37468
+ Object: "object",
37469
+ Array: "array",
37470
+ Null: "null"
37471
+ };
37472
+ One$inboundSchema = unionType([
37473
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37474
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37475
+ type: v2.type
37476
+ }))),
37477
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37478
+ ]);
37479
+ One$outboundSchema = unionType([
37480
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37481
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37482
+ type: v2.type
37483
+ }))),
37484
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37485
+ ]);
37486
+ VariableValueFrom$inboundSchema = unionType([
37487
+ CaseExpression$inboundSchema,
37488
+ unionType([
37489
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37490
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37491
+ type: v2.type
37492
+ }))),
37493
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37494
+ ]),
37495
+ stringType()
37496
+ ]);
37497
+ VariableValueFrom$outboundSchema = unionType([
37498
+ CaseExpression$outboundSchema,
37499
+ unionType([
37500
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37501
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37502
+ type: v2.type
37503
+ }))),
37504
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37505
+ ]),
37506
+ stringType()
37507
+ ]);
37508
+ VariableType$inboundSchema = nativeEnumType(VariableType);
37509
+ VariableType$outboundSchema = VariableType$inboundSchema;
37510
+ Variable$inboundSchema = objectType({
37511
+ value: nullableType(anyType()).optional(),
37512
+ value_from: nullableType(unionType([
37513
+ CaseExpression$inboundSchema,
37514
+ unionType([
37515
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37516
+ type: v2.type
37517
+ }))),
37518
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37519
+ type: v2.type
37520
+ }))),
37521
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37522
+ type: v2.type
37523
+ })))
37524
+ ]),
37525
+ stringType()
37526
+ ])).optional(),
37527
+ name: stringType(),
37528
+ type: nullableType(VariableType$inboundSchema).optional(),
37529
+ description: nullableType(stringType()).optional(),
37530
+ title: nullableType(stringType()).optional(),
37531
+ format: nullableType(stringType()).optional(),
37532
+ pattern: nullableType(stringType()).optional(),
37533
+ enum: nullableType(arrayType(stringType())).optional(),
37534
+ examples: nullableType(arrayType(anyType())).optional()
37535
+ }).transform((v2) => {
37536
+ return remap(v2, {
37537
+ value_from: "valueFrom"
37538
+ });
37539
+ });
37540
+ Variable$outboundSchema = objectType({
37541
+ value: nullableType(anyType()).optional(),
37542
+ valueFrom: nullableType(unionType([
37543
+ CaseExpression$outboundSchema,
37544
+ unionType([
37545
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37546
+ type: v2.type
37547
+ }))),
37548
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37549
+ type: v2.type
37550
+ }))),
37551
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37552
+ type: v2.type
37553
+ })))
37554
+ ]),
37555
+ stringType()
37556
+ ])).optional(),
37557
+ name: stringType(),
37558
+ type: nullableType(VariableType$outboundSchema).optional(),
37559
+ description: nullableType(stringType()).optional(),
37560
+ title: nullableType(stringType()).optional(),
37561
+ format: nullableType(stringType()).optional(),
37562
+ pattern: nullableType(stringType()).optional(),
37563
+ enum: nullableType(arrayType(stringType())).optional(),
37564
+ examples: nullableType(arrayType(anyType())).optional()
37565
+ }).transform((v2) => {
37566
+ return remap(v2, {
37567
+ valueFrom: "value_from"
37568
+ });
37569
+ });
37570
+ });
37571
+
37572
+ // src/models/components/eventtask.ts
37573
+ var EventTask$inboundSchema, EventTask$outboundSchema;
37574
+ var init_eventtask = __esm(() => {
37575
+ init_v3();
37576
+ init_contexttaskmetadata();
37577
+ init_contexttoolinfo();
37578
+ init_eventtaskevents();
37579
+ init_variable();
37580
+ EventTask$inboundSchema = objectType({
36642
37581
  id: nullableType(stringType()).optional(),
36643
- additionalProperties: recordType(anyType()).optional()
37582
+ config: nullableType(recordType(anyType())).optional(),
37583
+ variables: nullableType(arrayType(Variable$inboundSchema)).optional(),
37584
+ metadata: nullableType(ContextTaskMetadata$inboundSchema).optional(),
37585
+ tool: nullableType(ContextToolInfo$inboundSchema).optional(),
37586
+ type: literalType("event").default("event"),
37587
+ version: literalType("v1alpha").default("v1alpha"),
37588
+ on: EventTaskEvents$inboundSchema.optional()
37589
+ });
37590
+ EventTask$outboundSchema = objectType({
37591
+ id: nullableType(stringType()).optional(),
37592
+ config: nullableType(recordType(anyType())).optional(),
37593
+ variables: nullableType(arrayType(Variable$outboundSchema)).optional(),
37594
+ metadata: nullableType(ContextTaskMetadata$outboundSchema).optional(),
37595
+ tool: nullableType(ContextToolInfo$outboundSchema).optional(),
37596
+ type: literalType("event").default("event"),
37597
+ version: literalType("v1alpha").default("v1alpha"),
37598
+ on: EventTaskEvents$outboundSchema.optional()
37599
+ });
37600
+ });
37601
+
37602
+ // src/models/components/expressiontaskevents.ts
37603
+ var Start$inboundSchema, Start$outboundSchema, Submit$inboundSchema, Submit$outboundSchema, ExpressionTaskEvents$inboundSchema, ExpressionTaskEvents$outboundSchema;
37604
+ var init_expressiontaskevents = __esm(() => {
37605
+ init_v3();
37606
+ init_callaction();
37607
+ init_incrementaction();
37608
+ init_saveaction();
37609
+ init_sayaction();
37610
+ init_setvalueaction();
37611
+ Start$inboundSchema = unionType([
37612
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37613
+ action: v2.action
37614
+ }))),
37615
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37616
+ action: v2.action
37617
+ }))),
37618
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37619
+ action: v2.action
37620
+ }))),
37621
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37622
+ action: v2.action
37623
+ }))),
37624
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37625
+ action: v2.action
37626
+ })))
37627
+ ]);
37628
+ Start$outboundSchema = unionType([
37629
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37630
+ action: v2.action
37631
+ }))),
37632
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37633
+ action: v2.action
37634
+ }))),
37635
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37636
+ action: v2.action
37637
+ }))),
37638
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37639
+ action: v2.action
37640
+ }))),
37641
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37642
+ action: v2.action
37643
+ })))
37644
+ ]);
37645
+ Submit$inboundSchema = unionType([
37646
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37647
+ action: v2.action
37648
+ }))),
37649
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37650
+ action: v2.action
37651
+ }))),
37652
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37653
+ action: v2.action
37654
+ }))),
37655
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37656
+ action: v2.action
37657
+ }))),
37658
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37659
+ action: v2.action
37660
+ })))
37661
+ ]);
37662
+ Submit$outboundSchema = unionType([
37663
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37664
+ action: v2.action
37665
+ }))),
37666
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37667
+ action: v2.action
37668
+ }))),
37669
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37670
+ action: v2.action
37671
+ }))),
37672
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37673
+ action: v2.action
37674
+ }))),
37675
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37676
+ action: v2.action
37677
+ })))
37678
+ ]);
37679
+ ExpressionTaskEvents$inboundSchema = objectType({
37680
+ start: nullableType(arrayType(unionType([
37681
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37682
+ action: v2.action
37683
+ }))),
37684
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37685
+ action: v2.action
37686
+ }))),
37687
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37688
+ action: v2.action
37689
+ }))),
37690
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37691
+ action: v2.action
37692
+ }))),
37693
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37694
+ action: v2.action
37695
+ })))
37696
+ ]))).optional(),
37697
+ submit: nullableType(arrayType(unionType([
37698
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37699
+ action: v2.action
37700
+ }))),
37701
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37702
+ action: v2.action
37703
+ }))),
37704
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37705
+ action: v2.action
37706
+ }))),
37707
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37708
+ action: v2.action
37709
+ }))),
37710
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37711
+ action: v2.action
37712
+ })))
37713
+ ]))).optional()
37714
+ });
37715
+ ExpressionTaskEvents$outboundSchema = objectType({
37716
+ start: nullableType(arrayType(unionType([
37717
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37718
+ action: v2.action
37719
+ }))),
37720
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37721
+ action: v2.action
37722
+ }))),
37723
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37724
+ action: v2.action
37725
+ }))),
37726
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37727
+ action: v2.action
37728
+ }))),
37729
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37730
+ action: v2.action
37731
+ })))
37732
+ ]))).optional(),
37733
+ submit: nullableType(arrayType(unionType([
37734
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
37735
+ action: v2.action
37736
+ }))),
37737
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
37738
+ action: v2.action
37739
+ }))),
37740
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
37741
+ action: v2.action
37742
+ }))),
37743
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
37744
+ action: v2.action
37745
+ }))),
37746
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
37747
+ action: v2.action
37748
+ })))
37749
+ ]))).optional()
37750
+ });
37751
+ });
37752
+
37753
+ // src/models/components/inputparameter.ts
37754
+ var InputParameterType, InputParameterType$inboundSchema, InputParameterType$outboundSchema, InputParameter$inboundSchema, InputParameter$outboundSchema;
37755
+ var init_inputparameter = __esm(() => {
37756
+ init_v3();
37757
+ InputParameterType = {
37758
+ String: "string",
37759
+ Number: "number",
37760
+ Integer: "integer",
37761
+ Boolean: "boolean",
37762
+ Object: "object",
37763
+ Array: "array",
37764
+ Null: "null"
37765
+ };
37766
+ InputParameterType$inboundSchema = nativeEnumType(InputParameterType);
37767
+ InputParameterType$outboundSchema = InputParameterType$inboundSchema;
37768
+ InputParameter$inboundSchema = objectType({
37769
+ name: stringType(),
37770
+ type: nullableType(InputParameterType$inboundSchema).optional(),
37771
+ description: nullableType(stringType()).optional(),
37772
+ title: nullableType(stringType()).optional(),
37773
+ format: nullableType(stringType()).optional(),
37774
+ pattern: nullableType(stringType()).optional(),
37775
+ enum: nullableType(arrayType(stringType())).optional(),
37776
+ examples: nullableType(arrayType(anyType())).optional(),
37777
+ required: booleanType().default(true)
37778
+ });
37779
+ InputParameter$outboundSchema = objectType({
37780
+ name: stringType(),
37781
+ type: nullableType(InputParameterType$outboundSchema).optional(),
37782
+ description: nullableType(stringType()).optional(),
37783
+ title: nullableType(stringType()).optional(),
37784
+ format: nullableType(stringType()).optional(),
37785
+ pattern: nullableType(stringType()).optional(),
37786
+ enum: nullableType(arrayType(stringType())).optional(),
37787
+ examples: nullableType(arrayType(anyType())).optional(),
37788
+ required: booleanType().default(true)
37789
+ });
37790
+ });
37791
+
37792
+ // src/models/components/expressiontask.ts
37793
+ var Expression1$inboundSchema, Expression1$outboundSchema, Expression$inboundSchema, Expression$outboundSchema, ExpressionTask$inboundSchema, ExpressionTask$outboundSchema;
37794
+ var init_expressiontask = __esm(() => {
37795
+ init_v3();
37796
+ init_caseexpression();
37797
+ init_celexpression();
37798
+ init_contexttaskmetadata();
37799
+ init_contexttoolinfo();
37800
+ init_expressiontaskevents();
37801
+ init_inputparameter();
37802
+ init_jmespathexpression();
37803
+ init_variable();
37804
+ Expression1$inboundSchema = unionType([
37805
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37806
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37807
+ type: v2.type
37808
+ }))),
37809
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37810
+ ]);
37811
+ Expression1$outboundSchema = unionType([
37812
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37813
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37814
+ type: v2.type
37815
+ }))),
37816
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37817
+ ]);
37818
+ Expression$inboundSchema = unionType([
37819
+ CaseExpression$inboundSchema,
37820
+ unionType([
37821
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37822
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37823
+ type: v2.type
37824
+ }))),
37825
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37826
+ ]),
37827
+ stringType()
37828
+ ]);
37829
+ Expression$outboundSchema = unionType([
37830
+ CaseExpression$outboundSchema,
37831
+ unionType([
37832
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37833
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37834
+ type: v2.type
37835
+ }))),
37836
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37837
+ ]),
37838
+ stringType()
37839
+ ]);
37840
+ ExpressionTask$inboundSchema = objectType({
37841
+ id: nullableType(stringType()).optional(),
37842
+ config: nullableType(recordType(anyType())).optional(),
37843
+ variables: nullableType(arrayType(Variable$inboundSchema)).optional(),
37844
+ metadata: nullableType(ContextTaskMetadata$inboundSchema).optional(),
37845
+ tool: nullableType(ContextToolInfo$inboundSchema).optional(),
37846
+ type: literalType("expression").default("expression"),
37847
+ version: literalType("v1alpha").default("v1alpha"),
37848
+ inputs: arrayType(InputParameter$inboundSchema).optional(),
37849
+ expression: nullableType(unionType([
37850
+ CaseExpression$inboundSchema,
37851
+ unionType([
37852
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37853
+ type: v2.type
37854
+ }))),
37855
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37856
+ type: v2.type
37857
+ }))),
37858
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37859
+ type: v2.type
37860
+ })))
37861
+ ]),
37862
+ stringType()
37863
+ ])).optional(),
37864
+ output: nullableType(anyType()).optional(),
37865
+ on: ExpressionTaskEvents$inboundSchema.optional()
37866
+ });
37867
+ ExpressionTask$outboundSchema = objectType({
37868
+ id: nullableType(stringType()).optional(),
37869
+ config: nullableType(recordType(anyType())).optional(),
37870
+ variables: nullableType(arrayType(Variable$outboundSchema)).optional(),
37871
+ metadata: nullableType(ContextTaskMetadata$outboundSchema).optional(),
37872
+ tool: nullableType(ContextToolInfo$outboundSchema).optional(),
37873
+ type: literalType("expression").default("expression"),
37874
+ version: literalType("v1alpha").default("v1alpha"),
37875
+ inputs: arrayType(InputParameter$outboundSchema).optional(),
37876
+ expression: nullableType(unionType([
37877
+ CaseExpression$outboundSchema,
37878
+ unionType([
37879
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37880
+ type: v2.type
37881
+ }))),
37882
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37883
+ type: v2.type
37884
+ }))),
37885
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37886
+ type: v2.type
37887
+ })))
37888
+ ]),
37889
+ stringType()
37890
+ ])).optional(),
37891
+ output: nullableType(anyType()).optional(),
37892
+ on: ExpressionTaskEvents$outboundSchema.optional()
37893
+ });
37894
+ });
37895
+
37896
+ // src/models/components/loadtoolfromfiletask.ts
37897
+ var FileT$inboundSchema, FileT$outboundSchema, LoadToolFromFileTask$inboundSchema, LoadToolFromFileTask$outboundSchema;
37898
+ var init_loadtoolfromfiletask = __esm(() => {
37899
+ init_v3();
37900
+ init_contexttaskmetadata();
37901
+ init_contexttoolinfo();
37902
+ init_variable();
37903
+ FileT$inboundSchema = unionType([stringType(), arrayType(stringType())]);
37904
+ FileT$outboundSchema = unionType([stringType(), arrayType(stringType())]);
37905
+ LoadToolFromFileTask$inboundSchema = objectType({
37906
+ id: nullableType(stringType()).optional(),
37907
+ config: nullableType(recordType(anyType())).optional(),
37908
+ variables: nullableType(arrayType(Variable$inboundSchema)).optional(),
37909
+ metadata: nullableType(ContextTaskMetadata$inboundSchema).optional(),
37910
+ tool: nullableType(ContextToolInfo$inboundSchema).optional(),
37911
+ type: literalType("import").default("import"),
37912
+ version: literalType("v1alpha").default("v1alpha"),
37913
+ file: unionType([stringType(), arrayType(stringType())])
37914
+ });
37915
+ LoadToolFromFileTask$outboundSchema = objectType({
37916
+ id: nullableType(stringType()).optional(),
37917
+ config: nullableType(recordType(anyType())).optional(),
37918
+ variables: nullableType(arrayType(Variable$outboundSchema)).optional(),
37919
+ metadata: nullableType(ContextTaskMetadata$outboundSchema).optional(),
37920
+ tool: nullableType(ContextToolInfo$outboundSchema).optional(),
37921
+ type: literalType("import").default("import"),
37922
+ version: literalType("v1alpha").default("v1alpha"),
37923
+ file: unionType([stringType(), arrayType(stringType())])
37924
+ });
37925
+ });
37926
+
37927
+ // src/models/components/conditionaltext.ts
37928
+ var ConditionalTextIf1$inboundSchema, ConditionalTextIf1$outboundSchema, ConditionalTextIf$inboundSchema, ConditionalTextIf$outboundSchema, ConditionalText$inboundSchema, ConditionalText$outboundSchema;
37929
+ var init_conditionaltext = __esm(() => {
37930
+ init_v3();
37931
+ init_caseexpression();
37932
+ init_celexpression();
37933
+ init_jmespathexpression();
37934
+ ConditionalTextIf1$inboundSchema = unionType([
37935
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37936
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37937
+ type: v2.type
37938
+ }))),
37939
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37940
+ ]);
37941
+ ConditionalTextIf1$outboundSchema = unionType([
37942
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37943
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37944
+ type: v2.type
37945
+ }))),
37946
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37947
+ ]);
37948
+ ConditionalTextIf$inboundSchema = unionType([
37949
+ CaseExpression$inboundSchema,
37950
+ unionType([
37951
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37952
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37953
+ type: v2.type
37954
+ }))),
37955
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37956
+ ]),
37957
+ stringType()
37958
+ ]);
37959
+ ConditionalTextIf$outboundSchema = unionType([
37960
+ CaseExpression$outboundSchema,
37961
+ unionType([
37962
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
37963
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37964
+ type: v2.type
37965
+ }))),
37966
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
37967
+ ]),
37968
+ stringType()
37969
+ ]);
37970
+ ConditionalText$inboundSchema = objectType({
37971
+ if: nullableType(unionType([
37972
+ CaseExpression$inboundSchema,
37973
+ unionType([
37974
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37975
+ type: v2.type
37976
+ }))),
37977
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37978
+ type: v2.type
37979
+ }))),
37980
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37981
+ type: v2.type
37982
+ })))
37983
+ ]),
37984
+ stringType()
37985
+ ])).optional(),
37986
+ text: stringType()
37987
+ });
37988
+ ConditionalText$outboundSchema = objectType({
37989
+ if: nullableType(unionType([
37990
+ CaseExpression$outboundSchema,
37991
+ unionType([
37992
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
37993
+ type: v2.type
37994
+ }))),
37995
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
37996
+ type: v2.type
37997
+ }))),
37998
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
37999
+ type: v2.type
38000
+ })))
38001
+ ]),
38002
+ stringType()
38003
+ ])).optional(),
38004
+ text: stringType()
38005
+ });
38006
+ });
38007
+
38008
+ // src/models/components/nextstep.ts
38009
+ var NextStepIf1$inboundSchema, NextStepIf1$outboundSchema, NextStepIf$inboundSchema, NextStepIf$outboundSchema, NextStep$inboundSchema, NextStep$outboundSchema;
38010
+ var init_nextstep = __esm(() => {
38011
+ init_v3();
38012
+ init_caseexpression();
38013
+ init_celexpression();
38014
+ init_jmespathexpression();
38015
+ NextStepIf1$inboundSchema = unionType([
38016
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
38017
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
38018
+ type: v2.type
38019
+ }))),
38020
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
38021
+ ]);
38022
+ NextStepIf1$outboundSchema = unionType([
38023
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
38024
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
38025
+ type: v2.type
38026
+ }))),
38027
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
38028
+ ]);
38029
+ NextStepIf$inboundSchema = unionType([
38030
+ CaseExpression$inboundSchema,
38031
+ unionType([
38032
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
38033
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
38034
+ type: v2.type
38035
+ }))),
38036
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
38037
+ ]),
38038
+ stringType()
38039
+ ]);
38040
+ NextStepIf$outboundSchema = unionType([
38041
+ CaseExpression$outboundSchema,
38042
+ unionType([
38043
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({ type: v2.type }))),
38044
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
38045
+ type: v2.type
38046
+ }))),
38047
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({ type: v2.type })))
38048
+ ]),
38049
+ stringType()
38050
+ ]);
38051
+ NextStep$inboundSchema = objectType({
38052
+ if: nullableType(unionType([
38053
+ CaseExpression$inboundSchema,
38054
+ unionType([
38055
+ CelExpression$inboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
38056
+ type: v2.type
38057
+ }))),
38058
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
38059
+ type: v2.type
38060
+ }))),
38061
+ JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
38062
+ type: v2.type
38063
+ })))
38064
+ ]),
38065
+ stringType()
38066
+ ])).optional(),
38067
+ id: stringType(),
38068
+ requires: nullableType(arrayType(stringType())).optional()
38069
+ });
38070
+ NextStep$outboundSchema = objectType({
38071
+ if: nullableType(unionType([
38072
+ CaseExpression$outboundSchema,
38073
+ unionType([
38074
+ CelExpression$outboundSchema.and(objectType({ type: literalType("cel") }).transform((v2) => ({
38075
+ type: v2.type
38076
+ }))),
38077
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") }).transform((v2) => ({
38078
+ type: v2.type
38079
+ }))),
38080
+ JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }).transform((v2) => ({
38081
+ type: v2.type
38082
+ })))
38083
+ ]),
38084
+ stringType()
38085
+ ])).optional(),
38086
+ id: stringType(),
38087
+ requires: nullableType(arrayType(stringType())).optional()
38088
+ });
38089
+ });
38090
+
38091
+ // src/models/components/stepeventactions.ts
38092
+ var StepEventActionsStart$inboundSchema, StepEventActionsStart$outboundSchema, Enter$inboundSchema, Enter$outboundSchema, StepEventActionsSubmit$inboundSchema, StepEventActionsSubmit$outboundSchema, StepEventActions$inboundSchema, StepEventActions$outboundSchema;
38093
+ var init_stepeventactions = __esm(() => {
38094
+ init_v3();
38095
+ init_callaction();
38096
+ init_incrementaction();
38097
+ init_saveaction();
38098
+ init_sayaction();
38099
+ init_setvalueaction();
38100
+ StepEventActionsStart$inboundSchema = unionType([
38101
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38102
+ action: v2.action
38103
+ }))),
38104
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38105
+ action: v2.action
38106
+ }))),
38107
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38108
+ action: v2.action
38109
+ }))),
38110
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38111
+ action: v2.action
38112
+ }))),
38113
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38114
+ action: v2.action
38115
+ })))
38116
+ ]);
38117
+ StepEventActionsStart$outboundSchema = unionType([
38118
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38119
+ action: v2.action
38120
+ }))),
38121
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38122
+ action: v2.action
38123
+ }))),
38124
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38125
+ action: v2.action
38126
+ }))),
38127
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38128
+ action: v2.action
38129
+ }))),
38130
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38131
+ action: v2.action
38132
+ })))
38133
+ ]);
38134
+ Enter$inboundSchema = unionType([
38135
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38136
+ action: v2.action
38137
+ }))),
38138
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38139
+ action: v2.action
38140
+ }))),
38141
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38142
+ action: v2.action
38143
+ }))),
38144
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38145
+ action: v2.action
38146
+ }))),
38147
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38148
+ action: v2.action
38149
+ })))
38150
+ ]);
38151
+ Enter$outboundSchema = unionType([
38152
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38153
+ action: v2.action
38154
+ }))),
38155
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38156
+ action: v2.action
38157
+ }))),
38158
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38159
+ action: v2.action
38160
+ }))),
38161
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38162
+ action: v2.action
38163
+ }))),
38164
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38165
+ action: v2.action
38166
+ })))
38167
+ ]);
38168
+ StepEventActionsSubmit$inboundSchema = unionType([
38169
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38170
+ action: v2.action
38171
+ }))),
38172
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38173
+ action: v2.action
38174
+ }))),
38175
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38176
+ action: v2.action
38177
+ }))),
38178
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38179
+ action: v2.action
38180
+ }))),
38181
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38182
+ action: v2.action
38183
+ })))
38184
+ ]);
38185
+ StepEventActionsSubmit$outboundSchema = unionType([
38186
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38187
+ action: v2.action
38188
+ }))),
38189
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38190
+ action: v2.action
38191
+ }))),
38192
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38193
+ action: v2.action
38194
+ }))),
38195
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38196
+ action: v2.action
38197
+ }))),
38198
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38199
+ action: v2.action
38200
+ })))
38201
+ ]);
38202
+ StepEventActions$inboundSchema = objectType({
38203
+ start: nullableType(arrayType(unionType([
38204
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38205
+ action: v2.action
38206
+ }))),
38207
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38208
+ action: v2.action
38209
+ }))),
38210
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38211
+ action: v2.action
38212
+ }))),
38213
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38214
+ action: v2.action
38215
+ }))),
38216
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38217
+ action: v2.action
38218
+ })))
38219
+ ]))).optional(),
38220
+ enter: nullableType(arrayType(unionType([
38221
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38222
+ action: v2.action
38223
+ }))),
38224
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38225
+ action: v2.action
38226
+ }))),
38227
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38228
+ action: v2.action
38229
+ }))),
38230
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38231
+ action: v2.action
38232
+ }))),
38233
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38234
+ action: v2.action
38235
+ })))
38236
+ ]))).optional(),
38237
+ submit: nullableType(arrayType(unionType([
38238
+ CallAction$inboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38239
+ action: v2.action
38240
+ }))),
38241
+ IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38242
+ action: v2.action
38243
+ }))),
38244
+ SayAction$inboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38245
+ action: v2.action
38246
+ }))),
38247
+ SetValueAction$inboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38248
+ action: v2.action
38249
+ }))),
38250
+ SaveAction$inboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38251
+ action: v2.action
38252
+ })))
38253
+ ]))).optional()
38254
+ });
38255
+ StepEventActions$outboundSchema = objectType({
38256
+ start: nullableType(arrayType(unionType([
38257
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38258
+ action: v2.action
38259
+ }))),
38260
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38261
+ action: v2.action
38262
+ }))),
38263
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38264
+ action: v2.action
38265
+ }))),
38266
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38267
+ action: v2.action
38268
+ }))),
38269
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38270
+ action: v2.action
38271
+ })))
38272
+ ]))).optional(),
38273
+ enter: nullableType(arrayType(unionType([
38274
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38275
+ action: v2.action
38276
+ }))),
38277
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38278
+ action: v2.action
38279
+ }))),
38280
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38281
+ action: v2.action
38282
+ }))),
38283
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38284
+ action: v2.action
38285
+ }))),
38286
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38287
+ action: v2.action
38288
+ })))
38289
+ ]))).optional(),
38290
+ submit: nullableType(arrayType(unionType([
38291
+ CallAction$outboundSchema.and(objectType({ action: literalType("call") }).transform((v2) => ({
38292
+ action: v2.action
38293
+ }))),
38294
+ IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") }).transform((v2) => ({
38295
+ action: v2.action
38296
+ }))),
38297
+ SayAction$outboundSchema.and(objectType({ action: literalType("say") }).transform((v2) => ({
38298
+ action: v2.action
38299
+ }))),
38300
+ SetValueAction$outboundSchema.and(objectType({ action: literalType("set") }).transform((v2) => ({
38301
+ action: v2.action
38302
+ }))),
38303
+ SaveAction$outboundSchema.and(objectType({ action: literalType("save") }).transform((v2) => ({
38304
+ action: v2.action
38305
+ })))
38306
+ ]))).optional()
38307
+ });
38308
+ });
38309
+
38310
+ // src/models/components/steptools.ts
38311
+ var StepTools$inboundSchema, StepTools$outboundSchema;
38312
+ var init_steptools = __esm(() => {
38313
+ init_v3();
38314
+ init_primitives();
38315
+ StepTools$inboundSchema = objectType({
38316
+ call: nullableType(booleanType()).optional(),
38317
+ allow: nullableType(arrayType(stringType())).optional(),
38318
+ allow_go_to_step: nullableType(booleanType()).optional()
36644
38319
  }).transform((v2) => {
36645
- return {
36646
- ...v2.additionalProperties,
36647
- ...remap(v2, {
36648
- additionalProperties: null
36649
- })
36650
- };
38320
+ return remap(v2, {
38321
+ allow_go_to_step: "allowGoToStep"
38322
+ });
38323
+ });
38324
+ StepTools$outboundSchema = objectType({
38325
+ call: nullableType(booleanType()).optional(),
38326
+ allow: nullableType(arrayType(stringType())).optional(),
38327
+ allowGoToStep: nullableType(booleanType()).optional()
38328
+ }).transform((v2) => {
38329
+ return remap(v2, {
38330
+ allowGoToStep: "allow_go_to_step"
38331
+ });
38332
+ });
38333
+ });
38334
+
38335
+ // src/models/components/step.ts
38336
+ var Instructions$inboundSchema, Instructions$outboundSchema, Next$inboundSchema, Next$outboundSchema, Step$inboundSchema, Step$outboundSchema;
38337
+ var init_step = __esm(() => {
38338
+ init_v3();
38339
+ init_conditionaltext();
38340
+ init_inputparameter();
38341
+ init_nextstep();
38342
+ init_stepeventactions();
38343
+ init_steptools();
38344
+ Instructions$inboundSchema = unionType([ConditionalText$inboundSchema, stringType()]);
38345
+ Instructions$outboundSchema = unionType([ConditionalText$outboundSchema, stringType()]);
38346
+ Next$inboundSchema = unionType([NextStep$inboundSchema, stringType()]);
38347
+ Next$outboundSchema = unionType([NextStep$outboundSchema, stringType()]);
38348
+ Step$inboundSchema = objectType({
38349
+ id: stringType(),
38350
+ goal: stringType(),
38351
+ instructions: arrayType(unionType([ConditionalText$inboundSchema, stringType()])).optional(),
38352
+ tools: StepTools$inboundSchema.optional(),
38353
+ inputs: arrayType(InputParameter$inboundSchema).optional(),
38354
+ on: StepEventActions$inboundSchema.optional(),
38355
+ next: arrayType(unionType([NextStep$inboundSchema, stringType()])).optional()
38356
+ });
38357
+ Step$outboundSchema = objectType({
38358
+ id: stringType(),
38359
+ goal: stringType(),
38360
+ instructions: arrayType(unionType([ConditionalText$outboundSchema, stringType()])).optional(),
38361
+ tools: StepTools$outboundSchema.optional(),
38362
+ inputs: arrayType(InputParameter$outboundSchema).optional(),
38363
+ on: StepEventActions$outboundSchema.optional(),
38364
+ next: arrayType(unionType([NextStep$outboundSchema, stringType()])).optional()
38365
+ });
38366
+ });
38367
+
38368
+ // src/models/components/stepstask.ts
38369
+ var StepsTask$inboundSchema, StepsTask$outboundSchema;
38370
+ var init_stepstask = __esm(() => {
38371
+ init_v3();
38372
+ init_contexttaskmetadata();
38373
+ init_contexttoolinfo();
38374
+ init_step();
38375
+ init_variable();
38376
+ StepsTask$inboundSchema = objectType({
38377
+ id: nullableType(stringType()).optional(),
38378
+ config: nullableType(recordType(anyType())).optional(),
38379
+ variables: nullableType(arrayType(Variable$inboundSchema)).optional(),
38380
+ metadata: nullableType(ContextTaskMetadata$inboundSchema).optional(),
38381
+ tool: nullableType(ContextToolInfo$inboundSchema).optional(),
38382
+ type: literalType("steps").default("steps"),
38383
+ version: literalType("v1alpha").default("v1alpha"),
38384
+ steps: arrayType(Step$inboundSchema).optional()
38385
+ });
38386
+ StepsTask$outboundSchema = objectType({
38387
+ id: nullableType(stringType()).optional(),
38388
+ config: nullableType(recordType(anyType())).optional(),
38389
+ variables: nullableType(arrayType(Variable$outboundSchema)).optional(),
38390
+ metadata: nullableType(ContextTaskMetadata$outboundSchema).optional(),
38391
+ tool: nullableType(ContextToolInfo$outboundSchema).optional(),
38392
+ type: literalType("steps").default("steps"),
38393
+ version: literalType("v1alpha").default("v1alpha"),
38394
+ steps: arrayType(Step$outboundSchema).optional()
36651
38395
  });
36652
38396
  });
36653
38397
 
36654
38398
  // src/models/components/context.ts
36655
- var Task$inboundSchema, Task$outboundSchema, Context$inboundSchema, Context$outboundSchema;
38399
+ var Two$inboundSchema, Two$outboundSchema, Task1$inboundSchema, Task1$outboundSchema, Task$inboundSchema, Task$outboundSchema, Context$inboundSchema, Context$outboundSchema;
36656
38400
  var init_context = __esm(() => {
36657
38401
  init_v3();
36658
- init_contexttask();
36659
- Task$inboundSchema = unionType([ContextTask$inboundSchema, arrayType(ContextTask$inboundSchema)]);
36660
- Task$outboundSchema = unionType([ContextTask$outboundSchema, arrayType(ContextTask$outboundSchema)]);
38402
+ init_eventtask();
38403
+ init_expressiontask();
38404
+ init_loadtoolfromfiletask();
38405
+ init_stepstask();
38406
+ Two$inboundSchema = unionType([
38407
+ LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38408
+ type: v2.type
38409
+ }))),
38410
+ EventTask$inboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({
38411
+ type: v2.type
38412
+ }))),
38413
+ ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38414
+ type: v2.type
38415
+ }))),
38416
+ StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({
38417
+ type: v2.type
38418
+ })))
38419
+ ]);
38420
+ Two$outboundSchema = unionType([
38421
+ LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38422
+ type: v2.type
38423
+ }))),
38424
+ EventTask$outboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({
38425
+ type: v2.type
38426
+ }))),
38427
+ ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38428
+ type: v2.type
38429
+ }))),
38430
+ StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({
38431
+ type: v2.type
38432
+ })))
38433
+ ]);
38434
+ Task1$inboundSchema = unionType([
38435
+ LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38436
+ type: v2.type
38437
+ }))),
38438
+ EventTask$inboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({
38439
+ type: v2.type
38440
+ }))),
38441
+ ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38442
+ type: v2.type
38443
+ }))),
38444
+ StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({
38445
+ type: v2.type
38446
+ })))
38447
+ ]);
38448
+ Task1$outboundSchema = unionType([
38449
+ LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38450
+ type: v2.type
38451
+ }))),
38452
+ EventTask$outboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({ type: v2.type }))),
38453
+ ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38454
+ type: v2.type
38455
+ }))),
38456
+ StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({ type: v2.type })))
38457
+ ]);
38458
+ Task$inboundSchema = unionType([
38459
+ unionType([
38460
+ LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38461
+ type: v2.type
38462
+ }))),
38463
+ EventTask$inboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({
38464
+ type: v2.type
38465
+ }))),
38466
+ ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38467
+ type: v2.type
38468
+ }))),
38469
+ StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({
38470
+ type: v2.type
38471
+ })))
38472
+ ]),
38473
+ arrayType(unionType([
38474
+ LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38475
+ type: v2.type
38476
+ }))),
38477
+ EventTask$inboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({
38478
+ type: v2.type
38479
+ }))),
38480
+ ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38481
+ type: v2.type
38482
+ }))),
38483
+ StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({
38484
+ type: v2.type
38485
+ })))
38486
+ ]))
38487
+ ]);
38488
+ Task$outboundSchema = unionType([
38489
+ unionType([
38490
+ LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38491
+ type: v2.type
38492
+ }))),
38493
+ EventTask$outboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({
38494
+ type: v2.type
38495
+ }))),
38496
+ ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38497
+ type: v2.type
38498
+ }))),
38499
+ StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({
38500
+ type: v2.type
38501
+ })))
38502
+ ]),
38503
+ arrayType(unionType([
38504
+ LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38505
+ type: v2.type
38506
+ }))),
38507
+ EventTask$outboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({
38508
+ type: v2.type
38509
+ }))),
38510
+ ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38511
+ type: v2.type
38512
+ }))),
38513
+ StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({
38514
+ type: v2.type
38515
+ })))
38516
+ ]))
38517
+ ]);
36661
38518
  Context$inboundSchema = objectType({
36662
- task: nullableType(unionType([ContextTask$inboundSchema, arrayType(ContextTask$inboundSchema)])).optional()
38519
+ task: nullableType(unionType([
38520
+ unionType([
38521
+ LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38522
+ type: v2.type
38523
+ }))),
38524
+ EventTask$inboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({
38525
+ type: v2.type
38526
+ }))),
38527
+ ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38528
+ type: v2.type
38529
+ }))),
38530
+ StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({
38531
+ type: v2.type
38532
+ })))
38533
+ ]),
38534
+ arrayType(unionType([
38535
+ LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38536
+ type: v2.type
38537
+ }))),
38538
+ EventTask$inboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({
38539
+ type: v2.type
38540
+ }))),
38541
+ ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38542
+ type: v2.type
38543
+ }))),
38544
+ StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({
38545
+ type: v2.type
38546
+ })))
38547
+ ]))
38548
+ ])).optional()
36663
38549
  });
36664
38550
  Context$outboundSchema = objectType({
36665
- task: nullableType(unionType([ContextTask$outboundSchema, arrayType(ContextTask$outboundSchema)])).optional()
38551
+ task: nullableType(unionType([
38552
+ unionType([
38553
+ LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38554
+ type: v2.type
38555
+ }))),
38556
+ EventTask$outboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({
38557
+ type: v2.type
38558
+ }))),
38559
+ ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38560
+ type: v2.type
38561
+ }))),
38562
+ StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({
38563
+ type: v2.type
38564
+ })))
38565
+ ]),
38566
+ arrayType(unionType([
38567
+ LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") }).transform((v2) => ({
38568
+ type: v2.type
38569
+ }))),
38570
+ EventTask$outboundSchema.and(objectType({ type: literalType("event") }).transform((v2) => ({
38571
+ type: v2.type
38572
+ }))),
38573
+ ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") }).transform((v2) => ({
38574
+ type: v2.type
38575
+ }))),
38576
+ StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }).transform((v2) => ({
38577
+ type: v2.type
38578
+ })))
38579
+ ]))
38580
+ ])).optional()
36666
38581
  });
36667
38582
  });
36668
38583
 
@@ -37744,11 +39659,11 @@ var init_bodydirectorymemberbulkload = __esm(() => {
37744
39659
  });
37745
39660
 
37746
39661
  // src/models/components/bodyinsightsfolderuploadfile.ts
37747
- var FileT$inboundSchema, FileT$outboundSchema, BodyInsightsFolderUploadFile$inboundSchema, BodyInsightsFolderUploadFile$outboundSchema;
39662
+ var BodyInsightsFolderUploadFileFile$inboundSchema, BodyInsightsFolderUploadFileFile$outboundSchema, BodyInsightsFolderUploadFile$inboundSchema, BodyInsightsFolderUploadFile$outboundSchema;
37748
39663
  var init_bodyinsightsfolderuploadfile = __esm(() => {
37749
39664
  init_v3();
37750
39665
  init_blobs();
37751
- FileT$inboundSchema = objectType({
39666
+ BodyInsightsFolderUploadFileFile$inboundSchema = objectType({
37752
39667
  fileName: stringType(),
37753
39668
  content: unionType([
37754
39669
  instanceOfType(ReadableStream),
@@ -37757,7 +39672,7 @@ var init_bodyinsightsfolderuploadfile = __esm(() => {
37757
39672
  instanceOfType(Uint8Array)
37758
39673
  ])
37759
39674
  });
37760
- FileT$outboundSchema = objectType({
39675
+ BodyInsightsFolderUploadFileFile$outboundSchema = objectType({
37761
39676
  fileName: stringType(),
37762
39677
  content: unionType([
37763
39678
  instanceOfType(ReadableStream),
@@ -37767,10 +39682,10 @@ var init_bodyinsightsfolderuploadfile = __esm(() => {
37767
39682
  ])
37768
39683
  });
37769
39684
  BodyInsightsFolderUploadFile$inboundSchema = objectType({
37770
- file: lazyType(() => FileT$inboundSchema).optional()
39685
+ file: lazyType(() => BodyInsightsFolderUploadFileFile$inboundSchema).optional()
37771
39686
  });
37772
39687
  BodyInsightsFolderUploadFile$outboundSchema = objectType({
37773
- file: lazyType(() => FileT$outboundSchema).or(blobLikeSchema).optional()
39688
+ file: lazyType(() => BodyInsightsFolderUploadFileFile$outboundSchema).or(blobLikeSchema).optional()
37774
39689
  });
37775
39690
  });
37776
39691
 
@@ -43681,7 +45596,10 @@ var init_components = __esm(() => {
43681
45596
  init_bodyoutboundbatchdelete();
43682
45597
  init_bodyoutboundbatchupload();
43683
45598
  init_bodypronunciationsuploadcsv();
45599
+ init_callaction();
43684
45600
  init_campaignproperties();
45601
+ init_caseexpression();
45602
+ init_celexpression();
43685
45603
  init_channel();
43686
45604
  init_channelconfigview();
43687
45605
  init_channelproperties();
@@ -43695,8 +45613,11 @@ var init_components = __esm(() => {
43695
45613
  init_communicationbatchupdate();
43696
45614
  init_communicationrequest();
43697
45615
  init_communicationrequestresult();
45616
+ init_conditionaltext();
45617
+ init_conditionalvalue();
43698
45618
  init_context();
43699
- init_contexttask();
45619
+ init_contexttaskmetadata();
45620
+ init_contexttoolinfo();
43700
45621
  init_conversation();
43701
45622
  init_conversationproperties();
43702
45623
  init_createtakeoutresponse();
@@ -43730,12 +45651,18 @@ var init_components = __esm(() => {
43730
45651
  init_directorymemberupdate();
43731
45652
  init_event();
43732
45653
  init_eventproperties();
45654
+ init_eventtask();
45655
+ init_eventtaskevents();
45656
+ init_expressiontask();
45657
+ init_expressiontaskevents();
43733
45658
  init_folderdetails();
43734
45659
  init_incidentcreaterequest();
43735
45660
  init_incidentorganizationresponse();
43736
45661
  init_incidentproperties();
43737
45662
  init_incidentresponse();
43738
45663
  init_incidentupdaterequest();
45664
+ init_incrementaction();
45665
+ init_inputparameter();
43739
45666
  init_insightsfolder();
43740
45667
  init_insightsfolderfilemove();
43741
45668
  init_insightsfolderinput();
@@ -43758,6 +45685,7 @@ var init_components = __esm(() => {
43758
45685
  init_insightworkflowproperties();
43759
45686
  init_inspectlatencyresponse();
43760
45687
  init_internaltool();
45688
+ init_jmespathexpression();
43761
45689
  init_languagecode();
43762
45690
  init_languageconfig();
43763
45691
  init_languagegroupagentinfo();
@@ -43796,8 +45724,10 @@ var init_components = __esm(() => {
43796
45724
  init_listresponsetoolresponse();
43797
45725
  init_listresponseuserresponse();
43798
45726
  init_listresponsevoicegroupresponse();
45727
+ init_loadtoolfromfiletask();
43799
45728
  init_logintype();
43800
45729
  init_matchtype();
45730
+ init_nextstep();
43801
45731
  init_orderbydirection();
43802
45732
  init_organizationchannelconfig();
43803
45733
  init_organizationchannelcreaterequest();
@@ -43823,6 +45753,8 @@ var init_components = __esm(() => {
43823
45753
  init_roleproperties();
43824
45754
  init_roleresponse();
43825
45755
  init_roleupdaterequest();
45756
+ init_saveaction();
45757
+ init_sayaction();
43826
45758
  init_security2();
43827
45759
  init_servicecreaterequest();
43828
45760
  init_serviceproperties();
@@ -43840,8 +45772,13 @@ var init_components = __esm(() => {
43840
45772
  init_sessionsummaryresponse();
43841
45773
  init_sessiontext();
43842
45774
  init_sessiontranscriptionresponse();
45775
+ init_setvalueaction();
43843
45776
  init_statictoolparameter();
43844
45777
  init_statictoolparametertype();
45778
+ init_step();
45779
+ init_stepeventactions();
45780
+ init_stepstask();
45781
+ init_steptools();
43845
45782
  init_summaryentry();
43846
45783
  init_supportedllm();
43847
45784
  init_takeoutrequeststatus();
@@ -43886,6 +45823,7 @@ var init_components = __esm(() => {
43886
45823
  init_userresponse();
43887
45824
  init_userupdaterequest();
43888
45825
  init_validationerror();
45826
+ init_variable();
43889
45827
  init_voicedisplayinfo();
43890
45828
  init_voicegroupcreaterequest();
43891
45829
  init_voicegroupproperties();
@@ -64055,7 +65993,7 @@ Generate voice sample.`,
64055
65993
  function createMCPServer(deps) {
64056
65994
  const server = new McpServer({
64057
65995
  name: "SyllableSDK",
64058
- version: "1.0.13-rc.4"
65996
+ version: "1.0.13-rc.5"
64059
65997
  });
64060
65998
  const client = new SyllableSDKCore({
64061
65999
  apiKeyHeader: deps.apiKeyHeader,
@@ -65589,7 +67527,7 @@ var routes = ln({
65589
67527
  var app = _e(routes, {
65590
67528
  name: "mcp",
65591
67529
  versionInfo: {
65592
- currentVersion: "1.0.13-rc.4"
67530
+ currentVersion: "1.0.13-rc.5"
65593
67531
  }
65594
67532
  });
65595
67533
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -65597,5 +67535,5 @@ export {
65597
67535
  app
65598
67536
  };
65599
67537
 
65600
- //# debugId=48E9E2259031AC8164756E2164756E21
67538
+ //# debugId=7BD1D56E468437A464756E2164756E21
65601
67539
  //# sourceMappingURL=mcp-server.js.map