@nmshd/runtime 2.0.0-alpha.13 → 2.0.0-alpha.16
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/dist/Runtime.js +1 -1
- package/dist/Runtime.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/dist/extensibility/facades/consumption/AttributesFacade.d.ts +10 -4
- package/dist/extensibility/facades/consumption/AttributesFacade.js +20 -6
- package/dist/extensibility/facades/consumption/AttributesFacade.js.map +1 -1
- package/dist/extensibility/facades/transport/RelationshipsFacade.d.ts +4 -2
- package/dist/extensibility/facades/transport/RelationshipsFacade.js +8 -2
- package/dist/extensibility/facades/transport/RelationshipsFacade.js.map +1 -1
- package/dist/useCases/common/Schemas.d.ts +4 -0
- package/dist/useCases/common/Schemas.js +502 -17
- package/dist/useCases/common/Schemas.js.map +1 -1
- package/dist/useCases/consumption/attributes/ExecuteIdentityAttributeQuery.d.ts +13 -0
- package/dist/useCases/consumption/attributes/{GetAllValid.js → ExecuteIdentityAttributeQuery.js} +11 -8
- package/dist/useCases/consumption/attributes/ExecuteIdentityAttributeQuery.js.map +1 -0
- package/dist/useCases/consumption/attributes/ExecuteRelationshipAttributeQuery.d.ts +13 -0
- package/dist/useCases/consumption/attributes/ExecuteRelationshipAttributeQuery.js +39 -0
- package/dist/useCases/consumption/attributes/ExecuteRelationshipAttributeQuery.js.map +1 -0
- package/dist/useCases/consumption/attributes/GetAttributes.d.ts +2 -2
- package/dist/useCases/consumption/attributes/GetAttributes.js +2 -2
- package/dist/useCases/consumption/attributes/GetAttributes.js.map +1 -1
- package/dist/useCases/consumption/attributes/GetValidAttributes.d.ts +35 -0
- package/dist/useCases/consumption/attributes/GetValidAttributes.js +108 -0
- package/dist/useCases/consumption/attributes/GetValidAttributes.js.map +1 -0
- package/dist/useCases/consumption/attributes/index.d.ts +3 -1
- package/dist/useCases/consumption/attributes/index.js +3 -1
- package/dist/useCases/consumption/attributes/index.js.map +1 -1
- package/dist/useCases/consumption/requests/CheckPrerequisitesOfIncomingRequest.d.ts +1 -1
- package/dist/useCases/consumption/requests/CompleteOutgoingRequest.d.ts +0 -4
- package/dist/useCases/consumption/requests/CompleteOutgoingRequest.js +3 -3
- package/dist/useCases/consumption/requests/CompleteOutgoingRequest.js.map +1 -1
- package/dist/useCases/consumption/requests/GetIncomingRequest.d.ts +1 -1
- package/dist/useCases/consumption/requests/GetIncomingRequests.d.ts +2 -2
- package/dist/useCases/consumption/requests/GetOutgoingRequest.d.ts +1 -1
- package/dist/useCases/consumption/requests/ReceivedIncomingRequest.d.ts +1 -1
- package/dist/useCases/consumption/requests/RequireManualDecisionOfIncomingRequest.d.ts +1 -1
- package/dist/useCases/consumption/requests/SentOutgoingRequest.d.ts +1 -1
- package/dist/useCases/transport/relationships/GetAttributesForRelationship.d.ts +20 -0
- package/dist/useCases/transport/relationships/GetAttributesForRelationship.js +65 -0
- package/dist/useCases/transport/relationships/GetAttributesForRelationship.js.map +1 -0
- package/dist/useCases/transport/relationships/index.d.ts +1 -0
- package/dist/useCases/transport/relationships/index.js +1 -0
- package/dist/useCases/transport/relationships/index.js.map +1 -1
- package/lib-web/nmshd.runtime.js +813 -60
- package/lib-web/nmshd.runtime.js.map +1 -1
- package/lib-web/nmshd.runtime.min.js +3 -3
- package/lib-web/nmshd.runtime.min.js.map +1 -1
- package/package.json +2 -2
- package/dist/useCases/consumption/attributes/GetAllValid.d.ts +0 -9
- package/dist/useCases/consumption/attributes/GetAllValid.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.LoadPeerTokenRequest = exports.GetTokensRequest = exports.GetTokenRequest = exports.GetQRCodeForTokenRequest = exports.CreateOwnTokenRequest = exports.LoadPeerRelationshipTemplateRequest = exports.GetRelationshipTemplatesRequest = exports.GetRelationshipTemplateRequest = exports.CreateTokenQrCodeForOwnTemplateRequest = exports.CreateTokenForOwnTemplateRequest = exports.CreateOwnRelationshipTemplateRequest = exports.RevokeRelationshipChangeRequest = exports.RejectRelationshipChangeRequest = exports.GetRelationshipsRequest = exports.GetRelationshipByAddressRequest = exports.GetRelationshipRequest = exports.CreateRelationshipChangeRequest = exports.CreateRelationshipRequest = exports.AcceptRelationshipChangeRequest = exports.SendMessageRequest = exports.GetMessagesRequest = exports.GetMessageRequest = exports.GetAttachmentMetadataRequest = exports.CheckIdentityRequest = exports.UploadOwnFileRequest = exports.LoadPeerFileRequest = exports.LoadPeerFileViaReferenceRequest = exports.LoadPeerFileViaSecretRequest = exports.GetFilesRequest = exports.GetFileRequest = exports.CreateTokenQrCodeForFileRequest = void 0;
|
|
3
|
+
exports.GetDeviceRequest = exports.DeleteDeviceRequest = exports.CreateDeviceOnboardingTokenRequest = exports.CreateDeviceRequest = exports.ValidateChallengeRequest = exports.CreateChallengeRequest = exports.CreateDeviceChallengeRequest = exports.CreateIdentityChallengeRequest = exports.CreateRelationshipChallengeRequest = exports.SyncEverythingRequest = exports.DownloadAttachmentRequest = exports.DownloadFileRequest = exports.SyncDatawalletRequest = exports.RegisterPushNotificationTokenRequest = exports.UpdateSettingRequest = exports.GetSettingsRequest = exports.GetSettingRequest = exports.DeleteSettingRequest = exports.CreateSettingRequest = exports.SentOutgoingRequestRequest = exports.RequireManualDecisionOfIncomingRequestRequest = exports.ReceivedIncomingRequestRequest = exports.GetOutgoingRequestsRequest = exports.GetOutgoingRequestRequest = exports.GetIncomingRequestsRequest = exports.GetIncomingRequestRequest = exports.CreateAndCompleteOutgoingRequestFromRelationshipCreationChangeRequest = exports.CompleteOutgoingRequestRequest = exports.CompleteIncomingRequestRequest = exports.CheckPrerequisitesOfIncomingRequestRequest = exports.RejectIncomingRequestRequest = exports.CreateOutgoingRequestRequest = exports.AcceptIncomingRequestRequest = exports.UpdateDraftRequest = exports.GetDraftsRequest = exports.GetDraftRequest = exports.DeleteDraftRequest = exports.CreateDraftRequest = exports.UpdateAttributeRequest = exports.SucceedAttributeRequest = exports.GetValidAttributesRequest = exports.GetAttributesRequest = exports.GetAttributeRequest = exports.ExecuteRelationshipAttributeQueryRequest = exports.ExecuteIdentityAttributeQueryRequest = exports.DeleteAttributeRequest = exports.CreateShareAttributeCopyRequest = exports.CreateAttributeRequest = exports.LoadPeerTokenAnonymousByTruncatedReferenceRequest = exports.LoadPeerTokenAnonymousByIdAndKeyRequest = void 0;
|
|
4
|
+
exports.LoadPeerTokenRequest = exports.GetTokensRequest = exports.GetTokenRequest = exports.GetQRCodeForTokenRequest = exports.CreateOwnTokenRequest = exports.LoadPeerRelationshipTemplateRequest = exports.GetRelationshipTemplatesRequest = exports.GetRelationshipTemplateRequest = exports.CreateTokenQrCodeForOwnTemplateRequest = exports.CreateTokenForOwnTemplateRequest = exports.CreateOwnRelationshipTemplateRequest = exports.RevokeRelationshipChangeRequest = exports.RejectRelationshipChangeRequest = exports.GetRelationshipsRequest = exports.GetRelationshipByAddressRequest = exports.GetRelationshipRequest = exports.GetAttributesForRelationshipRequest = exports.CreateRelationshipChangeRequest = exports.CreateRelationshipRequest = exports.AcceptRelationshipChangeRequest = exports.SendMessageRequest = exports.GetMessagesRequest = exports.GetMessageRequest = exports.GetAttachmentMetadataRequest = exports.CheckIdentityRequest = exports.UploadOwnFileRequest = exports.LoadPeerFileRequest = exports.LoadPeerFileViaReferenceRequest = exports.LoadPeerFileViaSecretRequest = exports.GetFilesRequest = exports.GetFileRequest = exports.CreateTokenQrCodeForFileRequest = exports.CreateTokenForFileRequest = exports.UpdateDeviceRequest = exports.GetDeviceOnboardingInfoRequest = void 0;
|
|
5
5
|
exports.LoadPeerTokenAnonymousByIdAndKeyRequest = {
|
|
6
6
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
7
7
|
"$ref": "#/definitions/LoadPeerTokenAnonymousByIdAndKeyRequest",
|
|
@@ -232,6 +232,392 @@ exports.DeleteAttributeRequest = {
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
|
+
exports.ExecuteIdentityAttributeQueryRequest = {
|
|
236
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
237
|
+
"$ref": "#/definitions/ExecuteIdentityAttributeQueryRequest",
|
|
238
|
+
"definitions": {
|
|
239
|
+
"ExecuteIdentityAttributeQueryRequest": {
|
|
240
|
+
"type": "object",
|
|
241
|
+
"properties": {
|
|
242
|
+
"query": {
|
|
243
|
+
"anyOf": [
|
|
244
|
+
{
|
|
245
|
+
"$ref": "#/definitions/IIdentityAttributeQuery"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"$ref": "#/definitions/IdentityAttributeQueryJSON"
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"required": [
|
|
254
|
+
"query"
|
|
255
|
+
],
|
|
256
|
+
"additionalProperties": false
|
|
257
|
+
},
|
|
258
|
+
"IIdentityAttributeQuery": {
|
|
259
|
+
"type": "object",
|
|
260
|
+
"properties": {
|
|
261
|
+
"valueType": {
|
|
262
|
+
"type": "string"
|
|
263
|
+
},
|
|
264
|
+
"validFrom": {
|
|
265
|
+
"$ref": "#/definitions/ICoreDate"
|
|
266
|
+
},
|
|
267
|
+
"validTo": {
|
|
268
|
+
"$ref": "#/definitions/ICoreDate"
|
|
269
|
+
},
|
|
270
|
+
"tags": {
|
|
271
|
+
"type": "array",
|
|
272
|
+
"items": {
|
|
273
|
+
"type": "string"
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"additionalProperties": false
|
|
278
|
+
},
|
|
279
|
+
"ICoreDate": {
|
|
280
|
+
"type": "object",
|
|
281
|
+
"properties": {
|
|
282
|
+
"date": {
|
|
283
|
+
"type": "string"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"required": [
|
|
287
|
+
"date"
|
|
288
|
+
],
|
|
289
|
+
"additionalProperties": false
|
|
290
|
+
},
|
|
291
|
+
"IdentityAttributeQueryJSON": {
|
|
292
|
+
"type": "object",
|
|
293
|
+
"properties": {
|
|
294
|
+
"@type": {
|
|
295
|
+
"type": "string"
|
|
296
|
+
},
|
|
297
|
+
"@context": {
|
|
298
|
+
"type": "string"
|
|
299
|
+
},
|
|
300
|
+
"@version": {
|
|
301
|
+
"type": "string"
|
|
302
|
+
},
|
|
303
|
+
"valueType": {
|
|
304
|
+
"type": "string"
|
|
305
|
+
},
|
|
306
|
+
"validFrom": {
|
|
307
|
+
"type": "string"
|
|
308
|
+
},
|
|
309
|
+
"validTo": {
|
|
310
|
+
"type": "string"
|
|
311
|
+
},
|
|
312
|
+
"tags": {
|
|
313
|
+
"type": "array",
|
|
314
|
+
"items": {
|
|
315
|
+
"type": "string"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"additionalProperties": false,
|
|
320
|
+
"required": [
|
|
321
|
+
"@type"
|
|
322
|
+
]
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
};
|
|
326
|
+
exports.ExecuteRelationshipAttributeQueryRequest = {
|
|
327
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
328
|
+
"$ref": "#/definitions/ExecuteRelationshipAttributeQueryRequest",
|
|
329
|
+
"definitions": {
|
|
330
|
+
"ExecuteRelationshipAttributeQueryRequest": {
|
|
331
|
+
"type": "object",
|
|
332
|
+
"properties": {
|
|
333
|
+
"query": {
|
|
334
|
+
"anyOf": [
|
|
335
|
+
{
|
|
336
|
+
"$ref": "#/definitions/IRelationshipAttributeQuery"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"$ref": "#/definitions/RelationshipAttributeQueryJSON"
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"required": [
|
|
345
|
+
"query"
|
|
346
|
+
],
|
|
347
|
+
"additionalProperties": false
|
|
348
|
+
},
|
|
349
|
+
"IRelationshipAttributeQuery": {
|
|
350
|
+
"type": "object",
|
|
351
|
+
"properties": {
|
|
352
|
+
"valueType": {
|
|
353
|
+
"type": "string"
|
|
354
|
+
},
|
|
355
|
+
"validFrom": {
|
|
356
|
+
"$ref": "#/definitions/ICoreDate"
|
|
357
|
+
},
|
|
358
|
+
"validTo": {
|
|
359
|
+
"$ref": "#/definitions/ICoreDate"
|
|
360
|
+
},
|
|
361
|
+
"key": {
|
|
362
|
+
"type": "string"
|
|
363
|
+
},
|
|
364
|
+
"owner": {
|
|
365
|
+
"$ref": "#/definitions/ICoreAddress"
|
|
366
|
+
},
|
|
367
|
+
"attributeHints": {
|
|
368
|
+
"$ref": "#/definitions/IRelationshipAttributeHints"
|
|
369
|
+
},
|
|
370
|
+
"thirdParty": {
|
|
371
|
+
"$ref": "#/definitions/ICoreAddress"
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"required": [
|
|
375
|
+
"key",
|
|
376
|
+
"owner",
|
|
377
|
+
"attributeHints"
|
|
378
|
+
],
|
|
379
|
+
"additionalProperties": false
|
|
380
|
+
},
|
|
381
|
+
"ICoreDate": {
|
|
382
|
+
"type": "object",
|
|
383
|
+
"properties": {
|
|
384
|
+
"date": {
|
|
385
|
+
"type": "string"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"required": [
|
|
389
|
+
"date"
|
|
390
|
+
],
|
|
391
|
+
"additionalProperties": false
|
|
392
|
+
},
|
|
393
|
+
"ICoreAddress": {
|
|
394
|
+
"type": "object",
|
|
395
|
+
"properties": {
|
|
396
|
+
"address": {
|
|
397
|
+
"type": "string"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"required": [
|
|
401
|
+
"address"
|
|
402
|
+
],
|
|
403
|
+
"additionalProperties": false
|
|
404
|
+
},
|
|
405
|
+
"IRelationshipAttributeHints": {
|
|
406
|
+
"type": "object",
|
|
407
|
+
"properties": {
|
|
408
|
+
"title": {
|
|
409
|
+
"type": "string"
|
|
410
|
+
},
|
|
411
|
+
"description": {
|
|
412
|
+
"type": "string"
|
|
413
|
+
},
|
|
414
|
+
"valueHints": {
|
|
415
|
+
"$ref": "#/definitions/IValueHints"
|
|
416
|
+
},
|
|
417
|
+
"isTechnical": {
|
|
418
|
+
"type": "boolean"
|
|
419
|
+
},
|
|
420
|
+
"confidentiality": {
|
|
421
|
+
"$ref": "#/definitions/RelationshipAttributeConfidentiality"
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"required": [
|
|
425
|
+
"title",
|
|
426
|
+
"confidentiality"
|
|
427
|
+
],
|
|
428
|
+
"additionalProperties": false
|
|
429
|
+
},
|
|
430
|
+
"IValueHints": {
|
|
431
|
+
"type": "object",
|
|
432
|
+
"properties": {
|
|
433
|
+
"editHelp": {
|
|
434
|
+
"type": "string"
|
|
435
|
+
},
|
|
436
|
+
"min": {
|
|
437
|
+
"type": "number"
|
|
438
|
+
},
|
|
439
|
+
"max": {
|
|
440
|
+
"type": "number"
|
|
441
|
+
},
|
|
442
|
+
"pattern": {
|
|
443
|
+
"type": "string"
|
|
444
|
+
},
|
|
445
|
+
"values": {
|
|
446
|
+
"type": "array",
|
|
447
|
+
"items": {
|
|
448
|
+
"$ref": "#/definitions/IValueHintsValue"
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
"defaultValue": {
|
|
452
|
+
"type": [
|
|
453
|
+
"string",
|
|
454
|
+
"number",
|
|
455
|
+
"boolean"
|
|
456
|
+
]
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"additionalProperties": false
|
|
460
|
+
},
|
|
461
|
+
"IValueHintsValue": {
|
|
462
|
+
"type": "object",
|
|
463
|
+
"properties": {
|
|
464
|
+
"key": {
|
|
465
|
+
"type": [
|
|
466
|
+
"string",
|
|
467
|
+
"number",
|
|
468
|
+
"boolean"
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
"displayName": {
|
|
472
|
+
"type": "string"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"required": [
|
|
476
|
+
"key",
|
|
477
|
+
"displayName"
|
|
478
|
+
],
|
|
479
|
+
"additionalProperties": false
|
|
480
|
+
},
|
|
481
|
+
"RelationshipAttributeConfidentiality": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"enum": [
|
|
484
|
+
"public",
|
|
485
|
+
"private",
|
|
486
|
+
"protected"
|
|
487
|
+
]
|
|
488
|
+
},
|
|
489
|
+
"RelationshipAttributeQueryJSON": {
|
|
490
|
+
"type": "object",
|
|
491
|
+
"properties": {
|
|
492
|
+
"@type": {
|
|
493
|
+
"type": "string"
|
|
494
|
+
},
|
|
495
|
+
"@context": {
|
|
496
|
+
"type": "string"
|
|
497
|
+
},
|
|
498
|
+
"@version": {
|
|
499
|
+
"type": "string"
|
|
500
|
+
},
|
|
501
|
+
"valueType": {
|
|
502
|
+
"type": "string"
|
|
503
|
+
},
|
|
504
|
+
"validFrom": {
|
|
505
|
+
"type": "string"
|
|
506
|
+
},
|
|
507
|
+
"validTo": {
|
|
508
|
+
"type": "string"
|
|
509
|
+
},
|
|
510
|
+
"key": {
|
|
511
|
+
"type": "string"
|
|
512
|
+
},
|
|
513
|
+
"owner": {
|
|
514
|
+
"type": "string"
|
|
515
|
+
},
|
|
516
|
+
"attributeHints": {
|
|
517
|
+
"$ref": "#/definitions/RelationshipAttributeHintsJSON"
|
|
518
|
+
},
|
|
519
|
+
"thirdParty": {
|
|
520
|
+
"type": "string"
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
"required": [
|
|
524
|
+
"@type",
|
|
525
|
+
"attributeHints",
|
|
526
|
+
"key",
|
|
527
|
+
"owner"
|
|
528
|
+
],
|
|
529
|
+
"additionalProperties": false
|
|
530
|
+
},
|
|
531
|
+
"RelationshipAttributeHintsJSON": {
|
|
532
|
+
"type": "object",
|
|
533
|
+
"properties": {
|
|
534
|
+
"title": {
|
|
535
|
+
"type": "string"
|
|
536
|
+
},
|
|
537
|
+
"description": {
|
|
538
|
+
"type": "string"
|
|
539
|
+
},
|
|
540
|
+
"valueHints": {
|
|
541
|
+
"$ref": "#/definitions/ValueHintsJSON"
|
|
542
|
+
},
|
|
543
|
+
"isTechnical": {
|
|
544
|
+
"type": "boolean"
|
|
545
|
+
},
|
|
546
|
+
"confidentiality": {
|
|
547
|
+
"$ref": "#/definitions/RelationshipAttributeConfidentiality"
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
"required": [
|
|
551
|
+
"title",
|
|
552
|
+
"confidentiality"
|
|
553
|
+
],
|
|
554
|
+
"additionalProperties": false
|
|
555
|
+
},
|
|
556
|
+
"ValueHintsJSON": {
|
|
557
|
+
"type": "object",
|
|
558
|
+
"properties": {
|
|
559
|
+
"@type": {
|
|
560
|
+
"type": "string"
|
|
561
|
+
},
|
|
562
|
+
"@context": {
|
|
563
|
+
"type": "string"
|
|
564
|
+
},
|
|
565
|
+
"@version": {
|
|
566
|
+
"type": "string"
|
|
567
|
+
},
|
|
568
|
+
"editHelp": {
|
|
569
|
+
"type": "string"
|
|
570
|
+
},
|
|
571
|
+
"min": {
|
|
572
|
+
"type": "number"
|
|
573
|
+
},
|
|
574
|
+
"max": {
|
|
575
|
+
"type": "number"
|
|
576
|
+
},
|
|
577
|
+
"pattern": {
|
|
578
|
+
"type": "string"
|
|
579
|
+
},
|
|
580
|
+
"values": {
|
|
581
|
+
"type": "array",
|
|
582
|
+
"items": {
|
|
583
|
+
"$ref": "#/definitions/ValueHintsValueJSON"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"defaultValue": {
|
|
587
|
+
"type": [
|
|
588
|
+
"string",
|
|
589
|
+
"number",
|
|
590
|
+
"boolean"
|
|
591
|
+
]
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"additionalProperties": false,
|
|
595
|
+
"required": [
|
|
596
|
+
"@type"
|
|
597
|
+
]
|
|
598
|
+
},
|
|
599
|
+
"ValueHintsValueJSON": {
|
|
600
|
+
"type": "object",
|
|
601
|
+
"properties": {
|
|
602
|
+
"key": {
|
|
603
|
+
"type": [
|
|
604
|
+
"string",
|
|
605
|
+
"number",
|
|
606
|
+
"boolean"
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
"displayName": {
|
|
610
|
+
"type": "string"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"required": [
|
|
614
|
+
"key",
|
|
615
|
+
"displayName"
|
|
616
|
+
],
|
|
617
|
+
"additionalProperties": false
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
};
|
|
235
621
|
exports.GetAttributeRequest = {
|
|
236
622
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
237
623
|
"$ref": "#/definitions/GetAttributeRequest",
|
|
@@ -259,12 +645,12 @@ exports.GetAttributesRequest = {
|
|
|
259
645
|
"type": "object",
|
|
260
646
|
"properties": {
|
|
261
647
|
"query": {
|
|
262
|
-
"$ref": "#/definitions/
|
|
648
|
+
"$ref": "#/definitions/GetAttributesRequestQuery"
|
|
263
649
|
}
|
|
264
650
|
},
|
|
265
651
|
"additionalProperties": false
|
|
266
652
|
},
|
|
267
|
-
"
|
|
653
|
+
"GetAttributesRequestQuery": {
|
|
268
654
|
"type": "object",
|
|
269
655
|
"properties": {
|
|
270
656
|
"createdAt": {
|
|
@@ -346,6 +732,92 @@ exports.GetAttributesRequest = {
|
|
|
346
732
|
}
|
|
347
733
|
}
|
|
348
734
|
};
|
|
735
|
+
exports.GetValidAttributesRequest = {
|
|
736
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
737
|
+
"$ref": "#/definitions/GetValidAttributesRequest",
|
|
738
|
+
"definitions": {
|
|
739
|
+
"GetValidAttributesRequest": {
|
|
740
|
+
"type": "object",
|
|
741
|
+
"properties": {
|
|
742
|
+
"query": {
|
|
743
|
+
"$ref": "#/definitions/GetValidAttributesRequestQuery"
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"additionalProperties": false
|
|
747
|
+
},
|
|
748
|
+
"GetValidAttributesRequestQuery": {
|
|
749
|
+
"type": "object",
|
|
750
|
+
"properties": {
|
|
751
|
+
"content": {
|
|
752
|
+
"type": "object",
|
|
753
|
+
"properties": {
|
|
754
|
+
"@type": {
|
|
755
|
+
"type": "string"
|
|
756
|
+
},
|
|
757
|
+
"tags": {
|
|
758
|
+
"type": "array",
|
|
759
|
+
"items": {
|
|
760
|
+
"type": "string"
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
"owner": {
|
|
764
|
+
"type": "string"
|
|
765
|
+
},
|
|
766
|
+
"key": {
|
|
767
|
+
"type": "string"
|
|
768
|
+
},
|
|
769
|
+
"isTechnical": {
|
|
770
|
+
"type": "boolean"
|
|
771
|
+
},
|
|
772
|
+
"confidentiality": {
|
|
773
|
+
"$ref": "#/definitions/RelationshipAttributeConfidentiality"
|
|
774
|
+
},
|
|
775
|
+
"value": {
|
|
776
|
+
"type": "object",
|
|
777
|
+
"properties": {
|
|
778
|
+
"@type": {
|
|
779
|
+
"type": "string"
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
"additionalProperties": false
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
"additionalProperties": false
|
|
786
|
+
},
|
|
787
|
+
"succeeds": {
|
|
788
|
+
"type": "string"
|
|
789
|
+
},
|
|
790
|
+
"succeededBy": {
|
|
791
|
+
"type": "string"
|
|
792
|
+
},
|
|
793
|
+
"shareInfo": {
|
|
794
|
+
"type": "object",
|
|
795
|
+
"properties": {
|
|
796
|
+
"requestReference": {
|
|
797
|
+
"type": "string"
|
|
798
|
+
},
|
|
799
|
+
"peer": {
|
|
800
|
+
"type": "string"
|
|
801
|
+
},
|
|
802
|
+
"sourceAttribute": {
|
|
803
|
+
"type": "string"
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
"additionalProperties": false
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
"additionalProperties": {}
|
|
810
|
+
},
|
|
811
|
+
"RelationshipAttributeConfidentiality": {
|
|
812
|
+
"type": "string",
|
|
813
|
+
"enum": [
|
|
814
|
+
"public",
|
|
815
|
+
"private",
|
|
816
|
+
"protected"
|
|
817
|
+
]
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
};
|
|
349
821
|
exports.SucceedAttributeRequest = {
|
|
350
822
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
351
823
|
"$ref": "#/definitions/SucceedAttributeRequest",
|
|
@@ -1159,7 +1631,7 @@ exports.CheckPrerequisitesOfIncomingRequestRequest = {
|
|
|
1159
1631
|
"properties": {
|
|
1160
1632
|
"requestId": {
|
|
1161
1633
|
"type": "string",
|
|
1162
|
-
"pattern": "REQ[A-Za-z0-9]{
|
|
1634
|
+
"pattern": "REQ[A-Za-z0-9]{17}"
|
|
1163
1635
|
}
|
|
1164
1636
|
},
|
|
1165
1637
|
"required": [
|
|
@@ -1200,10 +1672,6 @@ exports.CompleteOutgoingRequestRequest = {
|
|
|
1200
1672
|
"CompleteOutgoingRequestRequest": {
|
|
1201
1673
|
"type": "object",
|
|
1202
1674
|
"properties": {
|
|
1203
|
-
"requestId": {
|
|
1204
|
-
"type": "string",
|
|
1205
|
-
"pattern": "REQ[A-Za-z0-9]{14}"
|
|
1206
|
-
},
|
|
1207
1675
|
"receivedResponse": {
|
|
1208
1676
|
"$ref": "#/definitions/ResponseJSON"
|
|
1209
1677
|
},
|
|
@@ -1213,7 +1681,6 @@ exports.CompleteOutgoingRequestRequest = {
|
|
|
1213
1681
|
}
|
|
1214
1682
|
},
|
|
1215
1683
|
"required": [
|
|
1216
|
-
"requestId",
|
|
1217
1684
|
"receivedResponse",
|
|
1218
1685
|
"messageId"
|
|
1219
1686
|
],
|
|
@@ -1365,7 +1832,7 @@ exports.GetIncomingRequestRequest = {
|
|
|
1365
1832
|
"properties": {
|
|
1366
1833
|
"id": {
|
|
1367
1834
|
"type": "string",
|
|
1368
|
-
"pattern": "REQ[A-Za-z0-9]{
|
|
1835
|
+
"pattern": "REQ[A-Za-z0-9]{17}"
|
|
1369
1836
|
}
|
|
1370
1837
|
},
|
|
1371
1838
|
"required": [
|
|
@@ -1383,12 +1850,12 @@ exports.GetIncomingRequestsRequest = {
|
|
|
1383
1850
|
"type": "object",
|
|
1384
1851
|
"properties": {
|
|
1385
1852
|
"query": {
|
|
1386
|
-
"$ref": "#/definitions/
|
|
1853
|
+
"$ref": "#/definitions/GetIncomingRequestsRequestQuery"
|
|
1387
1854
|
}
|
|
1388
1855
|
},
|
|
1389
1856
|
"additionalProperties": false
|
|
1390
1857
|
},
|
|
1391
|
-
"
|
|
1858
|
+
"GetIncomingRequestsRequestQuery": {
|
|
1392
1859
|
"type": "object",
|
|
1393
1860
|
"properties": {
|
|
1394
1861
|
"id": {
|
|
@@ -1495,7 +1962,7 @@ exports.GetOutgoingRequestRequest = {
|
|
|
1495
1962
|
"properties": {
|
|
1496
1963
|
"id": {
|
|
1497
1964
|
"type": "string",
|
|
1498
|
-
"pattern": "REQ[A-Za-z0-9]{
|
|
1965
|
+
"pattern": "REQ[A-Za-z0-9]{17}"
|
|
1499
1966
|
}
|
|
1500
1967
|
},
|
|
1501
1968
|
"required": [
|
|
@@ -1629,7 +2096,7 @@ exports.ReceivedIncomingRequestRequest = {
|
|
|
1629
2096
|
"requestSourceId": {
|
|
1630
2097
|
"type": "string",
|
|
1631
2098
|
"description": "The id of the Message or RelationshipTemplate in which the Response was received.",
|
|
1632
|
-
"pattern": "(MSG|RLT)[A-Za-z0-9]{
|
|
2099
|
+
"pattern": "(MSG|RLT)[A-Za-z0-9]{17}"
|
|
1633
2100
|
}
|
|
1634
2101
|
},
|
|
1635
2102
|
"required": [
|
|
@@ -1773,7 +2240,7 @@ exports.RequireManualDecisionOfIncomingRequestRequest = {
|
|
|
1773
2240
|
"properties": {
|
|
1774
2241
|
"requestId": {
|
|
1775
2242
|
"type": "string",
|
|
1776
|
-
"pattern": "REQ[A-Za-z0-9]{
|
|
2243
|
+
"pattern": "REQ[A-Za-z0-9]{17}"
|
|
1777
2244
|
}
|
|
1778
2245
|
},
|
|
1779
2246
|
"required": [
|
|
@@ -1792,7 +2259,7 @@ exports.SentOutgoingRequestRequest = {
|
|
|
1792
2259
|
"properties": {
|
|
1793
2260
|
"requestId": {
|
|
1794
2261
|
"type": "string",
|
|
1795
|
-
"pattern": "REQ[A-Za-z0-9]{
|
|
2262
|
+
"pattern": "REQ[A-Za-z0-9]{17}"
|
|
1796
2263
|
},
|
|
1797
2264
|
"messageId": {
|
|
1798
2265
|
"type": "string",
|
|
@@ -2681,6 +3148,24 @@ exports.CreateRelationshipChangeRequest = {
|
|
|
2681
3148
|
}
|
|
2682
3149
|
}
|
|
2683
3150
|
};
|
|
3151
|
+
exports.GetAttributesForRelationshipRequest = {
|
|
3152
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3153
|
+
"$ref": "#/definitions/GetAttributesForRelationshipRequest",
|
|
3154
|
+
"definitions": {
|
|
3155
|
+
"GetAttributesForRelationshipRequest": {
|
|
3156
|
+
"type": "object",
|
|
3157
|
+
"properties": {
|
|
3158
|
+
"id": {
|
|
3159
|
+
"type": "string"
|
|
3160
|
+
}
|
|
3161
|
+
},
|
|
3162
|
+
"required": [
|
|
3163
|
+
"id"
|
|
3164
|
+
],
|
|
3165
|
+
"additionalProperties": false
|
|
3166
|
+
}
|
|
3167
|
+
}
|
|
3168
|
+
};
|
|
2684
3169
|
exports.GetRelationshipRequest = {
|
|
2685
3170
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2686
3171
|
"$ref": "#/definitions/GetRelationshipRequest",
|