openclaw-client 1.1.0 → 2.0.0

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.
@@ -470,6 +470,48 @@
470
470
  "type": "string"
471
471
  }
472
472
  }
473
+ },
474
+ "authMode": {
475
+ "anyOf": [
476
+ {
477
+ "const": "none",
478
+ "type": "string"
479
+ },
480
+ {
481
+ "const": "token",
482
+ "type": "string"
483
+ },
484
+ {
485
+ "const": "password",
486
+ "type": "string"
487
+ },
488
+ {
489
+ "const": "trusted-proxy",
490
+ "type": "string"
491
+ }
492
+ ]
493
+ },
494
+ "updateAvailable": {
495
+ "type": "object",
496
+ "required": [
497
+ "currentVersion",
498
+ "latestVersion",
499
+ "channel"
500
+ ],
501
+ "properties": {
502
+ "currentVersion": {
503
+ "minLength": 1,
504
+ "type": "string"
505
+ },
506
+ "latestVersion": {
507
+ "minLength": 1,
508
+ "type": "string"
509
+ },
510
+ "channel": {
511
+ "minLength": 1,
512
+ "type": "string"
513
+ }
514
+ }
473
515
  }
474
516
  }
475
517
  },
@@ -1015,6 +1057,48 @@
1015
1057
  "type": "string"
1016
1058
  }
1017
1059
  }
1060
+ },
1061
+ "authMode": {
1062
+ "anyOf": [
1063
+ {
1064
+ "const": "none",
1065
+ "type": "string"
1066
+ },
1067
+ {
1068
+ "const": "token",
1069
+ "type": "string"
1070
+ },
1071
+ {
1072
+ "const": "password",
1073
+ "type": "string"
1074
+ },
1075
+ {
1076
+ "const": "trusted-proxy",
1077
+ "type": "string"
1078
+ }
1079
+ ]
1080
+ },
1081
+ "updateAvailable": {
1082
+ "type": "object",
1083
+ "required": [
1084
+ "currentVersion",
1085
+ "latestVersion",
1086
+ "channel"
1087
+ ],
1088
+ "properties": {
1089
+ "currentVersion": {
1090
+ "minLength": 1,
1091
+ "type": "string"
1092
+ },
1093
+ "latestVersion": {
1094
+ "minLength": 1,
1095
+ "type": "string"
1096
+ },
1097
+ "channel": {
1098
+ "minLength": 1,
1099
+ "type": "string"
1100
+ }
1101
+ }
1018
1102
  }
1019
1103
  }
1020
1104
  },
@@ -1084,7 +1168,6 @@
1084
1168
  "type": "object",
1085
1169
  "required": [
1086
1170
  "to",
1087
- "message",
1088
1171
  "idempotencyKey"
1089
1172
  ],
1090
1173
  "properties": {
@@ -1093,7 +1176,6 @@
1093
1176
  "type": "string"
1094
1177
  },
1095
1178
  "message": {
1096
- "minLength": 1,
1097
1179
  "type": "string"
1098
1180
  },
1099
1181
  "mediaUrl": {
@@ -1114,6 +1196,9 @@
1114
1196
  "accountId": {
1115
1197
  "type": "string"
1116
1198
  },
1199
+ "threadId": {
1200
+ "type": "string"
1201
+ },
1117
1202
  "sessionKey": {
1118
1203
  "type": "string"
1119
1204
  },
@@ -1155,10 +1240,24 @@
1155
1240
  "maximum": 12,
1156
1241
  "type": "integer"
1157
1242
  },
1243
+ "durationSeconds": {
1244
+ "minimum": 1,
1245
+ "maximum": 604800,
1246
+ "type": "integer"
1247
+ },
1158
1248
  "durationHours": {
1159
1249
  "minimum": 1,
1160
1250
  "type": "integer"
1161
1251
  },
1252
+ "silent": {
1253
+ "type": "boolean"
1254
+ },
1255
+ "isAnonymous": {
1256
+ "type": "boolean"
1257
+ },
1258
+ "threadId": {
1259
+ "type": "string"
1260
+ },
1162
1261
  "channel": {
1163
1262
  "type": "string"
1164
1263
  },
