mikufans-proto-intl 3.17.4+build.17106976

gRPC APIs for Mikufans (Intl)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
// This file is @generated by prost-build.
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BindNote {
    ///
    #[prost(string, tag = "1")]
    pub content: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "2")]
    pub high_color: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "3")]
    pub color: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Business {
    ///
    #[prost(int64, tag = "1")]
    pub business_id: i64,
    ///
    #[prost(string, tag = "2")]
    pub business_name: ::prost::alloc::string::String,
    ///
    #[prost(enumeration = "Select", tag = "3")]
    pub select: i32,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ComplianceDescribe {
    ///
    #[prost(string, tag = "1")]
    pub text: ::prost::alloc::string::String,
    ///
    #[prost(bool, tag = "2")]
    pub is_link: bool,
    ///
    #[prost(string, tag = "3")]
    pub link: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ComplianceModel {
    ///
    #[prost(enumeration = "ComplianceAlertType", tag = "1")]
    pub pop_field: i32,
    ///
    #[prost(string, tag = "2")]
    pub title: ::prost::alloc::string::String,
    ///
    #[prost(message, repeated, tag = "3")]
    pub describes: ::prost::alloc::vec::Vec<ComplianceDescribe>,
    ///
    #[prost(string, tag = "4")]
    pub confirm_text: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "5")]
    pub cancel_text: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerInfo {
    ///
    #[prost(int64, tag = "1")]
    pub customer_id: i64,
    ///
    #[prost(string, tag = "2")]
    pub customer_name: ::prost::alloc::string::String,
    ///
    #[prost(enumeration = "CustomerRankStatus", tag = "3")]
    pub customer_state: i32,
    ///
    #[prost(int64, tag = "4")]
    pub queue_rank: i64,
    ///
    #[prost(int32, tag = "5")]
    pub is_cancel: i32,
    ///
    #[prost(message, optional, tag = "6")]
    pub pre_customer: ::core::option::Option<MsgSpLitAnsCustomer>,
    ///
    #[prost(string, tag = "7")]
    pub customer_state_desc: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EmotionInfo {
    ///
    #[prost(string, tag = "1")]
    pub text: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "2")]
    pub url: ::prost::alloc::string::String,
    ///
    #[prost(int32, tag = "3")]
    pub size: i32,
    ///
    #[prost(string, tag = "4")]
    pub gif_url: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EvaluationShowInfo {
    ///
    #[prost(bool, tag = "1")]
    pub show: bool,
    ///
    #[prost(enumeration = "EvaluateType", tag = "2")]
    pub r#type: i32,
    ///
    #[prost(message, repeated, tag = "3")]
    pub step_select: ::prost::alloc::vec::Vec<EvaluationStepSelect>,
    ///
    #[prost(int64, tag = "4")]
    pub msg_key: i64,
    ///
    #[prost(bool, tag = "5")]
    pub up: bool,
    ///
    #[prost(string, tag = "6")]
    pub feedback: ::prost::alloc::string::String,
    ///
    #[prost(int64, tag = "7")]
    pub customer_sess_id: i64,
    ///
    #[prost(bool, tag = "8")]
    pub done: bool,
    ///
    #[prost(string, tag = "9")]
    pub editor_input: ::prost::alloc::string::String,
    ///
    #[prost(int64, tag = "10")]
    pub step_msg_key: i64,
    ///
    #[prost(int64, tag = "11")]
    pub machine_sess_id: i64,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EvaluationStepSelect {
    ///
    #[prost(string, tag = "1")]
    pub text: ::prost::alloc::string::String,
    ///
    #[prost(enumeration = "Select", tag = "2")]
    pub select: i32,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Group {
    ///
    #[prost(int64, tag = "1")]
    pub group_id: i64,
    ///
    #[prost(string, tag = "2")]
    pub group_name: ::prost::alloc::string::String,
    ///
    #[prost(enumeration = "Select", tag = "3")]
    pub select: i32,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Msg {
    ///
    #[prost(message, optional, tag = "1")]
    pub sender_info: ::core::option::Option<TalkerInfo>,
    ///
    #[prost(message, optional, tag = "2")]
    pub receiver_info: ::core::option::Option<TalkerInfo>,
    ///
    #[prost(enumeration = "MsgType", tag = "3")]
    pub msg_type: i32,
    ///
    #[prost(string, tag = "4")]
    pub content: ::prost::alloc::string::String,
    ///
    #[prost(int64, tag = "5")]
    pub timestamp: i64,
    ///
    #[prost(int64, tag = "6")]
    pub msg_key: i64,
    ///
    #[prost(int32, tag = "7")]
    pub msg_status: i32,
    ///
    #[prost(enumeration = "MsgSource", tag = "8")]
    pub msg_source: i32,
    ///
    #[prost(string, tag = "9")]
    pub dev_id: ::prost::alloc::string::String,
    ///
    #[prost(int64, tag = "10")]
    pub seq_no: i64,
    ///
    #[prost(int32, tag = "11")]
    pub situation: i32,
    ///
    #[prost(message, optional, tag = "12")]
    pub bind_note: ::core::option::Option<BindNote>,
    ///
    #[prost(bool, tag = "13")]
    pub is_ai: bool,
    ///
    #[prost(int64, repeated, tag = "14")]
    pub ai_link_msg: ::prost::alloc::vec::Vec<i64>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSpLitA {
    ///
    #[prost(enumeration = "SplitAnsMsgContentType", tag = "1")]
    pub r#type: i32,
    ///
    #[prost(message, repeated, tag = "2")]
    pub business_list: ::prost::alloc::vec::Vec<Business>,
    ///
    #[prost(message, repeated, tag = "3")]
    pub group_list: ::prost::alloc::vec::Vec<Group>,
    ///
    #[prost(message, optional, tag = "4")]
    pub customer_info: ::core::option::Option<CustomerInfo>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSpLitAnsCustomer {
    ///
    #[prost(int64, tag = "1")]
    pub customer_id: i64,
    ///
    #[prost(string, tag = "2")]
    pub customer_name: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SessionInfo {
    ///
    #[prost(message, optional, tag = "1")]
    pub talker_info: ::core::option::Option<TalkerInfo>,
    ///
    #[prost(message, optional, tag = "2")]
    pub last_msg: ::core::option::Option<Msg>,
    ///
    #[prost(message, optional, tag = "3")]
    pub unread_info: ::core::option::Option<UnreadInfo>,
    ///
    #[prost(int64, tag = "4")]
    pub ack_seqno: i64,
    ///
    #[prost(int64, tag = "5")]
    pub ack_ts: i64,
    ///
    #[prost(int64, tag = "6")]
    pub session_ts: i64,
    ///
    #[prost(int64, tag = "7")]
    pub max_seqno: i64,
    ///
    #[prost(int32, tag = "8")]
    pub status: i32,
    ///
    #[prost(string, tag = "9")]
    pub tag_icon: ::prost::alloc::string::String,
    ///
    #[prost(int32, tag = "10")]
    pub top_set: i32,
    ///
    #[prost(string, tag = "11")]
    pub jump_url: ::prost::alloc::string::String,
    ///
    #[prost(bool, tag = "12")]
    pub do_not_disturb: bool,
    ///
    #[prost(string, tag = "13")]
    pub setting_page_schema: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "14")]
    pub setting_page_url: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "15")]
    pub tag_name: ::prost::alloc::string::String,
    ///
    #[prost(message, optional, tag = "16")]
    pub compliance: ::core::option::Option<ComplianceModel>,
    ///
    #[prost(bool, tag = "17")]
    pub is_hide_edit: bool,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TalkerInfo {
    ///
    #[prost(enumeration = "TalkerType", tag = "1")]
    pub r#type: i32,
    ///
    #[prost(int64, tag = "2")]
    pub shop_father_id: i64,
    ///
    #[prost(int64, tag = "3")]
    pub shop_id: i64,
    ///
    #[prost(int64, tag = "4")]
    pub customer_id: i64,
    ///
    #[prost(int64, tag = "5")]
    pub machine_session_id: i64,
    ///
    #[prost(string, tag = "6")]
    pub customer_session_id: ::prost::alloc::string::String,
    ///
    #[prost(int64, tag = "7")]
    pub uid: i64,
    ///
    #[prost(string, tag = "8")]
    pub name: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "9")]
    pub pic_url: ::prost::alloc::string::String,
    ///
    #[prost(string, repeated, tag = "10")]
    pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
///
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct UnreadInfo {
    ///
    #[prost(int64, tag = "1")]
    pub unread_count: i64,
    ///
    #[prost(int64, tag = "2")]
    pub customer_unread_count: i64,
    ///
    #[prost(int64, tag = "3")]
    pub machine_unread_count: i64,
    ///
    #[prost(int64, tag = "4")]
    pub message_unread_count: i64,
    ///
    #[prost(int64, tag = "5")]
    pub notice_unread_count: i64,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WindowOptionEvaluation {
    ///
    #[prost(string, tag = "1")]
    pub icon: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "3")]
    pub jump_url: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "4")]
    pub title: ::prost::alloc::string::String,
    ///
    #[prost(int64, tag = "5")]
    pub im_stat: i64,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WindowOptionGoods {
    ///
    #[prost(string, tag = "1")]
    pub icon: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "3")]
    pub jump_url: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "4")]
    pub title: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WindowOptionHistory {
    ///
    #[prost(string, tag = "1")]
    pub icon: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "3")]
    pub jump_url: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "4")]
    pub title: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WindowOptionMessage {
    ///
    #[prost(string, tag = "1")]
    pub icon: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "3")]
    pub jump_url: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "4")]
    pub title: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "5")]
    pub sub_title: ::prost::alloc::string::String,
    ///
    #[prost(bool, tag = "6")]
    pub is_new_ticket: bool,
    ///
    #[prost(string, tag = "7")]
    pub new_ticket_jump_url: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WindowOptionOrder {
    ///
    #[prost(string, tag = "1")]
    pub icon: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "3")]
    pub jump_url: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "4")]
    pub title: ::prost::alloc::string::String,
}
///
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum ComplianceAlertType {
    ///
    None = 0,
    ///
    AiModel = 1,
}
impl ComplianceAlertType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::None => "None",
            Self::AiModel => "AIModel",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "None" => Some(Self::None),
            "AIModel" => Some(Self::AiModel),
            _ => None,
        }
    }
}
///
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum CustomerRankStatus {
    ///
    Offline = 0,
    ///
    Crowd = 1,
    ///
    Online = 2,
    ///
    SwitchOnline = 3,
    ///
    Ranking = 4,
    ///
    SwitchRanking = 5,
    ///
    OutCustomerQueue = 6,
    ///
    OutCustomerQueueWithMessage = 7,
    ///
    OutWork = 8,
    ///
    CustomerInvite = 9,
    ///
    WorkBatchStopRank = 10,
    ///
    ForceSwitchCustomer = 11,
    ///
    RankingOnly = 12,
    ///
    NoCustomerOnly = 13,
    ///
    OfflineProcess = 14,
}
impl CustomerRankStatus {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Offline => "OFFLINE",
            Self::Crowd => "CROWD",
            Self::Online => "ONLINE",
            Self::SwitchOnline => "SWITCH_ONLINE",
            Self::Ranking => "RANKING",
            Self::SwitchRanking => "SWITCH_RANKING",
            Self::OutCustomerQueue => "OUT_CUSTOMER_QUEUE",
            Self::OutCustomerQueueWithMessage => "OUT_CUSTOMER_QUEUE_WITH_MESSAGE",
            Self::OutWork => "OUT_WORK",
            Self::CustomerInvite => "CUSTOMER_INVITE",
            Self::WorkBatchStopRank => "WORK_BATCH_STOP_RANK",
            Self::ForceSwitchCustomer => "FORCE_SWITCH_CUSTOMER",
            Self::RankingOnly => "RANKING_ONLY",
            Self::NoCustomerOnly => "NO_CUSTOMER_ONLY",
            Self::OfflineProcess => "OFFLINE_PROCESS",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "OFFLINE" => Some(Self::Offline),
            "CROWD" => Some(Self::Crowd),
            "ONLINE" => Some(Self::Online),
            "SWITCH_ONLINE" => Some(Self::SwitchOnline),
            "RANKING" => Some(Self::Ranking),
            "SWITCH_RANKING" => Some(Self::SwitchRanking),
            "OUT_CUSTOMER_QUEUE" => Some(Self::OutCustomerQueue),
            "OUT_CUSTOMER_QUEUE_WITH_MESSAGE" => Some(Self::OutCustomerQueueWithMessage),
            "OUT_WORK" => Some(Self::OutWork),
            "CUSTOMER_INVITE" => Some(Self::CustomerInvite),
            "WORK_BATCH_STOP_RANK" => Some(Self::WorkBatchStopRank),
            "FORCE_SWITCH_CUSTOMER" => Some(Self::ForceSwitchCustomer),
            "RANKING_ONLY" => Some(Self::RankingOnly),
            "NO_CUSTOMER_ONLY" => Some(Self::NoCustomerOnly),
            "OFFLINE_PROCESS" => Some(Self::OfflineProcess),
            _ => None,
        }
    }
}
///
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum EvaluateType {
    ///
    EvaluateMachineMsg = 0,
    ///
    EvaluateCustomer = 1,
    ///
    EvaluateCustomerInvited = 2,
    ///
    EvaluatePanelMsg = 3,
    ///
    EvaluateMachineSess = 4,
    ///
    EvaluateMachineSessInvited = 5,
}
impl EvaluateType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::EvaluateMachineMsg => "EvaluateMachineMsg",
            Self::EvaluateCustomer => "EvaluateCustomer",
            Self::EvaluateCustomerInvited => "EvaluateCustomerInvited",
            Self::EvaluatePanelMsg => "EvaluatePanelMsg",
            Self::EvaluateMachineSess => "EvaluateMachineSess",
            Self::EvaluateMachineSessInvited => "EvaluateMachineSessInvited",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "EvaluateMachineMsg" => Some(Self::EvaluateMachineMsg),
            "EvaluateCustomer" => Some(Self::EvaluateCustomer),
            "EvaluateCustomerInvited" => Some(Self::EvaluateCustomerInvited),
            "EvaluatePanelMsg" => Some(Self::EvaluatePanelMsg),
            "EvaluateMachineSess" => Some(Self::EvaluateMachineSess),
            "EvaluateMachineSessInvited" => Some(Self::EvaluateMachineSessInvited),
            _ => None,
        }
    }
}
///
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum MsgSource {
    ///
    Invalid = 0,
    ///
    Ios = 1,
    ///
    Android = 2,
    ///
    Ipad = 3,
    ///
    AndroidHd = 4,
    ///
    PcApp = 5,
    ///
    Web = 6,
    ///
    Biz = 7,
    ///
    ThirdShopStage = 8,
    ///
    Ai = 9,
}
impl MsgSource {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Invalid => "INVALID",
            Self::Ios => "IOS",
            Self::Android => "ANDROID",
            Self::Ipad => "IPAD",
            Self::AndroidHd => "ANDROID_HD",
            Self::PcApp => "PC_APP",
            Self::Web => "WEB",
            Self::Biz => "Biz",
            Self::ThirdShopStage => "ThirdShopStage",
            Self::Ai => "AI",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "INVALID" => Some(Self::Invalid),
            "IOS" => Some(Self::Ios),
            "ANDROID" => Some(Self::Android),
            "IPAD" => Some(Self::Ipad),
            "ANDROID_HD" => Some(Self::AndroidHd),
            "PC_APP" => Some(Self::PcApp),
            "WEB" => Some(Self::Web),
            "Biz" => Some(Self::Biz),
            "ThirdShopStage" => Some(Self::ThirdShopStage),
            "AI" => Some(Self::Ai),
            _ => None,
        }
    }
}
///
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum MsgType {
    ///
    Invalid = 0,
    ///
    Text = 1,
    ///
    Img = 2,
    ///
    Withdraw = 5,
    ///
    FavEmoji = 6,
    ///
    Share = 7,
    ///
    Video = 17,
    ///
    Order = 10001,
    ///
    Goods = 10002,
    ///
    Evaluation = 10003,
    ///
    Message = 10004,
    ///
    MachineA = 10005,
    ///
    MachineQ = 10006,
    ///
    CustomerCome = 10007,
    ///
    MachineWelcomeText = 10008,
    ///
    MachineWelcomeQlist = 10009,
    ///
    SplitQ = 10010,
    ///
    SplitA = 10011,
    ///
    SwitchCustomer = 10012,
    ///
    CustomerInviteEvaluation = 10013,
    ///
    OutCustomerQueue = 10014,
    ///
    OutCustomerSess = 10015,
    ///
    MessageGuide = 10016,
    ///
    ForceSwitchCustomer = 10017,
    ///
    CustomerInitiativeMsg = 10018,
    ///
    SysNote = 10019,
    ///
    MachineSessEvaluation = 10020,
    ///
    ParagraphText = 10021,
    ///
    BusinessLink = 10022,
    ///
    SysBar = 10023,
}
impl MsgType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Invalid => "MSG_TYPE_INVALID",
            Self::Text => "MSG_TYPE_TEXT",
            Self::Img => "MSG_TYPE_IMG",
            Self::Withdraw => "MSG_TYPE_WITHDRAW",
            Self::FavEmoji => "MSG_TYPE_FAV_EMOJI",
            Self::Share => "MSG_TYPE_SHARE",
            Self::Video => "MSG_TYPE_VIDEO",
            Self::Order => "MSG_TYPE_ORDER",
            Self::Goods => "MSG_TYPE_GOODS",
            Self::Evaluation => "MSG_TYPE_EVALUATION",
            Self::Message => "MSG_TYPE_MESSAGE",
            Self::MachineA => "MSG_TYPE_MACHINE_A",
            Self::MachineQ => "MSG_TYPE_MACHINE_Q",
            Self::CustomerCome => "MSG_TYPE_CUSTOMER_COME",
            Self::MachineWelcomeText => "MSG_TYPE_MACHINE_WELCOME_TEXT",
            Self::MachineWelcomeQlist => "MSG_TYPE_MACHINE_WELCOME_QLIST",
            Self::SplitQ => "MSG_TYPE_SPLIT_Q",
            Self::SplitA => "MSG_TYPE_SPLIT_A",
            Self::SwitchCustomer => "MSG_TYPE_SWITCH_CUSTOMER",
            Self::CustomerInviteEvaluation => "MSG_TYPE_CUSTOMER_INVITE_EVALUATION",
            Self::OutCustomerQueue => "MSG_TYPE_OUT_CUSTOMER_QUEUE",
            Self::OutCustomerSess => "MSG_TYPE_OUT_CUSTOMER_SESS",
            Self::MessageGuide => "MSG_TYPE_MESSAGE_GUIDE",
            Self::ForceSwitchCustomer => "MSG_TYPE_FORCE_SWITCH_CUSTOMER",
            Self::CustomerInitiativeMsg => "MSG_TYPE_CUSTOMER_INITIATIVE_MSG",
            Self::SysNote => "MSG_TYPE_SYS_NOTE",
            Self::MachineSessEvaluation => "MSG_TYPE_MACHINE_SESS_EVALUATION",
            Self::ParagraphText => "MSG_TYPE_PARAGRAPH_TEXT",
            Self::BusinessLink => "MSG_TYPE_BUSINESS_LINK",
            Self::SysBar => "MSG_TYPE_SYS_BAR",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "MSG_TYPE_INVALID" => Some(Self::Invalid),
            "MSG_TYPE_TEXT" => Some(Self::Text),
            "MSG_TYPE_IMG" => Some(Self::Img),
            "MSG_TYPE_WITHDRAW" => Some(Self::Withdraw),
            "MSG_TYPE_FAV_EMOJI" => Some(Self::FavEmoji),
            "MSG_TYPE_SHARE" => Some(Self::Share),
            "MSG_TYPE_VIDEO" => Some(Self::Video),
            "MSG_TYPE_ORDER" => Some(Self::Order),
            "MSG_TYPE_GOODS" => Some(Self::Goods),
            "MSG_TYPE_EVALUATION" => Some(Self::Evaluation),
            "MSG_TYPE_MESSAGE" => Some(Self::Message),
            "MSG_TYPE_MACHINE_A" => Some(Self::MachineA),
            "MSG_TYPE_MACHINE_Q" => Some(Self::MachineQ),
            "MSG_TYPE_CUSTOMER_COME" => Some(Self::CustomerCome),
            "MSG_TYPE_MACHINE_WELCOME_TEXT" => Some(Self::MachineWelcomeText),
            "MSG_TYPE_MACHINE_WELCOME_QLIST" => Some(Self::MachineWelcomeQlist),
            "MSG_TYPE_SPLIT_Q" => Some(Self::SplitQ),
            "MSG_TYPE_SPLIT_A" => Some(Self::SplitA),
            "MSG_TYPE_SWITCH_CUSTOMER" => Some(Self::SwitchCustomer),
            "MSG_TYPE_CUSTOMER_INVITE_EVALUATION" => Some(Self::CustomerInviteEvaluation),
            "MSG_TYPE_OUT_CUSTOMER_QUEUE" => Some(Self::OutCustomerQueue),
            "MSG_TYPE_OUT_CUSTOMER_SESS" => Some(Self::OutCustomerSess),
            "MSG_TYPE_MESSAGE_GUIDE" => Some(Self::MessageGuide),
            "MSG_TYPE_FORCE_SWITCH_CUSTOMER" => Some(Self::ForceSwitchCustomer),
            "MSG_TYPE_CUSTOMER_INITIATIVE_MSG" => Some(Self::CustomerInitiativeMsg),
            "MSG_TYPE_SYS_NOTE" => Some(Self::SysNote),
            "MSG_TYPE_MACHINE_SESS_EVALUATION" => Some(Self::MachineSessEvaluation),
            "MSG_TYPE_PARAGRAPH_TEXT" => Some(Self::ParagraphText),
            "MSG_TYPE_BUSINESS_LINK" => Some(Self::BusinessLink),
            "MSG_TYPE_SYS_BAR" => Some(Self::SysBar),
            _ => None,
        }
    }
}
///
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum NotifyMsgType {
    ///
    UnUsable = 0,
    ///
    RankUpdate = 400,
    ///
    MsgTalk = 401,
    ///
    SubmitWorkOrderDraft = 402,
}
impl NotifyMsgType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::UnUsable => "UN_USABLE",
            Self::RankUpdate => "RANK_UPDATE",
            Self::MsgTalk => "MSG_TALK",
            Self::SubmitWorkOrderDraft => "SUBMIT_WORK_ORDER_DRAFT",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "UN_USABLE" => Some(Self::UnUsable),
            "RANK_UPDATE" => Some(Self::RankUpdate),
            "MSG_TALK" => Some(Self::MsgTalk),
            "SUBMIT_WORK_ORDER_DRAFT" => Some(Self::SubmitWorkOrderDraft),
            _ => None,
        }
    }
}
///
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Select {
    ///
    Able = 0,
    ///
    Selected = 1,
    ///
    Unable = 2,
}
impl Select {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Able => "ABLE",
            Self::Selected => "SELECTED",
            Self::Unable => "UNABLE",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "ABLE" => Some(Self::Able),
            "SELECTED" => Some(Self::Selected),
            "UNABLE" => Some(Self::Unable),
            _ => None,
        }
    }
}
///
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Situation {
    ///
    Invalid = 0,
    ///
    Im = 1,
    ///
    ServiceCenter = 2,
    ///
    Order = 3,
    ///
    Push = 4,
    ///
    Goods = 5,
    ///
    VipMall = 6,
    ///
    Else = 7,
    ///
    Live = 8,
    ///
    Space = 9,
}
impl Situation {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Invalid => "Invalid",
            Self::Im => "IM",
            Self::ServiceCenter => "ServiceCenter",
            Self::Order => "Order",
            Self::Push => "Push",
            Self::Goods => "Goods",
            Self::VipMall => "VipMall",
            Self::Else => "Else",
            Self::Live => "Live",
            Self::Space => "Space",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "Invalid" => Some(Self::Invalid),
            "IM" => Some(Self::Im),
            "ServiceCenter" => Some(Self::ServiceCenter),
            "Order" => Some(Self::Order),
            "Push" => Some(Self::Push),
            "Goods" => Some(Self::Goods),
            "VipMall" => Some(Self::VipMall),
            "Else" => Some(Self::Else),
            "Live" => Some(Self::Live),
            "Space" => Some(Self::Space),
            _ => None,
        }
    }
}
///
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SplitAnsMsgContentType {
    ///
    Business = 0,
    ///
    Group = 1,
    ///
    Custom = 2,
}
impl SplitAnsMsgContentType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Business => "BUSINESS",
            Self::Group => "GROUP",
            Self::Custom => "CUSTOM",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "BUSINESS" => Some(Self::Business),
            "GROUP" => Some(Self::Group),
            "CUSTOM" => Some(Self::Custom),
            _ => None,
        }
    }
}
///
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum TalkerType {
    ///
    Machine = 0,
    ///
    Customer = 1,
    ///
    SysNotice = 2,
    ///
    User = 3,
}
impl TalkerType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Machine => "MACHINE",
            Self::Customer => "CUSTOMER",
            Self::SysNotice => "SYS_NOTICE",
            Self::User => "USER",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "MACHINE" => Some(Self::Machine),
            "CUSTOMER" => Some(Self::Customer),
            "SYS_NOTICE" => Some(Self::SysNotice),
            "USER" => Some(Self::User),
            _ => None,
        }
    }
}