@livechat/developer-studio-api 5.2.0-beta.v3 → 5.3.0-beta.v1

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.
@@ -779,15 +779,7 @@ type WorkflowHttpTask = WorkflowTaskBase & {
779
779
  interface WorkflowHttpTaskProviderErrorResponseBody {
780
780
  type: 'provider_error';
781
781
  }
782
- interface WorkflowHttpTaskFunctionErrorResponseBody {
783
- type: 'function_error';
784
- error_type: 'validation' | 'unauthorized';
785
- error: string;
786
- affected_field?: {
787
- field_location: string;
788
- field_path: string;
789
- };
790
- }
782
+ type WorkflowHttpTaskFunctionErrorResponseBody = WorkflowFunctionErrorResponseBody;
791
783
  type WorkflowHttpTaskErrorResponseBody = WorkflowHttpTaskProviderErrorResponseBody | WorkflowHttpTaskFunctionErrorResponseBody;
792
784
  type WorkflowExecutionHttpTaskData = WorkflowExecutionTaskBase & ({
793
785
  taskType: WorkflowHttpTask['type'];
@@ -896,11 +888,36 @@ type WorkflowActionTask = WorkflowTaskBase & {
896
888
  type: typeof WorkflowTaskType.simple;
897
889
  inputParameters: WorkflowActionTaskInputParameters;
898
890
  };
891
+ /**
892
+ * Success/error envelope produced by the action task executor
893
+ * (`ActionTaskResult`). On failure `error` carries the same `function_error`
894
+ * shape HTTP tasks expose under `outputData.response.body`.
895
+ */
896
+ interface WorkflowActionTaskSuccessOutput {
897
+ errored?: false;
898
+ response?: unknown;
899
+ artifacts?: Record<string, string>;
900
+ }
901
+ interface WorkflowActionTaskErrorOutput {
902
+ errored: true;
903
+ error?: WorkflowFunctionErrorResponseBody;
904
+ artifacts?: Record<string, string>;
905
+ }
899
906
  type WorkflowExecutionActionTaskData = WorkflowExecutionTaskBase & {
900
907
  taskType: WorkflowActionTask['type'];
908
+ } & ({
909
+ status: WorkflowExecutionTaskStatus.Completed;
901
910
  inputData: WorkflowActionTaskInputParameters;
902
- outputData: Record<string, unknown>;
903
- };
911
+ outputData: WorkflowActionTaskSuccessOutput;
912
+ } | {
913
+ status: WorkflowExecutionTaskStatus.Failed;
914
+ inputData: WorkflowActionTaskInputParameters;
915
+ outputData: WorkflowActionTaskErrorOutput;
916
+ } | {
917
+ status: WorkflowExecutionTaskStatus.NotExecuted;
918
+ inputData: Record<string, never>;
919
+ outputData: undefined;
920
+ });
904
921
 
905
922
  interface AwaitTaskCallback {
906
923
  type: 'ai_agent';
@@ -1289,6 +1306,20 @@ declare enum WorkflowExecutionTaskStatus {
1289
1306
  Canceled = "CANCELED",
1290
1307
  NotExecuted = "NOT_EXECUTED"
1291
1308
  }
1309
+ /**
1310
+ * Structured function error returned by executed tasks (HTTP function proxy and
1311
+ * SIMPLE/action tasks alike). Shared so both surfaces render the same way in the
1312
+ * builder (node tooltip + input field highlighting).
1313
+ */
1314
+ interface WorkflowFunctionErrorResponseBody {
1315
+ type: 'function_error';
1316
+ error_type: 'validation' | 'unauthorized' | 'forbidden' | 'bad_request' | 'not_found' | 'conflict' | 'too_many_requests' | 'timeout';
1317
+ error: string;
1318
+ affected_field?: {
1319
+ field_location: string;
1320
+ field_path: string;
1321
+ };
1322
+ }
1292
1323
  interface WorkflowTaskCoreBase {
1293
1324
  taskReferenceName: string;
1294
1325
  }
@@ -1377,17 +1408,20 @@ interface WorkflowCore {
1377
1408
  trigger?: WorkflowTriggerCore;
1378
1409
  tasks: WorkflowTaskCore[];
1379
1410
  }
1380
- interface WorkflowDto {
1381
- id: string;
1411
+ interface Workflow {
1382
1412
  name: string;
1383
1413
  description: string;
1414
+ definition: WorkflowDefinitionDto;
1415
+ trigger?: WorkflowTriggerDto | null;
1416
+ }
1417
+ interface WorkflowDto extends Workflow {
1418
+ trigger: WorkflowTriggerDto | null;
1419
+ id: string;
1384
1420
  version?: number;
1385
1421
  active?: boolean;
1386
1422
  draft: boolean;
1387
1423
  related_workflow_id?: string;
1388
1424
  tags?: string[];
1389
- definition: WorkflowDefinitionDto;
1390
- trigger: WorkflowTriggerDto | null;
1391
1425
  webhook_url?: string;
1392
1426
  executions?: {
1393
1427
  completed: number;
@@ -1397,8 +1431,8 @@ interface WorkflowDto {
1397
1431
  inactivity_reason_details: unknown;
1398
1432
  created_at: string;
1399
1433
  created_by: string;
1400
- organization_id?: string;
1401
1434
  updated_at: string;
1435
+ organization_id?: string;
1402
1436
  }
1403
1437
 
1404
1438
  declare enum WorkflowExecutionStatus {
@@ -1507,19 +1541,9 @@ interface IntrospectWorkflowTaskPayload {
1507
1541
  inputParameters: Record<string, unknown>;
1508
1542
  }
1509
1543
 
1510
- interface WorkflowDefinitionsQueryParams {
1511
- name?: {
1512
- value: string;
1513
- exact?: boolean;
1514
- };
1515
- }
1516
- interface UpsertWorkflowPayload {
1517
- name: string;
1544
+ type UpsertWorkflowPayload = Workflow & {
1518
1545
  draft?: boolean;
1519
- description: string;
1520
- trigger?: WorkflowTriggerDto | null;
1521
- definition: WorkflowDefinitionDto;
1522
- }
1546
+ };
1523
1547
 
1524
1548
  interface WorkflowTemplateListEntry {
1525
1549
  id: string;
@@ -3576,27 +3600,27 @@ declare const textCustomerEventsZods: {
3576
3600
  name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
3577
3601
  properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
3578
3602
  id: z.ZodString;
3579
- to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3603
+ to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3580
3604
  }, "strip", z.ZodTypeAny, {
3581
3605
  id: string;
3582
- to?: string | number | boolean | undefined;
3606
+ to?: string | number | boolean | null | undefined;
3583
3607
  }, {
3584
3608
  id: string;
3585
- to?: string | number | boolean | undefined;
3609
+ to?: string | number | boolean | null | undefined;
3586
3610
  }>, "many">>;
3587
3611
  }>, "strip", z.ZodTypeAny, {
3588
3612
  name: TextCustomerEventNames.PropertiesValuesUpdated;
3589
3613
  version?: string | undefined;
3590
3614
  properties?: {
3591
3615
  id: string;
3592
- to?: string | number | boolean | undefined;
3616
+ to?: string | number | boolean | null | undefined;
3593
3617
  }[] | undefined;
3594
3618
  }, {
3595
3619
  name: TextCustomerEventNames.PropertiesValuesUpdated;
3596
3620
  version?: string | undefined;
3597
3621
  properties?: {
3598
3622
  id: string;
3599
- to?: string | number | boolean | undefined;
3623
+ to?: string | number | boolean | null | undefined;
3600
3624
  }[] | undefined;
3601
3625
  }>;
3602
3626
  };
@@ -3619,27 +3643,27 @@ declare const textCustomerEventsZods: {
3619
3643
  name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
3620
3644
  properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
3621
3645
  id: z.ZodString;
3622
- to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3646
+ to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3623
3647
  }, "strip", z.ZodTypeAny, {
3624
3648
  id: string;
3625
- to?: string | number | boolean | undefined;
3649
+ to?: string | number | boolean | null | undefined;
3626
3650
  }, {
3627
3651
  id: string;
3628
- to?: string | number | boolean | undefined;
3652
+ to?: string | number | boolean | null | undefined;
3629
3653
  }>, "many">>;
3630
3654
  }>, "strip", z.ZodTypeAny, {
3631
3655
  name: TextCustomerEventNames.PropertiesValuesUpdated;
3632
3656
  version?: string | undefined;
3633
3657
  properties?: {
3634
3658
  id: string;
3635
- to?: string | number | boolean | undefined;
3659
+ to?: string | number | boolean | null | undefined;
3636
3660
  }[] | undefined;
3637
3661
  }, {
3638
3662
  name: TextCustomerEventNames.PropertiesValuesUpdated;
3639
3663
  version?: string | undefined;
3640
3664
  properties?: {
3641
3665
  id: string;
3642
- to?: string | number | boolean | undefined;
3666
+ to?: string | number | boolean | null | undefined;
3643
3667
  }[] | undefined;
3644
3668
  }>]>;
3645
3669
  readonly subscribe: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
@@ -3671,27 +3695,27 @@ declare const textCustomerEventsZods: {
3671
3695
  name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
3672
3696
  properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
3673
3697
  id: z.ZodString;
3674
- to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3698
+ to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3675
3699
  }, "strip", z.ZodTypeAny, {
3676
3700
  id: string;
3677
- to?: string | number | boolean | undefined;
3701
+ to?: string | number | boolean | null | undefined;
3678
3702
  }, {
3679
3703
  id: string;
3680
- to?: string | number | boolean | undefined;
3704
+ to?: string | number | boolean | null | undefined;
3681
3705
  }>, "many">>;
3682
3706
  }>, "strip", z.ZodTypeAny, {
3683
3707
  name: TextCustomerEventNames.PropertiesValuesUpdated;
3684
3708
  version?: string | undefined;
3685
3709
  properties?: {
3686
3710
  id: string;
3687
- to?: string | number | boolean | undefined;
3711
+ to?: string | number | boolean | null | undefined;
3688
3712
  }[] | undefined;
3689
3713
  }, {
3690
3714
  name: TextCustomerEventNames.PropertiesValuesUpdated;
3691
3715
  version?: string | undefined;
3692
3716
  properties?: {
3693
3717
  id: string;
3694
- to?: string | number | boolean | undefined;
3718
+ to?: string | number | boolean | null | undefined;
3695
3719
  }[] | undefined;
3696
3720
  }>]>;
3697
3721
  callback: z.ZodString;
@@ -3705,7 +3729,7 @@ declare const textCustomerEventsZods: {
3705
3729
  version?: string | undefined;
3706
3730
  properties?: {
3707
3731
  id: string;
3708
- to?: string | number | boolean | undefined;
3732
+ to?: string | number | boolean | null | undefined;
3709
3733
  }[] | undefined;
3710
3734
  };
3711
3735
  callback: string;
@@ -3719,7 +3743,7 @@ declare const textCustomerEventsZods: {
3719
3743
  version?: string | undefined;
3720
3744
  properties?: {
3721
3745
  id: string;
3722
- to?: string | number | boolean | undefined;
3746
+ to?: string | number | boolean | null | undefined;
3723
3747
  }[] | undefined;
3724
3748
  };
3725
3749
  callback: string;
@@ -4180,16 +4204,16 @@ declare const textHelpDeskEventsZods: {
4180
4204
  name: z.ZodLiteral<TextHelpDeskEventNames.TicketCustomFieldsChanged>;
4181
4205
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
4182
4206
  id: z.ZodString;
4183
- from: z.ZodOptional<z.ZodString>;
4184
- to: z.ZodOptional<z.ZodString>;
4207
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4208
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4185
4209
  }, "strip", z.ZodTypeAny, {
4186
4210
  id: string;
4187
- to?: string | undefined;
4188
- from?: string | undefined;
4211
+ to?: string | null | undefined;
4212
+ from?: string | null | undefined;
4189
4213
  }, {
4190
4214
  id: string;
4191
- to?: string | undefined;
4192
- from?: string | undefined;
4215
+ to?: string | null | undefined;
4216
+ from?: string | null | undefined;
4193
4217
  }>, "many">>;
4194
4218
  }>, {
4195
4219
  assignment: z.ZodOptional<z.ZodObject<{
@@ -4213,8 +4237,8 @@ declare const textHelpDeskEventsZods: {
4213
4237
  mailbox?: string | undefined;
4214
4238
  customFields?: {
4215
4239
  id: string;
4216
- to?: string | undefined;
4217
- from?: string | undefined;
4240
+ to?: string | null | undefined;
4241
+ from?: string | null | undefined;
4218
4242
  }[] | undefined;
4219
4243
  }, {
4220
4244
  name: TextHelpDeskEventNames.TicketCustomFieldsChanged;
@@ -4226,8 +4250,8 @@ declare const textHelpDeskEventsZods: {
4226
4250
  mailbox?: string | undefined;
4227
4251
  customFields?: {
4228
4252
  id: string;
4229
- to?: string | undefined;
4230
- from?: string | undefined;
4253
+ to?: string | null | undefined;
4254
+ from?: string | null | undefined;
4231
4255
  }[] | undefined;
4232
4256
  }>;
4233
4257
  ticketMessageAdded: z.ZodDiscriminatedUnion<"version", [z.ZodObject<z.objectUtil.extendShape<{
@@ -4712,16 +4736,16 @@ declare const textHelpDeskEventsZods: {
4712
4736
  name: z.ZodLiteral<TextHelpDeskEventNames.TicketCustomFieldsChanged>;
4713
4737
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
4714
4738
  id: z.ZodString;
4715
- from: z.ZodOptional<z.ZodString>;
4716
- to: z.ZodOptional<z.ZodString>;
4739
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4740
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4717
4741
  }, "strip", z.ZodTypeAny, {
4718
4742
  id: string;
4719
- to?: string | undefined;
4720
- from?: string | undefined;
4743
+ to?: string | null | undefined;
4744
+ from?: string | null | undefined;
4721
4745
  }, {
4722
4746
  id: string;
4723
- to?: string | undefined;
4724
- from?: string | undefined;
4747
+ to?: string | null | undefined;
4748
+ from?: string | null | undefined;
4725
4749
  }>, "many">>;
4726
4750
  }>, {
4727
4751
  assignment: z.ZodOptional<z.ZodObject<{
@@ -4745,8 +4769,8 @@ declare const textHelpDeskEventsZods: {
4745
4769
  mailbox?: string | undefined;
4746
4770
  customFields?: {
4747
4771
  id: string;
4748
- to?: string | undefined;
4749
- from?: string | undefined;
4772
+ to?: string | null | undefined;
4773
+ from?: string | null | undefined;
4750
4774
  }[] | undefined;
4751
4775
  }, {
4752
4776
  name: TextHelpDeskEventNames.TicketCustomFieldsChanged;
@@ -4758,8 +4782,8 @@ declare const textHelpDeskEventsZods: {
4758
4782
  mailbox?: string | undefined;
4759
4783
  customFields?: {
4760
4784
  id: string;
4761
- to?: string | undefined;
4762
- from?: string | undefined;
4785
+ to?: string | null | undefined;
4786
+ from?: string | null | undefined;
4763
4787
  }[] | undefined;
4764
4788
  }>]>;
4765
4789
  readonly subscribe: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
@@ -5175,16 +5199,16 @@ declare const textHelpDeskEventsZods: {
5175
5199
  name: z.ZodLiteral<TextHelpDeskEventNames.TicketCustomFieldsChanged>;
5176
5200
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5177
5201
  id: z.ZodString;
5178
- from: z.ZodOptional<z.ZodString>;
5179
- to: z.ZodOptional<z.ZodString>;
5202
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5203
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5180
5204
  }, "strip", z.ZodTypeAny, {
5181
5205
  id: string;
5182
- to?: string | undefined;
5183
- from?: string | undefined;
5206
+ to?: string | null | undefined;
5207
+ from?: string | null | undefined;
5184
5208
  }, {
5185
5209
  id: string;
5186
- to?: string | undefined;
5187
- from?: string | undefined;
5210
+ to?: string | null | undefined;
5211
+ from?: string | null | undefined;
5188
5212
  }>, "many">>;
5189
5213
  }>, {
5190
5214
  assignment: z.ZodOptional<z.ZodObject<{
@@ -5208,8 +5232,8 @@ declare const textHelpDeskEventsZods: {
5208
5232
  mailbox?: string | undefined;
5209
5233
  customFields?: {
5210
5234
  id: string;
5211
- to?: string | undefined;
5212
- from?: string | undefined;
5235
+ to?: string | null | undefined;
5236
+ from?: string | null | undefined;
5213
5237
  }[] | undefined;
5214
5238
  }, {
5215
5239
  name: TextHelpDeskEventNames.TicketCustomFieldsChanged;
@@ -5221,8 +5245,8 @@ declare const textHelpDeskEventsZods: {
5221
5245
  mailbox?: string | undefined;
5222
5246
  customFields?: {
5223
5247
  id: string;
5224
- to?: string | undefined;
5225
- from?: string | undefined;
5248
+ to?: string | null | undefined;
5249
+ from?: string | null | undefined;
5226
5250
  }[] | undefined;
5227
5251
  }>]>;
5228
5252
  callback: z.ZodString;
@@ -5315,8 +5339,8 @@ declare const textHelpDeskEventsZods: {
5315
5339
  mailbox?: string | undefined;
5316
5340
  customFields?: {
5317
5341
  id: string;
5318
- to?: string | undefined;
5319
- from?: string | undefined;
5342
+ to?: string | null | undefined;
5343
+ from?: string | null | undefined;
5320
5344
  }[] | undefined;
5321
5345
  } | {
5322
5346
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -5430,8 +5454,8 @@ declare const textHelpDeskEventsZods: {
5430
5454
  mailbox?: string | undefined;
5431
5455
  customFields?: {
5432
5456
  id: string;
5433
- to?: string | undefined;
5434
- from?: string | undefined;
5457
+ to?: string | null | undefined;
5458
+ from?: string | null | undefined;
5435
5459
  }[] | undefined;
5436
5460
  } | {
5437
5461
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -5888,16 +5912,16 @@ declare const textHelpDeskEventsZods: {
5888
5912
  name: z.ZodLiteral<TextHelpDeskEventNames.TicketCustomFieldsChanged>;
5889
5913
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5890
5914
  id: z.ZodString;
5891
- from: z.ZodOptional<z.ZodString>;
5892
- to: z.ZodOptional<z.ZodString>;
5915
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5916
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5893
5917
  }, "strip", z.ZodTypeAny, {
5894
5918
  id: string;
5895
- to?: string | undefined;
5896
- from?: string | undefined;
5919
+ to?: string | null | undefined;
5920
+ from?: string | null | undefined;
5897
5921
  }, {
5898
5922
  id: string;
5899
- to?: string | undefined;
5900
- from?: string | undefined;
5923
+ to?: string | null | undefined;
5924
+ from?: string | null | undefined;
5901
5925
  }>, "many">>;
5902
5926
  }>, {
5903
5927
  assignment: z.ZodOptional<z.ZodObject<{
@@ -5921,8 +5945,8 @@ declare const textHelpDeskEventsZods: {
5921
5945
  mailbox?: string | undefined;
5922
5946
  customFields?: {
5923
5947
  id: string;
5924
- to?: string | undefined;
5925
- from?: string | undefined;
5948
+ to?: string | null | undefined;
5949
+ from?: string | null | undefined;
5926
5950
  }[] | undefined;
5927
5951
  }, {
5928
5952
  name: TextHelpDeskEventNames.TicketCustomFieldsChanged;
@@ -5934,8 +5958,8 @@ declare const textHelpDeskEventsZods: {
5934
5958
  mailbox?: string | undefined;
5935
5959
  customFields?: {
5936
5960
  id: string;
5937
- to?: string | undefined;
5938
- from?: string | undefined;
5961
+ to?: string | null | undefined;
5962
+ from?: string | null | undefined;
5939
5963
  }[] | undefined;
5940
5964
  }>]>;
5941
5965
  callback: z.ZodString;
@@ -6028,8 +6052,8 @@ declare const textHelpDeskEventsZods: {
6028
6052
  mailbox?: string | undefined;
6029
6053
  customFields?: {
6030
6054
  id: string;
6031
- to?: string | undefined;
6032
- from?: string | undefined;
6055
+ to?: string | null | undefined;
6056
+ from?: string | null | undefined;
6033
6057
  }[] | undefined;
6034
6058
  } | {
6035
6059
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -6144,8 +6168,8 @@ declare const textHelpDeskEventsZods: {
6144
6168
  mailbox?: string | undefined;
6145
6169
  customFields?: {
6146
6170
  id: string;
6147
- to?: string | undefined;
6148
- from?: string | undefined;
6171
+ to?: string | null | undefined;
6172
+ from?: string | null | undefined;
6149
6173
  }[] | undefined;
6150
6174
  } | {
6151
6175
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -6585,16 +6609,16 @@ declare const textHelpDeskEventsZods: {
6585
6609
  name: z.ZodLiteral<TextHelpDeskEventNames.TicketCustomFieldsChanged>;
6586
6610
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
6587
6611
  id: z.ZodString;
6588
- from: z.ZodOptional<z.ZodString>;
6589
- to: z.ZodOptional<z.ZodString>;
6612
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6613
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6590
6614
  }, "strip", z.ZodTypeAny, {
6591
6615
  id: string;
6592
- to?: string | undefined;
6593
- from?: string | undefined;
6616
+ to?: string | null | undefined;
6617
+ from?: string | null | undefined;
6594
6618
  }, {
6595
6619
  id: string;
6596
- to?: string | undefined;
6597
- from?: string | undefined;
6620
+ to?: string | null | undefined;
6621
+ from?: string | null | undefined;
6598
6622
  }>, "many">>;
6599
6623
  }>, {
6600
6624
  assignment: z.ZodOptional<z.ZodObject<{
@@ -6618,8 +6642,8 @@ declare const textHelpDeskEventsZods: {
6618
6642
  mailbox?: string | undefined;
6619
6643
  customFields?: {
6620
6644
  id: string;
6621
- to?: string | undefined;
6622
- from?: string | undefined;
6645
+ to?: string | null | undefined;
6646
+ from?: string | null | undefined;
6623
6647
  }[] | undefined;
6624
6648
  }, {
6625
6649
  name: TextHelpDeskEventNames.TicketCustomFieldsChanged;
@@ -6631,8 +6655,8 @@ declare const textHelpDeskEventsZods: {
6631
6655
  mailbox?: string | undefined;
6632
6656
  customFields?: {
6633
6657
  id: string;
6634
- to?: string | undefined;
6635
- from?: string | undefined;
6658
+ to?: string | null | undefined;
6659
+ from?: string | null | undefined;
6636
6660
  }[] | undefined;
6637
6661
  }>]>;
6638
6662
  }, "strip", z.ZodTypeAny, {
@@ -6724,8 +6748,8 @@ declare const textHelpDeskEventsZods: {
6724
6748
  mailbox?: string | undefined;
6725
6749
  customFields?: {
6726
6750
  id: string;
6727
- to?: string | undefined;
6728
- from?: string | undefined;
6751
+ to?: string | null | undefined;
6752
+ from?: string | null | undefined;
6729
6753
  }[] | undefined;
6730
6754
  } | {
6731
6755
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -6838,8 +6862,8 @@ declare const textHelpDeskEventsZods: {
6838
6862
  mailbox?: string | undefined;
6839
6863
  customFields?: {
6840
6864
  id: string;
6841
- to?: string | undefined;
6842
- from?: string | undefined;
6865
+ to?: string | null | undefined;
6866
+ from?: string | null | undefined;
6843
6867
  }[] | undefined;
6844
6868
  } | {
6845
6869
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -7295,16 +7319,16 @@ declare const textHelpDeskEventsZods: {
7295
7319
  name: z.ZodLiteral<TextHelpDeskEventNames.TicketCustomFieldsChanged>;
7296
7320
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
7297
7321
  id: z.ZodString;
7298
- from: z.ZodOptional<z.ZodString>;
7299
- to: z.ZodOptional<z.ZodString>;
7322
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7323
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7300
7324
  }, "strip", z.ZodTypeAny, {
7301
7325
  id: string;
7302
- to?: string | undefined;
7303
- from?: string | undefined;
7326
+ to?: string | null | undefined;
7327
+ from?: string | null | undefined;
7304
7328
  }, {
7305
7329
  id: string;
7306
- to?: string | undefined;
7307
- from?: string | undefined;
7330
+ to?: string | null | undefined;
7331
+ from?: string | null | undefined;
7308
7332
  }>, "many">>;
7309
7333
  }>, {
7310
7334
  assignment: z.ZodOptional<z.ZodObject<{
@@ -7328,8 +7352,8 @@ declare const textHelpDeskEventsZods: {
7328
7352
  mailbox?: string | undefined;
7329
7353
  customFields?: {
7330
7354
  id: string;
7331
- to?: string | undefined;
7332
- from?: string | undefined;
7355
+ to?: string | null | undefined;
7356
+ from?: string | null | undefined;
7333
7357
  }[] | undefined;
7334
7358
  }, {
7335
7359
  name: TextHelpDeskEventNames.TicketCustomFieldsChanged;
@@ -7341,8 +7365,8 @@ declare const textHelpDeskEventsZods: {
7341
7365
  mailbox?: string | undefined;
7342
7366
  customFields?: {
7343
7367
  id: string;
7344
- to?: string | undefined;
7345
- from?: string | undefined;
7368
+ to?: string | null | undefined;
7369
+ from?: string | null | undefined;
7346
7370
  }[] | undefined;
7347
7371
  }>]>;
7348
7372
  }, "strip", z.ZodTypeAny, {
@@ -7434,8 +7458,8 @@ declare const textHelpDeskEventsZods: {
7434
7458
  mailbox?: string | undefined;
7435
7459
  customFields?: {
7436
7460
  id: string;
7437
- to?: string | undefined;
7438
- from?: string | undefined;
7461
+ to?: string | null | undefined;
7462
+ from?: string | null | undefined;
7439
7463
  }[] | undefined;
7440
7464
  } | {
7441
7465
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -7549,8 +7573,8 @@ declare const textHelpDeskEventsZods: {
7549
7573
  mailbox?: string | undefined;
7550
7574
  customFields?: {
7551
7575
  id: string;
7552
- to?: string | undefined;
7553
- from?: string | undefined;
7576
+ to?: string | null | undefined;
7577
+ from?: string | null | undefined;
7554
7578
  }[] | undefined;
7555
7579
  } | {
7556
7580
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -9281,27 +9305,27 @@ declare const integrationEventsZods: {
9281
9305
  name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
9282
9306
  properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
9283
9307
  id: z.ZodString;
9284
- to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
9308
+ to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
9285
9309
  }, "strip", z.ZodTypeAny, {
9286
9310
  id: string;
9287
- to?: string | number | boolean | undefined;
9311
+ to?: string | number | boolean | null | undefined;
9288
9312
  }, {
9289
9313
  id: string;
9290
- to?: string | number | boolean | undefined;
9314
+ to?: string | number | boolean | null | undefined;
9291
9315
  }>, "many">>;
9292
9316
  }>, "strip", z.ZodTypeAny, {
9293
9317
  name: TextCustomerEventNames.PropertiesValuesUpdated;
9294
9318
  version?: string | undefined;
9295
9319
  properties?: {
9296
9320
  id: string;
9297
- to?: string | number | boolean | undefined;
9321
+ to?: string | number | boolean | null | undefined;
9298
9322
  }[] | undefined;
9299
9323
  }, {
9300
9324
  name: TextCustomerEventNames.PropertiesValuesUpdated;
9301
9325
  version?: string | undefined;
9302
9326
  properties?: {
9303
9327
  id: string;
9304
- to?: string | number | boolean | undefined;
9328
+ to?: string | number | boolean | null | undefined;
9305
9329
  }[] | undefined;
9306
9330
  }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
9307
9331
  version: z.ZodOptional<z.ZodString>;
@@ -9885,16 +9909,16 @@ declare const integrationEventsZods: {
9885
9909
  name: z.ZodLiteral<TextHelpDeskEventNames.TicketCustomFieldsChanged>;
9886
9910
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
9887
9911
  id: z.ZodString;
9888
- from: z.ZodOptional<z.ZodString>;
9889
- to: z.ZodOptional<z.ZodString>;
9912
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9913
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9890
9914
  }, "strip", z.ZodTypeAny, {
9891
9915
  id: string;
9892
- to?: string | undefined;
9893
- from?: string | undefined;
9916
+ to?: string | null | undefined;
9917
+ from?: string | null | undefined;
9894
9918
  }, {
9895
9919
  id: string;
9896
- to?: string | undefined;
9897
- from?: string | undefined;
9920
+ to?: string | null | undefined;
9921
+ from?: string | null | undefined;
9898
9922
  }>, "many">>;
9899
9923
  }>, {
9900
9924
  assignment: z.ZodOptional<z.ZodObject<{
@@ -9918,8 +9942,8 @@ declare const integrationEventsZods: {
9918
9942
  mailbox?: string | undefined;
9919
9943
  customFields?: {
9920
9944
  id: string;
9921
- to?: string | undefined;
9922
- from?: string | undefined;
9945
+ to?: string | null | undefined;
9946
+ from?: string | null | undefined;
9923
9947
  }[] | undefined;
9924
9948
  }, {
9925
9949
  name: TextHelpDeskEventNames.TicketCustomFieldsChanged;
@@ -9931,8 +9955,8 @@ declare const integrationEventsZods: {
9931
9955
  mailbox?: string | undefined;
9932
9956
  customFields?: {
9933
9957
  id: string;
9934
- to?: string | undefined;
9935
- from?: string | undefined;
9958
+ to?: string | null | undefined;
9959
+ from?: string | null | undefined;
9936
9960
  }[] | undefined;
9937
9961
  }>]>]>, z.ZodDiscriminatedUnion<"name", [z.ZodObject<z.objectUtil.extendShape<{
9938
9962
  version: z.ZodOptional<z.ZodString>;
@@ -10132,27 +10156,27 @@ declare const integrationEventsZods: {
10132
10156
  name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
10133
10157
  properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
10134
10158
  id: z.ZodString;
10135
- to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
10159
+ to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
10136
10160
  }, "strip", z.ZodTypeAny, {
10137
10161
  id: string;
10138
- to?: string | number | boolean | undefined;
10162
+ to?: string | number | boolean | null | undefined;
10139
10163
  }, {
10140
10164
  id: string;
10141
- to?: string | number | boolean | undefined;
10165
+ to?: string | number | boolean | null | undefined;
10142
10166
  }>, "many">>;
10143
10167
  }>, "strip", z.ZodTypeAny, {
10144
10168
  name: TextCustomerEventNames.PropertiesValuesUpdated;
10145
10169
  version?: string | undefined;
10146
10170
  properties?: {
10147
10171
  id: string;
10148
- to?: string | number | boolean | undefined;
10172
+ to?: string | number | boolean | null | undefined;
10149
10173
  }[] | undefined;
10150
10174
  }, {
10151
10175
  name: TextCustomerEventNames.PropertiesValuesUpdated;
10152
10176
  version?: string | undefined;
10153
10177
  properties?: {
10154
10178
  id: string;
10155
- to?: string | number | boolean | undefined;
10179
+ to?: string | number | boolean | null | undefined;
10156
10180
  }[] | undefined;
10157
10181
  }>]>;
10158
10182
  callback: z.ZodString;
@@ -10166,7 +10190,7 @@ declare const integrationEventsZods: {
10166
10190
  version?: string | undefined;
10167
10191
  properties?: {
10168
10192
  id: string;
10169
- to?: string | number | boolean | undefined;
10193
+ to?: string | number | boolean | null | undefined;
10170
10194
  }[] | undefined;
10171
10195
  };
10172
10196
  callback: string;
@@ -10181,7 +10205,7 @@ declare const integrationEventsZods: {
10181
10205
  version?: string | undefined;
10182
10206
  properties?: {
10183
10207
  id: string;
10184
- to?: string | number | boolean | undefined;
10208
+ to?: string | number | boolean | null | undefined;
10185
10209
  }[] | undefined;
10186
10210
  };
10187
10211
  callback: string;
@@ -10894,16 +10918,16 @@ declare const integrationEventsZods: {
10894
10918
  name: z.ZodLiteral<TextHelpDeskEventNames.TicketCustomFieldsChanged>;
10895
10919
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
10896
10920
  id: z.ZodString;
10897
- from: z.ZodOptional<z.ZodString>;
10898
- to: z.ZodOptional<z.ZodString>;
10921
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10922
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10899
10923
  }, "strip", z.ZodTypeAny, {
10900
10924
  id: string;
10901
- to?: string | undefined;
10902
- from?: string | undefined;
10925
+ to?: string | null | undefined;
10926
+ from?: string | null | undefined;
10903
10927
  }, {
10904
10928
  id: string;
10905
- to?: string | undefined;
10906
- from?: string | undefined;
10929
+ to?: string | null | undefined;
10930
+ from?: string | null | undefined;
10907
10931
  }>, "many">>;
10908
10932
  }>, {
10909
10933
  assignment: z.ZodOptional<z.ZodObject<{
@@ -10927,8 +10951,8 @@ declare const integrationEventsZods: {
10927
10951
  mailbox?: string | undefined;
10928
10952
  customFields?: {
10929
10953
  id: string;
10930
- to?: string | undefined;
10931
- from?: string | undefined;
10954
+ to?: string | null | undefined;
10955
+ from?: string | null | undefined;
10932
10956
  }[] | undefined;
10933
10957
  }, {
10934
10958
  name: TextHelpDeskEventNames.TicketCustomFieldsChanged;
@@ -10940,8 +10964,8 @@ declare const integrationEventsZods: {
10940
10964
  mailbox?: string | undefined;
10941
10965
  customFields?: {
10942
10966
  id: string;
10943
- to?: string | undefined;
10944
- from?: string | undefined;
10967
+ to?: string | null | undefined;
10968
+ from?: string | null | undefined;
10945
10969
  }[] | undefined;
10946
10970
  }>]>;
10947
10971
  callback: z.ZodString;
@@ -11034,8 +11058,8 @@ declare const integrationEventsZods: {
11034
11058
  mailbox?: string | undefined;
11035
11059
  customFields?: {
11036
11060
  id: string;
11037
- to?: string | undefined;
11038
- from?: string | undefined;
11061
+ to?: string | null | undefined;
11062
+ from?: string | null | undefined;
11039
11063
  }[] | undefined;
11040
11064
  } | {
11041
11065
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -11150,8 +11174,8 @@ declare const integrationEventsZods: {
11150
11174
  mailbox?: string | undefined;
11151
11175
  customFields?: {
11152
11176
  id: string;
11153
- to?: string | undefined;
11154
- from?: string | undefined;
11177
+ to?: string | null | undefined;
11178
+ from?: string | null | undefined;
11155
11179
  }[] | undefined;
11156
11180
  } | {
11157
11181
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -11563,27 +11587,27 @@ declare const integrationEventsZods: {
11563
11587
  name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
11564
11588
  properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
11565
11589
  id: z.ZodString;
11566
- to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
11590
+ to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
11567
11591
  }, "strip", z.ZodTypeAny, {
11568
11592
  id: string;
11569
- to?: string | number | boolean | undefined;
11593
+ to?: string | number | boolean | null | undefined;
11570
11594
  }, {
11571
11595
  id: string;
11572
- to?: string | number | boolean | undefined;
11596
+ to?: string | number | boolean | null | undefined;
11573
11597
  }>, "many">>;
11574
11598
  }>, "strip", z.ZodTypeAny, {
11575
11599
  name: TextCustomerEventNames.PropertiesValuesUpdated;
11576
11600
  version?: string | undefined;
11577
11601
  properties?: {
11578
11602
  id: string;
11579
- to?: string | number | boolean | undefined;
11603
+ to?: string | number | boolean | null | undefined;
11580
11604
  }[] | undefined;
11581
11605
  }, {
11582
11606
  name: TextCustomerEventNames.PropertiesValuesUpdated;
11583
11607
  version?: string | undefined;
11584
11608
  properties?: {
11585
11609
  id: string;
11586
- to?: string | number | boolean | undefined;
11610
+ to?: string | number | boolean | null | undefined;
11587
11611
  }[] | undefined;
11588
11612
  }>]>;
11589
11613
  }, "strip", z.ZodTypeAny, {
@@ -11596,7 +11620,7 @@ declare const integrationEventsZods: {
11596
11620
  version?: string | undefined;
11597
11621
  properties?: {
11598
11622
  id: string;
11599
- to?: string | number | boolean | undefined;
11623
+ to?: string | number | boolean | null | undefined;
11600
11624
  }[] | undefined;
11601
11625
  };
11602
11626
  provider: IntegrationNames.Text;
@@ -11610,7 +11634,7 @@ declare const integrationEventsZods: {
11610
11634
  version?: string | undefined;
11611
11635
  properties?: {
11612
11636
  id: string;
11613
- to?: string | number | boolean | undefined;
11637
+ to?: string | number | boolean | null | undefined;
11614
11638
  }[] | undefined;
11615
11639
  };
11616
11640
  provider: IntegrationNames.Text;
@@ -12319,16 +12343,16 @@ declare const integrationEventsZods: {
12319
12343
  name: z.ZodLiteral<TextHelpDeskEventNames.TicketCustomFieldsChanged>;
12320
12344
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
12321
12345
  id: z.ZodString;
12322
- from: z.ZodOptional<z.ZodString>;
12323
- to: z.ZodOptional<z.ZodString>;
12346
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12347
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12324
12348
  }, "strip", z.ZodTypeAny, {
12325
12349
  id: string;
12326
- to?: string | undefined;
12327
- from?: string | undefined;
12350
+ to?: string | null | undefined;
12351
+ from?: string | null | undefined;
12328
12352
  }, {
12329
12353
  id: string;
12330
- to?: string | undefined;
12331
- from?: string | undefined;
12354
+ to?: string | null | undefined;
12355
+ from?: string | null | undefined;
12332
12356
  }>, "many">>;
12333
12357
  }>, {
12334
12358
  assignment: z.ZodOptional<z.ZodObject<{
@@ -12352,8 +12376,8 @@ declare const integrationEventsZods: {
12352
12376
  mailbox?: string | undefined;
12353
12377
  customFields?: {
12354
12378
  id: string;
12355
- to?: string | undefined;
12356
- from?: string | undefined;
12379
+ to?: string | null | undefined;
12380
+ from?: string | null | undefined;
12357
12381
  }[] | undefined;
12358
12382
  }, {
12359
12383
  name: TextHelpDeskEventNames.TicketCustomFieldsChanged;
@@ -12365,8 +12389,8 @@ declare const integrationEventsZods: {
12365
12389
  mailbox?: string | undefined;
12366
12390
  customFields?: {
12367
12391
  id: string;
12368
- to?: string | undefined;
12369
- from?: string | undefined;
12392
+ to?: string | null | undefined;
12393
+ from?: string | null | undefined;
12370
12394
  }[] | undefined;
12371
12395
  }>]>;
12372
12396
  }, "strip", z.ZodTypeAny, {
@@ -12458,8 +12482,8 @@ declare const integrationEventsZods: {
12458
12482
  mailbox?: string | undefined;
12459
12483
  customFields?: {
12460
12484
  id: string;
12461
- to?: string | undefined;
12462
- from?: string | undefined;
12485
+ to?: string | null | undefined;
12486
+ from?: string | null | undefined;
12463
12487
  }[] | undefined;
12464
12488
  } | {
12465
12489
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -12573,8 +12597,8 @@ declare const integrationEventsZods: {
12573
12597
  mailbox?: string | undefined;
12574
12598
  customFields?: {
12575
12599
  id: string;
12576
- to?: string | undefined;
12577
- from?: string | undefined;
12600
+ to?: string | null | undefined;
12601
+ from?: string | null | undefined;
12578
12602
  }[] | undefined;
12579
12603
  } | {
12580
12604
  name: TextHelpDeskEventNames.TicketMessageAdded;
@@ -13023,4 +13047,4 @@ interface IntegrationEventAuthorization {
13023
13047
  data?: Record<string, string>;
13024
13048
  }
13025
13049
 
13026
- export { type Filter as $, ApiErrorBase as A, type ApiError as B, type CredentialDto as C, type ApiErrorKind as D, type ExternalResourceReference as E, type FunctionDto as F, type GlobalAccountsClientAuthorization as G, type ApiErrorName as H, type IntegrationEventAuthorization as I, type ApiPagination as J, type AwaitTaskCallback as K, type BigCommerceEvent as L, BigCommerceEventNames as M, type BigCommerceOauthCredential as N, type Credential as O, type CredentialCore as P, type CredentialInjection as Q, CredentialStatus as R, type SubscribeToIntegrationEventPayload as S, TicketPriority as T, UnauthorizeApiError as U, CredentialType as V, type WorkflowDto as W, CredentialTypeDisplayNameMapping as X, CustomerLeftChatReason as Y, type ExternalResourceConfig as Z, type ExternalResourceDependency as _, type ApiErrorSource as a, type UnsubscribeFromShopifyEventPayload as a$, type FilterGroup as a0, type FilterOperator as a1, type FilterValue as a2, type Filters as a3, type FunctionSchema as a4, type GitHubAppCredential as a5, type GitHubOauthCredential as a6, type HubSpotOauthCredential as a7, type HubspotEvent as a8, HubspotEventNames as a9, type SlackOauthCredential as aA, SortBy as aB, SortOrder as aC, type Sorting as aD, type SubscribeToBigCommerceEventPayload as aE, type SubscribeToHubspotEventPayload as aF, type SubscribeToMailchimpEventPayload as aG, type SubscribeToShopifyEventPayload as aH, type SubscribeToSlackEventPayload as aI, type SubscribeToTextCustomerEventPayload as aJ, type SubscribeToTextHelpDeskEventPayload as aK, type SubscribeToTextLivechatEventPayload as aL, TRIGGER_REFERENCE_NAME as aM, TextApiError as aN, type TextAuthCredential as aO, type TextClientOptions as aP, type TextCustomerEvent as aQ, type TextHelpDeskEvent as aR, type TextHelpDeskEventBaseFilters as aS, TextHelpDeskEventNames as aT, type TextLiveChatEvent as aU, TextLivechatEventNames as aV, TextLivechatProductCardEventType as aW, type TextOAuthCredential as aX, type UnsubscribeFromBigCommerceEventPayload as aY, type UnsubscribeFromHubspotEventPayload as aZ, type UnsubscribeFromMailchimpEventPayload as a_, type Identity as aa, type IdentityField as ab, type IdentitySpec as ac, IntegrationDisplayNameToNameMap as ad, IntegrationDisplayNames as ae, type IntegrationEvent as af, type IntegrationEventProviderName as ag, type IntegrationEventSource as ah, type IntegrationEventSourceName as ai, type IntegrationKey as aj, IntegrationNameToDisplayMap as ak, type MailchimpEvent as al, MailchimpEventNames as am, type MailchimpOauthCredential as an, type NeonOauthCredential as ao, type NetlifyOauthCredential as ap, type OAuthCredential as aq, OauthCredentialGrantType as ar, type OpenaiCredential as as, type PlanetScaleOauthCredential as at, type SalesforceOauthCredential as au, type ShopifyEvent as av, ShopifyEventNames as aw, type ShopifyOauthCredential as ax, type SlackEvent as ay, SlackEventNames as az, TicketStatus as b, type WorkflowElementRef as b$, type UnsubscribeFromSlackEventPayload as b0, type UnsubscribeFromTextCustomerEventPayload as b1, type UnsubscribeFromTextHelpDeskEventPayload as b2, type UnsubscribeFromTextLivechatEventPayload as b3, type VercelOauthCredential as b4, type WorkflowActionTask as b5, type WorkflowActionTaskCore as b6, type WorkflowActionTaskInput as b7, type WorkflowActionTaskInputParameters as b8, type WorkflowAgentTrigger as b9, type WorkflowConvertTask as bA, type WorkflowConvertTaskCore as bB, type WorkflowConvertTaskDefinitionInputParameters as bC, type WorkflowConvertTaskInput as bD, type WorkflowConvertTaskInputFilter as bE, type WorkflowConvertTaskInputJoin as bF, type WorkflowConvertTaskInputLookup as bG, type WorkflowConvertTaskInputPickOmit as bH, type WorkflowConvertTaskInputPluck as bI, type WorkflowConvertTaskInputReducer as bJ, type WorkflowConvertTaskInputReplace as bK, type WorkflowConvertTaskInputSimple as bL, type WorkflowConvertTaskInputSort as bM, type WorkflowConvertTaskInputSplit as bN, type WorkflowConvertTaskInputSum as bO, type WorkflowConvertTaskTransformer as bP, WorkflowCustomTaskName as bQ, type WorkflowDefinitionDto as bR, type WorkflowDefinitionsQueryParams as bS, type WorkflowDoWhileBaseTask as bT, type WorkflowDoWhileBaseTaskCore as bU, type WorkflowDoWhileBaseTaskInput as bV, type WorkflowDoWhileTask as bW, type WorkflowDoWhileTaskCore as bX, type WorkflowElement as bY, type WorkflowElementCore as bZ, type WorkflowElementIdentity as b_, type WorkflowAgentTriggerCore as ba, type WorkflowAgentTriggerInput as bb, type WorkflowAggregate as bc, type WorkflowAwaitTask as bd, type WorkflowAwaitTaskCore as be, type WorkflowAwaitTaskInput as bf, type WorkflowBranch as bg, type WorkflowBundle as bh, type WorkflowConditionTask as bi, type WorkflowConditionTaskCondition as bj, type WorkflowConditionTaskCore as bk, WorkflowConditionTaskFieldType as bl, type WorkflowConditionTaskInput as bm, WorkflowConditionTaskLogic as bn, WorkflowConditionTaskOperator as bo, WorkflowConditionTaskOperatorGroup as bp, WorkflowConditionTaskOperatorValueType as bq, type WorkflowConstructArrayItem as br, type WorkflowConstructObjectField as bs, type WorkflowConstructOutputType as bt, type WorkflowConstructTask as bu, type WorkflowConstructTaskCore as bv, type WorkflowConstructTaskDefinitionInputParameters as bw, type WorkflowConstructTaskInput as bx, type WorkflowConstructTaskInputArray as by, type WorkflowConstructTaskInputObject as bz, IntegrationNames as c, type WorkflowManualTriggerCore as c$, type WorkflowExecutionActionTaskData as c0, type WorkflowExecutionAwaitTaskData as c1, type WorkflowExecutionChatContext as c2, type WorkflowExecutionConditionTask as c3, type WorkflowExecutionConstructTask as c4, type WorkflowExecutionContext as c5, type WorkflowExecutionConvertTask as c6, type WorkflowExecutionData as c7, WorkflowExecutionDefinitionStatus as c8, type WorkflowExecutionDoWhileIterationOutput as c9, type WorkflowForEachTaskCore as cA, type WorkflowForEachTaskInput as cB, type WorkflowForkJoinTask as cC, type WorkflowForkJoinTaskCore as cD, type WorkflowForkJoinTaskInput as cE, type WorkflowGraph as cF, type WorkflowHttpRequest as cG, type WorkflowHttpTask as cH, type WorkflowHttpTaskCore as cI, type WorkflowHttpTaskErrorResponseBody as cJ, type WorkflowHttpTaskFunctionErrorResponseBody as cK, type WorkflowHttpTaskHeaders as cL, type WorkflowHttpTaskInput as cM, type WorkflowHttpTaskProviderErrorResponseBody as cN, type WorkflowInlineBaseTask as cO, type WorkflowInlineBaseTaskCore as cP, type WorkflowInlineBaseTaskInput as cQ, type WorkflowInlineTask as cR, type WorkflowInlineTaskCore as cS, WorkflowItemKind as cT, type WorkflowJoinTask as cU, type WorkflowJoinTaskCore as cV, type WorkflowJoinTaskInput as cW, type WorkflowLoopTask as cX, type WorkflowLoopTaskCore as cY, type WorkflowLoopTaskInput as cZ, type WorkflowManualTrigger as c_, type WorkflowExecutionDoWhileTaskData as ca, type WorkflowExecutionForkJoinTaskData as cb, type WorkflowExecutionHttpTaskData as cc, type WorkflowExecutionInlineBaseTask as cd, type WorkflowExecutionInlineTaskData as ce, type WorkflowExecutionJoinTaskData as cf, type WorkflowExecutionNotifyAiAgentTaskData as cg, type WorkflowExecutionReasoningTaskData as ch, type WorkflowExecutionScriptTask as ci, type WorkflowExecutionSimpleBaseTaskData as cj, type WorkflowExecutionSimpleTaskData as ck, WorkflowExecutionStatus as cl, type WorkflowExecutionSwitchBaseTask as cm, type WorkflowExecutionSwitchCaseTask as cn, type WorkflowExecutionSwitchTaskData as co, type WorkflowExecutionTaskBase as cp, type WorkflowExecutionTaskData as cq, WorkflowExecutionTaskStatus as cr, type WorkflowExecutionTerminateTaskData as cs, type WorkflowExecutionTicketContext as ct, type WorkflowExecutionTransformBaseTask as cu, type WorkflowExecutionTransformTaskData as cv, type WorkflowExecutionTriggerData as cw, type WorkflowExecutionTriggerDataBase as cx, type WorkflowExecutionWaitTaskData as cy, type WorkflowForEachTask as cz, type InternalServiceClientAuthorization as d, type WorkflowTriggerOf as d$, type WorkflowManualTriggerInput as d0, type WorkflowManualTriggerParameter as d1, type WorkflowNode as d2, type WorkflowNotifyAiAgentTask as d3, type WorkflowNotifyAiAgentTaskCore as d4, type WorkflowNotifyAiAgentTaskInput as d5, type WorkflowNotifyAiAgentTaskObjectiveInput as d6, type WorkflowNotifyAiAgentTaskStrictInput as d7, type WorkflowOneTimeTrigger as d8, type WorkflowOneTimeTriggerCore as d9, type WorkflowSwitchCaseTaskInput as dA, type WorkflowSwitchTask as dB, type WorkflowSwitchTaskCore as dC, type WorkflowSwitchTaskInput as dD, type WorkflowTask as dE, type WorkflowTaskBase as dF, type WorkflowTaskCore as dG, type WorkflowTaskCoreBase as dH, type WorkflowTaskIdentity as dI, type WorkflowTaskIntrospection as dJ, type WorkflowTaskOf as dK, WorkflowTaskType as dL, WorkflowTemplateCategory as dM, type WorkflowTemplateMetadataItem as dN, type WorkflowTerminateTask as dO, type WorkflowTerminateTaskCore as dP, type WorkflowTerminateTaskInput as dQ, type WorkflowTransformBaseTask as dR, type WorkflowTransformBaseTaskCore as dS, type WorkflowTransformBaseTaskInput as dT, type WorkflowTransformTask as dU, type WorkflowTransformTaskCore as dV, type WorkflowTrigger as dW, type WorkflowTriggerBase as dX, type WorkflowTriggerCore as dY, type WorkflowTriggerDto as dZ, type WorkflowTriggerIdentity as d_, type WorkflowOneTimeTriggerInput as da, type WorkflowParentRef as db, type WorkflowPlan as dc, type WorkflowPlanTask as dd, type WorkflowPlanTrigger as de, type WorkflowReasoningOption as df, type WorkflowReasoningOptionAgent as dg, type WorkflowReasoningOptionCustomer as dh, type WorkflowReasoningTask as di, type WorkflowReasoningTaskCore as dj, type WorkflowReasoningTaskInput as dk, type WorkflowRecurringTrigger as dl, type WorkflowRecurringTriggerCore as dm, type WorkflowRecurringTriggerInput as dn, type WorkflowScriptTask as dp, type WorkflowScriptTaskCore as dq, type WorkflowScriptTaskInput as dr, type WorkflowSimpleBaseTask as ds, type WorkflowSimpleBaseTaskCore as dt, type WorkflowSimpleTask as du, type WorkflowSimpleTaskCore as dv, type WorkflowSwitchBaseTask as dw, type WorkflowSwitchBaseTaskCore as dx, type WorkflowSwitchCaseTask as dy, type WorkflowSwitchCaseTaskCore as dz, type TextClientAuthorization as e, WorkflowTriggerType as e0, type WorkflowWaitTask as e1, type WorkflowWaitTaskCore as e2, type WorkflowWaitTaskInput as e3, type WorkflowWebhook as e4, type WorkflowWebhookManualTrigger as e5, type WorkflowWebhookManualTriggerCore as e6, type WorkflowWebhookTrigger as e7, type WorkflowWebhookTriggerCore as e8, type WorkflowWebhookTriggerPure as e9, bigcommerceEventsZods as ea, getTextClientAuthorization as eb, getTextClientConfig as ec, getWorkflowApiCrmConfig as ed, hubspotEventsZods as ee, initTextClient as ef, integrationEventBase as eg, integrationEventsCoreZods as eh, integrationEventsZods as ei, isFilter as ej, isFilterGroup as ek, mailchimpEventsZods as el, serializeFilters as em, shopifyEventsZods as en, slackEventsZods as eo, textClientInstance as ep, textCustomerEventsZods as eq, textHelpDeskEventsZods as er, textLivechatEventsZods as es, TextCustomerEventNames as f, type AccountDto as g, type UnsubscribeFromIntegrationEventPayload as h, type WorkflowCore as i, type ApiPaginatedListQueryParams as j, type WorkflowCrmOrganizationsOrderBy as k, type WorkflowApiCrmAuthorization as l, type ApiPaginatedResult as m, type WorkflowCrmOrganization as n, type WorkflowCrmWorkflowsOrderBy as o, type WorkflowExecutionListItem as p, type WorkflowExecution as q, type WorkflowIntrospection as r, type UpsertWorkflowPayload as s, type IntrospectWorkflowTaskPayload as t, type WorkflowTaskIntrospectResponse as u, type CreateCredentialPayload as v, type UpdateCredentialPayload as w, type WorkflowTemplateOrderBy as x, type WorkflowTemplateListEntry as y, type WorkflowTemplate as z };
13050
+ export { type Filter as $, ApiErrorBase as A, type ApiError as B, type CredentialDto as C, type ApiErrorKind as D, type ExternalResourceReference as E, type FunctionDto as F, type GlobalAccountsClientAuthorization as G, type ApiErrorName as H, type IntegrationEventAuthorization as I, type ApiPagination as J, type AwaitTaskCallback as K, type BigCommerceEvent as L, BigCommerceEventNames as M, type BigCommerceOauthCredential as N, type Credential as O, type CredentialCore as P, type CredentialInjection as Q, CredentialStatus as R, type SubscribeToIntegrationEventPayload as S, TicketPriority as T, UnauthorizeApiError as U, CredentialType as V, type WorkflowDto as W, CredentialTypeDisplayNameMapping as X, CustomerLeftChatReason as Y, type ExternalResourceConfig as Z, type ExternalResourceDependency as _, type ApiErrorSource as a, type UnsubscribeFromShopifyEventPayload as a$, type FilterGroup as a0, type FilterOperator as a1, type FilterValue as a2, type Filters as a3, type FunctionSchema as a4, type GitHubAppCredential as a5, type GitHubOauthCredential as a6, type HubSpotOauthCredential as a7, type HubspotEvent as a8, HubspotEventNames as a9, type SlackOauthCredential as aA, SortBy as aB, SortOrder as aC, type Sorting as aD, type SubscribeToBigCommerceEventPayload as aE, type SubscribeToHubspotEventPayload as aF, type SubscribeToMailchimpEventPayload as aG, type SubscribeToShopifyEventPayload as aH, type SubscribeToSlackEventPayload as aI, type SubscribeToTextCustomerEventPayload as aJ, type SubscribeToTextHelpDeskEventPayload as aK, type SubscribeToTextLivechatEventPayload as aL, TRIGGER_REFERENCE_NAME as aM, TextApiError as aN, type TextAuthCredential as aO, type TextClientOptions as aP, type TextCustomerEvent as aQ, type TextHelpDeskEvent as aR, type TextHelpDeskEventBaseFilters as aS, TextHelpDeskEventNames as aT, type TextLiveChatEvent as aU, TextLivechatEventNames as aV, TextLivechatProductCardEventType as aW, type TextOAuthCredential as aX, type UnsubscribeFromBigCommerceEventPayload as aY, type UnsubscribeFromHubspotEventPayload as aZ, type UnsubscribeFromMailchimpEventPayload as a_, type Identity as aa, type IdentityField as ab, type IdentitySpec as ac, IntegrationDisplayNameToNameMap as ad, IntegrationDisplayNames as ae, type IntegrationEvent as af, type IntegrationEventProviderName as ag, type IntegrationEventSource as ah, type IntegrationEventSourceName as ai, type IntegrationKey as aj, IntegrationNameToDisplayMap as ak, type MailchimpEvent as al, MailchimpEventNames as am, type MailchimpOauthCredential as an, type NeonOauthCredential as ao, type NetlifyOauthCredential as ap, type OAuthCredential as aq, OauthCredentialGrantType as ar, type OpenaiCredential as as, type PlanetScaleOauthCredential as at, type SalesforceOauthCredential as au, type ShopifyEvent as av, ShopifyEventNames as aw, type ShopifyOauthCredential as ax, type SlackEvent as ay, SlackEventNames as az, TicketStatus as b, type WorkflowElementCore as b$, type UnsubscribeFromSlackEventPayload as b0, type UnsubscribeFromTextCustomerEventPayload as b1, type UnsubscribeFromTextHelpDeskEventPayload as b2, type UnsubscribeFromTextLivechatEventPayload as b3, type VercelOauthCredential as b4, type Workflow as b5, type WorkflowActionTask as b6, type WorkflowActionTaskCore as b7, type WorkflowActionTaskErrorOutput as b8, type WorkflowActionTaskInput as b9, type WorkflowConstructTaskInput as bA, type WorkflowConstructTaskInputArray as bB, type WorkflowConstructTaskInputObject as bC, type WorkflowConvertTask as bD, type WorkflowConvertTaskCore as bE, type WorkflowConvertTaskDefinitionInputParameters as bF, type WorkflowConvertTaskInput as bG, type WorkflowConvertTaskInputFilter as bH, type WorkflowConvertTaskInputJoin as bI, type WorkflowConvertTaskInputLookup as bJ, type WorkflowConvertTaskInputPickOmit as bK, type WorkflowConvertTaskInputPluck as bL, type WorkflowConvertTaskInputReducer as bM, type WorkflowConvertTaskInputReplace as bN, type WorkflowConvertTaskInputSimple as bO, type WorkflowConvertTaskInputSort as bP, type WorkflowConvertTaskInputSplit as bQ, type WorkflowConvertTaskInputSum as bR, type WorkflowConvertTaskTransformer as bS, WorkflowCustomTaskName as bT, type WorkflowDefinitionDto as bU, type WorkflowDoWhileBaseTask as bV, type WorkflowDoWhileBaseTaskCore as bW, type WorkflowDoWhileBaseTaskInput as bX, type WorkflowDoWhileTask as bY, type WorkflowDoWhileTaskCore as bZ, type WorkflowElement as b_, type WorkflowActionTaskInputParameters as ba, type WorkflowActionTaskSuccessOutput as bb, type WorkflowAgentTrigger as bc, type WorkflowAgentTriggerCore as bd, type WorkflowAgentTriggerInput as be, type WorkflowAggregate as bf, type WorkflowAwaitTask as bg, type WorkflowAwaitTaskCore as bh, type WorkflowAwaitTaskInput as bi, type WorkflowBranch as bj, type WorkflowBundle as bk, type WorkflowConditionTask as bl, type WorkflowConditionTaskCondition as bm, type WorkflowConditionTaskCore as bn, WorkflowConditionTaskFieldType as bo, type WorkflowConditionTaskInput as bp, WorkflowConditionTaskLogic as bq, WorkflowConditionTaskOperator as br, WorkflowConditionTaskOperatorGroup as bs, WorkflowConditionTaskOperatorValueType as bt, type WorkflowConstructArrayItem as bu, type WorkflowConstructObjectField as bv, type WorkflowConstructOutputType as bw, type WorkflowConstructTask as bx, type WorkflowConstructTaskCore as by, type WorkflowConstructTaskDefinitionInputParameters as bz, IntegrationNames as c, type WorkflowLoopTaskCore as c$, type WorkflowElementIdentity as c0, type WorkflowElementRef as c1, type WorkflowExecutionActionTaskData as c2, type WorkflowExecutionAwaitTaskData as c3, type WorkflowExecutionChatContext as c4, type WorkflowExecutionConditionTask as c5, type WorkflowExecutionConstructTask as c6, type WorkflowExecutionContext as c7, type WorkflowExecutionConvertTask as c8, type WorkflowExecutionData as c9, type WorkflowExecutionWaitTaskData as cA, type WorkflowForEachTask as cB, type WorkflowForEachTaskCore as cC, type WorkflowForEachTaskInput as cD, type WorkflowForkJoinTask as cE, type WorkflowForkJoinTaskCore as cF, type WorkflowForkJoinTaskInput as cG, type WorkflowFunctionErrorResponseBody as cH, type WorkflowGraph as cI, type WorkflowHttpRequest as cJ, type WorkflowHttpTask as cK, type WorkflowHttpTaskCore as cL, type WorkflowHttpTaskErrorResponseBody as cM, type WorkflowHttpTaskFunctionErrorResponseBody as cN, type WorkflowHttpTaskHeaders as cO, type WorkflowHttpTaskInput as cP, type WorkflowHttpTaskProviderErrorResponseBody as cQ, type WorkflowInlineBaseTask as cR, type WorkflowInlineBaseTaskCore as cS, type WorkflowInlineBaseTaskInput as cT, type WorkflowInlineTask as cU, type WorkflowInlineTaskCore as cV, WorkflowItemKind as cW, type WorkflowJoinTask as cX, type WorkflowJoinTaskCore as cY, type WorkflowJoinTaskInput as cZ, type WorkflowLoopTask as c_, WorkflowExecutionDefinitionStatus as ca, type WorkflowExecutionDoWhileIterationOutput as cb, type WorkflowExecutionDoWhileTaskData as cc, type WorkflowExecutionForkJoinTaskData as cd, type WorkflowExecutionHttpTaskData as ce, type WorkflowExecutionInlineBaseTask as cf, type WorkflowExecutionInlineTaskData as cg, type WorkflowExecutionJoinTaskData as ch, type WorkflowExecutionNotifyAiAgentTaskData as ci, type WorkflowExecutionReasoningTaskData as cj, type WorkflowExecutionScriptTask as ck, type WorkflowExecutionSimpleBaseTaskData as cl, type WorkflowExecutionSimpleTaskData as cm, WorkflowExecutionStatus as cn, type WorkflowExecutionSwitchBaseTask as co, type WorkflowExecutionSwitchCaseTask as cp, type WorkflowExecutionSwitchTaskData as cq, type WorkflowExecutionTaskBase as cr, type WorkflowExecutionTaskData as cs, WorkflowExecutionTaskStatus as ct, type WorkflowExecutionTerminateTaskData as cu, type WorkflowExecutionTicketContext as cv, type WorkflowExecutionTransformBaseTask as cw, type WorkflowExecutionTransformTaskData as cx, type WorkflowExecutionTriggerData as cy, type WorkflowExecutionTriggerDataBase as cz, type InternalServiceClientAuthorization as d, type WorkflowTriggerCore as d$, type WorkflowLoopTaskInput as d0, type WorkflowManualTrigger as d1, type WorkflowManualTriggerCore as d2, type WorkflowManualTriggerInput as d3, type WorkflowManualTriggerParameter as d4, type WorkflowNode as d5, type WorkflowNotifyAiAgentTask as d6, type WorkflowNotifyAiAgentTaskCore as d7, type WorkflowNotifyAiAgentTaskInput as d8, type WorkflowNotifyAiAgentTaskObjectiveInput as d9, type WorkflowSwitchBaseTaskCore as dA, type WorkflowSwitchCaseTask as dB, type WorkflowSwitchCaseTaskCore as dC, type WorkflowSwitchCaseTaskInput as dD, type WorkflowSwitchTask as dE, type WorkflowSwitchTaskCore as dF, type WorkflowSwitchTaskInput as dG, type WorkflowTask as dH, type WorkflowTaskBase as dI, type WorkflowTaskCore as dJ, type WorkflowTaskCoreBase as dK, type WorkflowTaskIdentity as dL, type WorkflowTaskIntrospection as dM, type WorkflowTaskOf as dN, WorkflowTaskType as dO, WorkflowTemplateCategory as dP, type WorkflowTemplateMetadataItem as dQ, type WorkflowTerminateTask as dR, type WorkflowTerminateTaskCore as dS, type WorkflowTerminateTaskInput as dT, type WorkflowTransformBaseTask as dU, type WorkflowTransformBaseTaskCore as dV, type WorkflowTransformBaseTaskInput as dW, type WorkflowTransformTask as dX, type WorkflowTransformTaskCore as dY, type WorkflowTrigger as dZ, type WorkflowTriggerBase as d_, type WorkflowNotifyAiAgentTaskStrictInput as da, type WorkflowOneTimeTrigger as db, type WorkflowOneTimeTriggerCore as dc, type WorkflowOneTimeTriggerInput as dd, type WorkflowParentRef as de, type WorkflowPlan as df, type WorkflowPlanTask as dg, type WorkflowPlanTrigger as dh, type WorkflowReasoningOption as di, type WorkflowReasoningOptionAgent as dj, type WorkflowReasoningOptionCustomer as dk, type WorkflowReasoningTask as dl, type WorkflowReasoningTaskCore as dm, type WorkflowReasoningTaskInput as dn, type WorkflowRecurringTrigger as dp, type WorkflowRecurringTriggerCore as dq, type WorkflowRecurringTriggerInput as dr, type WorkflowScriptTask as ds, type WorkflowScriptTaskCore as dt, type WorkflowScriptTaskInput as du, type WorkflowSimpleBaseTask as dv, type WorkflowSimpleBaseTaskCore as dw, type WorkflowSimpleTask as dx, type WorkflowSimpleTaskCore as dy, type WorkflowSwitchBaseTask as dz, type TextClientAuthorization as e, type WorkflowTriggerDto as e0, type WorkflowTriggerIdentity as e1, type WorkflowTriggerOf as e2, WorkflowTriggerType as e3, type WorkflowWaitTask as e4, type WorkflowWaitTaskCore as e5, type WorkflowWaitTaskInput as e6, type WorkflowWebhook as e7, type WorkflowWebhookManualTrigger as e8, type WorkflowWebhookManualTriggerCore as e9, type WorkflowWebhookTrigger as ea, type WorkflowWebhookTriggerCore as eb, type WorkflowWebhookTriggerPure as ec, bigcommerceEventsZods as ed, getTextClientAuthorization as ee, getTextClientConfig as ef, getWorkflowApiCrmConfig as eg, hubspotEventsZods as eh, initTextClient as ei, integrationEventBase as ej, integrationEventsCoreZods as ek, integrationEventsZods as el, isFilter as em, isFilterGroup as en, mailchimpEventsZods as eo, serializeFilters as ep, shopifyEventsZods as eq, slackEventsZods as er, textClientInstance as es, textCustomerEventsZods as et, textHelpDeskEventsZods as eu, textLivechatEventsZods as ev, TextCustomerEventNames as f, type AccountDto as g, type UnsubscribeFromIntegrationEventPayload as h, type WorkflowCore as i, type ApiPaginatedListQueryParams as j, type WorkflowCrmOrganizationsOrderBy as k, type WorkflowApiCrmAuthorization as l, type ApiPaginatedResult as m, type WorkflowCrmOrganization as n, type WorkflowCrmWorkflowsOrderBy as o, type WorkflowExecutionListItem as p, type WorkflowExecution as q, type WorkflowIntrospection as r, type UpsertWorkflowPayload as s, type IntrospectWorkflowTaskPayload as t, type WorkflowTaskIntrospectResponse as u, type CreateCredentialPayload as v, type UpdateCredentialPayload as w, type WorkflowTemplateOrderBy as x, type WorkflowTemplateListEntry as y, type WorkflowTemplate as z };