@@ -1243,6 +1342,32 @@
1243
1342
  "extraSystemPrompt": {
1244
1343
  "type": "string"
1245
1344
  },
1345
+ "inputProvenance": {
1346
+ "additionalProperties": false,
1347
+ "type": "object",
1348
+ "required": [
1349
+ "kind"
1350
+ ],
1351
+ "properties": {
1352
+ "kind": {
1353
+ "enum": [
1354
+ "external_user",
1355
+ "inter_session",
1356
+ "internal_system"
1357
+ ],
1358
+ "type": "string"
1359
+ },
1360
+ "sourceSessionKey": {
1361
+ "type": "string"
1362
+ },
1363
+ "sourceChannel": {
1364
+ "type": "string"
1365
+ },
1366
+ "sourceTool": {
1367
+ "type": "string"
1368
+ }
1369
+ }
1370
+ },
1246
1371
  "idempotencyKey": {
1247
1372
  "minLength": 1,
1248
1373
  "type": "string"
@@ -1604,6 +1729,70 @@
1604
1729
  }
1605
1730
  }
1606
1731
  },
1732
+ "PushTestParams": {
1733
+ "additionalProperties": false,
1734
+ "type": "object",
1735
+ "required": [
1736
+ "nodeId"
1737
+ ],
1738
+ "properties": {
1739
+ "nodeId": {
1740
+ "minLength": 1,
1741
+ "type": "string"
1742
+ },
1743
+ "title": {
1744
+ "type": "string"
1745
+ },
1746
+ "body": {
1747
+ "type": "string"
1748
+ },
1749
+ "environment": {
1750
+ "enum": [
1751
+ "sandbox",
1752
+ "production"
1753
+ ],
1754
+ "type": "string"
1755
+ }
1756
+ }
1757
+ },
1758
+ "PushTestResult": {
1759
+ "additionalProperties": false,
1760
+ "type": "object",
1761
+ "required": [
1762
+ "ok",
1763
+ "status",
1764
+ "tokenSuffix",
1765
+ "topic",
1766
+ "environment"
1767
+ ],
1768
+ "properties": {
1769
+ "ok": {
1770
+ "type": "boolean"
1771
+ },
1772
+ "status": {
1773
+ "type": "integer"
1774
+ },
1775
+ "apnsId": {
1776
+ "type": "string"
1777
+ },
1778
+ "reason": {
1779
+ "type": "string"
1780
+ },
1781
+ "tokenSuffix": {
1782
+ "type": "string"
1783
+ },
1784
+ "topic": {
1785
+ "type": "string"
1786
+ },
1787
+ "environment": {
1788
+ "enum": [
1789
+ "sandbox",
1790
+ "production"
1791
+ ],
1792
+ "type": "string"
1793
+ }
1794
+ }
1795
+ },
1607
1796
  "SessionsListParams": {
1608
1797
  "additionalProperties": false,
1609
1798
  "type": "object",
@@ -1860,6 +2049,17 @@
1860
2049
  }
1861
2050
  ]
1862
2051
  },
2052
+ "spawnDepth": {
2053
+ "anyOf": [
2054
+ {
2055
+ "minimum": 0,
2056
+ "type": "integer"
2057
+ },
2058
+ {
2059
+ "type": "null"
2060
+ }
2061
+ ]
2062
+ },
1863
2063
  "sendPolicy": {
1864
2064
  "anyOf": [
1865
2065
  {
@@ -1902,6 +2102,18 @@
1902
2102
  "key": {
1903
2103
  "minLength": 1,
1904
2104
  "type": "string"
2105
+ },
2106
+ "reason": {
2107
+ "anyOf": [
2108
+ {
2109
+ "const": "new",
2110
+ "type": "string"
2111
+ },
2112
+ {
2113
+ "const": "reset",
2114
+ "type": "string"
2115
+ }
2116
+ ]
1905
2117
  }
1906
2118
  }
1907
2119
  },
@@ -1938,6 +2150,31 @@
1938
2150
  }
1939
2151
  }
1940
2152
  },
