@livechat/developer-studio-api 3.1.57 → 3.1.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -400,6 +400,7 @@ interface GetTextPlatformDashboardReportParams {
400
400
  interface WorkflowsDto {
401
401
  id: string;
402
402
  version: number;
403
+ name: string;
403
404
  description: string;
404
405
  active: boolean;
405
406
  trigger_type: WorkflowTriggerType;
@@ -409,15 +410,15 @@ interface WorkflowsDto {
409
410
  interface WorkflowDto {
410
411
  id: string;
411
412
  version: number;
412
- name?: string;
413
+ name: string;
413
414
  description: string;
414
415
  active: boolean;
415
416
  created_at: string;
416
417
  updated_at: string;
417
418
  created_by: string;
418
419
  tags: string[];
419
- trigger: WorkflowTriggerDto;
420
420
  definition: WorkflowDefinitionDto;
421
+ trigger?: WorkflowTriggerDto;
421
422
  }
422
423
  type WorkflowTriggerType = "manual_only" | "recurring" | "one_time" | "webhook";
423
424
  type WorkflowTriggerDto = {
@@ -517,9 +518,9 @@ interface WorkflowDefinitionsQueryParams {
517
518
  };
518
519
  }
519
520
  interface UpsertWorkflowPayload {
520
- name?: string;
521
+ name: string;
521
522
  description: string;
522
- trigger: WorkflowTriggerDto;
523
+ trigger?: WorkflowTriggerDto;
523
524
  definition: WorkflowDefinitionDto;
524
525
  }
525
526
  interface WorkflowExecution {
@@ -542,10 +543,9 @@ type Credential = {
542
543
  description: string;
543
544
  provider: string;
544
545
  } & ({
545
- type: "header_auth";
546
+ type: "api_key";
546
547
  data: {
547
- name: string;
548
- value: string;
548
+ api_key: string;
549
549
  };
550
550
  } | {
551
551
  type: "basic_auth";
@@ -3168,13 +3168,13 @@ declare const textLivechatEventsZods: {
3168
3168
  }>;
3169
3169
  chatRated: z.ZodObject<{
3170
3170
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3171
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3171
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3172
3172
  }, "strip", z.ZodTypeAny, {
3173
3173
  name: TextLivechatEventNames.ChatRated;
3174
- rating?: "good" | "bad" | undefined;
3174
+ rating?: "good" | "bad" | "all" | undefined;
3175
3175
  }, {
3176
3176
  name: TextLivechatEventNames.ChatRated;
3177
- rating?: "good" | "bad" | undefined;
3177
+ rating?: "good" | "bad" | "all" | undefined;
3178
3178
  }>;
3179
3179
  chatCommented: z.ZodObject<{
3180
3180
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
@@ -3243,13 +3243,13 @@ declare const textLivechatEventsZods: {
3243
3243
  tag?: string | undefined;
3244
3244
  }>, z.ZodObject<{
3245
3245
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3246
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3246
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3247
3247
  }, "strip", z.ZodTypeAny, {
3248
3248
  name: TextLivechatEventNames.ChatRated;
3249
- rating?: "good" | "bad" | undefined;
3249
+ rating?: "good" | "bad" | "all" | undefined;
3250
3250
  }, {
3251
3251
  name: TextLivechatEventNames.ChatRated;
3252
- rating?: "good" | "bad" | undefined;
3252
+ rating?: "good" | "bad" | "all" | undefined;
3253
3253
  }>, z.ZodObject<{
3254
3254
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3255
3255
  }, "strip", z.ZodTypeAny, {
@@ -3333,13 +3333,13 @@ declare const textLivechatEventsZods: {
3333
3333
  tag?: string | undefined;
3334
3334
  }>, z.ZodObject<{
3335
3335
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3336
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3336
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3337
3337
  }, "strip", z.ZodTypeAny, {
3338
3338
  name: TextLivechatEventNames.ChatRated;
3339
- rating?: "good" | "bad" | undefined;
3339
+ rating?: "good" | "bad" | "all" | undefined;
3340
3340
  }, {
3341
3341
  name: TextLivechatEventNames.ChatRated;
3342
- rating?: "good" | "bad" | undefined;
3342
+ rating?: "good" | "bad" | "all" | undefined;
3343
3343
  }>, z.ZodObject<{
3344
3344
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3345
3345
  }, "strip", z.ZodTypeAny, {
@@ -3385,7 +3385,7 @@ declare const textLivechatEventsZods: {
3385
3385
  tag?: string | undefined;
3386
3386
  } | {
3387
3387
  name: TextLivechatEventNames.ChatRated;
3388
- rating?: "good" | "bad" | undefined;
3388
+ rating?: "good" | "bad" | "all" | undefined;
3389
3389
  } | {
3390
3390
  name: TextLivechatEventNames.ChatCommented;
3391
3391
  } | {
@@ -3411,7 +3411,7 @@ declare const textLivechatEventsZods: {
3411
3411
  tag?: string | undefined;
3412
3412
  } | {
3413
3413
  name: TextLivechatEventNames.ChatRated;
3414
- rating?: "good" | "bad" | undefined;
3414
+ rating?: "good" | "bad" | "all" | undefined;
3415
3415
  } | {
3416
3416
  name: TextLivechatEventNames.ChatCommented;
3417
3417
  } | {
@@ -3459,13 +3459,13 @@ declare const textLivechatEventsZods: {
3459
3459
  tag?: string | undefined;
3460
3460
  }>, z.ZodObject<{
3461
3461
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3462
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3462
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3463
3463
  }, "strip", z.ZodTypeAny, {
3464
3464
  name: TextLivechatEventNames.ChatRated;
3465
- rating?: "good" | "bad" | undefined;
3465
+ rating?: "good" | "bad" | "all" | undefined;
3466
3466
  }, {
3467
3467
  name: TextLivechatEventNames.ChatRated;
3468
- rating?: "good" | "bad" | undefined;
3468
+ rating?: "good" | "bad" | "all" | undefined;
3469
3469
  }>, z.ZodObject<{
3470
3470
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3471
3471
  }, "strip", z.ZodTypeAny, {
@@ -3511,7 +3511,7 @@ declare const textLivechatEventsZods: {
3511
3511
  tag?: string | undefined;
3512
3512
  } | {
3513
3513
  name: TextLivechatEventNames.ChatRated;
3514
- rating?: "good" | "bad" | undefined;
3514
+ rating?: "good" | "bad" | "all" | undefined;
3515
3515
  } | {
3516
3516
  name: TextLivechatEventNames.ChatCommented;
3517
3517
  } | {
@@ -3538,7 +3538,7 @@ declare const textLivechatEventsZods: {
3538
3538
  tag?: string | undefined;
3539
3539
  } | {
3540
3540
  name: TextLivechatEventNames.ChatRated;
3541
- rating?: "good" | "bad" | undefined;
3541
+ rating?: "good" | "bad" | "all" | undefined;
3542
3542
  } | {
3543
3543
  name: TextLivechatEventNames.ChatCommented;
3544
3544
  } | {
@@ -3595,13 +3595,13 @@ declare const textLivechatEventsZods: {
3595
3595
  tag?: string | undefined;
3596
3596
  }>, z.ZodObject<{
3597
3597
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3598
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3598
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3599
3599
  }, "strip", z.ZodTypeAny, {
3600
3600
  name: TextLivechatEventNames.ChatRated;
3601
- rating?: "good" | "bad" | undefined;
3601
+ rating?: "good" | "bad" | "all" | undefined;
3602
3602
  }, {
3603
3603
  name: TextLivechatEventNames.ChatRated;
3604
- rating?: "good" | "bad" | undefined;
3604
+ rating?: "good" | "bad" | "all" | undefined;
3605
3605
  }>, z.ZodObject<{
3606
3606
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3607
3607
  }, "strip", z.ZodTypeAny, {
@@ -3646,7 +3646,7 @@ declare const textLivechatEventsZods: {
3646
3646
  tag?: string | undefined;
3647
3647
  } | {
3648
3648
  name: TextLivechatEventNames.ChatRated;
3649
- rating?: "good" | "bad" | undefined;
3649
+ rating?: "good" | "bad" | "all" | undefined;
3650
3650
  } | {
3651
3651
  name: TextLivechatEventNames.ChatCommented;
3652
3652
  } | {
@@ -3671,7 +3671,7 @@ declare const textLivechatEventsZods: {
3671
3671
  tag?: string | undefined;
3672
3672
  } | {
3673
3673
  name: TextLivechatEventNames.ChatRated;
3674
- rating?: "good" | "bad" | undefined;
3674
+ rating?: "good" | "bad" | "all" | undefined;
3675
3675
  } | {
3676
3676
  name: TextLivechatEventNames.ChatCommented;
3677
3677
  } | {
@@ -3718,13 +3718,13 @@ declare const textLivechatEventsZods: {
3718
3718
  tag?: string | undefined;
3719
3719
  }>, z.ZodObject<{
3720
3720
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3721
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3721
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3722
3722
  }, "strip", z.ZodTypeAny, {
3723
3723
  name: TextLivechatEventNames.ChatRated;
3724
- rating?: "good" | "bad" | undefined;
3724
+ rating?: "good" | "bad" | "all" | undefined;
3725
3725
  }, {
3726
3726
  name: TextLivechatEventNames.ChatRated;
3727
- rating?: "good" | "bad" | undefined;
3727
+ rating?: "good" | "bad" | "all" | undefined;
3728
3728
  }>, z.ZodObject<{
3729
3729
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3730
3730
  }, "strip", z.ZodTypeAny, {
@@ -3769,7 +3769,7 @@ declare const textLivechatEventsZods: {
3769
3769
  tag?: string | undefined;
3770
3770
  } | {
3771
3771
  name: TextLivechatEventNames.ChatRated;
3772
- rating?: "good" | "bad" | undefined;
3772
+ rating?: "good" | "bad" | "all" | undefined;
3773
3773
  } | {
3774
3774
  name: TextLivechatEventNames.ChatCommented;
3775
3775
  } | {
@@ -3795,7 +3795,7 @@ declare const textLivechatEventsZods: {
3795
3795
  tag?: string | undefined;
3796
3796
  } | {
3797
3797
  name: TextLivechatEventNames.ChatRated;
3798
- rating?: "good" | "bad" | undefined;
3798
+ rating?: "good" | "bad" | "all" | undefined;
3799
3799
  } | {
3800
3800
  name: TextLivechatEventNames.ChatCommented;
3801
3801
  } | {
@@ -3849,13 +3849,13 @@ declare const integrationEventsZods: {
3849
3849
  tag?: string | undefined;
3850
3850
  }>, z.ZodObject<{
3851
3851
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3852
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3852
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3853
3853
  }, "strip", z.ZodTypeAny, {
3854
3854
  name: TextLivechatEventNames.ChatRated;
3855
- rating?: "good" | "bad" | undefined;
3855
+ rating?: "good" | "bad" | "all" | undefined;
3856
3856
  }, {
3857
3857
  name: TextLivechatEventNames.ChatRated;
3858
- rating?: "good" | "bad" | undefined;
3858
+ rating?: "good" | "bad" | "all" | undefined;
3859
3859
  }>, z.ZodObject<{
3860
3860
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3861
3861
  }, "strip", z.ZodTypeAny, {
@@ -4012,13 +4012,13 @@ declare const integrationEventsZods: {
4012
4012
  tag?: string | undefined;
4013
4013
  }>, z.ZodObject<{
4014
4014
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
4015
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
4015
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
4016
4016
  }, "strip", z.ZodTypeAny, {
4017
4017
  name: TextLivechatEventNames.ChatRated;
4018
- rating?: "good" | "bad" | undefined;
4018
+ rating?: "good" | "bad" | "all" | undefined;
4019
4019
  }, {
4020
4020
  name: TextLivechatEventNames.ChatRated;
4021
- rating?: "good" | "bad" | undefined;
4021
+ rating?: "good" | "bad" | "all" | undefined;
4022
4022
  }>, z.ZodObject<{
4023
4023
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
4024
4024
  }, "strip", z.ZodTypeAny, {
@@ -4064,7 +4064,7 @@ declare const integrationEventsZods: {
4064
4064
  tag?: string | undefined;
4065
4065
  } | {
4066
4066
  name: TextLivechatEventNames.ChatRated;
4067
- rating?: "good" | "bad" | undefined;
4067
+ rating?: "good" | "bad" | "all" | undefined;
4068
4068
  } | {
4069
4069
  name: TextLivechatEventNames.ChatCommented;
4070
4070
  } | {
@@ -4091,7 +4091,7 @@ declare const integrationEventsZods: {
4091
4091
  tag?: string | undefined;
4092
4092
  } | {
4093
4093
  name: TextLivechatEventNames.ChatRated;
4094
- rating?: "good" | "bad" | undefined;
4094
+ rating?: "good" | "bad" | "all" | undefined;
4095
4095
  } | {
4096
4096
  name: TextLivechatEventNames.ChatCommented;
4097
4097
  } | {
@@ -4317,13 +4317,13 @@ declare const integrationEventsZods: {
4317
4317
  tag?: string | undefined;
4318
4318
  }>, z.ZodObject<{
4319
4319
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
4320
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
4320
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
4321
4321
  }, "strip", z.ZodTypeAny, {
4322
4322
  name: TextLivechatEventNames.ChatRated;
4323
- rating?: "good" | "bad" | undefined;
4323
+ rating?: "good" | "bad" | "all" | undefined;
4324
4324
  }, {
4325
4325
  name: TextLivechatEventNames.ChatRated;
4326
- rating?: "good" | "bad" | undefined;
4326
+ rating?: "good" | "bad" | "all" | undefined;
4327
4327
  }>, z.ZodObject<{
4328
4328
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
4329
4329
  }, "strip", z.ZodTypeAny, {
@@ -4368,7 +4368,7 @@ declare const integrationEventsZods: {
4368
4368
  tag?: string | undefined;
4369
4369
  } | {
4370
4370
  name: TextLivechatEventNames.ChatRated;
4371
- rating?: "good" | "bad" | undefined;
4371
+ rating?: "good" | "bad" | "all" | undefined;
4372
4372
  } | {
4373
4373
  name: TextLivechatEventNames.ChatCommented;
4374
4374
  } | {
@@ -4394,7 +4394,7 @@ declare const integrationEventsZods: {
4394
4394
  tag?: string | undefined;
4395
4395
  } | {
4396
4396
  name: TextLivechatEventNames.ChatRated;
4397
- rating?: "good" | "bad" | undefined;
4397
+ rating?: "good" | "bad" | "all" | undefined;
4398
4398
  } | {
4399
4399
  name: TextLivechatEventNames.ChatCommented;
4400
4400
  } | {
@@ -6116,7 +6116,7 @@ declare const api: {
6116
6116
  tag?: string | undefined;
6117
6117
  } | {
6118
6118
  name: TextLivechatEventNames.ChatRated;
6119
- rating?: "good" | "bad" | undefined;
6119
+ rating?: "good" | "bad" | "all" | undefined;
6120
6120
  } | {
6121
6121
  name: TextLivechatEventNames.ChatCommented;
6122
6122
  } | {
@@ -6146,7 +6146,7 @@ declare const api: {
6146
6146
  tag?: string | undefined;
6147
6147
  } | {
6148
6148
  name: TextLivechatEventNames.ChatRated;
6149
- rating?: "good" | "bad" | undefined;
6149
+ rating?: "good" | "bad" | "all" | undefined;
6150
6150
  } | {
6151
6151
  name: TextLivechatEventNames.ChatCommented;
6152
6152
  } | {
package/dist/index.d.ts CHANGED
@@ -400,6 +400,7 @@ interface GetTextPlatformDashboardReportParams {
400
400
  interface WorkflowsDto {
401
401
  id: string;
402
402
  version: number;
403
+ name: string;
403
404
  description: string;
404
405
  active: boolean;
405
406
  trigger_type: WorkflowTriggerType;
@@ -409,15 +410,15 @@ interface WorkflowsDto {
409
410
  interface WorkflowDto {
410
411
  id: string;
411
412
  version: number;
412
- name?: string;
413
+ name: string;
413
414
  description: string;
414
415
  active: boolean;
415
416
  created_at: string;
416
417
  updated_at: string;
417
418
  created_by: string;
418
419
  tags: string[];
419
- trigger: WorkflowTriggerDto;
420
420
  definition: WorkflowDefinitionDto;
421
+ trigger?: WorkflowTriggerDto;
421
422
  }
422
423
  type WorkflowTriggerType = "manual_only" | "recurring" | "one_time" | "webhook";
423
424
  type WorkflowTriggerDto = {
@@ -517,9 +518,9 @@ interface WorkflowDefinitionsQueryParams {
517
518
  };
518
519
  }
519
520
  interface UpsertWorkflowPayload {
520
- name?: string;
521
+ name: string;
521
522
  description: string;
522
- trigger: WorkflowTriggerDto;
523
+ trigger?: WorkflowTriggerDto;
523
524
  definition: WorkflowDefinitionDto;
524
525
  }
525
526
  interface WorkflowExecution {
@@ -542,10 +543,9 @@ type Credential = {
542
543
  description: string;
543
544
  provider: string;
544
545
  } & ({
545
- type: "header_auth";
546
+ type: "api_key";
546
547
  data: {
547
- name: string;
548
- value: string;
548
+ api_key: string;
549
549
  };
550
550
  } | {
551
551
  type: "basic_auth";
@@ -3168,13 +3168,13 @@ declare const textLivechatEventsZods: {
3168
3168
  }>;
3169
3169
  chatRated: z.ZodObject<{
3170
3170
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3171
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3171
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3172
3172
  }, "strip", z.ZodTypeAny, {
3173
3173
  name: TextLivechatEventNames.ChatRated;
3174
- rating?: "good" | "bad" | undefined;
3174
+ rating?: "good" | "bad" | "all" | undefined;
3175
3175
  }, {
3176
3176
  name: TextLivechatEventNames.ChatRated;
3177
- rating?: "good" | "bad" | undefined;
3177
+ rating?: "good" | "bad" | "all" | undefined;
3178
3178
  }>;
3179
3179
  chatCommented: z.ZodObject<{
3180
3180
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
@@ -3243,13 +3243,13 @@ declare const textLivechatEventsZods: {
3243
3243
  tag?: string | undefined;
3244
3244
  }>, z.ZodObject<{
3245
3245
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3246
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3246
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3247
3247
  }, "strip", z.ZodTypeAny, {
3248
3248
  name: TextLivechatEventNames.ChatRated;
3249
- rating?: "good" | "bad" | undefined;
3249
+ rating?: "good" | "bad" | "all" | undefined;
3250
3250
  }, {
3251
3251
  name: TextLivechatEventNames.ChatRated;
3252
- rating?: "good" | "bad" | undefined;
3252
+ rating?: "good" | "bad" | "all" | undefined;
3253
3253
  }>, z.ZodObject<{
3254
3254
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3255
3255
  }, "strip", z.ZodTypeAny, {
@@ -3333,13 +3333,13 @@ declare const textLivechatEventsZods: {
3333
3333
  tag?: string | undefined;
3334
3334
  }>, z.ZodObject<{
3335
3335
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3336
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3336
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3337
3337
  }, "strip", z.ZodTypeAny, {
3338
3338
  name: TextLivechatEventNames.ChatRated;
3339
- rating?: "good" | "bad" | undefined;
3339
+ rating?: "good" | "bad" | "all" | undefined;
3340
3340
  }, {
3341
3341
  name: TextLivechatEventNames.ChatRated;
3342
- rating?: "good" | "bad" | undefined;
3342
+ rating?: "good" | "bad" | "all" | undefined;
3343
3343
  }>, z.ZodObject<{
3344
3344
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3345
3345
  }, "strip", z.ZodTypeAny, {
@@ -3385,7 +3385,7 @@ declare const textLivechatEventsZods: {
3385
3385
  tag?: string | undefined;
3386
3386
  } | {
3387
3387
  name: TextLivechatEventNames.ChatRated;
3388
- rating?: "good" | "bad" | undefined;
3388
+ rating?: "good" | "bad" | "all" | undefined;
3389
3389
  } | {
3390
3390
  name: TextLivechatEventNames.ChatCommented;
3391
3391
  } | {
@@ -3411,7 +3411,7 @@ declare const textLivechatEventsZods: {
3411
3411
  tag?: string | undefined;
3412
3412
  } | {
3413
3413
  name: TextLivechatEventNames.ChatRated;
3414
- rating?: "good" | "bad" | undefined;
3414
+ rating?: "good" | "bad" | "all" | undefined;
3415
3415
  } | {
3416
3416
  name: TextLivechatEventNames.ChatCommented;
3417
3417
  } | {
@@ -3459,13 +3459,13 @@ declare const textLivechatEventsZods: {
3459
3459
  tag?: string | undefined;
3460
3460
  }>, z.ZodObject<{
3461
3461
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3462
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3462
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3463
3463
  }, "strip", z.ZodTypeAny, {
3464
3464
  name: TextLivechatEventNames.ChatRated;
3465
- rating?: "good" | "bad" | undefined;
3465
+ rating?: "good" | "bad" | "all" | undefined;
3466
3466
  }, {
3467
3467
  name: TextLivechatEventNames.ChatRated;
3468
- rating?: "good" | "bad" | undefined;
3468
+ rating?: "good" | "bad" | "all" | undefined;
3469
3469
  }>, z.ZodObject<{
3470
3470
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3471
3471
  }, "strip", z.ZodTypeAny, {
@@ -3511,7 +3511,7 @@ declare const textLivechatEventsZods: {
3511
3511
  tag?: string | undefined;
3512
3512
  } | {
3513
3513
  name: TextLivechatEventNames.ChatRated;
3514
- rating?: "good" | "bad" | undefined;
3514
+ rating?: "good" | "bad" | "all" | undefined;
3515
3515
  } | {
3516
3516
  name: TextLivechatEventNames.ChatCommented;
3517
3517
  } | {
@@ -3538,7 +3538,7 @@ declare const textLivechatEventsZods: {
3538
3538
  tag?: string | undefined;
3539
3539
  } | {
3540
3540
  name: TextLivechatEventNames.ChatRated;
3541
- rating?: "good" | "bad" | undefined;
3541
+ rating?: "good" | "bad" | "all" | undefined;
3542
3542
  } | {
3543
3543
  name: TextLivechatEventNames.ChatCommented;
3544
3544
  } | {
@@ -3595,13 +3595,13 @@ declare const textLivechatEventsZods: {
3595
3595
  tag?: string | undefined;
3596
3596
  }>, z.ZodObject<{
3597
3597
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3598
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3598
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3599
3599
  }, "strip", z.ZodTypeAny, {
3600
3600
  name: TextLivechatEventNames.ChatRated;
3601
- rating?: "good" | "bad" | undefined;
3601
+ rating?: "good" | "bad" | "all" | undefined;
3602
3602
  }, {
3603
3603
  name: TextLivechatEventNames.ChatRated;
3604
- rating?: "good" | "bad" | undefined;
3604
+ rating?: "good" | "bad" | "all" | undefined;
3605
3605
  }>, z.ZodObject<{
3606
3606
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3607
3607
  }, "strip", z.ZodTypeAny, {
@@ -3646,7 +3646,7 @@ declare const textLivechatEventsZods: {
3646
3646
  tag?: string | undefined;
3647
3647
  } | {
3648
3648
  name: TextLivechatEventNames.ChatRated;
3649
- rating?: "good" | "bad" | undefined;
3649
+ rating?: "good" | "bad" | "all" | undefined;
3650
3650
  } | {
3651
3651
  name: TextLivechatEventNames.ChatCommented;
3652
3652
  } | {
@@ -3671,7 +3671,7 @@ declare const textLivechatEventsZods: {
3671
3671
  tag?: string | undefined;
3672
3672
  } | {
3673
3673
  name: TextLivechatEventNames.ChatRated;
3674
- rating?: "good" | "bad" | undefined;
3674
+ rating?: "good" | "bad" | "all" | undefined;
3675
3675
  } | {
3676
3676
  name: TextLivechatEventNames.ChatCommented;
3677
3677
  } | {
@@ -3718,13 +3718,13 @@ declare const textLivechatEventsZods: {
3718
3718
  tag?: string | undefined;
3719
3719
  }>, z.ZodObject<{
3720
3720
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3721
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3721
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3722
3722
  }, "strip", z.ZodTypeAny, {
3723
3723
  name: TextLivechatEventNames.ChatRated;
3724
- rating?: "good" | "bad" | undefined;
3724
+ rating?: "good" | "bad" | "all" | undefined;
3725
3725
  }, {
3726
3726
  name: TextLivechatEventNames.ChatRated;
3727
- rating?: "good" | "bad" | undefined;
3727
+ rating?: "good" | "bad" | "all" | undefined;
3728
3728
  }>, z.ZodObject<{
3729
3729
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3730
3730
  }, "strip", z.ZodTypeAny, {
@@ -3769,7 +3769,7 @@ declare const textLivechatEventsZods: {
3769
3769
  tag?: string | undefined;
3770
3770
  } | {
3771
3771
  name: TextLivechatEventNames.ChatRated;
3772
- rating?: "good" | "bad" | undefined;
3772
+ rating?: "good" | "bad" | "all" | undefined;
3773
3773
  } | {
3774
3774
  name: TextLivechatEventNames.ChatCommented;
3775
3775
  } | {
@@ -3795,7 +3795,7 @@ declare const textLivechatEventsZods: {
3795
3795
  tag?: string | undefined;
3796
3796
  } | {
3797
3797
  name: TextLivechatEventNames.ChatRated;
3798
- rating?: "good" | "bad" | undefined;
3798
+ rating?: "good" | "bad" | "all" | undefined;
3799
3799
  } | {
3800
3800
  name: TextLivechatEventNames.ChatCommented;
3801
3801
  } | {
@@ -3849,13 +3849,13 @@ declare const integrationEventsZods: {
3849
3849
  tag?: string | undefined;
3850
3850
  }>, z.ZodObject<{
3851
3851
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
3852
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
3852
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
3853
3853
  }, "strip", z.ZodTypeAny, {
3854
3854
  name: TextLivechatEventNames.ChatRated;
3855
- rating?: "good" | "bad" | undefined;
3855
+ rating?: "good" | "bad" | "all" | undefined;
3856
3856
  }, {
3857
3857
  name: TextLivechatEventNames.ChatRated;
3858
- rating?: "good" | "bad" | undefined;
3858
+ rating?: "good" | "bad" | "all" | undefined;
3859
3859
  }>, z.ZodObject<{
3860
3860
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
3861
3861
  }, "strip", z.ZodTypeAny, {
@@ -4012,13 +4012,13 @@ declare const integrationEventsZods: {
4012
4012
  tag?: string | undefined;
4013
4013
  }>, z.ZodObject<{
4014
4014
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
4015
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
4015
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
4016
4016
  }, "strip", z.ZodTypeAny, {
4017
4017
  name: TextLivechatEventNames.ChatRated;
4018
- rating?: "good" | "bad" | undefined;
4018
+ rating?: "good" | "bad" | "all" | undefined;
4019
4019
  }, {
4020
4020
  name: TextLivechatEventNames.ChatRated;
4021
- rating?: "good" | "bad" | undefined;
4021
+ rating?: "good" | "bad" | "all" | undefined;
4022
4022
  }>, z.ZodObject<{
4023
4023
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
4024
4024
  }, "strip", z.ZodTypeAny, {
@@ -4064,7 +4064,7 @@ declare const integrationEventsZods: {
4064
4064
  tag?: string | undefined;
4065
4065
  } | {
4066
4066
  name: TextLivechatEventNames.ChatRated;
4067
- rating?: "good" | "bad" | undefined;
4067
+ rating?: "good" | "bad" | "all" | undefined;
4068
4068
  } | {
4069
4069
  name: TextLivechatEventNames.ChatCommented;
4070
4070
  } | {
@@ -4091,7 +4091,7 @@ declare const integrationEventsZods: {
4091
4091
  tag?: string | undefined;
4092
4092
  } | {
4093
4093
  name: TextLivechatEventNames.ChatRated;
4094
- rating?: "good" | "bad" | undefined;
4094
+ rating?: "good" | "bad" | "all" | undefined;
4095
4095
  } | {
4096
4096
  name: TextLivechatEventNames.ChatCommented;
4097
4097
  } | {
@@ -4317,13 +4317,13 @@ declare const integrationEventsZods: {
4317
4317
  tag?: string | undefined;
4318
4318
  }>, z.ZodObject<{
4319
4319
  name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
4320
- rating: z.ZodOptional<z.ZodEnum<["good", "bad"]>>;
4320
+ rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
4321
4321
  }, "strip", z.ZodTypeAny, {
4322
4322
  name: TextLivechatEventNames.ChatRated;
4323
- rating?: "good" | "bad" | undefined;
4323
+ rating?: "good" | "bad" | "all" | undefined;
4324
4324
  }, {
4325
4325
  name: TextLivechatEventNames.ChatRated;
4326
- rating?: "good" | "bad" | undefined;
4326
+ rating?: "good" | "bad" | "all" | undefined;
4327
4327
  }>, z.ZodObject<{
4328
4328
  name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
4329
4329
  }, "strip", z.ZodTypeAny, {
@@ -4368,7 +4368,7 @@ declare const integrationEventsZods: {
4368
4368
  tag?: string | undefined;
4369
4369
  } | {
4370
4370
  name: TextLivechatEventNames.ChatRated;
4371
- rating?: "good" | "bad" | undefined;
4371
+ rating?: "good" | "bad" | "all" | undefined;
4372
4372
  } | {
4373
4373
  name: TextLivechatEventNames.ChatCommented;
4374
4374
  } | {
@@ -4394,7 +4394,7 @@ declare const integrationEventsZods: {
4394
4394
  tag?: string | undefined;
4395
4395
  } | {
4396
4396
  name: TextLivechatEventNames.ChatRated;
4397
- rating?: "good" | "bad" | undefined;
4397
+ rating?: "good" | "bad" | "all" | undefined;
4398
4398
  } | {
4399
4399
  name: TextLivechatEventNames.ChatCommented;
4400
4400
  } | {
@@ -6116,7 +6116,7 @@ declare const api: {
6116
6116
  tag?: string | undefined;
6117
6117
  } | {
6118
6118
  name: TextLivechatEventNames.ChatRated;
6119
- rating?: "good" | "bad" | undefined;
6119
+ rating?: "good" | "bad" | "all" | undefined;
6120
6120
  } | {
6121
6121
  name: TextLivechatEventNames.ChatCommented;
6122
6122
  } | {
@@ -6146,7 +6146,7 @@ declare const api: {
6146
6146
  tag?: string | undefined;
6147
6147
  } | {
6148
6148
  name: TextLivechatEventNames.ChatRated;
6149
- rating?: "good" | "bad" | undefined;
6149
+ rating?: "good" | "bad" | "all" | undefined;
6150
6150
  } | {
6151
6151
  name: TextLivechatEventNames.ChatCommented;
6152
6152
  } | {
package/dist/index.js CHANGED
@@ -2469,7 +2469,7 @@ var textLivechatEventsZods = {
2469
2469
  }),
2470
2470
  chatRated: import_zod3.z.object({
2471
2471
  name: import_zod3.z.literal("chat_rated" /* ChatRated */),
2472
- rating: import_zod3.z.enum(["good", "bad"]).optional()
2472
+ rating: import_zod3.z.enum(["good", "bad", "all"]).optional()
2473
2473
  }),
2474
2474
  chatCommented: import_zod3.z.object({
2475
2475
  name: import_zod3.z.literal("chat_commented" /* ChatCommented */)
package/dist/index.mjs CHANGED
@@ -2316,7 +2316,7 @@ var textLivechatEventsZods = {
2316
2316
  }),
2317
2317
  chatRated: z3.object({
2318
2318
  name: z3.literal("chat_rated" /* ChatRated */),
2319
- rating: z3.enum(["good", "bad"]).optional()
2319
+ rating: z3.enum(["good", "bad", "all"]).optional()
2320
2320
  }),
2321
2321
  chatCommented: z3.object({
2322
2322
  name: z3.literal("chat_commented" /* ChatCommented */)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.1.57",
3
+ "version": "3.1.59",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "tsup": "^7.1.0",
22
22
  "typescript": "^5.1.6",
23
23
  "eslint-config-custom": "0.0.8",
24
- "tsconfig": "0.0.1",
25
- "utils": "0.0.4"
24
+ "utils": "0.0.4",
25
+ "tsconfig": "0.0.1"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsup",