rapida-partner 1.16.9 → 1.16.11

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.
@@ -53,7 +53,7 @@
53
53
  "video",
54
54
  "image",
55
55
  "images",
56
- "icon",
56
+ "icon",
57
57
  "badge"
58
58
  ]
59
59
  },
@@ -88,7 +88,9 @@
88
88
  "description": "if true then '/user/<email>'"
89
89
  }
90
90
  },
91
- "required": ["link"]
91
+ "required": [
92
+ "link"
93
+ ]
92
94
  },
93
95
  "conditions": {
94
96
  "$ref": "condition.ref.json"
@@ -124,7 +126,9 @@
124
126
  "description": "if, for example, ['_id', 'email'], then '/user/<_id>/<email>'"
125
127
  }
126
128
  },
127
- "required": ["link"]
129
+ "required": [
130
+ "link"
131
+ ]
128
132
  },
129
133
  "callsToActionMenu": {
130
134
  "type": "array",
@@ -164,7 +168,9 @@
164
168
  "description": "if, for example, ['_id', 'email'], then '/user/<_id>/<email>'"
165
169
  }
166
170
  },
167
- "required": ["endpoint"]
171
+ "required": [
172
+ "endpoint"
173
+ ]
168
174
  },
169
175
  "request": {
170
176
  "type": "object",
@@ -189,7 +195,12 @@
189
195
  },
190
196
  "verb": {
191
197
  "type": "string",
192
- "enum": ["get", "post", "put", "softDelete"]
198
+ "enum": [
199
+ "get",
200
+ "post",
201
+ "put",
202
+ "softDelete"
203
+ ]
193
204
  },
194
205
  "dialog": {
195
206
  "type": "object",
@@ -201,13 +212,21 @@
201
212
  "type": "string"
202
213
  }
203
214
  },
204
- "required": ["title", "message"]
215
+ "required": [
216
+ "title",
217
+ "message"
218
+ ]
205
219
  }
206
220
  },
207
- "required": ["endpoint", "verb"]
221
+ "required": [
222
+ "endpoint",
223
+ "verb"
224
+ ]
208
225
  }
209
226
  },
210
- "required": ["link"]
227
+ "required": [
228
+ "link"
229
+ ]
211
230
  },
212
231
  "businessRules": {
213
232
  "$ref": "business-rules.ref.json"
@@ -219,7 +238,11 @@
219
238
  "type": "string"
220
239
  }
221
240
  },
222
- "required": ["icon", "label", "action"]
241
+ "required": [
242
+ "icon",
243
+ "label",
244
+ "action"
245
+ ]
223
246
  }
224
247
  },
225
248
  "listActions": {
@@ -299,7 +322,11 @@
299
322
  },
300
323
  "relationship": {
301
324
  "type": "string",
302
- "enum": ["one-to-one", "one-to-many", "many-to-many"]
325
+ "enum": [
326
+ "one-to-one",
327
+ "one-to-many",
328
+ "many-to-many"
329
+ ]
303
330
  },
304
331
  "fields": {
305
332
  "type": "array",
@@ -313,7 +340,10 @@
313
340
  "$ref": "types-datatype.ref.json"
314
341
  }
315
342
  },
316
- "required": ["name", "dataType"]
343
+ "required": [
344
+ "name",
345
+ "dataType"
346
+ ]
317
347
  }
318
348
  },
319
349
  "isHidden": {
@@ -375,7 +405,10 @@
375
405
  }
376
406
  }
377
407
  },
378
- "required": ["name", "dataType"]
408
+ "required": [
409
+ "name",
410
+ "dataType"
411
+ ]
379
412
  }
380
413
  },
381
414
  "relatedEntity": {
@@ -401,8 +434,250 @@
401
434
  "type": "string"
402
435
  }
403
436
  },