2153
+ "SessionsUsageParams": {
2154
+ "additionalProperties": false,
2155
+ "type": "object",
2156
+ "properties": {
2157
+ "key": {
2158
+ "minLength": 1,
2159
+ "type": "string"
2160
+ },
2161
+ "startDate": {
2162
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
2163
+ "type": "string"
2164
+ },
2165
+ "endDate": {
2166
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
2167
+ "type": "string"
2168
+ },
2169
+ "limit": {
2170
+ "minimum": 1,
2171
+ "type": "integer"
2172
+ },
2173
+ "includeContextWeight": {
2174
+ "type": "boolean"
2175
+ }
2176
+ }
2177
+ },
1941
2178
  "ConfigGetParams": {
1942
2179
  "additionalProperties": false,
1943
2180
  "type": "object",
@@ -2545,6 +2782,77 @@
2545
2782
  }
2546
2783
  }
2547
2784
  },
2785
+ "TalkConfigParams": {
2786
+ "additionalProperties": false,
2787
+ "type": "object",
2788
+ "properties": {
2789
+ "includeSecrets": {
2790
+ "type": "boolean"
2791
+ }
2792
+ }
2793
+ },
2794
+ "TalkConfigResult": {
2795
+ "additionalProperties": false,
2796
+ "type": "object",
2797
+ "required": [
2798
+ "config"
2799
+ ],
2800
+ "properties": {
2801
+ "config": {
2802
+ "additionalProperties": false,
2803
+ "type": "object",
2804
+ "properties": {
2805
+ "talk": {
2806
+ "additionalProperties": false,
2807
+ "type": "object",
2808
+ "properties": {
2809
+ "voiceId": {
2810
+ "type": "string"
2811
+ },
2812
+ "voiceAliases": {
2813
+ "type": "object",
2814
+ "patternProperties": {
2815
+ "^(.*)$": {
2816
+ "type": "string"
2817
+ }
2818
+ }
2819
+ },
2820
+ "modelId": {
2821
+ "type": "string"
2822
+ },
2823
+ "outputFormat": {
2824
+ "type": "string"
2825
+ },
2826
+ "apiKey": {
2827
+ "type": "string"
2828
+ },
2829
+ "interruptOnSpeech": {
2830
+ "type": "boolean"
2831
+ }
2832
+ }
2833
+ },
2834
+ "session": {
2835
+ "additionalProperties": false,
2836
+ "type": "object",
2837
+ "properties": {
2838
+ "mainKey": {
2839
+ "type": "string"
2840
+ }
2841
+ }
2842
+ },
2843
+ "ui": {
2844
+ "additionalProperties": false,
2845
+ "type": "object",
2846
+ "properties": {
2847
+ "seamColor": {
2848
+ "type": "string"
2849
+ }
2850
+ }
2851
+ }
2852
+ }
2853
+ }
2854
+ }
2855
+ },
2548
2856
  "ChannelsStatusParams": {
2549
2857
  "additionalProperties": false,
2550
2858
  "type": "object",
@@ -2876,46 +3184,183 @@
2876
3184
  }
2877
3185
  }
2878
3186
  },
