@mhome/app-facade-protocol 1.69.0 → 1.72.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.
- package/README.md +9 -0
- package/fixtures/group.conformance.json +51 -24
- package/fixtures/interaction-flow.conformance.json +19 -0
- package/fixtures/presentation/cases.json +100 -10
- package/manifest/app-facade.v1.json +5 -4
- package/manifest/authorization.v1.json +3 -2
- package/manifest/host-provision-targets.v1.json +1 -1
- package/manifest/hub-targets.v1.json +1 -1
- package/manifest/pod-targets.v1.json +1 -1
- package/manifest/routing.v1.json +1 -1
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +1 -1
- package/schema/group.v1.schema.json +15 -30
- package/schema/interaction-flow-app.v1.schema.json +7 -3
package/README.md
CHANGED
|
@@ -144,6 +144,15 @@ its complete referenced value is available and which visible inputs can make
|
|
|
144
144
|
it stale, so clients can resolve it reactively without learning handlers or
|
|
145
145
|
the hidden graph.
|
|
146
146
|
|
|
147
|
+
Final completion can return `completed: false` with `submission.status: accepted`:
|
|
148
|
+
the business owner has saved the input but installation has not finished. Clients
|
|
149
|
+
retain the completion command ID and may query `/app/interaction-flow/submission/status`
|
|
150
|
+
or explicitly call `/app/interaction-flow/submission/retry` with the original source
|
|
151
|
+
and that ID. Neither call requires a live interactive session. Responses distinguish
|
|
152
|
+
`notFound`, `accepted`, and `completed` with the original result. Clients cannot
|
|
153
|
+
supply an owner or handler; current Node binding and Space access are checked again.
|
|
154
|
+
Retry is explicit, and closing the interaction does not cancel accepted business data.
|
|
155
|
+
|
|
147
156
|
`topology` exposes the Hub-owned Space network projection. Stable Host, Hub,
|
|
148
157
|
Node, AppClient, and Cloud identities are separate from current transport
|
|
149
158
|
sessions. Durable relations remain present while disconnected and carry an
|
|
@@ -14,19 +14,13 @@
|
|
|
14
14
|
]
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
{
|
|
18
|
-
"definition": "GroupPresentationInput",
|
|
19
|
-
"value": {
|
|
20
|
-
"groupId": "g:1"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
17
|
{
|
|
24
18
|
"definition": "CreateGroupInput",
|
|
25
19
|
"value": {
|
|
26
20
|
"creationId": "11111111-1111-4111-8111-111111111111",
|
|
27
21
|
"name": "Lights",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
22
|
+
"entityType": "basic.device.Device",
|
|
23
|
+
"entityIds": [
|
|
30
24
|
"lamp-a",
|
|
31
25
|
"lamp-b",
|
|
32
26
|
"lamp-a"
|
|
@@ -45,7 +39,7 @@
|
|
|
45
39
|
"definition": "UpdateGroupMembersInput",
|
|
46
40
|
"value": {
|
|
47
41
|
"groupId": "g:1",
|
|
48
|
-
"
|
|
42
|
+
"entityIds": [
|
|
49
43
|
"lamp-b"
|
|
50
44
|
],
|
|
51
45
|
"expectedRevision": 3
|
|
@@ -63,7 +57,7 @@
|
|
|
63
57
|
"value": {
|
|
64
58
|
"groupId": "g:11111111-1111-4111-8111-111111111111",
|
|
65
59
|
"name": "Lights",
|
|
66
|
-
"
|
|
60
|
+
"entityType": "basic.device.Device",
|
|
67
61
|
"memberCount": 2,
|
|
68
62
|
"revision": 3,
|
|
69
63
|
"applyState": "ready",
|
|
@@ -76,13 +70,13 @@
|
|
|
76
70
|
"value": {
|
|
77
71
|
"groupId": "g:11111111-1111-4111-8111-111111111111",
|
|
78
72
|
"name": "Lights",
|
|
79
|
-
"
|
|
73
|
+
"entityType": "basic.device.Device",
|
|
80
74
|
"memberCount": 2,
|
|
81
75
|
"revision": 3,
|
|
82
76
|
"applyState": "ready",
|
|
83
77
|
"createdAt": 1900000000000,
|
|
84
78
|
"updatedAt": 1900000001000,
|
|
85
|
-
"
|
|
79
|
+
"entityIds": [
|
|
86
80
|
"lamp-a",
|
|
87
81
|
"lamp-b"
|
|
88
82
|
],
|
|
@@ -94,7 +88,7 @@
|
|
|
94
88
|
],
|
|
95
89
|
"memberProblems": [
|
|
96
90
|
{
|
|
97
|
-
"
|
|
91
|
+
"entityId": "lamp-b",
|
|
98
92
|
"code": "MEMBER_UNAVAILABLE",
|
|
99
93
|
"message": "Member is unavailable"
|
|
100
94
|
}
|
|
@@ -128,7 +122,7 @@
|
|
|
128
122
|
{
|
|
129
123
|
"groupId": "g:11111111-1111-4111-8111-111111111111",
|
|
130
124
|
"name": "Lights",
|
|
131
|
-
"
|
|
125
|
+
"entityType": "basic.device.Device",
|
|
132
126
|
"memberCount": 2,
|
|
133
127
|
"revision": 3,
|
|
134
128
|
"applyState": "ready",
|
|
@@ -149,13 +143,13 @@
|
|
|
149
143
|
"group": {
|
|
150
144
|
"groupId": "g:11111111-1111-4111-8111-111111111111",
|
|
151
145
|
"name": "Lights",
|
|
152
|
-
"
|
|
146
|
+
"entityType": "basic.device.Device",
|
|
153
147
|
"memberCount": 2,
|
|
154
148
|
"revision": 3,
|
|
155
149
|
"applyState": "ready",
|
|
156
150
|
"createdAt": 1900000000000,
|
|
157
151
|
"updatedAt": 1900000001000,
|
|
158
|
-
"
|
|
152
|
+
"entityIds": [
|
|
159
153
|
"lamp-a",
|
|
160
154
|
"lamp-b"
|
|
161
155
|
],
|
|
@@ -167,7 +161,7 @@
|
|
|
167
161
|
],
|
|
168
162
|
"memberProblems": [
|
|
169
163
|
{
|
|
170
|
-
"
|
|
164
|
+
"entityId": "lamp-b",
|
|
171
165
|
"code": "MEMBER_UNAVAILABLE",
|
|
172
166
|
"message": "Member is unavailable"
|
|
173
167
|
}
|
|
@@ -181,6 +175,23 @@
|
|
|
181
175
|
}
|
|
182
176
|
]
|
|
183
177
|
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"definition": "GroupDetail",
|
|
181
|
+
"value": {
|
|
182
|
+
"groupId": "g:11111111-1111-4111-8111-111111111111",
|
|
183
|
+
"name": "Lights",
|
|
184
|
+
"entityType": "basic.device.Device",
|
|
185
|
+
"memberCount": 2,
|
|
186
|
+
"revision": 3,
|
|
187
|
+
"applyState": "ready",
|
|
188
|
+
"createdAt": 1900000000000,
|
|
189
|
+
"updatedAt": 1900000001000,
|
|
190
|
+
"entityIds": [
|
|
191
|
+
"lamp-a",
|
|
192
|
+
"lamp-b"
|
|
193
|
+
]
|
|
194
|
+
}
|
|
184
195
|
}
|
|
185
196
|
],
|
|
186
197
|
"invalid": [
|
|
@@ -195,7 +206,7 @@
|
|
|
195
206
|
"definition": "UpdateGroupMembersInput",
|
|
196
207
|
"value": {
|
|
197
208
|
"groupId": "g:1",
|
|
198
|
-
"
|
|
209
|
+
"entityIds": [
|
|
199
210
|
"lamp-b"
|
|
200
211
|
],
|
|
201
212
|
"expectedRevision": 3,
|
|
@@ -214,8 +225,8 @@
|
|
|
214
225
|
"value": {
|
|
215
226
|
"creationId": "11111111-1111-4111-8111-111111111111",
|
|
216
227
|
"name": "Lights",
|
|
217
|
-
"
|
|
218
|
-
"
|
|
228
|
+
"entityType": "basic.device.Device",
|
|
229
|
+
"entityIds": [
|
|
219
230
|
"lamp-a",
|
|
220
231
|
"lamp-b",
|
|
221
232
|
"lamp-a"
|
|
@@ -232,13 +243,13 @@
|
|
|
232
243
|
"value": {
|
|
233
244
|
"groupId": "g:11111111-1111-4111-8111-111111111111",
|
|
234
245
|
"name": "Lights",
|
|
235
|
-
"
|
|
246
|
+
"entityType": "basic.device.Device",
|
|
236
247
|
"memberCount": 2,
|
|
237
248
|
"revision": 3,
|
|
238
249
|
"applyState": "ready",
|
|
239
250
|
"createdAt": 1900000000000,
|
|
240
251
|
"updatedAt": 1900000001000,
|
|
241
|
-
"
|
|
252
|
+
"entityIds": [
|
|
242
253
|
"lamp-a",
|
|
243
254
|
"lamp-b"
|
|
244
255
|
],
|
|
@@ -250,7 +261,7 @@
|
|
|
250
261
|
],
|
|
251
262
|
"memberProblems": [
|
|
252
263
|
{
|
|
253
|
-
"
|
|
264
|
+
"entityId": "lamp-b",
|
|
254
265
|
"code": "MEMBER_UNAVAILABLE",
|
|
255
266
|
"message": "Member is unavailable"
|
|
256
267
|
}
|
|
@@ -371,13 +382,29 @@
|
|
|
371
382
|
"value": {
|
|
372
383
|
"groupId": "g:11111111-1111-4111-8111-111111111111",
|
|
373
384
|
"name": "Lights",
|
|
374
|
-
"
|
|
385
|
+
"entityType": "basic.device.Device",
|
|
375
386
|
"memberCount": 2,
|
|
376
387
|
"revision": 3,
|
|
377
388
|
"applyState": "unknown",
|
|
378
389
|
"createdAt": 1900000000000,
|
|
379
390
|
"updatedAt": 1900000001000
|
|
380
391
|
}
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"definition": "ListGroupsInput",
|
|
395
|
+
"value": {
|
|
396
|
+
"memberType": "basic.device.Device"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"definition": "UpdateGroupMembersInput",
|
|
401
|
+
"value": {
|
|
402
|
+
"groupId": "g:1",
|
|
403
|
+
"memberIds": [
|
|
404
|
+
"one"
|
|
405
|
+
],
|
|
406
|
+
"expectedRevision": 1
|
|
407
|
+
}
|
|
381
408
|
}
|
|
382
409
|
]
|
|
383
410
|
}
|
|
@@ -70,9 +70,28 @@
|
|
|
70
70
|
"completed": true,
|
|
71
71
|
"result": {
|
|
72
72
|
"providerConnectionId": "provider-1"
|
|
73
|
+
},
|
|
74
|
+
"submission": {
|
|
75
|
+
"status": "completed",
|
|
76
|
+
"result": {
|
|
77
|
+
"providerConnectionId": "provider-1"
|
|
78
|
+
}
|
|
73
79
|
}
|
|
74
80
|
},
|
|
75
81
|
"cancelResponse": {
|
|
76
82
|
"cancelled": true
|
|
83
|
+
},
|
|
84
|
+
"submissionRequest": {
|
|
85
|
+
"source": {
|
|
86
|
+
"kind": "plugin",
|
|
87
|
+
"nodeType": "camera",
|
|
88
|
+
"nodeId": "camera-1",
|
|
89
|
+
"flowId": "provider.connect",
|
|
90
|
+
"subjectId": "onvif"
|
|
91
|
+
},
|
|
92
|
+
"submissionId": "command-3"
|
|
93
|
+
},
|
|
94
|
+
"submissionResponse": {
|
|
95
|
+
"status": "accepted"
|
|
77
96
|
}
|
|
78
97
|
}
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
"twinTags": [
|
|
562
562
|
"light"
|
|
563
563
|
],
|
|
564
|
-
"
|
|
564
|
+
"entityIds": []
|
|
565
565
|
}
|
|
566
566
|
},
|
|
567
567
|
{
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
],
|
|
579
579
|
"group": true,
|
|
580
580
|
"integration": "demo.device",
|
|
581
|
-
"
|
|
581
|
+
"entityIds": [
|
|
582
582
|
"d1"
|
|
583
583
|
]
|
|
584
584
|
}
|
|
@@ -615,7 +615,7 @@
|
|
|
615
615
|
"twinTags": [
|
|
616
616
|
"light"
|
|
617
617
|
],
|
|
618
|
-
"
|
|
618
|
+
"entityIds": []
|
|
619
619
|
}
|
|
620
620
|
},
|
|
621
621
|
{
|
|
@@ -632,7 +632,7 @@
|
|
|
632
632
|
],
|
|
633
633
|
"group": true,
|
|
634
634
|
"integration": "demo.device",
|
|
635
|
-
"
|
|
635
|
+
"entityIds": [
|
|
636
636
|
"d1"
|
|
637
637
|
]
|
|
638
638
|
}
|
|
@@ -3692,7 +3692,7 @@
|
|
|
3692
3692
|
{
|
|
3693
3693
|
"groupId": "g:11111111-1111-4111-8111-111111111111",
|
|
3694
3694
|
"name": "Lights",
|
|
3695
|
-
"
|
|
3695
|
+
"entityType": "basic.device.Device",
|
|
3696
3696
|
"memberCount": 2,
|
|
3697
3697
|
"revision": 3,
|
|
3698
3698
|
"applyState": "ready",
|
|
@@ -3708,7 +3708,7 @@
|
|
|
3708
3708
|
{
|
|
3709
3709
|
"groupId": "g:11111111-1111-4111-8111-111111111111",
|
|
3710
3710
|
"name": "Lights",
|
|
3711
|
-
"
|
|
3711
|
+
"entityType": "basic.device.Device",
|
|
3712
3712
|
"memberCount": 2,
|
|
3713
3713
|
"revision": 3,
|
|
3714
3714
|
"applyState": "ready",
|
|
@@ -3730,13 +3730,13 @@
|
|
|
3730
3730
|
"group": {
|
|
3731
3731
|
"groupId": "g:11111111-1111-4111-8111-111111111111",
|
|
3732
3732
|
"name": "Lights",
|
|
3733
|
-
"
|
|
3733
|
+
"entityType": "basic.device.Device",
|
|
3734
3734
|
"memberCount": 2,
|
|
3735
3735
|
"revision": 3,
|
|
3736
3736
|
"applyState": "ready",
|
|
3737
3737
|
"createdAt": 1900000000000,
|
|
3738
3738
|
"updatedAt": 1900000001000,
|
|
3739
|
-
"
|
|
3739
|
+
"entityIds": [
|
|
3740
3740
|
"lamp-a",
|
|
3741
3741
|
"lamp-b"
|
|
3742
3742
|
],
|
|
@@ -3772,13 +3772,13 @@
|
|
|
3772
3772
|
"group": {
|
|
3773
3773
|
"groupId": "g:11111111-1111-4111-8111-111111111111",
|
|
3774
3774
|
"name": "Lights",
|
|
3775
|
-
"
|
|
3775
|
+
"entityType": "basic.device.Device",
|
|
3776
3776
|
"memberCount": 2,
|
|
3777
3777
|
"revision": 3,
|
|
3778
3778
|
"applyState": "ready",
|
|
3779
3779
|
"createdAt": "2030-03-17 17:46:40 +00:00 (UTC)",
|
|
3780
3780
|
"updatedAt": "2030-03-17 17:46:41 +00:00 (UTC)",
|
|
3781
|
-
"
|
|
3781
|
+
"entityIds": [
|
|
3782
3782
|
"lamp-a",
|
|
3783
3783
|
"lamp-b"
|
|
3784
3784
|
],
|
|
@@ -3962,5 +3962,95 @@
|
|
|
3962
3962
|
}
|
|
3963
3963
|
]
|
|
3964
3964
|
}
|
|
3965
|
+
},
|
|
3966
|
+
{
|
|
3967
|
+
"name": "agent-provider-auth-start",
|
|
3968
|
+
"target": "/app/agent/llm/provider/auth/start",
|
|
3969
|
+
"data": {
|
|
3970
|
+
"success": true,
|
|
3971
|
+
"sessionId": "auth-example",
|
|
3972
|
+
"status": "pending"
|
|
3973
|
+
},
|
|
3974
|
+
"status": "success",
|
|
3975
|
+
"full": {
|
|
3976
|
+
"sessionId": "auth-example",
|
|
3977
|
+
"status": "pending"
|
|
3978
|
+
},
|
|
3979
|
+
"essential": {
|
|
3980
|
+
"sessionId": "auth-example",
|
|
3981
|
+
"status": "pending"
|
|
3982
|
+
}
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
"name": "agent-provider-auth-complete",
|
|
3986
|
+
"target": "/app/agent/llm/provider/auth/complete",
|
|
3987
|
+
"data": {
|
|
3988
|
+
"success": true,
|
|
3989
|
+
"sessionId": "auth-example",
|
|
3990
|
+
"status": "persisted"
|
|
3991
|
+
},
|
|
3992
|
+
"status": "success",
|
|
3993
|
+
"full": {
|
|
3994
|
+
"sessionId": "auth-example",
|
|
3995
|
+
"status": "persisted"
|
|
3996
|
+
},
|
|
3997
|
+
"essential": {
|
|
3998
|
+
"sessionId": "auth-example",
|
|
3999
|
+
"status": "persisted"
|
|
4000
|
+
}
|
|
4001
|
+
},
|
|
4002
|
+
{
|
|
4003
|
+
"name": "agent-provider-auth-status",
|
|
4004
|
+
"target": "/app/agent/llm/provider/auth/status",
|
|
4005
|
+
"data": {
|
|
4006
|
+
"success": true,
|
|
4007
|
+
"sessionId": "auth-example",
|
|
4008
|
+
"status": "failed"
|
|
4009
|
+
},
|
|
4010
|
+
"status": "success",
|
|
4011
|
+
"full": {
|
|
4012
|
+
"sessionId": "auth-example",
|
|
4013
|
+
"status": "failed"
|
|
4014
|
+
},
|
|
4015
|
+
"essential": {
|
|
4016
|
+
"sessionId": "auth-example",
|
|
4017
|
+
"status": "failed"
|
|
4018
|
+
}
|
|
4019
|
+
},
|
|
4020
|
+
{
|
|
4021
|
+
"name": "agent-provider-auth-cancel",
|
|
4022
|
+
"target": "/app/agent/llm/provider/auth/cancel",
|
|
4023
|
+
"data": {
|
|
4024
|
+
"success": true
|
|
4025
|
+
},
|
|
4026
|
+
"status": "success",
|
|
4027
|
+
"acknowledgement": true
|
|
4028
|
+
},
|
|
4029
|
+
{
|
|
4030
|
+
"name": "agent-provider-auth-cancel-failed",
|
|
4031
|
+
"target": "/app/agent/llm/provider/auth/cancel",
|
|
4032
|
+
"data": {
|
|
4033
|
+
"success": false
|
|
4034
|
+
},
|
|
4035
|
+
"status": "error",
|
|
4036
|
+
"code": "OPERATION_FAILED"
|
|
4037
|
+
},
|
|
4038
|
+
{
|
|
4039
|
+
"name": "agent-provider-auth-request-failed",
|
|
4040
|
+
"target": "/app/agent/llm/provider/auth/complete",
|
|
4041
|
+
"data": {
|
|
4042
|
+
"success": false
|
|
4043
|
+
},
|
|
4044
|
+
"status": "error",
|
|
4045
|
+
"code": "OPERATION_FAILED"
|
|
4046
|
+
},
|
|
4047
|
+
{
|
|
4048
|
+
"name": "agent-provider-auth-request-malformed",
|
|
4049
|
+
"target": "/app/agent/llm/provider/auth/status",
|
|
4050
|
+
"data": {
|
|
4051
|
+
"status": "persisted"
|
|
4052
|
+
},
|
|
4053
|
+
"status": "error",
|
|
4054
|
+
"code": "INVALID_RESPONSE"
|
|
3965
4055
|
}
|
|
3966
4056
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": "mhome.app-facade.v1",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.72.0",
|
|
4
4
|
"callSchema": "schema/facade-call.v1.schema.json",
|
|
5
5
|
"routing": "manifest/routing.v1.json",
|
|
6
6
|
"routingSchema": "schema/routing.v1.schema.json",
|
|
@@ -83,7 +83,9 @@
|
|
|
83
83
|
"/app/interaction-flow/next",
|
|
84
84
|
"/app/interaction-flow/back",
|
|
85
85
|
"/app/interaction-flow/complete",
|
|
86
|
-
"/app/interaction-flow/cancel"
|
|
86
|
+
"/app/interaction-flow/cancel",
|
|
87
|
+
"/app/interaction-flow/submission/status",
|
|
88
|
+
"/app/interaction-flow/submission/retry"
|
|
87
89
|
],
|
|
88
90
|
"sessionPersistence": "memory"
|
|
89
91
|
},
|
|
@@ -254,8 +256,7 @@
|
|
|
254
256
|
"/app/group/create",
|
|
255
257
|
"/app/group/rename",
|
|
256
258
|
"/app/group/members/update",
|
|
257
|
-
"/app/group/delete"
|
|
258
|
-
"/app/group/presentation/get"
|
|
259
|
+
"/app/group/delete"
|
|
259
260
|
]
|
|
260
261
|
},
|
|
261
262
|
"resourceRead": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "1.
|
|
2
|
+
"contractVersion": "1.72.0",
|
|
3
3
|
"operations": {
|
|
4
4
|
"/app/agent/context/get": "spaceRead",
|
|
5
5
|
"/app/agent/credit/usage": "spaceRead",
|
|
@@ -137,6 +137,8 @@
|
|
|
137
137
|
"/app/interaction-flow/back": "spaceWrite",
|
|
138
138
|
"/app/interaction-flow/cancel": "spaceWrite",
|
|
139
139
|
"/app/interaction-flow/complete": "spaceWrite",
|
|
140
|
+
"/app/interaction-flow/submission/status": "spaceRead",
|
|
141
|
+
"/app/interaction-flow/submission/retry": "spaceWrite",
|
|
140
142
|
"/app/interaction-flow/next": "spaceWrite",
|
|
141
143
|
"/app/interaction-flow/resolve": "spaceRead",
|
|
142
144
|
"/app/interaction-flow/start": "spaceWrite",
|
|
@@ -400,7 +402,6 @@
|
|
|
400
402
|
"/app/group/create": "spaceWrite",
|
|
401
403
|
"/app/group/rename": "spaceWrite",
|
|
402
404
|
"/app/group/members/update": "spaceWrite",
|
|
403
|
-
"/app/group/presentation/get": "spaceRead",
|
|
404
405
|
"/app/device/state/get": "spaceRead",
|
|
405
406
|
"/app/device/history/series/get": "spaceRead",
|
|
406
407
|
"/app/widget/value/get": "spaceRead",
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"type": "object",
|
|
7
7
|
"additionalProperties": false,
|
|
8
8
|
"properties": {
|
|
9
|
-
"
|
|
9
|
+
"entityType": {
|
|
10
10
|
"type": "string",
|
|
11
11
|
"minLength": 1
|
|
12
12
|
}
|
|
@@ -31,19 +31,6 @@
|
|
|
31
31
|
"ids"
|
|
32
32
|
]
|
|
33
33
|
},
|
|
34
|
-
"GroupPresentationInput": {
|
|
35
|
-
"type": "object",
|
|
36
|
-
"additionalProperties": false,
|
|
37
|
-
"properties": {
|
|
38
|
-
"groupId": {
|
|
39
|
-
"type": "string",
|
|
40
|
-
"minLength": 1
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"required": [
|
|
44
|
-
"groupId"
|
|
45
|
-
]
|
|
46
|
-
},
|
|
47
34
|
"CreateGroupInput": {
|
|
48
35
|
"type": "object",
|
|
49
36
|
"additionalProperties": false,
|
|
@@ -57,11 +44,11 @@
|
|
|
57
44
|
"type": "string",
|
|
58
45
|
"minLength": 1
|
|
59
46
|
},
|
|
60
|
-
"
|
|
47
|
+
"entityType": {
|
|
61
48
|
"type": "string",
|
|
62
49
|
"minLength": 1
|
|
63
50
|
},
|
|
64
|
-
"
|
|
51
|
+
"entityIds": {
|
|
65
52
|
"type": "array",
|
|
66
53
|
"minItems": 1,
|
|
67
54
|
"items": {
|
|
@@ -73,8 +60,8 @@
|
|
|
73
60
|
"required": [
|
|
74
61
|
"creationId",
|
|
75
62
|
"name",
|
|
76
|
-
"
|
|
77
|
-
"
|
|
63
|
+
"entityType",
|
|
64
|
+
"entityIds"
|
|
78
65
|
]
|
|
79
66
|
},
|
|
80
67
|
"RenameGroupInput": {
|
|
@@ -108,7 +95,7 @@
|
|
|
108
95
|
"type": "string",
|
|
109
96
|
"minLength": 1
|
|
110
97
|
},
|
|
111
|
-
"
|
|
98
|
+
"entityIds": {
|
|
112
99
|
"type": "array",
|
|
113
100
|
"minItems": 1,
|
|
114
101
|
"items": {
|
|
@@ -123,7 +110,7 @@
|
|
|
123
110
|
},
|
|
124
111
|
"required": [
|
|
125
112
|
"groupId",
|
|
126
|
-
"
|
|
113
|
+
"entityIds",
|
|
127
114
|
"expectedRevision"
|
|
128
115
|
]
|
|
129
116
|
},
|
|
@@ -157,7 +144,7 @@
|
|
|
157
144
|
"type": "string",
|
|
158
145
|
"minLength": 1
|
|
159
146
|
},
|
|
160
|
-
"
|
|
147
|
+
"entityType": {
|
|
161
148
|
"type": "string",
|
|
162
149
|
"minLength": 1
|
|
163
150
|
},
|
|
@@ -189,7 +176,7 @@
|
|
|
189
176
|
"required": [
|
|
190
177
|
"groupId",
|
|
191
178
|
"name",
|
|
192
|
-
"
|
|
179
|
+
"entityType",
|
|
193
180
|
"memberCount",
|
|
194
181
|
"revision",
|
|
195
182
|
"applyState",
|
|
@@ -209,7 +196,7 @@
|
|
|
209
196
|
"type": "string",
|
|
210
197
|
"minLength": 1
|
|
211
198
|
},
|
|
212
|
-
"
|
|
199
|
+
"entityType": {
|
|
213
200
|
"type": "string",
|
|
214
201
|
"minLength": 1
|
|
215
202
|
},
|
|
@@ -237,7 +224,7 @@
|
|
|
237
224
|
"type": "integer",
|
|
238
225
|
"minimum": 1
|
|
239
226
|
},
|
|
240
|
-
"
|
|
227
|
+
"entityIds": {
|
|
241
228
|
"type": "array",
|
|
242
229
|
"minItems": 1,
|
|
243
230
|
"items": {
|
|
@@ -273,7 +260,7 @@
|
|
|
273
260
|
"type": "object",
|
|
274
261
|
"additionalProperties": false,
|
|
275
262
|
"properties": {
|
|
276
|
-
"
|
|
263
|
+
"entityId": {
|
|
277
264
|
"type": "string",
|
|
278
265
|
"minLength": 1
|
|
279
266
|
},
|
|
@@ -287,7 +274,7 @@
|
|
|
287
274
|
}
|
|
288
275
|
},
|
|
289
276
|
"required": [
|
|
290
|
-
"
|
|
277
|
+
"entityId",
|
|
291
278
|
"code",
|
|
292
279
|
"message"
|
|
293
280
|
]
|
|
@@ -316,15 +303,13 @@
|
|
|
316
303
|
"required": [
|
|
317
304
|
"groupId",
|
|
318
305
|
"name",
|
|
319
|
-
"
|
|
306
|
+
"entityType",
|
|
320
307
|
"memberCount",
|
|
321
308
|
"revision",
|
|
322
309
|
"applyState",
|
|
323
310
|
"createdAt",
|
|
324
311
|
"updatedAt",
|
|
325
|
-
"
|
|
326
|
-
"capabilities",
|
|
327
|
-
"memberProblems"
|
|
312
|
+
"entityIds"
|
|
328
313
|
]
|
|
329
314
|
},
|
|
330
315
|
"GroupMutationOutput": {
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
"cancelRequest": { "$ref": "#/$defs/cancelRequest" },
|
|
14
14
|
"view": { "$ref": "#/$defs/view" },
|
|
15
15
|
"completeResponse": { "$ref": "#/$defs/completeResponse" },
|
|
16
|
-
"cancelResponse": { "$ref": "#/$defs/cancelResponse" }
|
|
16
|
+
"cancelResponse": { "$ref": "#/$defs/cancelResponse" },
|
|
17
|
+
"submissionRequest": { "$ref": "#/$defs/submissionRequest" },
|
|
18
|
+
"submissionResponse": { "$ref": "#/$defs/submissionResponse" }
|
|
17
19
|
},
|
|
18
20
|
"$defs": {
|
|
19
21
|
"nonEmpty": { "type": "string", "minLength": 1, "maxLength": 256 },
|
|
@@ -171,13 +173,15 @@
|
|
|
171
173
|
"type": "object",
|
|
172
174
|
"additionalProperties": false,
|
|
173
175
|
"required": ["completed"],
|
|
174
|
-
"properties": { "completed": { "type": "boolean" }, "result": true }
|
|
176
|
+
"properties": { "completed": { "type": "boolean" }, "result": true, "submission": { "$ref": "#/$defs/submissionResponse" } }
|
|
175
177
|
},
|
|
176
178
|
"cancelResponse": {
|
|
177
179
|
"type": "object",
|
|
178
180
|
"additionalProperties": false,
|
|
179
181
|
"required": ["cancelled"],
|
|
180
182
|
"properties": { "cancelled": { "type": "boolean" } }
|
|
181
|
-
}
|
|
183
|
+
},
|
|
184
|
+
"submissionRequest": {"type": "object", "additionalProperties": false, "required": ["source", "submissionId"], "properties": {"source": {"$ref": "#/$defs/source"}, "submissionId": {"type": "string", "minLength": 1, "maxLength": 256}}},
|
|
185
|
+
"submissionResponse": {"oneOf": [{"type": "object", "additionalProperties": false, "required": ["status"], "properties": {"status": {"const": "notFound"}}}, {"type": "object", "additionalProperties": false, "required": ["status"], "properties": {"status": {"const": "accepted"}}}, {"type": "object", "additionalProperties": false, "required": ["status", "result"], "properties": {"status": {"const": "completed"}, "result": true}}]}
|
|
182
186
|
}
|
|
183
187
|
}
|