404
- "required": ["fields", "contractId"]
437
+ "required": [
438
+ "fields",
439
+ "contractId"
440
+ ]
441
+ }
442
+ }
443
+ },
444
+ "required": [
445
+ "entity",
446
+ "connectionAttribute",
447
+ "fieldsFromEntity"
448
+ ]
449
+ },
450
+ "uniqueConstraints": {
451
+ "type": "array",
452
+ "items": {
453
+ "type": "object",
454
+ "properties": {
455
+ "name": {
456
+ "type": "string"
457
+ },
458
+ "fields": {
459
+ "type": "array",
460
+ "items": {
461
+ "type": "string"
462
+ }
463
+ }
464
+ }
465
+ }
466
+ }
467
+ },
468
+ "required": [
469
+ "entity",
470
+ "fields"
471
+ ]
472
+ },
473
+ "conditions": {
474
+ "$ref": "condition.ref.json"
475
+ },
476
+ "businessRules": {
477
+ "$ref": "business-rules.ref.json"
478
+ },
479
+ "userStory": {
480
+ "type": "string"
481
+ }
482
+ },
483
+ "required": [
484
+ "id",
485
+ "endpoint",
486
+ "actions"
487
+ ]
488
+ }
489
+ },
490
+ "publicContracts": {
491
+ "type": "array",
492
+ "items": {
493
+ "type": "object",
494
+ "properties": {
495
+ "id": {
496
+ "type": "string"
497
+ },
498
+ "endpoint": {
499
+ "type": "string"
500
+ },
501
+ "actions": {
502
+ "type": "array",
503
+ "items": {
504
+ "type": "string",
505
+ "enum": [
506
+ "create",
507
+ "get",
508
+ "getById",
509
+ "update",
510
+ "softDelete",
511
+ "hardDelete",
512
+ "clone",
513
+ "sendEmail"
514
+ ]
515
+ }
516
+ },
517
+ "request": {
518
+ "type": "object",
519
+ "properties": {
520
+ "entity": {
521
+ "type": "string"
522
+ },
523
+ "description": {
524
+ "type": "string"
525
+ },
526
+ "fields": {
527
+ "type": "array",
528
+ "items": {
529
+ "type": "object",
530
+ "properties": {
531
+ "name": {
532
+ "type": "string"
533
+ },
534
+ "dataType": {
535
+ "$ref": "types-datatype.ref.json"
536
+ },
537
+ "isRequired": {
538
+ "type": "boolean"
539
+ },
540
+ "requiredOneOf": {
541
+ "type": "array",
542
+ "items": {
543
+ "type": "string"
544
+ }
545
+ },
546
+ "isHidden": {
547
+ "type": "boolean",
548
+ "description": "If true, the attribute will not be exposed in the API."
549
+ },
550
+ "foreignKey": {
551
+ "type": "object",
552
+ "properties": {
553
+ "entity": {
554
+ "type": "string"
555
+ },
556
+ "connectionAttribute": {
557
+ "type": "string"
558
+ },
559
+ "relationship": {
560
+ "type": "string",
561
+ "enum": [
562
+ "one-to-one",
563
+ "one-to-many",
564
+ "many-to-many"
565
+ ]
566
+ },
567
+ "fields": {
568
+ "type": "array",
569
+ "items": {
570
+ "type": "object",
571
+ "properties": {
572
+ "name": {
573
+ "type": "string"
574
+ },
575
+ "dataType": {
576
+ "$ref": "types-datatype.ref.json"
577
+ }
578
+ },
579
+ "required": [
580
+ "name",
581
+ "dataType"
582
+ ]
583
+ }
584
+ },
585
+ "isHidden": {
586
+ "type": "boolean",
587
+ "description": "If true, the connection attribute will not be exposed in the API."
588
+ }
589
+ },
590
+ "required": [
591
+ "entity",
592
+ "connectionAttribute",
593
+ "relationship"
594
+ ]
595
+ },
596
+ "isPrimaryKey": {
597
+ "type": "boolean"
598
+ },
599
+ "minSize": {
600
+ "type": "number"
601
+ },
602
+ "maxSize": {
603
+ "type": "number"
604
+ },
605
+ "enum": {
606
+ "type": "array",
607
+ "items": {
608
+ "oneOf": [
609
+ {
610
+ "type": "string"
611
+ },
612
+ {
613
+ "type": "number"
614
+ }
615
+ ]
616
+ }
617
+ },
618
+ "isUnique": {
619
+ "type": "boolean"
620
+ },
621
+ "uniqueComposedFields": {
622
+ "type": "array",
623
+ "items": {
624
+ "type": "string"
625
+ }
626
+ },
627
+ "actionsExceptions": {
628
+ "type": "array",
629
+ "items": {
630
+ "type": "string",
631
+ "enum": [
632
+ "create",
633
+ "get",
634
+ "getById",
635
+ "update",
636
+ "softDelete",
637
+ "hardDelete",
638
+ "clone",
639
+ "sendEmail"
640
+ ]
641
+ }
642
+ },
643
+ "businessRules": {
644
+ "$ref": "business-rules.ref.json"
405
645
  }
646
+ },
647
+ "required": [
648
+ "name",
649
+ "dataType"
650
+ ]
651
+ }
652
+ },
653
+ "relatedEntity": {
654
+ "type": "object",
655
+ "properties": {
656
+ "entity": {
657
+ "type": "string",
658
+ "description": "An attribute called 'relatedEntity' will be created in the main entity to refer to an entity that will be related to the main one."
659
+ },
660
+ "connectionAttribute": {
661
+ "type": "string",
662
+ "description": "An attribute called 'relatedEntityId' will be created in the main entity to set the value of the id over 'relatedEntity' to make the connection."
663
+ },
664
+ "fieldsFromEntity": {
665
+ "type": "array",
666
+ "items": {
667
+ "type": "object",
668
+ "properties": {
669
+ "fields": {
670
+ "$ref": "form.ref.json"
671
+ },
672
+ "contractId": {
673
+ "type": "string"
674
+ }
675
+ }
676
+ },
677
+ "required": [
678
+ "fields",
679
+ "contractId"
680
+ ]
406
681
  }
407
682
  },
408
683
  "required": [
@@ -429,7 +704,10 @@
429
704
  }
430
705
  }
431
706
  },
432
- "required": ["entity", "fields"]
707
+ "required": [
708
+ "entity",
709
+ "fields"
710
+ ]
433
711
  },
434
712
  "conditions": {
435
713
  "$ref": "condition.ref.json"
@@ -441,9 +719,19 @@
441
719
  "type": "string"
442
720
  }
443
721
  },
444
- "required": ["id", "endpoint", "actions"]
722
+ "required": [
723
+ "id",
724
+ "endpoint",
725
+ "actions"
726
+ ]
445
727
  }
446
728
  }
447
729
  },
448
- "required": ["componentType", "id", "title", "dataSource", "contracts"]
449
- }
730
+ "required": [
731
+ "componentType",
732
+ "id",
733
+ "title",
734
+ "dataSource",
735
+ "contracts"
736
+ ]
737
+ }