2879
- "AgentsFileEntry": {
3187
+ "AgentsCreateParams": {
2880
3188
  "additionalProperties": false,
2881
3189
  "type": "object",
2882
3190
  "required": [
2883
3191
  "name",
2884
- "path",
2885
- "missing"
3192
+ "workspace"
2886
3193
  ],
2887
3194
  "properties": {
2888
3195
  "name": {
2889
3196
  "minLength": 1,
2890
3197
  "type": "string"
2891
3198
  },
2892
- "path": {
3199
+ "workspace": {
2893
3200
  "minLength": 1,
2894
3201
  "type": "string"
2895
3202
  },
2896
- "missing": {
2897
- "type": "boolean"
2898
- },
2899
- "size": {
2900
- "minimum": 0,
2901
- "type": "integer"
2902
- },
2903
- "updatedAtMs": {
2904
- "minimum": 0,
2905
- "type": "integer"
3203
+ "emoji": {
3204
+ "type": "string"
2906
3205
  },
2907
- "content": {
3206
+ "avatar": {
2908
3207
  "type": "string"
2909
3208
  }
2910
3209
  }
2911
3210
  },
2912
- "AgentsFilesListParams": {
3211
+ "AgentsCreateResult": {
2913
3212
  "additionalProperties": false,
2914
3213
  "type": "object",
2915
3214
  "required": [
2916
- "agentId"
2917
- ],
2918
- "properties": {
3215
+ "ok",
3216
+ "agentId",
3217
+ "name",
3218
+ "workspace"
3219
+ ],
3220
+ "properties": {
3221
+ "ok": {
3222
+ "const": true,
3223
+ "type": "boolean"
3224
+ },
3225
+ "agentId": {
3226
+ "minLength": 1,
3227
+ "type": "string"
3228
+ },
3229
+ "name": {
3230
+ "minLength": 1,
3231
+ "type": "string"
3232
+ },
3233
+ "workspace": {
3234
+ "minLength": 1,
3235
+ "type": "string"
3236
+ }
3237
+ }
3238
+ },
3239
+ "AgentsUpdateParams": {
3240
+ "additionalProperties": false,
3241
+ "type": "object",
3242
+ "required": [
3243
+ "agentId"
3244
+ ],
3245
+ "properties": {
3246
+ "agentId": {
3247
+ "minLength": 1,
3248
+ "type": "string"
3249
+ },
3250
+ "name": {
3251
+ "minLength": 1,
3252
+ "type": "string"
3253
+ },
3254
+ "workspace": {
3255
+ "minLength": 1,
3256
+ "type": "string"
3257
+ },
3258
+ "model": {
3259
+ "minLength": 1,
3260
+ "type": "string"
3261
+ },
3262
+ "avatar": {
3263
+ "type": "string"
3264
+ }
3265
+ }
3266
+ },
3267
+ "AgentsUpdateResult": {
3268
+ "additionalProperties": false,
3269
+ "type": "object",
3270
+ "required": [
3271
+ "ok",
3272
+ "agentId"
3273
+ ],
3274
+ "properties": {
3275
+ "ok": {
3276
+ "const": true,
3277
+ "type": "boolean"
3278
+ },
3279
+ "agentId": {
3280
+ "minLength": 1,
3281
+ "type": "string"
3282
+ }
3283
+ }
3284
+ },
3285
+ "AgentsDeleteParams": {
3286
+ "additionalProperties": false,
3287
+ "type": "object",
3288
+ "required": [
3289
+ "agentId"
3290
+ ],
3291
+ "properties": {
3292
+ "agentId": {
3293
+ "minLength": 1,
3294
+ "type": "string"
3295
+ },
3296
+ "deleteFiles": {
3297
+ "type": "boolean"
3298
+ }
3299
+ }
3300
+ },
3301
+ "AgentsDeleteResult": {
3302
+ "additionalProperties": false,
3303
+ "type": "object",
3304
+ "required": [
3305
+ "ok",
3306
+ "agentId",
3307
+ "removedBindings"
3308
+ ],
3309
+ "properties": {
3310
+ "ok": {
3311
+ "const": true,
3312
+ "type": "boolean"
3313
+ },
3314
+ "agentId": {
3315
+ "minLength": 1,
3316
+ "type": "string"
3317
+ },
3318
+ "removedBindings": {
3319
+ "minimum": 0,
3320
+ "type": "integer"
3321
+ }
3322
+ }
3323
+ },
3324
+ "AgentsFileEntry": {
3325
+ "additionalProperties": false,
3326
+ "type": "object",
3327
+ "required": [
3328
+ "name",
3329
+ "path",
3330
+ "missing"
3331
+ ],
3332
+ "properties": {
3333
+ "name": {
3334
+ "minLength": 1,
3335
+ "type": "string"
3336
+ },
3337
+ "path": {
3338
+ "minLength": 1,
3339
+ "type": "string"
3340
+ },
3341
+ "missing": {
3342
+ "type": "boolean"
3343
+ },
3344
+ "size": {
3345
+ "minimum": 0,
3346
+ "type": "integer"
3347
+ },
3348
+ "updatedAtMs": {
3349
+ "minimum": 0,
3350
+ "type": "integer"
3351
+ },
3352
+ "content": {
3353
+ "type": "string"
3354
+ }
3355
+ }
3356
+ },
3357
+ "AgentsFilesListParams": {
3358
+ "additionalProperties": false,
3359
+ "type": "object",
3360
+ "required": [
3361
+ "agentId"
3362
+ ],
3363
+ "properties": {
2919
3364
  "agentId": {
2920
3365
  "minLength": 1,
2921
3366
  "type": "string"
@@ -3390,6 +3835,10 @@
3390
3835
  "minLength": 1,
3391
3836
  "type": "string"
3392
3837
  },
3838
+ "sessionKey": {
3839
+ "minLength": 1,
3840
+ "type": "string"
3841
+ },
3393
3842
  "name": {
3394
3843
  "minLength": 1,
3395
3844
  "type": "string"
@@ -3471,6 +3920,10 @@
3471
3920
  },
3472
3921
  "tz": {
3473
3922
  "type": "string"
3923
+ },
3924
+ "staggerMs": {
3925
+ "minimum": 0,
3926
+ "type": "integer"
3474
3927
  }
3475
3928
  }
3476
3929
  }
@@ -3543,51 +3996,126 @@
3543
3996
  "type": "string"
3544
3997
  },
3545
3998
  "timeoutSeconds": {
3546
- "minimum": 1,
3999
+ "minimum": 0,
3547
4000
  "type": "integer"
4001
+ },
4002
+ "allowUnsafeExternalContent": {
4003
+ "type": "boolean"
4004
+ },
4005
+ "deliver": {
4006
+ "type": "boolean"
4007
+ },
4008
+ "channel": {
4009
+ "type": "string"
4010
+ },
4011
+ "to": {
4012
+ "type": "string"
4013
+ },
4014
+ "bestEffortDeliver": {
4015
+ "type": "boolean"
3548
4016
  }
3549
4017
  }
3550
4018
  }
3551
4019
  ]
3552
4020
  },
