openxiangda-skill-kit 2.3.89 → 2.3.92

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.
@@ -236,6 +236,1126 @@ MCP 使用项目锁定的根包;在客户端配置下列 stdio 启动参数,
236
236
  }
237
237
  ```
238
238
 
239
+ ## application_operations
240
+
241
+ 发现应用运行自助操作。读取事件诊断与指定投递恢复、加密环境凭据复用、通知渠道配置/默认/健康/失败恢复的有界操作目录和输入 Schema。无需管理页面;沿用当前应用权限。
242
+
243
+ - 只读:是
244
+ - 可替换文件或改变远端状态:否
245
+ - 幂等:否
246
+
247
+ 输入参数:
248
+
249
+ ```json
250
+ {
251
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
252
+ "type": "object",
253
+ "properties": {},
254
+ "additionalProperties": false
255
+ }
256
+ ```
257
+
258
+ ## application_operation
259
+
260
+ 执行应用运行自助操作。先读 application_operations 或 docs_read(application-operations),在用户已授权范围内执行。environment 必须明确。每种操作严格校验 input,拒绝自报身份及任意 API。密钥复制只接受名称和修订,恢复只接受指定原投递;结果未知先查原证据,不自动批量重试。读操作无副作用,配置有 CAS;健康写入诊断元数据,通知恢复可能实际发送。
261
+
262
+ - 只读:否
263
+ - 可替换文件或改变远端状态:是
264
+ - 幂等:否
265
+
266
+ 输入参数:
267
+
268
+ ```json
269
+ {
270
+ "type": "object",
271
+ "oneOf": [
272
+ {
273
+ "type": "object",
274
+ "additionalProperties": false,
275
+ "properties": {
276
+ "operation": {
277
+ "const": "events.status",
278
+ "description": "读取队列积压、消费者健康、写入保护阈值和恢复条件"
279
+ },
280
+ "environment": {
281
+ "type": "string",
282
+ "enum": [
283
+ "test",
284
+ "production"
285
+ ]
286
+ },
287
+ "input": {
288
+ "type": "object",
289
+ "additionalProperties": false,
290
+ "properties": {},
291
+ "required": []
292
+ }
293
+ },
294
+ "required": [
295
+ "operation",
296
+ "environment",
297
+ "input"
298
+ ]
299
+ },
300
+ {
301
+ "type": "object",
302
+ "additionalProperties": false,
303
+ "properties": {
304
+ "operation": {
305
+ "const": "events.subscriptions",
306
+ "description": "读取当前环境订阅及配置修订"
307
+ },
308
+ "environment": {
309
+ "type": "string",
310
+ "enum": [
311
+ "test",
312
+ "production"
313
+ ]
314
+ },
315
+ "input": {
316
+ "type": "object",
317
+ "additionalProperties": false,
318
+ "properties": {},
319
+ "required": []
320
+ }
321
+ },
322
+ "required": [
323
+ "operation",
324
+ "environment",
325
+ "input"
326
+ ]
327
+ },
328
+ {
329
+ "type": "object",
330
+ "additionalProperties": false,
331
+ "properties": {
332
+ "operation": {
333
+ "const": "events.deliveries",
334
+ "description": "分页读取投递、失败重试和死信"
335
+ },
336
+ "environment": {
337
+ "type": "string",
338
+ "enum": [
339
+ "test",
340
+ "production"
341
+ ]
342
+ },
343
+ "input": {
344
+ "type": "object",
345
+ "additionalProperties": false,
346
+ "properties": {
347
+ "limit": {
348
+ "type": "integer",
349
+ "minimum": 1,
350
+ "maximum": 100
351
+ },
352
+ "cursor": {
353
+ "type": "string",
354
+ "minLength": 1,
355
+ "maxLength": 2048
356
+ },
357
+ "from": {
358
+ "type": "string",
359
+ "minLength": 1,
360
+ "maxLength": 40
361
+ },
362
+ "to": {
363
+ "type": "string",
364
+ "minLength": 1,
365
+ "maxLength": 40
366
+ }
367
+ },
368
+ "required": []
369
+ }
370
+ },
371
+ "required": [
372
+ "operation",
373
+ "environment",
374
+ "input"
375
+ ]
376
+ },
377
+ {
378
+ "type": "object",
379
+ "additionalProperties": false,
380
+ "properties": {
381
+ "operation": {
382
+ "const": "events.journal",
383
+ "description": "分页读取不可变事件日志"
384
+ },
385
+ "environment": {
386
+ "type": "string",
387
+ "enum": [
388
+ "test",
389
+ "production"
390
+ ]
391
+ },
392
+ "input": {
393
+ "type": "object",
394
+ "additionalProperties": false,
395
+ "properties": {
396
+ "limit": {
397
+ "type": "integer",
398
+ "minimum": 1,
399
+ "maximum": 100
400
+ },
401
+ "cursor": {
402
+ "type": "string",
403
+ "minLength": 1,
404
+ "maxLength": 2048
405
+ },
406
+ "from": {
407
+ "type": "string",
408
+ "minLength": 1,
409
+ "maxLength": 40
410
+ },
411
+ "to": {
412
+ "type": "string",
413
+ "minLength": 1,
414
+ "maxLength": 40
415
+ }
416
+ },
417
+ "required": []
418
+ }
419
+ },
420
+ "required": [
421
+ "operation",
422
+ "environment",
423
+ "input"
424
+ ]
425
+ },
426
+ {
427
+ "type": "object",
428
+ "additionalProperties": false,
429
+ "properties": {
430
+ "operation": {
431
+ "const": "events.audit",
432
+ "description": "分页读取事件恢复操作审计"
433
+ },
434
+ "environment": {
435
+ "type": "string",
436
+ "enum": [
437
+ "test",
438
+ "production"
439
+ ]
440
+ },
441
+ "input": {
442
+ "type": "object",
443
+ "additionalProperties": false,
444
+ "properties": {
445
+ "limit": {
446
+ "type": "integer",
447
+ "minimum": 1,
448
+ "maximum": 100
449
+ },
450
+ "cursor": {
451
+ "type": "string",
452
+ "minLength": 1,
453
+ "maxLength": 2048
454
+ }
455
+ },
456
+ "required": []
457
+ }
458
+ },
459
+ "required": [
460
+ "operation",
461
+ "environment",
462
+ "input"
463
+ ]
464
+ },
465
+ {
466
+ "type": "object",
467
+ "additionalProperties": false,
468
+ "properties": {
469
+ "operation": {
470
+ "const": "events.replay",
471
+ "description": "恢复指定原投递;可显式选择已修复的当前订阅"
472
+ },
473
+ "environment": {
474
+ "type": "string",
475
+ "enum": [
476
+ "test",
477
+ "production"
478
+ ]
479
+ },
480
+ "input": {
481
+ "type": "object",
482
+ "additionalProperties": false,
483
+ "properties": {
484
+ "deliveryId": {
485
+ "type": "string",
486
+ "minLength": 1,
487
+ "maxLength": 36,
488
+ "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
489
+ },
490
+ "reason": {
491
+ "type": "string",
492
+ "minLength": 1,
493
+ "maxLength": 500,
494
+ "description": "操作原因;保留到平台审计"
495
+ },
496
+ "idempotencyKey": {
497
+ "type": "string",
498
+ "minLength": 1,
499
+ "maxLength": 128,
500
+ "description": "同一次操作及未知结果重试保持原键和完整请求"
501
+ },
502
+ "useCurrentSubscription": {
503
+ "type": "boolean"
504
+ }
505
+ },
506
+ "required": [
507
+ "deliveryId",
508
+ "reason",
509
+ "idempotencyKey",
510
+ "useCurrentSubscription"
511
+ ]
512
+ }
513
+ },
514
+ "required": [
515
+ "operation",
516
+ "environment",
517
+ "input"
518
+ ]
519
+ },
520
+ {
521
+ "type": "object",
522
+ "additionalProperties": false,
523
+ "properties": {
524
+ "operation": {
525
+ "const": "secrets.list",
526
+ "description": "读取当前环境凭据元信息和修订,不读取明文"
527
+ },
528
+ "environment": {
529
+ "type": "string",
530
+ "enum": [
531
+ "test",
532
+ "production"
533
+ ]
534
+ },
535
+ "input": {
536
+ "type": "object",
537
+ "additionalProperties": false,
538
+ "properties": {},
539
+ "required": []
540
+ }
541
+ },
542
+ "required": [
543
+ "operation",
544
+ "environment",
545
+ "input"
546
+ ]
547
+ },
548
+ {
549
+ "type": "object",
550
+ "additionalProperties": false,
551
+ "properties": {
552
+ "operation": {
553
+ "const": "secrets.copy",
554
+ "description": "从同应用另一个环境原子复制所选加密凭据"
555
+ },
556
+ "environment": {
557
+ "type": "string",
558
+ "enum": [
559
+ "test",
560
+ "production"
561
+ ]
562
+ },
563
+ "input": {
564
+ "type": "object",
565
+ "additionalProperties": false,
566
+ "properties": {
567
+ "sourceEnvironment": {
568
+ "type": "string",
569
+ "enum": [
570
+ "test",
571
+ "production"
572
+ ]
573
+ },
574
+ "reason": {
575
+ "type": "string",
576
+ "minLength": 1,
577
+ "maxLength": 500,
578
+ "description": "操作原因;保留到平台审计"
579
+ },
580
+ "idempotencyKey": {
581
+ "type": "string",
582
+ "minLength": 1,
583
+ "maxLength": 128,
584
+ "description": "同一次操作及未知结果重试保持原键和完整请求"
585
+ },
586
+ "secrets": {
587
+ "type": "array",
588
+ "minItems": 1,
589
+ "maxItems": 50,
590
+ "items": {
591
+ "type": "object",
592
+ "additionalProperties": false,
593
+ "properties": {
594
+ "name": {
595
+ "type": "string",
596
+ "minLength": 1,
597
+ "maxLength": 128
598
+ },
599
+ "sourceRevision": {
600
+ "type": "integer",
601
+ "minimum": 1,
602
+ "maximum": 9007199254740991
603
+ },
604
+ "expectedRevision": {
605
+ "type": "integer",
606
+ "minimum": 0,
607
+ "maximum": 9007199254740991
608
+ }
609
+ },
610
+ "required": [
611
+ "name",
612
+ "sourceRevision",
613
+ "expectedRevision"
614
+ ]
615
+ }
616
+ }
617
+ },
618
+ "required": [
619
+ "sourceEnvironment",
620
+ "reason",
621
+ "idempotencyKey",
622
+ "secrets"
623
+ ]
624
+ }
625
+ },
626
+ "required": [
627
+ "operation",
628
+ "environment",
629
+ "input"
630
+ ]
631
+ },
632
+ {
633
+ "type": "object",
634
+ "additionalProperties": false,
635
+ "properties": {
636
+ "operation": {
637
+ "const": "notifications.diagnostics",
638
+ "description": "诊断默认通道、凭据、收件人绑定及失败投递"
639
+ },
640
+ "environment": {
641
+ "type": "string",
642
+ "enum": [
643
+ "test",
644
+ "production"
645
+ ]
646
+ },
647
+ "input": {
648
+ "type": "object",
649
+ "additionalProperties": false,
650
+ "properties": {},
651
+ "required": []
652
+ }
653
+ },
654
+ "required": [
655
+ "operation",
656
+ "environment",
657
+ "input"
658
+ ]
659
+ },
660
+ {
661
+ "type": "object",
662
+ "additionalProperties": false,
663
+ "properties": {
664
+ "operation": {
665
+ "const": "notifications.channels",
666
+ "description": "读取渠道配置、能力、健康及修订"
667
+ },
668
+ "environment": {
669
+ "type": "string",
670
+ "enum": [
671
+ "test",
672
+ "production"
673
+ ]
674
+ },
675
+ "input": {
676
+ "type": "object",
677
+ "additionalProperties": false,
678
+ "properties": {},
679
+ "required": []
680
+ }
681
+ },
682
+ "required": [
683
+ "operation",
684
+ "environment",
685
+ "input"
686
+ ]
687
+ },
688
+ {
689
+ "type": "object",
690
+ "additionalProperties": false,
691
+ "properties": {
692
+ "operation": {
693
+ "const": "notifications.rules",
694
+ "description": "读取通知规则及修订"
695
+ },
696
+ "environment": {
697
+ "type": "string",
698
+ "enum": [
699
+ "test",
700
+ "production"
701
+ ]
702
+ },
703
+ "input": {
704
+ "type": "object",
705
+ "additionalProperties": false,
706
+ "properties": {},
707
+ "required": []
708
+ }
709
+ },
710
+ "required": [
711
+ "operation",
712
+ "environment",
713
+ "input"
714
+ ]
715
+ },
716
+ {
717
+ "type": "object",
718
+ "additionalProperties": false,
719
+ "properties": {
720
+ "operation": {
721
+ "const": "notifications.bootstrap",
722
+ "description": "初始化缺少的标准通知模板和规则"
723
+ },
724
+ "environment": {
725
+ "type": "string",
726
+ "enum": [
727
+ "test",
728
+ "production"
729
+ ]
730
+ },
731
+ "input": {
732
+ "type": "object",
733
+ "additionalProperties": false,
734
+ "properties": {},
735
+ "required": []
736
+ }
737
+ },
738
+ "required": [
739
+ "operation",
740
+ "environment",
741
+ "input"
742
+ ]
743
+ },
744
+ {
745
+ "type": "object",
746
+ "additionalProperties": false,
747
+ "properties": {
748
+ "operation": {
749
+ "const": "notifications.configure-external-http",
750
+ "description": "配置 External HTTP 通道;鉴权仅接受 Secret 引用"
751
+ },
752
+ "environment": {
753
+ "type": "string",
754
+ "enum": [
755
+ "test",
756
+ "production"
757
+ ]
758
+ },
759
+ "input": {
760
+ "type": "object",
761
+ "additionalProperties": false,
762
+ "properties": {
763
+ "bindingCode": {
764
+ "type": "string",
765
+ "minLength": 1,
766
+ "maxLength": 128
767
+ },
768
+ "expectedRevision": {
769
+ "type": "integer",
770
+ "minimum": 0,
771
+ "maximum": 9007199254740991
772
+ },
773
+ "status": {
774
+ "type": "string",
775
+ "enum": [
776
+ "active",
777
+ "paused"
778
+ ]
779
+ },
780
+ "confirmProduction": {
781
+ "type": "boolean"
782
+ },
783
+ "config": {
784
+ "type": "object",
785
+ "additionalProperties": false,
786
+ "properties": {
787
+ "schemaVersion": {
788
+ "const": "openxiangda.notification.external-http-channel/v2"
789
+ },
790
+ "providerCode": {
791
+ "type": "string",
792
+ "minLength": 1,
793
+ "maxLength": 128
794
+ },
795
+ "baseUrl": {
796
+ "type": "string",
797
+ "minLength": 1,
798
+ "maxLength": 2048
799
+ },
800
+ "identityRealm": {
801
+ "type": "string",
802
+ "minLength": 1,
803
+ "maxLength": 255
804
+ },
805
+ "auth": {
806
+ "oneOf": [
807
+ {
808
+ "type": "object",
809
+ "additionalProperties": false,
810
+ "properties": {
811
+ "mode": {
812
+ "const": "HMAC_SHA256"
813
+ },
814
+ "keyId": {
815
+ "type": "string",
816
+ "minLength": 1,
817
+ "maxLength": 128
818
+ },
819
+ "secretRef": {
820
+ "type": "string",
821
+ "minLength": 1,
822
+ "maxLength": 128
823
+ }
824
+ },
825
+ "required": [
826
+ "mode",
827
+ "keyId",
828
+ "secretRef"
829
+ ]
830
+ },
831
+ {
832
+ "type": "object",
833
+ "additionalProperties": false,
834
+ "properties": {
835
+ "mode": {
836
+ "const": "OAUTH2_CLIENT_CREDENTIALS"
837
+ },
838
+ "tokenUrl": {
839
+ "type": "string",
840
+ "minLength": 1,
841
+ "maxLength": 2048
842
+ },
843
+ "clientIdSecretRef": {
844
+ "type": "string",
845
+ "minLength": 1,
846
+ "maxLength": 128
847
+ },
848
+ "clientSecretSecretRef": {
849
+ "type": "string",
850
+ "minLength": 1,
851
+ "maxLength": 128
852
+ },
853
+ "scope": {
854
+ "type": "string",
855
+ "minLength": 1,
856
+ "maxLength": 500
857
+ },
858
+ "audience": {
859
+ "type": "string",
860
+ "minLength": 1,
861
+ "maxLength": 500
862
+ }
863
+ },
864
+ "required": [
865
+ "mode",
866
+ "tokenUrl",
867
+ "clientIdSecretRef",
868
+ "clientSecretSecretRef"
869
+ ]
870
+ },
871
+ {
872
+ "type": "object",
873
+ "additionalProperties": false,
874
+ "properties": {
875
+ "mode": {
876
+ "const": "MTLS"
877
+ },
878
+ "certSecretRef": {
879
+ "type": "string",
880
+ "minLength": 1,
881
+ "maxLength": 128
882
+ },
883
+ "keySecretRef": {
884
+ "type": "string",
885
+ "minLength": 1,
886
+ "maxLength": 128
887
+ },
888
+ "caSecretRef": {
889
+ "type": "string",
890
+ "minLength": 1,
891
+ "maxLength": 128
892
+ }
893
+ },
894
+ "required": [
895
+ "mode",
896
+ "certSecretRef",
897
+ "keySecretRef"
898
+ ]
899
+ }
900
+ ]
901
+ },
902
+ "callback": {
903
+ "type": "object",
904
+ "additionalProperties": false,
905
+ "properties": {
906
+ "enabled": {
907
+ "type": "boolean"
908
+ },
909
+ "hmacKeyId": {
910
+ "type": "string",
911
+ "minLength": 1,
912
+ "maxLength": 128
913
+ },
914
+ "hmacSecretRef": {
915
+ "type": "string",
916
+ "minLength": 1,
917
+ "maxLength": 128
918
+ },
919
+ "maxSkewSeconds": {
920
+ "type": "integer",
921
+ "minimum": 1,
922
+ "maximum": 9007199254740991
923
+ },
924
+ "actionTokenTtlMinutes": {
925
+ "type": "integer",
926
+ "minimum": 1,
927
+ "maximum": 9007199254740991
928
+ }
929
+ },
930
+ "required": [
931
+ "enabled",
932
+ "maxSkewSeconds",
933
+ "actionTokenTtlMinutes"
934
+ ]
935
+ },
936
+ "features": {
937
+ "type": "object",
938
+ "additionalProperties": false,
939
+ "properties": {
940
+ "interactiveActions": {
941
+ "type": "boolean"
942
+ },
943
+ "readReceipt": {
944
+ "type": "boolean"
945
+ },
946
+ "todoSemantics": {
947
+ "type": "boolean"
948
+ }
949
+ },
950
+ "required": [
951
+ "interactiveActions",
952
+ "readReceipt",
953
+ "todoSemantics"
954
+ ]
955
+ },
956
+ "requestTimeoutMs": {
957
+ "type": "integer",
958
+ "minimum": 1,
959
+ "maximum": 60000
960
+ }
961
+ },
962
+ "required": [
963
+ "schemaVersion",
964
+ "providerCode",
965
+ "baseUrl",
966
+ "identityRealm",
967
+ "auth",
968
+ "callback",
969
+ "features",
970
+ "requestTimeoutMs"
971
+ ]
972
+ }
973
+ },
974
+ "required": [
975
+ "bindingCode",
976
+ "expectedRevision",
977
+ "status",
978
+ "config"
979
+ ]
980
+ }
981
+ },
982
+ "required": [
983
+ "operation",
984
+ "environment",
985
+ "input"
986
+ ]
987
+ },
988
+ {
989
+ "type": "object",
990
+ "additionalProperties": false,
991
+ "properties": {
992
+ "operation": {
993
+ "const": "notifications.configure-dingtalk-oa",
994
+ "description": "配置钉钉 OA 工作通知通道;仅使用 Secret 引用"
995
+ },
996
+ "environment": {
997
+ "type": "string",
998
+ "enum": [
999
+ "test",
1000
+ "production"
1001
+ ]
1002
+ },
1003
+ "input": {
1004
+ "type": "object",
1005
+ "additionalProperties": false,
1006
+ "properties": {
1007
+ "bindingCode": {
1008
+ "type": "string",
1009
+ "minLength": 1,
1010
+ "maxLength": 128
1011
+ },
1012
+ "expectedRevision": {
1013
+ "type": "integer",
1014
+ "minimum": 0,
1015
+ "maximum": 9007199254740991
1016
+ },
1017
+ "status": {
1018
+ "type": "string",
1019
+ "enum": [
1020
+ "active",
1021
+ "paused"
1022
+ ]
1023
+ },
1024
+ "config": {
1025
+ "type": "object",
1026
+ "additionalProperties": false,
1027
+ "properties": {
1028
+ "schemaVersion": {
1029
+ "const": "openxiangda.notification.dingtalk-work-notice-oa-channel/v2"
1030
+ },
1031
+ "corpId": {
1032
+ "type": "string",
1033
+ "minLength": 1,
1034
+ "maxLength": 255
1035
+ },
1036
+ "agentId": {
1037
+ "type": "string",
1038
+ "minLength": 1,
1039
+ "maxLength": 255
1040
+ },
1041
+ "clientIdSecretRef": {
1042
+ "type": "string",
1043
+ "minLength": 1,
1044
+ "maxLength": 128
1045
+ },
1046
+ "clientSecretSecretRef": {
1047
+ "type": "string",
1048
+ "minLength": 1,
1049
+ "maxLength": 128
1050
+ },
1051
+ "requestTimeoutMs": {
1052
+ "type": "integer",
1053
+ "minimum": 1,
1054
+ "maximum": 60000
1055
+ },
1056
+ "decorationImage": {
1057
+ "type": "string",
1058
+ "enum": [
1059
+ "NONE",
1060
+ "PLATFORM_WORKFLOW"
1061
+ ]
1062
+ }
1063
+ },
1064
+ "required": [
1065
+ "schemaVersion",
1066
+ "corpId",
1067
+ "agentId",
1068
+ "clientIdSecretRef",
1069
+ "clientSecretSecretRef",
1070
+ "requestTimeoutMs",
1071
+ "decorationImage"
1072
+ ]
1073
+ }
1074
+ },
1075
+ "required": [
1076
+ "bindingCode",
1077
+ "expectedRevision",
1078
+ "status",
1079
+ "config"
1080
+ ]
1081
+ }
1082
+ },
1083
+ "required": [
1084
+ "operation",
1085
+ "environment",
1086
+ "input"
1087
+ ]
1088
+ },
1089
+ {
1090
+ "type": "object",
1091
+ "additionalProperties": false,
1092
+ "properties": {
1093
+ "operation": {
1094
+ "const": "notifications.test",
1095
+ "description": "检查渠道凭据与外部协议健康;不发送实际收件通知"
1096
+ },
1097
+ "environment": {
1098
+ "type": "string",
1099
+ "enum": [
1100
+ "test",
1101
+ "production"
1102
+ ]
1103
+ },
1104
+ "input": {
1105
+ "type": "object",
1106
+ "additionalProperties": false,
1107
+ "properties": {
1108
+ "bindingCode": {
1109
+ "type": "string",
1110
+ "minLength": 1,
1111
+ "maxLength": 128
1112
+ },
1113
+ "channel": {
1114
+ "type": "string",
1115
+ "enum": [
1116
+ "external-http",
1117
+ "dingtalk-work-notice-oa",
1118
+ "dingtalk-card"
1119
+ ]
1120
+ }
1121
+ },
1122
+ "required": [
1123
+ "bindingCode",
1124
+ "channel"
1125
+ ]
1126
+ }
1127
+ },
1128
+ "required": [
1129
+ "operation",
1130
+ "environment",
1131
+ "input"
1132
+ ]
1133
+ },
1134
+ {
1135
+ "type": "object",
1136
+ "additionalProperties": false,
1137
+ "properties": {
1138
+ "operation": {
1139
+ "const": "notifications.set-default",
1140
+ "description": "为当前环境 workflow.standard 规则选择默认渠道"
1141
+ },
1142
+ "environment": {
1143
+ "type": "string",
1144
+ "enum": [
1145
+ "test",
1146
+ "production"
1147
+ ]
1148
+ },
1149
+ "input": {
1150
+ "type": "object",
1151
+ "additionalProperties": false,
1152
+ "properties": {
1153
+ "bindingCode": {
1154
+ "type": "string",
1155
+ "minLength": 1,
1156
+ "maxLength": 128
1157
+ },
1158
+ "expectedRevision": {
1159
+ "type": "integer",
1160
+ "minimum": 1,
1161
+ "maximum": 9007199254740991
1162
+ },
1163
+ "expectedBindingRevision": {
1164
+ "type": "integer",
1165
+ "minimum": 1,
1166
+ "maximum": 9007199254740991
1167
+ }
1168
+ },
1169
+ "required": [
1170
+ "bindingCode",
1171
+ "expectedRevision",
1172
+ "expectedBindingRevision"
1173
+ ]
1174
+ }
1175
+ },
1176
+ "required": [
1177
+ "operation",
1178
+ "environment",
1179
+ "input"
1180
+ ]
1181
+ },
1182
+ {
1183
+ "type": "object",
1184
+ "additionalProperties": false,
1185
+ "properties": {
1186
+ "operation": {
1187
+ "const": "notifications.messages",
1188
+ "description": "按业务关联或收件人分页查询原通知"
1189
+ },
1190
+ "environment": {
1191
+ "type": "string",
1192
+ "enum": [
1193
+ "test",
1194
+ "production"
1195
+ ]
1196
+ },
1197
+ "input": {
1198
+ "type": "object",
1199
+ "additionalProperties": false,
1200
+ "properties": {
1201
+ "limit": {
1202
+ "type": "integer",
1203
+ "minimum": 1,
1204
+ "maximum": 100
1205
+ },
1206
+ "offset": {
1207
+ "type": "integer",
1208
+ "minimum": 0,
1209
+ "maximum": 9007199254740991
1210
+ },
1211
+ "status": {
1212
+ "type": "string",
1213
+ "minLength": 1,
1214
+ "maxLength": 50
1215
+ },
1216
+ "correlationId": {
1217
+ "type": "string",
1218
+ "minLength": 1,
1219
+ "maxLength": 255
1220
+ },
1221
+ "recipientUserId": {
1222
+ "type": "string",
1223
+ "minLength": 1,
1224
+ "maxLength": 255
1225
+ }
1226
+ },
1227
+ "required": []
1228
+ }
1229
+ },
1230
+ "required": [
1231
+ "operation",
1232
+ "environment",
1233
+ "input"
1234
+ ]
1235
+ },
1236
+ {
1237
+ "type": "object",
1238
+ "additionalProperties": false,
1239
+ "properties": {
1240
+ "operation": {
1241
+ "const": "notifications.message",
1242
+ "description": "读取原消息、收件人、投递尝试和审计"
1243
+ },
1244
+ "environment": {
1245
+ "type": "string",
1246
+ "enum": [
1247
+ "test",
1248
+ "production"
1249
+ ]
1250
+ },
1251
+ "input": {
1252
+ "type": "object",
1253
+ "additionalProperties": false,
1254
+ "properties": {
1255
+ "messageId": {
1256
+ "type": "string",
1257
+ "minLength": 1,
1258
+ "maxLength": 36,
1259
+ "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
1260
+ }
1261
+ },
1262
+ "required": [
1263
+ "messageId"
1264
+ ]
1265
+ }
1266
+ },
1267
+ "required": [
1268
+ "operation",
1269
+ "environment",
1270
+ "input"
1271
+ ]
1272
+ },
1273
+ {
1274
+ "type": "object",
1275
+ "additionalProperties": false,
1276
+ "properties": {
1277
+ "operation": {
1278
+ "const": "notifications.dead-letters",
1279
+ "description": "分页查询通知死信,可限定原 messageId"
1280
+ },
1281
+ "environment": {
1282
+ "type": "string",
1283
+ "enum": [
1284
+ "test",
1285
+ "production"
1286
+ ]
1287
+ },
1288
+ "input": {
1289
+ "type": "object",
1290
+ "additionalProperties": false,
1291
+ "properties": {
1292
+ "limit": {
1293
+ "type": "integer",
1294
+ "minimum": 1,
1295
+ "maximum": 100
1296
+ },
1297
+ "offset": {
1298
+ "type": "integer",
1299
+ "minimum": 0,
1300
+ "maximum": 9007199254740991
1301
+ },
1302
+ "messageId": {
1303
+ "type": "string",
1304
+ "minLength": 1,
1305
+ "maxLength": 36,
1306
+ "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
1307
+ }
1308
+ },
1309
+ "required": []
1310
+ }
1311
+ },
1312
+ "required": [
1313
+ "operation",
1314
+ "environment",
1315
+ "input"
1316
+ ]
1317
+ },
1318
+ {
1319
+ "type": "object",
1320
+ "additionalProperties": false,
1321
+ "properties": {
1322
+ "operation": {
1323
+ "const": "notifications.replay",
1324
+ "description": "修复配置后仅恢复指定原通知死信"
1325
+ },
1326
+ "environment": {
1327
+ "type": "string",
1328
+ "enum": [
1329
+ "test",
1330
+ "production"
1331
+ ]
1332
+ },
1333
+ "input": {
1334
+ "type": "object",
1335
+ "additionalProperties": false,
1336
+ "properties": {
1337
+ "deadLetterId": {
1338
+ "type": "string",
1339
+ "minLength": 1,
1340
+ "maxLength": 36,
1341
+ "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
1342
+ }
1343
+ },
1344
+ "required": [
1345
+ "deadLetterId"
1346
+ ]
1347
+ }
1348
+ },
1349
+ "required": [
1350
+ "operation",
1351
+ "environment",
1352
+ "input"
1353
+ ]
1354
+ }
1355
+ ]
1356
+ }
1357
+ ```
1358
+
239
1359
  ## workflow_node_configurations
240
1360
 
241
1361
  查看流程有效参数。修改已部署流程前,读取管理员维护的节点配置。已有任务和后续节点进入使用各自适用版本。