@livechat/developer-studio-api 3.1.56 → 3.1.58
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 +42 -1
- package/dist/index.d.ts +42 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -3168,10 +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", "all"]>>;
|
|
3171
3172
|
}, "strip", z.ZodTypeAny, {
|
|
3172
3173
|
name: TextLivechatEventNames.ChatRated;
|
|
3174
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3173
3175
|
}, {
|
|
3174
3176
|
name: TextLivechatEventNames.ChatRated;
|
|
3177
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3175
3178
|
}>;
|
|
3176
3179
|
chatCommented: z.ZodObject<{
|
|
3177
3180
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
@@ -3240,10 +3243,13 @@ declare const textLivechatEventsZods: {
|
|
|
3240
3243
|
tag?: string | undefined;
|
|
3241
3244
|
}>, z.ZodObject<{
|
|
3242
3245
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3246
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3243
3247
|
}, "strip", z.ZodTypeAny, {
|
|
3244
3248
|
name: TextLivechatEventNames.ChatRated;
|
|
3249
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3245
3250
|
}, {
|
|
3246
3251
|
name: TextLivechatEventNames.ChatRated;
|
|
3252
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3247
3253
|
}>, z.ZodObject<{
|
|
3248
3254
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3249
3255
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3327,10 +3333,13 @@ declare const textLivechatEventsZods: {
|
|
|
3327
3333
|
tag?: string | undefined;
|
|
3328
3334
|
}>, z.ZodObject<{
|
|
3329
3335
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3336
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3330
3337
|
}, "strip", z.ZodTypeAny, {
|
|
3331
3338
|
name: TextLivechatEventNames.ChatRated;
|
|
3339
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3332
3340
|
}, {
|
|
3333
3341
|
name: TextLivechatEventNames.ChatRated;
|
|
3342
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3334
3343
|
}>, z.ZodObject<{
|
|
3335
3344
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3336
3345
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3376,6 +3385,7 @@ declare const textLivechatEventsZods: {
|
|
|
3376
3385
|
tag?: string | undefined;
|
|
3377
3386
|
} | {
|
|
3378
3387
|
name: TextLivechatEventNames.ChatRated;
|
|
3388
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3379
3389
|
} | {
|
|
3380
3390
|
name: TextLivechatEventNames.ChatCommented;
|
|
3381
3391
|
} | {
|
|
@@ -3401,6 +3411,7 @@ declare const textLivechatEventsZods: {
|
|
|
3401
3411
|
tag?: string | undefined;
|
|
3402
3412
|
} | {
|
|
3403
3413
|
name: TextLivechatEventNames.ChatRated;
|
|
3414
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3404
3415
|
} | {
|
|
3405
3416
|
name: TextLivechatEventNames.ChatCommented;
|
|
3406
3417
|
} | {
|
|
@@ -3448,10 +3459,13 @@ declare const textLivechatEventsZods: {
|
|
|
3448
3459
|
tag?: string | undefined;
|
|
3449
3460
|
}>, z.ZodObject<{
|
|
3450
3461
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3462
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3451
3463
|
}, "strip", z.ZodTypeAny, {
|
|
3452
3464
|
name: TextLivechatEventNames.ChatRated;
|
|
3465
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3453
3466
|
}, {
|
|
3454
3467
|
name: TextLivechatEventNames.ChatRated;
|
|
3468
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3455
3469
|
}>, z.ZodObject<{
|
|
3456
3470
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3457
3471
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3497,6 +3511,7 @@ declare const textLivechatEventsZods: {
|
|
|
3497
3511
|
tag?: string | undefined;
|
|
3498
3512
|
} | {
|
|
3499
3513
|
name: TextLivechatEventNames.ChatRated;
|
|
3514
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3500
3515
|
} | {
|
|
3501
3516
|
name: TextLivechatEventNames.ChatCommented;
|
|
3502
3517
|
} | {
|
|
@@ -3523,6 +3538,7 @@ declare const textLivechatEventsZods: {
|
|
|
3523
3538
|
tag?: string | undefined;
|
|
3524
3539
|
} | {
|
|
3525
3540
|
name: TextLivechatEventNames.ChatRated;
|
|
3541
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3526
3542
|
} | {
|
|
3527
3543
|
name: TextLivechatEventNames.ChatCommented;
|
|
3528
3544
|
} | {
|
|
@@ -3579,10 +3595,13 @@ declare const textLivechatEventsZods: {
|
|
|
3579
3595
|
tag?: string | undefined;
|
|
3580
3596
|
}>, z.ZodObject<{
|
|
3581
3597
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3598
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3582
3599
|
}, "strip", z.ZodTypeAny, {
|
|
3583
3600
|
name: TextLivechatEventNames.ChatRated;
|
|
3601
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3584
3602
|
}, {
|
|
3585
3603
|
name: TextLivechatEventNames.ChatRated;
|
|
3604
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3586
3605
|
}>, z.ZodObject<{
|
|
3587
3606
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3588
3607
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3627,6 +3646,7 @@ declare const textLivechatEventsZods: {
|
|
|
3627
3646
|
tag?: string | undefined;
|
|
3628
3647
|
} | {
|
|
3629
3648
|
name: TextLivechatEventNames.ChatRated;
|
|
3649
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3630
3650
|
} | {
|
|
3631
3651
|
name: TextLivechatEventNames.ChatCommented;
|
|
3632
3652
|
} | {
|
|
@@ -3651,6 +3671,7 @@ declare const textLivechatEventsZods: {
|
|
|
3651
3671
|
tag?: string | undefined;
|
|
3652
3672
|
} | {
|
|
3653
3673
|
name: TextLivechatEventNames.ChatRated;
|
|
3674
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3654
3675
|
} | {
|
|
3655
3676
|
name: TextLivechatEventNames.ChatCommented;
|
|
3656
3677
|
} | {
|
|
@@ -3697,10 +3718,13 @@ declare const textLivechatEventsZods: {
|
|
|
3697
3718
|
tag?: string | undefined;
|
|
3698
3719
|
}>, z.ZodObject<{
|
|
3699
3720
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3721
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3700
3722
|
}, "strip", z.ZodTypeAny, {
|
|
3701
3723
|
name: TextLivechatEventNames.ChatRated;
|
|
3724
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3702
3725
|
}, {
|
|
3703
3726
|
name: TextLivechatEventNames.ChatRated;
|
|
3727
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3704
3728
|
}>, z.ZodObject<{
|
|
3705
3729
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3706
3730
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3745,6 +3769,7 @@ declare const textLivechatEventsZods: {
|
|
|
3745
3769
|
tag?: string | undefined;
|
|
3746
3770
|
} | {
|
|
3747
3771
|
name: TextLivechatEventNames.ChatRated;
|
|
3772
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3748
3773
|
} | {
|
|
3749
3774
|
name: TextLivechatEventNames.ChatCommented;
|
|
3750
3775
|
} | {
|
|
@@ -3770,6 +3795,7 @@ declare const textLivechatEventsZods: {
|
|
|
3770
3795
|
tag?: string | undefined;
|
|
3771
3796
|
} | {
|
|
3772
3797
|
name: TextLivechatEventNames.ChatRated;
|
|
3798
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3773
3799
|
} | {
|
|
3774
3800
|
name: TextLivechatEventNames.ChatCommented;
|
|
3775
3801
|
} | {
|
|
@@ -3823,10 +3849,13 @@ declare const integrationEventsZods: {
|
|
|
3823
3849
|
tag?: string | undefined;
|
|
3824
3850
|
}>, z.ZodObject<{
|
|
3825
3851
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3852
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3826
3853
|
}, "strip", z.ZodTypeAny, {
|
|
3827
3854
|
name: TextLivechatEventNames.ChatRated;
|
|
3855
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3828
3856
|
}, {
|
|
3829
3857
|
name: TextLivechatEventNames.ChatRated;
|
|
3858
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3830
3859
|
}>, z.ZodObject<{
|
|
3831
3860
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3832
3861
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3983,10 +4012,13 @@ declare const integrationEventsZods: {
|
|
|
3983
4012
|
tag?: string | undefined;
|
|
3984
4013
|
}>, z.ZodObject<{
|
|
3985
4014
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
4015
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3986
4016
|
}, "strip", z.ZodTypeAny, {
|
|
3987
4017
|
name: TextLivechatEventNames.ChatRated;
|
|
4018
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3988
4019
|
}, {
|
|
3989
4020
|
name: TextLivechatEventNames.ChatRated;
|
|
4021
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3990
4022
|
}>, z.ZodObject<{
|
|
3991
4023
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3992
4024
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4032,6 +4064,7 @@ declare const integrationEventsZods: {
|
|
|
4032
4064
|
tag?: string | undefined;
|
|
4033
4065
|
} | {
|
|
4034
4066
|
name: TextLivechatEventNames.ChatRated;
|
|
4067
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4035
4068
|
} | {
|
|
4036
4069
|
name: TextLivechatEventNames.ChatCommented;
|
|
4037
4070
|
} | {
|
|
@@ -4058,6 +4091,7 @@ declare const integrationEventsZods: {
|
|
|
4058
4091
|
tag?: string | undefined;
|
|
4059
4092
|
} | {
|
|
4060
4093
|
name: TextLivechatEventNames.ChatRated;
|
|
4094
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4061
4095
|
} | {
|
|
4062
4096
|
name: TextLivechatEventNames.ChatCommented;
|
|
4063
4097
|
} | {
|
|
@@ -4283,10 +4317,13 @@ declare const integrationEventsZods: {
|
|
|
4283
4317
|
tag?: string | undefined;
|
|
4284
4318
|
}>, z.ZodObject<{
|
|
4285
4319
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
4320
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
4286
4321
|
}, "strip", z.ZodTypeAny, {
|
|
4287
4322
|
name: TextLivechatEventNames.ChatRated;
|
|
4323
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4288
4324
|
}, {
|
|
4289
4325
|
name: TextLivechatEventNames.ChatRated;
|
|
4326
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4290
4327
|
}>, z.ZodObject<{
|
|
4291
4328
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
4292
4329
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4331,6 +4368,7 @@ declare const integrationEventsZods: {
|
|
|
4331
4368
|
tag?: string | undefined;
|
|
4332
4369
|
} | {
|
|
4333
4370
|
name: TextLivechatEventNames.ChatRated;
|
|
4371
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4334
4372
|
} | {
|
|
4335
4373
|
name: TextLivechatEventNames.ChatCommented;
|
|
4336
4374
|
} | {
|
|
@@ -4356,6 +4394,7 @@ declare const integrationEventsZods: {
|
|
|
4356
4394
|
tag?: string | undefined;
|
|
4357
4395
|
} | {
|
|
4358
4396
|
name: TextLivechatEventNames.ChatRated;
|
|
4397
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4359
4398
|
} | {
|
|
4360
4399
|
name: TextLivechatEventNames.ChatCommented;
|
|
4361
4400
|
} | {
|
|
@@ -5647,7 +5686,7 @@ interface LivechatWebhookSystemMessageEvent {
|
|
|
5647
5686
|
text: string;
|
|
5648
5687
|
system_message_type: LivechatWebhookSystemMessages;
|
|
5649
5688
|
visibility: "all" | "agents";
|
|
5650
|
-
text_vars: Record<string,
|
|
5689
|
+
text_vars: Record<string, string>;
|
|
5651
5690
|
}
|
|
5652
5691
|
interface LivechatWebhookMessageEvent {
|
|
5653
5692
|
custom_id: string;
|
|
@@ -6077,6 +6116,7 @@ declare const api: {
|
|
|
6077
6116
|
tag?: string | undefined;
|
|
6078
6117
|
} | {
|
|
6079
6118
|
name: TextLivechatEventNames.ChatRated;
|
|
6119
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
6080
6120
|
} | {
|
|
6081
6121
|
name: TextLivechatEventNames.ChatCommented;
|
|
6082
6122
|
} | {
|
|
@@ -6106,6 +6146,7 @@ declare const api: {
|
|
|
6106
6146
|
tag?: string | undefined;
|
|
6107
6147
|
} | {
|
|
6108
6148
|
name: TextLivechatEventNames.ChatRated;
|
|
6149
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
6109
6150
|
} | {
|
|
6110
6151
|
name: TextLivechatEventNames.ChatCommented;
|
|
6111
6152
|
} | {
|
package/dist/index.d.ts
CHANGED
|
@@ -3168,10 +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", "all"]>>;
|
|
3171
3172
|
}, "strip", z.ZodTypeAny, {
|
|
3172
3173
|
name: TextLivechatEventNames.ChatRated;
|
|
3174
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3173
3175
|
}, {
|
|
3174
3176
|
name: TextLivechatEventNames.ChatRated;
|
|
3177
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3175
3178
|
}>;
|
|
3176
3179
|
chatCommented: z.ZodObject<{
|
|
3177
3180
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
@@ -3240,10 +3243,13 @@ declare const textLivechatEventsZods: {
|
|
|
3240
3243
|
tag?: string | undefined;
|
|
3241
3244
|
}>, z.ZodObject<{
|
|
3242
3245
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3246
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3243
3247
|
}, "strip", z.ZodTypeAny, {
|
|
3244
3248
|
name: TextLivechatEventNames.ChatRated;
|
|
3249
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3245
3250
|
}, {
|
|
3246
3251
|
name: TextLivechatEventNames.ChatRated;
|
|
3252
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3247
3253
|
}>, z.ZodObject<{
|
|
3248
3254
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3249
3255
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3327,10 +3333,13 @@ declare const textLivechatEventsZods: {
|
|
|
3327
3333
|
tag?: string | undefined;
|
|
3328
3334
|
}>, z.ZodObject<{
|
|
3329
3335
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3336
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3330
3337
|
}, "strip", z.ZodTypeAny, {
|
|
3331
3338
|
name: TextLivechatEventNames.ChatRated;
|
|
3339
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3332
3340
|
}, {
|
|
3333
3341
|
name: TextLivechatEventNames.ChatRated;
|
|
3342
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3334
3343
|
}>, z.ZodObject<{
|
|
3335
3344
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3336
3345
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3376,6 +3385,7 @@ declare const textLivechatEventsZods: {
|
|
|
3376
3385
|
tag?: string | undefined;
|
|
3377
3386
|
} | {
|
|
3378
3387
|
name: TextLivechatEventNames.ChatRated;
|
|
3388
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3379
3389
|
} | {
|
|
3380
3390
|
name: TextLivechatEventNames.ChatCommented;
|
|
3381
3391
|
} | {
|
|
@@ -3401,6 +3411,7 @@ declare const textLivechatEventsZods: {
|
|
|
3401
3411
|
tag?: string | undefined;
|
|
3402
3412
|
} | {
|
|
3403
3413
|
name: TextLivechatEventNames.ChatRated;
|
|
3414
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3404
3415
|
} | {
|
|
3405
3416
|
name: TextLivechatEventNames.ChatCommented;
|
|
3406
3417
|
} | {
|
|
@@ -3448,10 +3459,13 @@ declare const textLivechatEventsZods: {
|
|
|
3448
3459
|
tag?: string | undefined;
|
|
3449
3460
|
}>, z.ZodObject<{
|
|
3450
3461
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3462
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3451
3463
|
}, "strip", z.ZodTypeAny, {
|
|
3452
3464
|
name: TextLivechatEventNames.ChatRated;
|
|
3465
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3453
3466
|
}, {
|
|
3454
3467
|
name: TextLivechatEventNames.ChatRated;
|
|
3468
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3455
3469
|
}>, z.ZodObject<{
|
|
3456
3470
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3457
3471
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3497,6 +3511,7 @@ declare const textLivechatEventsZods: {
|
|
|
3497
3511
|
tag?: string | undefined;
|
|
3498
3512
|
} | {
|
|
3499
3513
|
name: TextLivechatEventNames.ChatRated;
|
|
3514
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3500
3515
|
} | {
|
|
3501
3516
|
name: TextLivechatEventNames.ChatCommented;
|
|
3502
3517
|
} | {
|
|
@@ -3523,6 +3538,7 @@ declare const textLivechatEventsZods: {
|
|
|
3523
3538
|
tag?: string | undefined;
|
|
3524
3539
|
} | {
|
|
3525
3540
|
name: TextLivechatEventNames.ChatRated;
|
|
3541
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3526
3542
|
} | {
|
|
3527
3543
|
name: TextLivechatEventNames.ChatCommented;
|
|
3528
3544
|
} | {
|
|
@@ -3579,10 +3595,13 @@ declare const textLivechatEventsZods: {
|
|
|
3579
3595
|
tag?: string | undefined;
|
|
3580
3596
|
}>, z.ZodObject<{
|
|
3581
3597
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3598
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3582
3599
|
}, "strip", z.ZodTypeAny, {
|
|
3583
3600
|
name: TextLivechatEventNames.ChatRated;
|
|
3601
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3584
3602
|
}, {
|
|
3585
3603
|
name: TextLivechatEventNames.ChatRated;
|
|
3604
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3586
3605
|
}>, z.ZodObject<{
|
|
3587
3606
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3588
3607
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3627,6 +3646,7 @@ declare const textLivechatEventsZods: {
|
|
|
3627
3646
|
tag?: string | undefined;
|
|
3628
3647
|
} | {
|
|
3629
3648
|
name: TextLivechatEventNames.ChatRated;
|
|
3649
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3630
3650
|
} | {
|
|
3631
3651
|
name: TextLivechatEventNames.ChatCommented;
|
|
3632
3652
|
} | {
|
|
@@ -3651,6 +3671,7 @@ declare const textLivechatEventsZods: {
|
|
|
3651
3671
|
tag?: string | undefined;
|
|
3652
3672
|
} | {
|
|
3653
3673
|
name: TextLivechatEventNames.ChatRated;
|
|
3674
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3654
3675
|
} | {
|
|
3655
3676
|
name: TextLivechatEventNames.ChatCommented;
|
|
3656
3677
|
} | {
|
|
@@ -3697,10 +3718,13 @@ declare const textLivechatEventsZods: {
|
|
|
3697
3718
|
tag?: string | undefined;
|
|
3698
3719
|
}>, z.ZodObject<{
|
|
3699
3720
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3721
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3700
3722
|
}, "strip", z.ZodTypeAny, {
|
|
3701
3723
|
name: TextLivechatEventNames.ChatRated;
|
|
3724
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3702
3725
|
}, {
|
|
3703
3726
|
name: TextLivechatEventNames.ChatRated;
|
|
3727
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3704
3728
|
}>, z.ZodObject<{
|
|
3705
3729
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3706
3730
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3745,6 +3769,7 @@ declare const textLivechatEventsZods: {
|
|
|
3745
3769
|
tag?: string | undefined;
|
|
3746
3770
|
} | {
|
|
3747
3771
|
name: TextLivechatEventNames.ChatRated;
|
|
3772
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3748
3773
|
} | {
|
|
3749
3774
|
name: TextLivechatEventNames.ChatCommented;
|
|
3750
3775
|
} | {
|
|
@@ -3770,6 +3795,7 @@ declare const textLivechatEventsZods: {
|
|
|
3770
3795
|
tag?: string | undefined;
|
|
3771
3796
|
} | {
|
|
3772
3797
|
name: TextLivechatEventNames.ChatRated;
|
|
3798
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3773
3799
|
} | {
|
|
3774
3800
|
name: TextLivechatEventNames.ChatCommented;
|
|
3775
3801
|
} | {
|
|
@@ -3823,10 +3849,13 @@ declare const integrationEventsZods: {
|
|
|
3823
3849
|
tag?: string | undefined;
|
|
3824
3850
|
}>, z.ZodObject<{
|
|
3825
3851
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3852
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3826
3853
|
}, "strip", z.ZodTypeAny, {
|
|
3827
3854
|
name: TextLivechatEventNames.ChatRated;
|
|
3855
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3828
3856
|
}, {
|
|
3829
3857
|
name: TextLivechatEventNames.ChatRated;
|
|
3858
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3830
3859
|
}>, z.ZodObject<{
|
|
3831
3860
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3832
3861
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3983,10 +4012,13 @@ declare const integrationEventsZods: {
|
|
|
3983
4012
|
tag?: string | undefined;
|
|
3984
4013
|
}>, z.ZodObject<{
|
|
3985
4014
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
4015
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3986
4016
|
}, "strip", z.ZodTypeAny, {
|
|
3987
4017
|
name: TextLivechatEventNames.ChatRated;
|
|
4018
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3988
4019
|
}, {
|
|
3989
4020
|
name: TextLivechatEventNames.ChatRated;
|
|
4021
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3990
4022
|
}>, z.ZodObject<{
|
|
3991
4023
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3992
4024
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4032,6 +4064,7 @@ declare const integrationEventsZods: {
|
|
|
4032
4064
|
tag?: string | undefined;
|
|
4033
4065
|
} | {
|
|
4034
4066
|
name: TextLivechatEventNames.ChatRated;
|
|
4067
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4035
4068
|
} | {
|
|
4036
4069
|
name: TextLivechatEventNames.ChatCommented;
|
|
4037
4070
|
} | {
|
|
@@ -4058,6 +4091,7 @@ declare const integrationEventsZods: {
|
|
|
4058
4091
|
tag?: string | undefined;
|
|
4059
4092
|
} | {
|
|
4060
4093
|
name: TextLivechatEventNames.ChatRated;
|
|
4094
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4061
4095
|
} | {
|
|
4062
4096
|
name: TextLivechatEventNames.ChatCommented;
|
|
4063
4097
|
} | {
|
|
@@ -4283,10 +4317,13 @@ declare const integrationEventsZods: {
|
|
|
4283
4317
|
tag?: string | undefined;
|
|
4284
4318
|
}>, z.ZodObject<{
|
|
4285
4319
|
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
4320
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
4286
4321
|
}, "strip", z.ZodTypeAny, {
|
|
4287
4322
|
name: TextLivechatEventNames.ChatRated;
|
|
4323
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4288
4324
|
}, {
|
|
4289
4325
|
name: TextLivechatEventNames.ChatRated;
|
|
4326
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4290
4327
|
}>, z.ZodObject<{
|
|
4291
4328
|
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
4292
4329
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4331,6 +4368,7 @@ declare const integrationEventsZods: {
|
|
|
4331
4368
|
tag?: string | undefined;
|
|
4332
4369
|
} | {
|
|
4333
4370
|
name: TextLivechatEventNames.ChatRated;
|
|
4371
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4334
4372
|
} | {
|
|
4335
4373
|
name: TextLivechatEventNames.ChatCommented;
|
|
4336
4374
|
} | {
|
|
@@ -4356,6 +4394,7 @@ declare const integrationEventsZods: {
|
|
|
4356
4394
|
tag?: string | undefined;
|
|
4357
4395
|
} | {
|
|
4358
4396
|
name: TextLivechatEventNames.ChatRated;
|
|
4397
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
4359
4398
|
} | {
|
|
4360
4399
|
name: TextLivechatEventNames.ChatCommented;
|
|
4361
4400
|
} | {
|
|
@@ -5647,7 +5686,7 @@ interface LivechatWebhookSystemMessageEvent {
|
|
|
5647
5686
|
text: string;
|
|
5648
5687
|
system_message_type: LivechatWebhookSystemMessages;
|
|
5649
5688
|
visibility: "all" | "agents";
|
|
5650
|
-
text_vars: Record<string,
|
|
5689
|
+
text_vars: Record<string, string>;
|
|
5651
5690
|
}
|
|
5652
5691
|
interface LivechatWebhookMessageEvent {
|
|
5653
5692
|
custom_id: string;
|
|
@@ -6077,6 +6116,7 @@ declare const api: {
|
|
|
6077
6116
|
tag?: string | undefined;
|
|
6078
6117
|
} | {
|
|
6079
6118
|
name: TextLivechatEventNames.ChatRated;
|
|
6119
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
6080
6120
|
} | {
|
|
6081
6121
|
name: TextLivechatEventNames.ChatCommented;
|
|
6082
6122
|
} | {
|
|
@@ -6106,6 +6146,7 @@ declare const api: {
|
|
|
6106
6146
|
tag?: string | undefined;
|
|
6107
6147
|
} | {
|
|
6108
6148
|
name: TextLivechatEventNames.ChatRated;
|
|
6149
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
6109
6150
|
} | {
|
|
6110
6151
|
name: TextLivechatEventNames.ChatCommented;
|
|
6111
6152
|
} | {
|
package/dist/index.js
CHANGED
|
@@ -2468,7 +2468,8 @@ var textLivechatEventsZods = {
|
|
|
2468
2468
|
exact: import_zod3.z.boolean().optional()
|
|
2469
2469
|
}),
|
|
2470
2470
|
chatRated: import_zod3.z.object({
|
|
2471
|
-
name: import_zod3.z.literal("chat_rated" /* ChatRated */)
|
|
2471
|
+
name: import_zod3.z.literal("chat_rated" /* ChatRated */),
|
|
2472
|
+
rating: import_zod3.z.enum(["good", "bad", "all"]).optional()
|
|
2472
2473
|
}),
|
|
2473
2474
|
chatCommented: import_zod3.z.object({
|
|
2474
2475
|
name: import_zod3.z.literal("chat_commented" /* ChatCommented */)
|
package/dist/index.mjs
CHANGED
|
@@ -2315,7 +2315,8 @@ var textLivechatEventsZods = {
|
|
|
2315
2315
|
exact: z3.boolean().optional()
|
|
2316
2316
|
}),
|
|
2317
2317
|
chatRated: z3.object({
|
|
2318
|
-
name: z3.literal("chat_rated" /* ChatRated */)
|
|
2318
|
+
name: z3.literal("chat_rated" /* ChatRated */),
|
|
2319
|
+
rating: z3.enum(["good", "bad", "all"]).optional()
|
|
2319
2320
|
}),
|
|
2320
2321
|
chatCommented: z3.object({
|
|
2321
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.
|
|
3
|
+
"version": "3.1.58",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"@types/node": "^17.0.12",
|
|
21
21
|
"tsup": "^7.1.0",
|
|
22
22
|
"typescript": "^5.1.6",
|
|
23
|
-
"
|
|
23
|
+
"eslint-config-custom": "0.0.8",
|
|
24
24
|
"tsconfig": "0.0.1",
|
|
25
|
-
"
|
|
25
|
+
"utils": "0.0.4"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsup",
|