3553
4021
  "delivery": {
3554
- "additionalProperties": false,
3555
- "type": "object",
3556
- "required": [
3557
- "mode"
3558
- ],
3559
- "properties": {
3560
- "mode": {
3561
- "anyOf": [
3562
- {
4022
+ "anyOf": [
4023
+ {
4024
+ "additionalProperties": false,
4025
+ "type": "object",
4026
+ "required": [
4027
+ "mode"
4028
+ ],
4029
+ "properties": {
4030
+ "mode": {
3563
4031
  "const": "none",
3564
4032
  "type": "string"
3565
4033
  },
3566
- {
4034
+ "channel": {
4035
+ "anyOf": [
4036
+ {
4037
+ "const": "last",
4038
+ "type": "string"
4039
+ },
4040
+ {
4041
+ "minLength": 1,
4042
+ "type": "string"
4043
+ }
4044
+ ]
4045
+ },
4046
+ "bestEffort": {
4047
+ "type": "boolean"
4048
+ },
4049
+ "to": {
4050
+ "type": "string"
4051
+ }
4052
+ }
4053
+ },
4054
+ {
4055
+ "additionalProperties": false,
4056
+ "type": "object",
4057
+ "required": [
4058
+ "mode"
4059
+ ],
4060
+ "properties": {
4061
+ "mode": {
3567
4062
  "const": "announce",
3568
4063
  "type": "string"
4064
+ },
4065
+ "channel": {
4066
+ "anyOf": [
4067
+ {
4068
+ "const": "last",
4069
+ "type": "string"
4070
+ },
4071
+ {
4072
+ "minLength": 1,
4073
+ "type": "string"
4074
+ }
4075
+ ]
4076
+ },
4077
+ "bestEffort": {
4078
+ "type": "boolean"
4079
+ },
4080
+ "to": {
4081
+ "type": "string"
3569
4082
  }
3570
- ]
4083
+ }
3571
4084
  },
3572
- "channel": {
3573
- "anyOf": [
3574
- {
3575
- "const": "last",
4085
+ {
4086
+ "additionalProperties": false,
4087
+ "type": "object",
4088
+ "required": [
4089
+ "mode",
4090
+ "to"
4091
+ ],
4092
+ "properties": {
4093
+ "mode": {
4094
+ "const": "webhook",
3576
4095
  "type": "string"
3577
4096
  },
3578
- {
4097
+ "channel": {
4098
+ "anyOf": [
4099
+ {
4100
+ "const": "last",
4101
+ "type": "string"
4102
+ },
4103
+ {
4104
+ "minLength": 1,
4105
+ "type": "string"
4106
+ }
4107
+ ]
4108
+ },
4109
+ "bestEffort": {
4110
+ "type": "boolean"
4111
+ },
4112
+ "to": {
3579
4113
  "minLength": 1,
3580
4114
  "type": "string"
3581
4115
  }
3582
- ]
3583
- },
3584
- "to": {
3585
- "type": "string"
3586
- },
3587
- "bestEffort": {
3588
- "type": "boolean"
4116
+ }
3589
4117
  }
3590
- }
4118
+ ]
3591
4119
  },
3592
4120
  "state": {
3593
4121
  "additionalProperties": false,
@@ -3627,6 +4155,10 @@
3627
4155
  "lastDurationMs": {
3628
4156
  "minimum": 0,
3629
4157
  "type": "integer"
4158
+ },
4159
+ "consecutiveErrors": {
4160
+ "minimum": 0,
4161
+ "type": "integer"
3630
4162
  }
3631
4163
  }
3632
4164
  }
@@ -3672,6 +4204,17 @@
3672
4204
  }
3673
4205
  ]
3674
4206
  },
4207
+ "sessionKey": {
4208
+ "anyOf": [
4209
+ {
4210
+ "minLength": 1,
4211
+ "type": "string"
4212
+ },
4213
+ {
4214
+ "type": "null"
4215
+ }
4216
+ ]
4217
+ },
3675
4218
  "description": {
3676
4219
  "type": "string"
3677
4220
  },
@@ -3741,6 +4284,10 @@
3741
4284
  },
3742
4285
  "tz": {
3743
4286
  "type": "string"
4287
+ },
4288
+ "staggerMs": {
4289
+ "minimum": 0,
4290
+ "type": "integer"
3744
4291
  }
3745
4292
  }
