forked from binarywang/WxJava
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWxCpApiPathConsts.java
1381 lines (1311 loc) · 37.6 KB
/
WxCpApiPathConsts.java
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
991
992
993
994
995
996
997
998
999
1000
package me.chanjar.weixin.cp.constant;
/**
* <pre>
* 企业微信api地址常量类
* Created by BinaryWang on 2019-06-02.
* </pre>
*
* @author <a href="https://github.com/binarywang">Binary Wang</a>
*/
public interface WxCpApiPathConsts {
/**
* The constant DEFAULT_CP_BASE_URL.
*/
String DEFAULT_CP_BASE_URL = "https://qyapi.weixin.qq.com";
/**
* The constant GET_JSAPI_TICKET.
*/
String GET_JSAPI_TICKET = "/cgi-bin/get_jsapi_ticket";
/**
* The constant GET_AGENT_CONFIG_TICKET.
*/
String GET_AGENT_CONFIG_TICKET = "/cgi-bin/ticket/get?&type=agent_config";
/**
* The constant GET_CALLBACK_IP.
*/
String GET_CALLBACK_IP = "/cgi-bin/getcallbackip";
/**
* The constant BATCH_REPLACE_PARTY.
*/
String BATCH_REPLACE_PARTY = "/cgi-bin/batch/replaceparty";
/**
* The constant BATCH_SYNC_USER.
*/
String BATCH_SYNC_USER = "/cgi-bin/batch/syncuser";
/**
* The constant BATCH_REPLACE_USER.
*/
String BATCH_REPLACE_USER = "/cgi-bin/batch/replaceuser";
/**
* The constant BATCH_GET_RESULT.
*/
String BATCH_GET_RESULT = "/cgi-bin/batch/getresult?jobid=";
/**
* The constant JSCODE_TO_SESSION.
*/
String JSCODE_TO_SESSION = "/cgi-bin/miniprogram/jscode2session";
/**
* The constant GET_TOKEN.
*/
String GET_TOKEN = "/cgi-bin/gettoken?corpid=%s&corpsecret=%s";
/**
* The constant WEBHOOK_SEND.
*/
String WEBHOOK_SEND = "/cgi-bin/webhook/send?key=";
/**
* 消息推送相关接口
* https://work.weixin.qq.com/api/doc/90000/90135/90235
*/
interface Message {
/**
* 发送应用消息
*/
String MESSAGE_SEND = "/cgi-bin/message/send";
/**
* 查询应用消息发送统计
*/
String GET_STATISTICS = "/cgi-bin/message/get_statistics";
/**
* 互联企业发送应用消息
* https://developer.work.weixin.qq.com/document/path/90250
*/
String LINKEDCORP_MESSAGE_SEND = "/cgi-bin/linkedcorp/message/send";
/**
* 发送「学校通知」
* https://developer.work.weixin.qq.com/document/path/92321
*/
String EXTERNAL_CONTACT_MESSAGE_SEND = "/cgi-bin/externalcontact/message/send";
/**
* 撤回应用消息
* https://developer.work.weixin.qq.com/document/path/94867
*/
String MESSAGE_RECALL = "/cgi-bin/message/recall";
}
/**
* The interface Agent.
*/
interface Agent {
/**
* The constant AGENT_GET.
*/
String AGENT_GET = "/cgi-bin/agent/get?agentid=%d";
/**
* The constant AGENT_SET.
*/
String AGENT_SET = "/cgi-bin/agent/set";
/**
* The constant AGENT_LIST.
*/
String AGENT_LIST = "/cgi-bin/agent/list";
}
/**
* The interface Work bench.
*/
interface WorkBench {
/**
* The constant WORKBENCH_TEMPLATE_SET.
*/
String WORKBENCH_TEMPLATE_SET = "/cgi-bin/agent/set_workbench_template";
/**
* The constant WORKBENCH_TEMPLATE_GET.
*/
String WORKBENCH_TEMPLATE_GET = "/cgi-bin/agent/get_workbench_template";
/**
* The constant WORKBENCH_DATA_SET.
*/
String WORKBENCH_DATA_SET = "/cgi-bin/agent/set_workbench_data";
}
/**
* The interface O auth 2.
*/
interface OAuth2 {
/**
* The constant GET_USER_INFO.
*/
String GET_USER_INFO = "/cgi-bin/user/getuserinfo?code=%s&agentid=%d";
/**
* The constant GET_SCHOOL_USER_INFO.
*/
String GET_SCHOOL_USER_INFO = "/cgi-bin/school/getuserinfo?code=%s";
/**
* The constant GET_USER_DETAIL.
*/
String GET_USER_DETAIL = "/cgi-bin/user/getuserdetail";
/**
* The constant URL_OAUTH2_AUTHORIZE.
*/
String URL_OAUTH2_AUTHORIZE = "https://open.weixin.qq.com/connect/oauth2/authorize";
}
/**
* The interface Chat.
*/
interface Chat {
/**
* The constant APPCHAT_CREATE.
*/
String APPCHAT_CREATE = "/cgi-bin/appchat/create";
/**
* The constant APPCHAT_UPDATE.
*/
String APPCHAT_UPDATE = "/cgi-bin/appchat/update";
/**
* The constant APPCHAT_GET_CHATID.
*/
String APPCHAT_GET_CHATID = "/cgi-bin/appchat/get?chatid=";
/**
* The constant APPCHAT_SEND.
*/
String APPCHAT_SEND = "/cgi-bin/appchat/send";
}
/**
* The interface Department.
*/
interface Department {
/**
* The constant DEPARTMENT_CREATE.
*/
String DEPARTMENT_CREATE = "/cgi-bin/department/create";
/**
* The constant DEPARTMENT_UPDATE.
*/
String DEPARTMENT_UPDATE = "/cgi-bin/department/update";
/**
* The constant DEPARTMENT_GET.
*/
String DEPARTMENT_GET = "/cgi-bin/department/get?id=%d";
/**
* The constant DEPARTMENT_DELETE.
*/
String DEPARTMENT_DELETE = "/cgi-bin/department/delete?id=%d";
/**
* The constant DEPARTMENT_LIST.
*/
String DEPARTMENT_LIST = "/cgi-bin/department/list";
/**
* The constant DEPARTMENT_SIMPLE_LIST.
*/
String DEPARTMENT_SIMPLE_LIST = "/cgi-bin/department/simplelist";
}
/**
* The interface Media.
*/
interface Media {
/**
* The constant MEDIA_GET.
*/
String MEDIA_GET = "/cgi-bin/media/get";
/**
* The constant MEDIA_UPLOAD.
*/
String MEDIA_UPLOAD = "/cgi-bin/media/upload?type=";
/**
* The constant IMG_UPLOAD.
*/
String IMG_UPLOAD = "/cgi-bin/media/uploadimg";
/**
* The constant JSSDK_MEDIA_GET.
*/
String JSSDK_MEDIA_GET = "/cgi-bin/media/get/jssdk";
}
/**
* The interface Menu.
*/
interface Menu {
/**
* The constant MENU_CREATE.
*/
String MENU_CREATE = "/cgi-bin/menu/create?agentid=%d";
/**
* The constant MENU_DELETE.
*/
String MENU_DELETE = "/cgi-bin/menu/delete?agentid=%d";
/**
* The constant MENU_GET.
*/
String MENU_GET = "/cgi-bin/menu/get?agentid=%d";
}
/**
* The interface Oa.
*/
interface Oa {
/**
* 打卡
* https://developer.work.weixin.qq.com/document/path/94204
*/
String GET_CORP_CHECKIN_OPTION = "/cgi-bin/checkin/getcorpcheckinoption";
/**
* The constant GET_CHECKIN_DATA.
*/
String GET_CHECKIN_DATA = "/cgi-bin/checkin/getcheckindata";
/**
* The constant GET_CHECKIN_OPTION.
*/
String GET_CHECKIN_OPTION = "/cgi-bin/checkin/getcheckinoption";
/**
* The constant GET_CHECKIN_DAY_DATA.
*/
String GET_CHECKIN_DAY_DATA = "/cgi-bin/checkin/getcheckin_daydata";
/**
* The constant GET_CHECKIN_MONTH_DATA.
*/
String GET_CHECKIN_MONTH_DATA = "/cgi-bin/checkin/getcheckin_monthdata";
/**
* The constant GET_CHECKIN_SCHEDULE_DATA.
*/
String GET_CHECKIN_SCHEDULE_DATA = "/cgi-bin/checkin/getcheckinschedulist";
/**
* The constant SET_CHECKIN_SCHEDULE_DATA.
*/
String SET_CHECKIN_SCHEDULE_DATA = "/cgi-bin/checkin/setcheckinschedulist";
/**
* The constant ADD_CHECK_IN_USER_FACE.
*/
String ADD_CHECK_IN_USER_FACE = "/cgi-bin/checkin/addcheckinuserface";
/**
* 审批
* https://developer.work.weixin.qq.com/document/path/91956
*/
String COPY_TEMPLATE = "/cgi-bin/oa/approval/copytemplate";
/**
* The constant GET_TEMPLATE_DETAIL.
*/
String GET_TEMPLATE_DETAIL = "/cgi-bin/oa/gettemplatedetail";
/**
* The constant CREATE_TEMPLATE.
*/
String CREATE_TEMPLATE = "/cgi-bin/oa/approval/create_template";
/**
* The constant CREATE_TEMPLATE.
*/
String UPDATE_TEMPLATE = "/cgi-bin/oa/approval/update_template";
/**
* The constant APPLY_EVENT.
*/
String APPLY_EVENT = "/cgi-bin/oa/applyevent";
/**
* The constant GET_APPROVAL_INFO.
*/
String GET_APPROVAL_INFO = "/cgi-bin/oa/getapprovalinfo";
/**
* The constant GET_APPROVAL_DETAIL.
*/
String GET_APPROVAL_DETAIL = "/cgi-bin/oa/getapprovaldetail";
/**
* The constant GET_APPROVAL_DATA.
*/
String GET_APPROVAL_DATA = "/cgi-bin/corp/getapprovaldata";
/**
* The constant GET_CORP_CONF.
*/
String GET_CORP_CONF = "/cgi-bin/oa/vacation/getcorpconf";
/**
* The constant GET_USER_VACATION_QUOTA.
*/
String GET_USER_VACATION_QUOTA = "/cgi-bin/oa/vacation/getuservacationquota";
/**
* The constant SET_ONE_USER_QUOTA.
*/
String SET_ONE_USER_QUOTA = "/cgi-bin/oa/vacation/setoneuserquota";
/**
* 公费电话
* https://developer.work.weixin.qq.com/document/path/93662
*/
String GET_DIAL_RECORD = "/cgi-bin/dial/get_dial_record";
/**
* 日程
* https://developer.work.weixin.qq.com/document/path/93624
*/
String CALENDAR_ADD = "/cgi-bin/oa/calendar/add";
/**
* The constant CALENDAR_UPDATE.
*/
String CALENDAR_UPDATE = "/cgi-bin/oa/calendar/update";
/**
* The constant CALENDAR_GET.
*/
String CALENDAR_GET = "/cgi-bin/oa/calendar/get";
/**
* The constant CALENDAR_DEL.
*/
String CALENDAR_DEL = "/cgi-bin/oa/calendar/del";
/**
* The constant SCHEDULE_ADD.
*/
String SCHEDULE_ADD = "/cgi-bin/oa/schedule/add";
/**
* The constant SCHEDULE_UPDATE.
*/
String SCHEDULE_UPDATE = "/cgi-bin/oa/schedule/update";
/**
* The constant SCHEDULE_GET.
*/
String SCHEDULE_GET = "/cgi-bin/oa/schedule/get";
/**
* The constant SCHEDULE_DEL.
*/
String SCHEDULE_DEL = "/cgi-bin/oa/schedule/del";
/**
* The constant SCHEDULE_LIST.
*/
String SCHEDULE_LIST = "/cgi-bin/oa/schedule/get_by_calendar";
/**
* 会议
* https://developer.work.weixin.qq.com/document/path/93624
*/
String MEETINGROOM_ADD = "/cgi-bin/oa/meetingroom/add";
/**
* The constant MEETINGROOM_LIST.
*/
String MEETINGROOM_LIST = "/cgi-bin/oa/meetingroom/list";
/**
* The constant MEETINGROOM_EDIT.
*/
String MEETINGROOM_EDIT = "/cgi-bin/oa/meetingroom/edit";
/**
* The constant MEETINGROOM_DEL.
*/
String MEETINGROOM_DEL = "/cgi-bin/oa/meetingroom/del";
/**
* 微盘
* https://developer.work.weixin.qq.com/document/path/93654
*/
String SPACE_CREATE = "/cgi-bin/wedrive/space_create";
/**
* The constant SPACE_RENAME.
*/
String SPACE_RENAME = "/cgi-bin/wedrive/space_rename";
/**
* The constant SPACE_DISMISS.
*/
String SPACE_DISMISS = "/cgi-bin/wedrive/space_dismiss";
/**
* The constant SPACE_INFO.
*/
String SPACE_INFO = "/cgi-bin/wedrive/space_info";
/**
* The constant SPACE_ACL_ADD.
*/
String SPACE_ACL_ADD = "/cgi-bin/wedrive/space_acl_add";
/**
* The constant SPACE_ACL_DEL.
*/
String SPACE_ACL_DEL = "/cgi-bin/wedrive/space_acl_del";
/**
* The constant SPACE_SETTING.
*/
String SPACE_SETTING = "/cgi-bin/wedrive/space_setting";
/**
* The constant SPACE_SHARE.
*/
String SPACE_SHARE = "/cgi-bin/wedrive/space_share";
/**
* The constant FILE_LIST.
*/
String FILE_LIST = "/cgi-bin/wedrive/file_list";
/**
* The constant FILE_UPLOAD.
*/
String FILE_UPLOAD = "/cgi-bin/wedrive/file_upload";
/**
* The constant FILE_DOWNLOAD.
*/
String FILE_DOWNLOAD = "/cgi-bin/wedrive/file_download";
/**
* The constant FILE_RENAME.
*/
String FILE_RENAME = "/cgi-bin/wedrive/file_rename";
/**
* The constant FILE_CREATE.
*/
String FILE_CREATE = "/cgi-bin/wedrive/file_create";
/**
* The constant FILE_MOVE.
*/
String FILE_MOVE = "/cgi-bin/wedrive/file_move";
/**
* The constant FILE_DELETE.
*/
String FILE_DELETE = "/cgi-bin/wedrive/file_delete";
/**
* The constant FILE_INFO.
*/
String FILE_INFO = "/cgi-bin/wedrive/file_info";
/**
* The constant FILE_ACL_ADD.
*/
String FILE_ACL_ADD = "/cgi-bin/wedrive/file_acl_add";
/**
* The constant FILE_ACL_DEL.
*/
String FILE_ACL_DEL = "/cgi-bin/wedrive/file_acl_del";
/**
* The constant FILE_SETTING.
*/
String FILE_SETTING = "/cgi-bin/wedrive/file_setting";
/**
* The constant FILE_SHARE.
*/
String FILE_SHARE = "/cgi-bin/wedrive/file_share";
/**
* 审批流程引擎
* https://developer.work.weixin.qq.com/document/path/90269
*/
String GET_OPEN_APPROVAL_DATA = "/cgi-bin/corp/getopenapprovaldata";
}
/**
* The interface School.
*/
interface School {
/**
* The constant GET_HEALTH_REPORT_STAT.
*/
String GET_HEALTH_REPORT_STAT = "/cgi-bin/health/get_health_report_stat";
/**
* The constant GET_REPORT_JOBIDS.
*/
String GET_REPORT_JOBIDS = "/cgi-bin/health/get_report_jobids";
/**
* The constant GET_REPORT_JOB_INFO.
*/
String GET_REPORT_JOB_INFO = "/cgi-bin/health/get_report_job_info";
/**
* The constant GET_REPORT_ANSWER.
*/
String GET_REPORT_ANSWER = "/cgi-bin/health/get_report_answer";
/**
* The constant GET_TEACHER_CUSTOMIZE_HEALTH_INFO.
*/
String GET_TEACHER_CUSTOMIZE_HEALTH_INFO = "/cgi-bin/school/user/get_teacher_customize_health_info";
/**
* The constant GET_STUDENT_CUSTOMIZE_HEALTH_INFO.
*/
String GET_STUDENT_CUSTOMIZE_HEALTH_INFO = "/cgi-bin/school/user/get_student_customize_health_info";
/**
* The constant GET_HEALTH_QRCODE.
*/
String GET_HEALTH_QRCODE = "/cgi-bin/school/user/get_health_qrcode";
/**
* The constant BATCH_CREATE_STUDENT.
*/
String BATCH_CREATE_STUDENT = "/cgi-bin/school/user/batch_create_student";
/**
* The constant BATCH_DELETE_STUDENT.
*/
String BATCH_DELETE_STUDENT = "/cgi-bin/school/user/batch_delete_student";
/**
* The constant BATCH_UPDATE_STUDENT.
*/
String BATCH_UPDATE_STUDENT = "/cgi-bin/school/user/batch_update_student";
/**
* The constant BATCH_CREATE_PARENT.
*/
String BATCH_CREATE_PARENT = "/cgi-bin/school/user/batch_create_parent";
/**
* The constant BATCH_DELETE_PARENT.
*/
String BATCH_DELETE_PARENT = "/cgi-bin/school/user/batch_delete_parent";
/**
* The constant BATCH_UPDATE_PARENT.
*/
String BATCH_UPDATE_PARENT = "/cgi-bin/school/user/batch_update_parent";
/**
* The constant CREATE_STUDENT.
*/
String CREATE_STUDENT = "/cgi-bin/school/user/create_student";
/**
* The constant DELETE_STUDENT.
*/
String DELETE_STUDENT = "/cgi-bin/school/user/delete_student?userid=";
/**
* The constant UPDATE_STUDENT.
*/
String UPDATE_STUDENT = "/cgi-bin/school/user/update_student";
/**
* The constant CREATE_PARENT.
*/
String CREATE_PARENT = "/cgi-bin/school/user/create_parent";
/**
* The constant UPDATE_PARENT.
*/
String UPDATE_PARENT = "/cgi-bin/school/user/update_parent";
/**
* The constant DELETE_PARENT.
*/
String DELETE_PARENT = "/cgi-bin/school/user/delete_parent?userid=";
/**
* The constant GET_USER.
*/
String GET_USER = "/cgi-bin/school/user/get?userid=";
/**
* The constant GET_USER_LIST.
*/
String GET_USER_LIST = "/cgi-bin/school/user/list?department_id=%s&fetch_child=%d";
/**
* The constant GET_USER_LIST_PARENT.
*/
String GET_USER_LIST_PARENT = "/cgi-bin/school/user/list_parent?department_id=";
/**
* The constant SET_ARCH_SYNC_MODE.
*/
String SET_ARCH_SYNC_MODE = "/cgi-bin/school/set_arch_sync_mode";
/**
* The constant SET_UPGRADE_INFO.
*/
String SET_UPGRADE_INFO = "/cgi-bin/school/set_upgrade_info";
/**
* The constant DEPARTMENT_CREATE.
*/
String DEPARTMENT_CREATE = "/cgi-bin/school/department/create";
/**
* The constant DEPARTMENT_UPDATE.
*/
String DEPARTMENT_UPDATE = "/cgi-bin/school/department/update";
/**
* The constant DEPARTMENT_DELETE.
*/
String DEPARTMENT_DELETE = "/cgi-bin/school/department/delete?id=";
/**
* The constant DEPARTMENT_LIST.
*/
String DEPARTMENT_LIST = "/cgi-bin/school/department/list?id=";
/**
* The constant GET_PAYMENT_RESULT.
*/
String GET_PAYMENT_RESULT = "/cgi-bin/school/get_payment_result";
/**
* The constant GET_TRADE.
*/
String GET_TRADE = "/cgi-bin/school/get_trade";
/**
* The constant GET_ALLOW_SCOPE.
*/
String GET_ALLOW_SCOPE = "/cgi-bin/school/agent/get_allow_scope?agentid=";
/**
* 上课直播
*/
String GET_LIVING_INFO = "/cgi-bin/school/living/get_living_info?livingid=";
/**
* The constant GET_WATCH_STAT.
*/
String GET_WATCH_STAT = "/cgi-bin/school/living/get_watch_stat";
/**
* The constant GET_UNWATCH_STAT.
*/
String GET_UNWATCH_STAT = "/cgi-bin/school/living/get_unwatch_stat";
}
/**
* The interface Living.
*/
interface Living {
/**
* The constant GET_LIVING_CODE.
*/
String GET_LIVING_CODE = "/cgi-bin/living/get_living_code";
/**
* The constant GET_LIVING_INFO.
*/
String GET_LIVING_INFO = "/cgi-bin/living/get_living_info?livingid=";
/**
* The constant GET_WATCH_STAT.
*/
String GET_WATCH_STAT = "/cgi-bin/living/get_watch_stat";
/**
* The constant GET_LIVING_SHARE_INFO.
*/
String GET_LIVING_SHARE_INFO = "/cgi-bin/living/get_living_share_info";
/**
* The constant GET_USER_ALL_LIVINGID.
*/
String GET_USER_ALL_LIVINGID = "/cgi-bin/living/get_user_all_livingid";
/**
* The constant CREATE.
*/
String CREATE = "/cgi-bin/living/create";
/**
* The constant MODIFY.
*/
String MODIFY = "/cgi-bin/living/modify";
/**
* The constant CANCEL.
*/
String CANCEL = "/cgi-bin/living/cancel";
/**
* The constant DELETE_REPLAY_DATA.
*/
String DELETE_REPLAY_DATA = "/cgi-bin/living/delete_replay_data";
}
/**
* The interface Msg audit.
*/
interface MsgAudit {
/**
* The constant GET_PERMIT_USER_LIST.
*/
String GET_PERMIT_USER_LIST = "/cgi-bin/msgaudit/get_permit_user_list";
/**
* The constant GET_GROUP_CHAT.
*/
String GET_GROUP_CHAT = "/cgi-bin/msgaudit/groupchat/get";
/**
* The constant CHECK_SINGLE_AGREE.
*/
String CHECK_SINGLE_AGREE = "/cgi-bin/msgaudit/check_single_agree";
}
/**
* The interface Tag.
*/
interface Tag {
/**
* The constant TAG_CREATE.
*/
String TAG_CREATE = "/cgi-bin/tag/create";
/**
* The constant TAG_UPDATE.
*/
String TAG_UPDATE = "/cgi-bin/tag/update";
/**
* The constant TAG_DELETE.
*/
String TAG_DELETE = "/cgi-bin/tag/delete?tagid=%s";
/**
* The constant TAG_LIST.
*/
String TAG_LIST = "/cgi-bin/tag/list";
/**
* The constant TAG_GET.
*/
String TAG_GET = "/cgi-bin/tag/get?tagid=%s";
/**
* The constant TAG_ADD_TAG_USERS.
*/
String TAG_ADD_TAG_USERS = "/cgi-bin/tag/addtagusers";
/**
* The constant TAG_DEL_TAG_USERS.
*/
String TAG_DEL_TAG_USERS = "/cgi-bin/tag/deltagusers";
}
/**
* The interface Task card.
*/
interface TaskCard {
/**
* The constant UPDATE_TASK_CARD.
*/
String UPDATE_TASK_CARD = "/cgi-bin/message/update_taskcard";
/**
* The constant UPDATE_TEMPLATE_CARD.
*/
String UPDATE_TEMPLATE_CARD = "/cgi-bin/message/update_template_card";
}
/**
* The interface Tp.
*/
interface Tp {
/**
* The constant JSCODE_TO_SESSION.
*/
String JSCODE_TO_SESSION = "/cgi-bin/service/miniprogram/jscode2session";
/**
* The constant GET_CORP_TOKEN.
*/
String GET_CORP_TOKEN = "/cgi-bin/service/get_corp_token";
/**
* The constant GET_PERMANENT_CODE.
*/
String GET_PERMANENT_CODE = "/cgi-bin/service/get_permanent_code";
/**
* The constant GET_SUITE_TOKEN.
*/
String GET_SUITE_TOKEN = "/cgi-bin/service/get_suite_token";
/**
* The constant GET_PROVIDER_TOKEN.
*/
String GET_PROVIDER_TOKEN = "/cgi-bin/service/get_provider_token";
/**
* The constant GET_PREAUTH_CODE.
*/
String GET_PREAUTH_CODE = "/cgi-bin/service/get_pre_auth_code";
/**
* The constant GET_AUTH_INFO.
*/
String GET_AUTH_INFO = "/cgi-bin/service/get_auth_info";
/**
* The constant GET_AUTH_CORP_JSAPI_TICKET.
*/
String GET_AUTH_CORP_JSAPI_TICKET = "/cgi-bin/get_jsapi_ticket";
/**
* The constant GET_SUITE_JSAPI_TICKET.
*/
String GET_SUITE_JSAPI_TICKET = "/cgi-bin/ticket/get";
/**
* The constant GET_USERINFO3RD.
*/
String GET_USERINFO3RD = "/cgi-bin/service/getuserinfo3rd";
/**
* The constant GET_USERDETAIL3RD.
*/
String GET_USERDETAIL3RD = "/cgi-bin/service/getuserdetail3rd";
/**
* The constant GET_LOGIN_INFO.
*/
String GET_LOGIN_INFO = "/cgi-bin/service/get_login_info";
/**
* The constant GET_CUSTOMIZED_AUTH_URL.
*/
String GET_CUSTOMIZED_AUTH_URL = "/cgi-bin/service/get_customized_auth_url";
/**
* The constant CONTACT_SEARCH.
*/
String CONTACT_SEARCH = "/cgi-bin/service/contact/search";
/**
* The constant GET_ADMIN_LIST.
*/
String GET_ADMIN_LIST = "/cgi-bin/service/get_admin_list";
/**
* The constant GET_APP_QRCODE.
*/
String GET_APP_QRCODE = "/cgi-bin/service/get_app_qrcode";
/**
* The constant CORPID_TO_OPENCORPID.
*/
String CORPID_TO_OPENCORPID = "/cgi-bin/service/corpid_to_opencorpid";
/**
* The constant GET_ORDER.
*/
// 获取订单详情
String GET_ORDER = "/cgi-bin/service/get_order";
/**
* The constant GET_ORDER_LIST.
*/
// 获取订单列表
String GET_ORDER_LIST = "/cgi-bin/service/get_order_list";
/**
* The constant PROLONG_TRY.
*/
// 延长试用期
String PROLONG_TRY = "/cgi-bin/service/prolong_try";
}
/**
* The interface License.
*/
interface License {
/**
* The constant CREATE_NEW_ORDER.
*/
String CREATE_NEW_ORDER = "/cgi-bin/license/create_new_order";
/**
* The constant CREATE_RENEW_ORDER_JOB.
*/
String CREATE_RENEW_ORDER_JOB = "/cgi-bin/license/create_renew_order_job";
/**
* The constant SUBMIT_ORDER_JOB.
*/
String SUBMIT_ORDER_JOB = "/cgi-bin/license/submit_order_job";
/**
* The constant LIST_ORDER.
*/
String LIST_ORDER = "/cgi-bin/license/list_order";
/**
* The constant GET_ORDER.
*/
String GET_ORDER = "/cgi-bin/license/get_order";
/**
* The constant LIST_ORDER_ACCOUNT.
*/
String LIST_ORDER_ACCOUNT = "/cgi-bin/license/list_order_account";
/**
* The constant ACTIVE_ACCOUNT.
*/
String ACTIVE_ACCOUNT = "/cgi-bin/license/active_account";
/**
* The constant BATCH_ACTIVE_ACCOUNT.
*/
String BATCH_ACTIVE_ACCOUNT = "/cgi-bin/license/batch_active_account";
/**
* The constant GET_ACTIVE_INFO_BY_CODE.
*/
String GET_ACTIVE_INFO_BY_CODE = "/cgi-bin/license/get_active_info_by_code";
/**
* The constant BATCH_GET_ACTIVE_INFO_BY_CODE.
*/
String BATCH_GET_ACTIVE_INFO_BY_CODE = "/cgi-bin/license/batch_get_active_info_by_code";
/**
* The constant LIST_ACTIVED_ACCOUNT.
*/
String LIST_ACTIVED_ACCOUNT = "/cgi-bin/license/list_actived_account";
/**
* The constant GET_ACTIVE_INFO_BY_USER.
*/
String GET_ACTIVE_INFO_BY_USER = "/cgi-bin/license/get_active_info_by_user";
/**
* The constant BATCH_TRANSFER_LICENSE.
*/
String BATCH_TRANSFER_LICENSE = "/cgi-bin/license/batch_transfer_license";
}
/**
* The interface User.
*/
interface User {
/**
* The constant USER_AUTHENTICATE.
*/
String USER_AUTHENTICATE = "/cgi-bin/user/authsucc?userid=";
/**
* The constant USER_CREATE.
*/
String USER_CREATE = "/cgi-bin/user/create";
/**
* The constant USER_UPDATE.
*/
String USER_UPDATE = "/cgi-bin/user/update";
/**
* The constant USER_DELETE.
*/
String USER_DELETE = "/cgi-bin/user/delete?userid=";
/**
* The constant USER_BATCH_DELETE.
*/
String USER_BATCH_DELETE = "/cgi-bin/user/batchdelete";
/**
* The constant USER_GET.
*/
String USER_GET = "/cgi-bin/user/get?userid=";
/**
* The constant USER_LIST.
*/
String USER_LIST = "/cgi-bin/user/list?department_id=";
/**
* The constant USER_SIMPLE_LIST.
*/
String USER_SIMPLE_LIST = "/cgi-bin/user/simplelist?department_id=";
/**
* The constant BATCH_INVITE.
*/
String BATCH_INVITE = "/cgi-bin/batch/invite";
/**
* The constant USER_CONVERT_TO_OPENID.
*/
String USER_CONVERT_TO_OPENID = "/cgi-bin/user/convert_to_openid";
/**
* The constant USER_CONVERT_TO_USERID.
*/
String USER_CONVERT_TO_USERID = "/cgi-bin/user/convert_to_userid";
/**
* The constant GET_USER_ID.
*/
String GET_USER_ID = "/cgi-bin/user/getuserid";
/**
* The constant GET_EXTERNAL_CONTACT.
*/
String GET_EXTERNAL_CONTACT = "/cgi-bin/crm/get_external_contact?external_userid=";
/**
* The constant GET_JOIN_QR_CODE.
*/
String GET_JOIN_QR_CODE = "/cgi-bin/corp/get_join_qrcode?size_type=";
/**
* The constant GET_ACTIVE_STAT.
*/
String GET_ACTIVE_STAT = "/cgi-bin/user/get_active_stat";
/**
* The constant USERID_TO_OPEN_USERID.
*/
String USERID_TO_OPEN_USERID = "/cgi-bin/batch/userid_to_openuserid";
/**
* The constant OPEN_USERID_TO_USERID.
*/
String OPEN_USERID_TO_USERID = "/cgi-bin/batch/openuserid_to_userid";
/**
* The constant USER_LIST_ID.
*/
String USER_LIST_ID = "/cgi-bin/user/list_id";
}
/**
* The interface External contact.
*/
interface ExternalContact {
/**
* The constant GET_EXTERNAL_CONTACT.
*/
@Deprecated
String GET_EXTERNAL_CONTACT = "/cgi-bin/crm/get_external_contact?external_userid=";
/**
* The constant ADD_CONTACT_WAY.
*/
String ADD_CONTACT_WAY = "/cgi-bin/externalcontact/add_contact_way";
/**
* The constant GET_CONTACT_WAY.
*/
String GET_CONTACT_WAY = "/cgi-bin/externalcontact/get_contact_way";
/**
* The constant UPDATE_CONTACT_WAY.
*/
String UPDATE_CONTACT_WAY = "/cgi-bin/externalcontact/update_contact_way";
/**
* The constant DEL_CONTACT_WAY.
*/
String DEL_CONTACT_WAY = "/cgi-bin/externalcontact/del_contact_way";
/**
* The constant CLOSE_TEMP_CHAT.