3746
4293
  }
@@ -3813,51 +4360,126 @@
3813
4360
  "type": "string"
3814
4361
  },
3815
4362
  "timeoutSeconds": {
3816
- "minimum": 1,
4363
+ "minimum": 0,
3817
4364
  "type": "integer"
4365
+ },
4366
+ "allowUnsafeExternalContent": {
4367
+ "type": "boolean"
4368
+ },
4369
+ "deliver": {
4370
+ "type": "boolean"
4371
+ },
4372
+ "channel": {
4373
+ "type": "string"
4374
+ },
4375
+ "to": {
4376
+ "type": "string"
4377
+ },
4378
+ "bestEffortDeliver": {
4379
+ "type": "boolean"
3818
4380
  }
3819
4381
  }
3820
4382
  }
3821
4383
  ]
3822
4384
  },
3823
4385
  "delivery": {
3824
- "additionalProperties": false,
3825
- "type": "object",
3826
- "required": [
3827
- "mode"
3828
- ],
3829
- "properties": {
3830
- "mode": {
3831
- "anyOf": [
3832
- {
4386
+ "anyOf": [
4387
+ {
4388
+ "additionalProperties": false,
4389
+ "type": "object",
4390
+ "required": [
4391
+ "mode"
4392
+ ],
4393
+ "properties": {
4394
+ "mode": {
3833
4395
  "const": "none",
3834
4396
  "type": "string"
3835
4397
  },
3836
- {
4398
+ "channel": {
4399
+ "anyOf": [
4400
+ {
4401
+ "const": "last",
4402
+ "type": "string"
4403
+ },
4404
+ {
4405
+ "minLength": 1,
4406
+ "type": "string"
4407
+ }
4408
+ ]
4409
+ },
4410
+ "bestEffort": {
4411
+ "type": "boolean"
4412
+ },
4413
+ "to": {
4414
+ "type": "string"
4415
+ }
4416
+ }
4417
+ },
4418
+ {
4419
+ "additionalProperties": false,
4420
+ "type": "object",
4421
+ "required": [
4422
+ "mode"
4423
+ ],
4424
+ "properties": {
4425
+ "mode": {
3837
4426
  "const": "announce",
3838
4427
  "type": "string"
4428
+ },
4429
+ "channel": {
4430
+ "anyOf": [
4431
+ {
4432
+ "const": "last",
4433
+ "type": "string"
4434
+ },
4435
+ {
4436
+ "minLength": 1,
4437
+ "type": "string"
4438
+ }
4439
+ ]
4440
+ },
4441
+ "bestEffort": {
4442
+ "type": "boolean"
4443
+ },
4444
+ "to": {
4445
+ "type": "string"
3839
4446
  }
3840
- ]
4447
+ }
3841
4448
  },
3842
- "channel": {
3843
- "anyOf": [
3844
- {
3845
- "const": "last",
4449
+ {
4450
+ "additionalProperties": false,
4451
+ "type": "object",
4452
+ "required": [
4453
+ "mode",
4454
+ "to"
4455
+ ],
4456
+ "properties": {
4457
+ "mode": {
4458
+ "const": "webhook",
3846
4459
  "type": "string"
3847
4460
  },
3848
- {
4461
+ "channel": {
4462
+ "anyOf": [
4463
+ {
4464
+ "const": "last",
4465
+ "type": "string"
4466
+ },
4467
+ {
4468
+ "minLength": 1,
4469
+ "type": "string"
4470
+ }
4471
+ ]
4472
+ },
4473
+ "bestEffort": {
4474
+ "type": "boolean"
4475
+ },
4476
+ "to": {
3849
4477
  "minLength": 1,
3850
4478
  "type": "string"
3851
4479
  }
3852
- ]
3853
- },
3854
- "to": {
3855
- "type": "string"
3856
- },
3857
- "bestEffort": {
3858
- "type": "boolean"
4480
+ }
3859
4481
  }
3860
- }
4482
+ ]
3861
4483
  }
3862
4484
  }
3863
4485
  },
@@ -3894,6 +4516,17 @@
3894
4516
  }
3895
4517
  ]
3896
4518
  },
4519
+ "sessionKey": {
4520
+ "anyOf": [
4521
+ {
4522
+ "minLength": 1,
4523
+ "type": "string"
4524
+ },
4525
+ {
4526
+ "type": "null"
4527
+ }
4528
+ ]
4529
+ },
3897
4530
  "description": {
3898
4531
  "type": "string"
3899
4532
  },
@@ -3963,6 +4596,10 @@
3963
4596
  },
3964
4597
  "tz": {
3965
4598
  "type": "string"
4599
+ },
4600
+ "staggerMs": {
4601
+ "minimum": 0,
4602
+ "type": "integer"
3966
4603
  }
3967
4604
  }
3968
4605
  }
@@ -4033,8 +4670,23 @@
4033
4670
  "type": "string"
4034
4671
  },
4035
4672
  "timeoutSeconds": {
4036
- "minimum": 1,
4673
+ "minimum": 0,
4037
4674
  "type": "integer"
4675
+ },
4676
+ "allowUnsafeExternalContent": {
4677
+ "type": "boolean"
4678
+ },
4679
+ "deliver": {
4680
+ "type": "boolean"
4681
+ },
4682
+ "channel": {
4683
+ "type": "string"
4684
+ },
4685
+ "to": {
4686
+ "type": "string"
4687
+ },
4688
+ "bestEffortDeliver": {
4689
+ "type": "boolean"
4038
4690
  }
4039
4691
  }
4040
4692
  }
@@ -4053,6 +4705,10 @@
4053
4705
  {
4054
4706
  "const": "announce",
4055
4707
  "type": "string"
4708
+ },
4709
+ {
4710
+ "const": "webhook",
4711
+ "type": "string"
4056
4712
  }
4057
4713
  ]
4058
4714
  },
@@ -4068,11 +4724,11 @@
4068
4724
  }
4069
4725
  ]
4070
4726
  },
4071
- "to": {
4072
- "type": "string"
4073
- },
4074
4727
  "bestEffort": {
4075
4728
  "type": "boolean"
4729
+ },
4730
+ "to": {
4731
+ "type": "string"
4076
4732
  }
4077
4733
  }
4078
4734
  },
@@ -4114,6 +4770,10 @@
4114
4770
  "lastDurationMs": {
4115
4771
  "minimum": 0,
4116
4772
  "type": "integer"
4773
+ },
4774
+ "consecutiveErrors": {
4775
+ "minimum": 0,
4776
+ "type": "integer"
4117
4777
  }
4118
4778
  }
4119
4779
  }
@@ -4152,6 +4812,17 @@
4152
4812
  }
4153
4813
  ]
4154
4814
  },
4815
+ "sessionKey": {
4816
+ "anyOf": [
4817
+ {
4818
+ "minLength": 1,
4819
+ "type": "string"
4820
+ },
4821
+ {
4822
+ "type": "null"
4823
+ }
4824
+ ]
4825
+ },
4155
4826
  "description": {
4156
4827
  "type": "string"
4157
4828
  },
@@ -4221,6 +4892,10 @@
4221
4892
  },
4222
4893
  "tz": {
4223
4894
  "type": "string"
4895
+ },
4896
+ "staggerMs": {
4897
+ "minimum": 0,
4898
+ "type": "integer"
4224
4899
  }
4225
4900
  }
4226
4901
  }
@@ -4291,8 +4966,23 @@
4291
4966
  "type": "string"
4292
4967
  },
4293
4968
  "timeoutSeconds": {
4294
- "minimum": 1,
4969
+ "minimum": 0,
4295
4970
  "type": "integer"
4971
+ },
4972
+ "allowUnsafeExternalContent": {
4973
+ "type": "boolean"
4974
+ },
4975
+ "deliver": {
4976
+ "type": "boolean"
4977
+ },
4978
+ "channel": {
4979
+ "type": "string"
4980
+ },
4981
+ "to": {
4982
+ "type": "string"
4983
+ },
4984
+ "bestEffortDeliver": {
4985
+ "type": "boolean"
4296
4986
  }
4297
4987
  }
4298
4988
  }
@@ -4311,6 +5001,10 @@
4311
5001
  {
4312
5002
  "const": "announce",
4313
5003
  "type": "string"
5004
+ },
5005
+ {
5006
+ "const": "webhook",
5007
+ "type": "string"
4314
5008
  }
4315
5009
  ]
4316
5010
  },
@@ -4326,11 +5020,11 @@
4326
5020
  }
4327
5021
  ]
4328
5022
  },
4329
- "to": {
4330
- "type": "string"
4331
- },
4332
5023
  "bestEffort": {
4333
5024
  "type": "boolean"
5025
+ },
5026
+ "to": {
5027
+ "type": "string"
4334
5028
  }
4335
5029
  }
4336
5030
  },
@@ -4372,6 +5066,10 @@
4372
5066
  "lastDurationMs": {
4373
5067
  "minimum": 0,
4374
5068
  "type": "integer"
5069
+ },
5070
+ "consecutiveErrors": {
5071
+ "minimum": 0,
5072
+ "type": "integer"
4375
5073
  }
4376
5074
  }
4377
5075
  }
@@ -4548,6 +5246,14 @@
4548
5246
  "summary": {
4549
5247
  "type": "string"
4550
5248
  },
5249
+ "sessionId": {
5250
+ "minLength": 1,
5251
+ "type": "string"
5252
+ },
5253
+ "sessionKey": {
5254
+ "minLength": 1,
5255
+ "type": "string"
5256
+ },
4551
5257
  "runAtMs": {
4552
5258
  "minimum": 0,
4553
5259
  "type": "integer"
@@ -5063,6 +5769,9 @@
5063
5769
  "timeoutMs": {
5064
5770
  "minimum": 1,
5065
5771
  "type": "integer"
5772
+ },
5773
+ "twoPhase": {
5774
+ "type": "boolean"
5066
5775
  }
5067
5776
  }
5068
5777
  },
@@ -5115,6 +5824,19 @@
5115
5824
  }
5116
5825
  }
5117
5826
  },
5827
+ "DevicePairRemoveParams": {
5828
+ "additionalProperties": false,
5829
+ "type": "object",
5830
+ "required": [
5831
+ "deviceId"
5832
+ ],
5833
+ "properties": {
5834
+ "deviceId": {
5835
+ "minLength": 1,
5836
+ "type": "string"
5837
+ }
5838
+ }
5839
+ },
5118
5840
  "DeviceTokenRotateParams": {
5119
5841
  "additionalProperties": false,
5120
5842
  "type": "object",